You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Add the new CLI media examples to the docs index #1227
examples/media-audio - one headless task each for TextToSpeech, TextToMusic and TextToSFX, offline against the tokenless mock with no API key, printing the saved file path from the tool result
examples/media-video - TextToVideo renders a clip, VideoToSFX scores it and DubVideo dubs it in one run, plus the avatar library (infer avatars create presenter --from photo.png, infer avatars list, and a lip-synced TextToVideo render through text_to_video.avatar_model) and the infer models local-model path (infer models search musetalk, infer models list, a documented infer models download feeding INFER_TEXT_TO_VIDEO_AVATAR_MODEL=local/musetalk)
docs/examples.md in the CLI repo lists both directories in the Runnable Examples table already. Each README carries a With a real model section naming AUDIO_ENABLED, VIDEOS_ENABLED, the default models from config/config.go and the provider key the gateway needs.
Acceptance Criteria
Wherever the docs site indexes CLI examples, examples/media-audio and examples/media-video are listed
The media doc pages (text-to-speech.md, text-to-music.md, text-to-video.md) link the new examples as runnable companions
The docs say the tokenless mock (v0.14.0) serves the Audio API endpoints and the Videos API, so both examples run offline with no API key
Gather context (examples.md, CLI media pages, upstream example READMEs)
Link examples/media-audio from the Text-to-Speech page and from the TextToMusic tool reference in cli.md
Link examples/media-video from the Text-to-Video page and from the VideoToSFX tool reference in cli.md
State that the tokenless mock (v0.14.0+) serves the Audio API endpoints and the Videos API, so both examples run offline with no API key
Validate: bun run lint:md, bun run format:check, bun run build all pass
Commit + open PR
What changed
cli-text-to-speech.md - a Runnable example note for examples/media-audio: one headless task each for TextToSpeech, TextToMusic and TextToSFX, the mock answering /v1/audio/speech, /v1/audio/music and /v1/audio/sfx, and a pointer to the example's With a real model section (switches, default models, provider key).
cli-text-to-video.md - the same for examples/media-video: TextToVideo + VideoToSFX + DubVideo in one run, the avatar library (infer avatars create/list, lip-sync through text_to_video.avatar_model), the infer models local-model path (local/musetalk), and VIDEOS_ENABLED / AUDIO_ENABLED for a real gateway.
cli.md - two short runnable-version notes in the style of the existing examples/tools and examples/computer-use pointers, placed after the TextToMusic and VideoToSFX tool references (that is where TextToMusic/TextToSFX are documented on this site - there is no standalone text-to-music.md).
Not done
No new CLI-examples index section in examples.md: that page indexes gateway Docker Compose / Kubernetes / API examples, and the site already points at the CLI repo's own examples.md from the Canonical CLI references table in cli.md. Say the word if you want a CLI examples table on the site and I'll add one.
The infer models local-model path is named in prose but not linked - the docs site has no infer models page yet, so there was no anchor to link.
Skipped: I did not run bun run preview (no nav/SEO/theme change). Risk: the example READMEs could be renamed upstream, which would leave the new links dangling.
| Branch | PR #1228
Activity
docs(examples): add runnable media examples for speech, music, sfx an…
edenreich commentedon Nov 15, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Nov 15, 2026
Claude finished @edenreich's task in 3m 28s —— View job •
docs/issue-1227-20261115-1757• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1227-20261115-1757?quick_pull=1&title=Issue%20%231227%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231227%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - PR #1228
examples/media-audiofrom the Text-to-Speech page and from theTextToMusictool reference incli.mdexamples/media-videofrom the Text-to-Video page and from theVideoToSFXtool reference incli.mdbun run lint:md,bun run format:check,bun run buildall passWhat changed
cli-text-to-speech.md- a Runnable example note forexamples/media-audio: one headless task each forTextToSpeech,TextToMusicandTextToSFX, the mock answering/v1/audio/speech,/v1/audio/musicand/v1/audio/sfx, and a pointer to the example's With a real model section (switches, default models, provider key).cli-text-to-video.md- the same forexamples/media-video:TextToVideo+VideoToSFX+DubVideoin one run, the avatar library (infer avatars create/list, lip-sync throughtext_to_video.avatar_model), theinfer modelslocal-model path (local/musetalk), andVIDEOS_ENABLED/AUDIO_ENABLEDfor a real gateway.cli.md- two short runnable-version notes in the style of the existingexamples/toolsandexamples/computer-usepointers, placed after theTextToMusicandVideoToSFXtool references (that is whereTextToMusic/TextToSFXare documented on this site - there is no standalonetext-to-music.md).Not done
examples.md: that page indexes gateway Docker Compose / Kubernetes / API examples, and the site already points at the CLI repo's ownexamples.mdfrom the Canonical CLI references table incli.md. Say the word if you want a CLI examples table on the site and I'll add one.infer modelslocal-model path is named in prose but not linked - the docs site has noinfer modelspage yet, so there was no anchor to link.Skipped: I did not run
bun run preview(no nav/SEO/theme change). Risk: the example READMEs could be renamed upstream, which would leave the new links dangling.| Branch | PR #1228
inference-gateway-releaser commentedon Nov 17, 2026
🎉 This issue has been resolved in version 0.9.27 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀