Kooma API
Français API keys Sign up

POST Dubbing

Translates and re-voices a video in another language, using a voice from the library, synchronised with the original. Processing is asynchronous.

Service withdrawn

Dubbing is no longer offered. The endpoints below respond 410 and nothing is billed; jobs that are already finished remain readable.

Upload multipart/form-data.

Create a job

POST/dub/jobs
NameTypeDescription
filesourcefileThe video to dub (80 MB max).
source_urlsourcestringDirect link or video-platform link.
from_jobsourcestringReuse a subtitling finished (transcription + translation already done).
target_langoptionstringLanguage of the dubbed voice. Default bam_Latn.
voiceoptionstringVoice from the library (see Voices). Default modibo.
source_langoptionstringLanguage spoken in the video. Default auto.
debitoptionstringVoice pace: lent, normal, rapide.

Track & download

EndpointRole
GET /dub/jobs/{id}Job status + segments.
GET /dub/jobs/{id}/downloadDownload the dubbed video (ready when status=done).
GET /dub/jobsList your recent dubbing jobs.

Billed per minute of video.

# 1. create the dub (FR -> Bambara, Modibo voice)
curl https://api.kooma.ai/dub/jobs \
  -H "Authorization: Bearer sk-intermo-YOUR_KEY" \
  -F file=@video.mp4 \
  -F target_lang=bam_Latn \
  -F voice=modibo

# 2. when status=done, fetch the dubbed video
curl https://api.kooma.ai/dub/jobs/JOB_ID/download \
  -H "Authorization: Bearer sk-intermo-YOUR_KEY" \
  --output video-doublee.mp4
200 OK job created
{
  "job_id": "9f8e7d6c5b4a3210",
  "status": "queued",
  "duration_sec": 184.2,
  "minutes": 4
}

Dub from a subtitling job

POST /dub/from-subtitle/{sub_job_id} — creates a dub from a subtitling job that is already finished, reusing the source and the segments. Avoids transcribing and translating again.

FieldTypeDescription
target_langstringLanguage of the dubbed voice.
voicestringA single voice, if you do not want per-speaker casting.
voice_mapobjectOne voice per detected speaker.
auto_castbooleanAutomatic voice casting. Default: true.
debitnumberVoice pace.

Voice casting

GET /dub/jobs/{job_id}/casting — the speakers detected in the video, the suggested voice for each with its score, the alternatives, and the filterable catalogue. This is what lets you build a casting screen.

Listen to the original voice

GET /dub/jobs/{job_id}/preview?start=&end= — a short excerpt of the original (capped at ~6 s), to compare it with the proposed voice before confirming the casting.

Change the voices without redoing everything

POST /dub/jobs/{job_id}/recast — regenerates the dub with a different casting, reusing reusing the source video and the translation already done. No re-analysis, no re-translation, so much faster than a new job.

FieldTypeDescription
voice_mapobjectThe new voice for each speaker.
target_langstringTarget language, if you are changing it too.
auto_castbooleanDefault: true.
debitnumberVoice pace.

Dubbing rates

GET /dub/pricing — rate per minute of video, in your wallet currency, for a quote before generating. Consumes nothing.

↑↓ navigate↵ openesc close