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] Document the Go SDK Audio API (CreateSpeech, CreateSFX and CreateMusic) #1259
The Go SDK now ships runnable audio examples and an Audio Support section in its README (inference-gateway/sdk pull request 282). The Audio API (CreateSpeech, CreateSFX, CreateMusic) returns raw audio bytes and requires the gateway to run with AUDIO_ENABLED=true plus the key of the provider being called (openai, elevenlabs and mirelo serve the Audio API per the schema). The docs site does not cover these methods yet.
Acceptance Criteria
Add an Audio API section for the Go SDK covering CreateSpeech, CreateSFX and CreateMusic
State that the gateway needs AUDIO_ENABLED=true and the provider key (openai, elevenlabs or mirelo)
Document the two CreateSFX modes: a text prompt, and scoring a video through the Video and Output fields
Link the new examples under sdk/examples/speech, sdk/examples/sfx and sdk/examples/music
Affected pages: the Go SDK usage and reference pages on the docs site.
Most of the Go Audio API was already in sdks.md (Speech synthesis, plus a Sound effects and music subsection with field tables). I added what was missing:
CreateSFX / CreateMusic now say they need AUDIO_ENABLED=true plus the key of the provider you call (openai, elevenlabs or mirelo).
CreateSFX now has separate snippets for each mode: a text prompt, and scoring a video with Video + Output (mix / sfx / speech).
Links to sdk/examples/speech, sdk/examples/sfx (including the SFX_VIDEO_URL switch) and sdk/examples/music.
Fix: the docs used sdk.Mp3 / sdk.Wav for speech formats. The SDK's generated types actually name them sdk.CreateSpeechRequestResponseFormatMp3 etc., so I corrected those. The snippets also called an undefined ptr(...) helper, which I replaced with new(...) to match the SDK examples.
I left the Speech section's provider note alone. It still says only OpenAI and local/qwen3-tts serve /v1/audio/speech. The issue lists the three providers for the Audio API in general, and I didn't check per-endpoint support for speech.
• Branch
Activity
edenreich commentedon Nov 17, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Nov 17, 2026
Claude finished @edenreich's task in 1m 40s —— View job •
docs/issue-1259-20261117-2016• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1259-20261117-2016?quick_pull=1&title=Issue%20%231259%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231259%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting the Go SDK Audio API
lint:md,format:check,buildall pass)Most of the Go Audio API was already in
sdks.md(Speech synthesis, plus a Sound effects and music subsection with field tables). I added what was missing:CreateSFX/CreateMusicnow say they needAUDIO_ENABLED=trueplus the key of the provider you call (openai,elevenlabsormirelo).CreateSFXnow has separate snippets for each mode: a text prompt, and scoring a video withVideo+Output(mix/sfx/speech).sdk/examples/speech,sdk/examples/sfx(including theSFX_VIDEO_URLswitch) andsdk/examples/music.sdk.Mp3/sdk.Wavfor speech formats. The SDK's generated types actually name themsdk.CreateSpeechRequestResponseFormatMp3etc., so I corrected those. The snippets also called an undefinedptr(...)helper, which I replaced withnew(...)to match the SDK examples.I left the Speech section's provider note alone. It still says only OpenAI and
local/qwen3-ttsserve/v1/audio/speech. The issue lists the three providers for the Audio API in general, and I didn't check per-endpoint support for speech.• Branch
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 📦🚀