Skip to content

[DOCS] Image edits through ElevenLabs and avatars with one key #1206

Closed

Description

@edenreich

Summary

The gateway now serves POST /v1/images/edits with an elevenlabs/... model, so an avatar can be created, voiced and lip-synced with one ElevenLabs key. It also refuses a driving audio clip on /v1/videos for a model that renders from a prompt. The docs still say only OpenAI serves image edits and that an avatar needs the OpenAI image provider.

Source:

Example to add under the Images API:

curl -X POST "http://localhost:8080/v1/images/edits" \
  -H "Authorization: Bearer $TOKEN" \
  -F image="@front.jpg" \
  -F prompt="The same person seen from a three-quarter left view" \
  -F model="elevenlabs/gpt-image-2" \
  -F size="1024x1536" \
  -F quality="high"
{
  "created": 1792570901,
  "data": [{ "url": "https://.../signed/portrait.png" }]
}

Avatar setup with one key, for the CLI page (the model lives in ~/.infer/tools.yaml):

tools:
  image_edit:
    enabled: true
    model: elevenlabs/gpt-image-2

Acceptance Criteria

  • api-reference.md, Images API: ElevenLabs is listed for /v1/images/edits, with the example above, the field mapping (size to aspect ratio, quality, mask, n above 1 answers 400), the url default and response_format=b64_json, and the wait of up to five minutes.
  • api-reference.md, Videos API: the page no longer calls the API OpenAI-compatible (OpenAI retired its Videos API on 2026-09-24), and "Audio-driven avatars" says a prompt-driven model answers 400 when audio is sent.
  • cli-text-to-video.md: creating an avatar with only an ElevenLabs key, with the tools.yaml snippet above.
  • supported-providers.md: ElevenLabs lists image edits and its image models.
  • desktop.md, Avatars: the photo goes to the provider behind the image edit model, which can now be ElevenLabs.

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. edenreich commented on Nov 14, 2026

    @edenreich
    ContributorAuthor

    @claude can you document this?

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

    @inference-gateway-maintainer
    Contributor

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


    Documented image edits through ElevenLabs

    PR #1211 is open.

    • api-reference.md, Images API: ElevenLabs listed for /v1/images/edits, with a new "ElevenLabs image edits" section - the curl example and response from the issue, the field mapping (size reduced to an aspect ratio, quality, mask, n above 1 answering 400), url by default vs response_format=b64_json, and the wait of up to five minutes
    • api-reference.md, Videos API: now described as shaped like the Videos API OpenAI retired on 2026-09-24 rather than OpenAI-compatible, and "Audio-driven avatars" states the 400 a prompt-driven model answers when audio is sent
    • cli-text-to-video.md: "With only an ElevenLabs key" with the ~/.infer/tools.yaml snippet
    • supported-providers.md: ElevenLabs is media-only and lists image edits with its image models
    • desktop.md, Avatars: the photo goes to the provider behind the image edit model, which can now be ElevenLabs
    • bun run format, bun run lint:md, bun run build all pass

    Two things I checked against the source rather than taking from the issue: the gateway routes bytedance-seedream-5-* and gemini-*-image edits through ElevenLabs as well as gpt-image-*, so the model lists name all three families; and the prompt-driven refusal covers the models with reference-image limits (elevenlabs/veo-3.1-*, bytedance-seedance-v2*) while unknown models are still left to the provider.

    Not done: no generated section needed regeneration, so task generate was not run, and I did not inspect the pages in bun run preview (no nav, SEO or theme change).
    | Branch

  6. moved this from Todo to In progress in 2026on Nov 14, 2026
  7. moved this from In progress to QA in 2026on Nov 14, 2026
  8. moved this from QA to Done in 2026on Nov 15, 2026
  9. 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