Repository navigation
docs: add TextToMusic tool and text_to_music config - #720
Merged
Merged
Conversation
inference-gateway-maintainer
Bot
requested a review
from a team
as a code owner
September 22, 2026 17:43
4 tasks
Contributor
|
🗑️ Preview environment destroyed. |
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))
Contributor
|
🎉 This PR is included in version 0.9.15 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the CLI's new
TextToMusicagent tool (shipped in inference-gateway/cli#1265) on the CLI page:TextToMusiclisted next toTextToSpeechunder Audio, with thetext_to_music.enabledopt-in noted.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 coveringINFER_TEXT_TO_MUSIC_ENABLED,_MODEL,_OUTPUT_DIRand_REQUIRE_APPROVAL, and the gatewayAUDIO_ENABLEDrequirement plus failure behaviour.~/.infer/tmp/musicas thetext_to_music.output_dirdefault.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/musicendpoint was already documented in the API reference.Validated with
bun run lint:md,bun run format:checkandbun run build. No en/em dashes.Closes #719