Skip to content

docs: add TextToMusic tool and text_to_music config - #720

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-719-20260922-1740
Sep 22, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-719-20260922-1740

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents the CLI's new TextToMusic agent tool (shipped in inference-gateway/cli#1265) on the CLI page:

  • Tool inventory table: TextToMusic listed next to TextToSpeech under Audio, with the text_to_music.enabled opt-in noted.
  • New TextToMusic Tool section under Audio Tools: parameters (prompt, seconds, instrumental, output_path), the disabled-by-default behaviour (the tool definition is not sent to the LLM while off), the YAML config block, a config/env table covering INFER_TEXT_TO_MUSIC_ENABLED, _MODEL, _OUTPUT_DIR and _REQUIRE_APPROVAL, and the gateway AUDIO_ENABLED requirement plus failure behaviour.
  • Userspace tmp tree table: ~/.infer/tmp/music as the text_to_music.output_dir default.

Note on the issue text

The issue says the clip is saved as a WAV. The CLI PR is the source of truth and it writes MP3 (CreateMusicRequestResponseFormatMp3; ElevenLabs serves mp3/opus/pcm, not wav). These docs say MP3 accordingly.

No new page was added: unlike text-to-speech, music has no local engine, model presets, or ffmpeg prerequisites, so everything fits in the existing CLI reference. The gateway-side POST /v1/audio/music endpoint was already documented in the API reference.

Validated with bun run lint:md, bun run format:check and bun run build. No en/em dashes.

Closes #719

@inference-gateway-releaser

inference-gateway-releaser Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit 22e0bd7 into main Sep 22, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-719-20260922-1740 branch September 22, 2026 17:45
inference-gateway-releaser Bot added a commit that referenced this pull request Sep 23, 2026
## [0.9.15](0.9.14...0.9.15) (2026-09-23)

### 📚 Documentation

* add cli text-to-video and avatar library ([#729](#729)) ([4abcc6b](4abcc6b))
* add TextToMusic tool and text_to_music config ([#720](#720)) ([22e0bd7](22e0bd7))
* document createavatar and avatar reference images ([#733](#733)) ([03dde6e](03dde6e))
* document reference_images on videos api ([#730](#730)) ([5d69458](5d69458))
* document the TextToSFX cli tool ([#724](#724)) ([c46259f](c46259f))
* drop wav from sfx and music response_format tables ([#726](#726)) ([33f44be](33f44be))
* note microsecond avg duration in stats output ([#722](#722)) ([70bfbae](70bfbae))
* remove github issue and pull request references from docs ([#743](#743)) ([e0326be](e0326be))
* remove the /v1/images/variations endpoint ([#735](#735)) ([a3e9681](a3e9681))
* subscription models with per-token rates cost zero per session ([#718](#718)) ([72f42df](72f42df))
* use python sdk for sfx and music ([#741](#741)) ([ece9551](ece9551))
* use rust sdk examples for sfx and music ([#739](#739)) ([cb3ae70](cb3ae70))
* use typescript sdk for sfx and music ([#740](#740)) ([e90b534](e90b534))

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.266 -> 2.1.278 ([#734](#734)) ([0713d38](0713d38))
* **deps:** bump infer CLI v0.192.0 -> v0.205.3 ([#742](#742)) ([88219a1](88219a1))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.15 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] TextToMusic tool and text_to_music configuration

1 participant