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] Dubbing a video with Mirelo through POST /v1/videos #1212
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.
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.
Activity
edenreich commentedon Nov 14, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Nov 14, 2026
Claude finished @edenreich's task in 2m 40s —— View job •
docs/issue-1212-20261114-2318• Create PR ➔Documented Mirelo video dubbing
VIDEOS_ENABLEDreferences)videopart and the dubbing flow end to end (create, poll themirelo:-prefixed job, download the MP4)bun run lint:md,bun run format:check,bun run buildall passWhat changed
api-reference.md:mirelonext toelevenlabs, with theMIRELO_API_KEYpointer.CreateVideoRequestgains thevideopart (mutually exclusive withinput_referenceandreference_images), plus a small table for the dubbing-onlystart_offset_secondsandpreserve_speech, and notes on whatsecondsandsizemean when dubbing.sfx/speechcome fromPOST /v1/audio/sfx),sfx-1.6withpreserve_speechcaps the window at 60 seconds, and the upload sharesSERVER_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_ENABLEDinconfiguration.mddoes not enumerate providers (unlikeAUDIO_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 atask generaterun on a schema bump will pick that up - I did not regenerate. I usedmirelo/sfx-2.0in 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 namessfx-1.6for thepreserve_speechcap.| 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 📦🚀