Skip to content

[DOCS] Document WAV output for ElevenLabs speech #1205

Closed

Description

@edenreich

Summary

ElevenLabs speech on POST /v1/audio/speech now accepts response_format: wav (inference-gateway/inference-gateway#851). ElevenLabs answers with its native 48 kHz WAV output. Before, wav was rejected with a 400 and only mp3, opus and pcm worked, which kept WAV-only clients such as the infer TextToSpeech tool from using an ElevenLabs model.

Nothing else changes. A cloned voice is still used the way the API reference already says - by passing its ElevenLabs voice id in voice. reference_audio is not used by ElevenLabs.

Affected pages:

  • api-reference.md, Audio API section, "ElevenLabs voices" subsection - it does not say which response_format values ElevenLabs serves.
  • cli-text-to-speech.md - it names only local/qwen3-tts and OpenAI models. An ElevenLabs model now works with the TextToSpeech tool, speaking in text_to_speech.voice.

Source: inference-gateway/inference-gateway#851. The CLI guide in its repo is updated in inference-gateway/cli#1832.

Acceptance Criteria

  • api-reference.md states that ElevenLabs speech accepts response_format mp3, opus, pcm and wav, that wav is 48 kHz, and that aac and flac are rejected with a 400.
  • cli-text-to-speech.md shows an ElevenLabs model (for example elevenlabs/eleven_v4_turbo) with an ElevenLabs voice id in text_to_speech.voice, and says that a voice_sample is not cloned by ElevenLabs - a voice cloned in the ElevenLabs account is used by its id.
  • Published only after the gateway release that contains feat(elevenlabs): serve wav for speech inference-gateway#851.

Activity

  1. added
    documentation
    on Nov 13, 2026
  2. added theissue type on Nov 13, 2026
  3. moved this to Todo in 2026on Nov 13, 2026
  4. changed the title [-][DOCS] Document ElevenLabs speech in WAV and voice cloning from a sample[/-] [+][DOCS] Document WAV output for ElevenLabs speech[/+] on Nov 13, 2026
  5. edenreich commented on Nov 14, 2026

    @edenreich
    ContributorAuthor

    @claude can you document this?

  6. inference-gateway-maintainer commented on Nov 14, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 2m 9s —— View job • docs/issue-1205-20261114-1832 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1205-20261114-1832?quick_pull=1&title=Issue%20%231205%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231205%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documenting WAV output for ElevenLabs speech

    • Gather context
    • Update api-reference.md - ElevenLabs voices now states the accepted response_format set (mp3, opus, pcm, wav), that wav is the native 48 kHz output, and that aac/flac return 400
    • Update cli-text-to-speech.md - new "An ElevenLabs voice" subsection with elevenlabs/eleven_v4_turbo plus a voice id in text_to_speech.voice, and the note that voice_sample is not cloned by ElevenLabs (clone in the account, pass the id). The cloning paragraph further down now lists ElevenLabs beside OpenAI.
    • bun run lint:md, bun run format:check, bun run build - all pass
    • Commit and open PR

    PR: #1208 (board item moved to QA)

    Per the third acceptance criterion, hold the merge until the gateway release carrying the WAV support is out - I left that as a note in the PR body rather than merging.

    I skipped bun run preview (no nav/SEO/theme change) and did not verify against a live ElevenLabs call - the format facts come from the issue.
    | Branch

  7. moved this from Todo to In progress in 2026on Nov 14, 2026
  8. moved this from In progress to QA in 2026on Nov 14, 2026
  9. moved this from QA to Done in 2026on Nov 15, 2026
  10. inference-gateway-releaser commented on Nov 17, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.27 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions