Skip to content

[DOCS] Dubbing a video with Mirelo through POST /v1/videos #1212

Closed

Description

Summary

The gateway's Videos API can now dub a clip: POST /v1/videos with a video part uploads the clip to Mirelo, which generates the sound that fits it and re-renders the clip with that sound as its new soundtrack. The job id carries the mirelo: prefix, GET /v1/videos/{video_id} reports the mapped status and GET /v1/videos/{video_id}/content streams the dubbed MP4. Gateway PR: inference-gateway/inference-gateway#870 (the audio-only half was inference-gateway/inference-gateway#864).

User-facing change:

  • CreateVideoRequest gains a video binary part, mutually exclusive with input_reference and reference_images.
  • Optional dubbing fields: prompt, seconds and start_offset_seconds (the window to score, omitted scores the rest of the clip) and preserve_speech.
  • mirelo joins elevenlabs as a provider the Videos API lists, still behind VIDEOS_ENABLED.
  • Limits: only the generated mix is laid onto the clip - the separated sfx and speech tracks come back as audio from POST /v1/audio/sfx - and sfx-1.6 with preserve_speech caps the scored window at 60 seconds. The uploaded clip has to fit SERVER_MAX_REQUEST_BODY_SIZE.

Affected pages: the Videos API reference and the Mirelo provider page (and wherever VIDEOS_ENABLED lists the providers that serve the endpoint).

Acceptance Criteria

  • The Videos API page documents the video part and the dubbing flow end to end (create, poll, download).
  • The dubbing-only fields and Mirelo's limits are listed.
  • Mirelo appears as a Videos provider wherever the supported providers are listed.

Activity

  1. added
    documentation
    on Nov 14, 2026
  2. edenreich commented on Nov 14, 2026

    @edenreich
    Contributor

    @claude can you document this?

  3. added theissue type on Nov 14, 2026
  4. inference-gateway-maintainer commented on Nov 14, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 40s —— View job • docs/issue-1212-20261114-2318 • Create PR ➔


    Documented Mirelo video dubbing

    • Gathered context (Videos API section, Mirelo provider section, VIDEOS_ENABLED references)
    • Documented the video part and the dubbing flow end to end (create, poll the mirelo:-prefixed job, download the MP4)
    • Documented the dubbing-only fields and Mirelo's limits
    • Added Mirelo as a Videos provider where the providers are listed
    • bun run lint:md, bun run format:check, bun run build all pass
    • Committed and opened #1214

    What changed

    api-reference.md:

    • Videos API intro now mentions dubbing and lists mirelo next to elevenlabs, with the MIRELO_API_KEY pointer.
    • CreateVideoRequest gains the video part (mutually exclusive with input_reference and reference_images), plus a small table for the dubbing-only start_offset_seconds and preserve_speech, and notes on what seconds and size mean when dubbing.
    • New "Dubbing a video" section: curl create, job response, poll, download, the field meanings, and the limits - only the mix is laid onto the clip (separated sfx/speech come from POST /v1/audio/sfx), sfx-1.6 with preserve_speech caps the window at 60 seconds, and the upload shares SERVER_MAX_REQUEST_BODY_SIZE.

    supported-providers.md: the Mirelo section links the dubbing flow and its page description no longer reads sound-effects-only.

    Not done: VIDEOS_ENABLED in configuration.md does not enumerate providers (unlike AUDIO_ENABLED), so it needed no edit. The providers table there is generated from the schema, so if the schema now marks Mirelo as a video provider a task generate run on a schema bump will pick that up - I did not regenerate. I used mirelo/sfx-2.0 in the dubbing example to match the existing sfx docs - worth confirming that is the id the gateway accepts on /v1/videos, since the issue only names sfx-1.6 for the preserve_speech cap.

    | Branch

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