Skip to content

[DOCS] Document the elevenlabs speech provider #703

Closed

Description

Summary

inference-gateway/schemas PR inference-gateway/schemas#210 adds elevenlabs as a provider for the unified POST /v1/audio/speech endpoint (tracked by inference-gateway/schemas#188). This is a user-facing change: a new provider, two new env vars, and a new way to use the existing voice field.

User-facing change:

  • New provider elevenlabs, url https://api.elevenlabs.io/v1, authenticated with the xi-api-key header.
  • New config env vars ELEVENLABS_API_URL and ELEVENLABS_API_KEY.
  • POST /v1/audio/speech with "model": "elevenlabs/<model>" and an ElevenLabs voice id in voice - including the id of a previously cloned voice - returns the synthesized audio.
  • ElevenLabs has no chat-completions API, so it is speech-only: /v1/chat/completions requests routed to it are not supported.

Affected pages:

  • Configuration reference (provider list, ELEVENLABS_API_URL / ELEVENLABS_API_KEY).
  • REST endpoints examples (/v1/audio/speech example using an ElevenLabs voice id).

Note: the docs should only land once the gateway implements the ElevenLabs request transformer.

Acceptance Criteria

  • Configuration reference lists the elevenlabs provider and its two env vars
  • rest-endpoints page shows a POST /v1/audio/speech example with "model": "elevenlabs/<model>" and a cloned voice id in voice
  • Docs note that ElevenLabs is speech-only (no chat completions)

Activity

  1. added
    documentation
    on Sep 22, 2026
  2. edenreich commented on Sep 22, 2026

    @edenreich
    Contributor

    @claude Can you work on this? use /ponytail:ponytail

  3. moved this to Todo in 2026on Sep 22, 2026
  4. inference-gateway-maintainer commented on Sep 22, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Done

    • Gather context (generated markers, provider-docs generator, Audio API page)
    • Confirm elevenlabs is already on schemas main (url, xheader / xi-api-key, speech endpoint, no chat endpoint)
    • Configuration reference lists elevenlabs with ELEVENLABS_API_URL / ELEVENLABS_API_KEY
    • POST /v1/audio/speech example with "model": "elevenlabs/<model>" and a voice id
    • Speech-only note (no chat completions) on api-reference, supported-providers and configuration
    • Validate: bun test (12 pass), lint:md, format:check, build - all green
    • Commit + open PR

    What changed

    • Generated regions regenerated from the canonical schema: providers table and uppercase env list (supported-providers.md), the ELEVENLABS_API_URL / ELEVENLABS_API_KEY config section (configuration.md), the SDK provider list (sdks.md).
    • api-reference.md: new #### ElevenLabs voices subsection with the speech example and the voice-id explanation, model / voice rows updated in the CreateSpeechRequest table, and the voice-cloning paragraph clarified (request-sample cloning stays local/qwen3-tts; ElevenLabs clones live in your account and are referenced by id).
    • Generator (scripts/generate-provider-docs.mjs): a provider with no chat endpoint in the schema is skipped in the ADK "Switching providers and models" table and no longer requires adkExampleModel. That fact already lives in the schema, so no new override knob was added. Fixture + a regression test cover it.

    Held for the reviewer

    The issue says the docs should land only once the gateway implements the ElevenLabs request transformer - inference-gateway/providers/transformers/ has no elevenlabs.go today, so the PR notes that the merge should wait. Follow-up filed: inference-gateway/inference-gateway#678. Issue moved to QA on the Roadmap board.

    View PR #706 | Branch |

  5. moved this from Todo to In progress in 2026on Sep 22, 2026
  6. moved this from In progress to QA in 2026on Sep 22, 2026
  7. moved this from QA to Done in 2026on Sep 22, 2026
  8. inference-gateway-releaser commented on Sep 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.14 🎉

    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

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions