generate_dubbing
PRE-FETCH (mandatory): resources/read kubeez://skills/media-upload AND kubeez://skills/billing-confirmation. This is the most expensive model on the platform and Kubeez has no refunds — quote with estimate and get the user's explicit go-ahead before you fire.
Scope: generate:media. Translates and re-voices the speech ALREADY IN a clip, and returns one dubbed .mp4 per language. It does not write music, effects or subtitles, and it does not add speech to a silent clip.
ENGINE (model, default 'sonilo-dubbing'):
sonilo-dubbing 17 languages, optional ducking, 10-second billing minimum.
elevenlabs-dubbing ElevenLabs, 90+ languages (Romanian included), optional source_language (default 'auto') and cloning_strength (0-10, default 7: how strongly the dubbed voices clone the speakers), a lower per-second rate, no billing minimum. Its full code list is in get_models usage_notes and the model-selection skill.
Options of one engine are refused on the other. Compare both with estimate.
INPUT: video_url, https, up to 300 seconds (the provider's own ceiling, lower than the 360 the scoring models take). Local file: get_upload_url(model_id=) → upload → get_upload_session(token) → pass the returned URL. The charge follows the clip length the server measures (duration_seconds never changes it).
LANGUAGES (required, no default). sonilo-dubbing: en, zh_cn, ja, ko, pt, pt_br, es, es_419, de, fr, it, ru, th, ar, tr, vi, id. pt_br is Brazilian Portuguese and es_419 Latin American Spanish; plain pt and es are the unqualified languages, so they are a third option rather than synonyms. ar is unqualified Arabic. Romanian is NOT available on Sonilo. elevenlabs-dubbing: BCP-47 codes such as es, es-MX, pt-BR, fr-CA, ro, pl, hi, 1 to 10 per run, any case and _ or -. ASK the user which languages they want. Do not pick a set for them, because each one is charged in full.
BILLING: clip seconds MULTIPLIED BY the number of languages, at the engine's own per-second rate. Sonilo applies a 10-second minimum to that product (not per language); ElevenLabs has none. Three languages costs three times one. estimate(model=, reference_video_seconds=, variant_count=) is the quote.
DUCKING (sonilo-dubbing only): optional, free, off by default. On, the clip's own music and effects are lowered while the dubbed voice speaks; the bed is kept either way.
ASYNC: returns {generation_id, status:'pending', languages}. Poll get_status(generation_id) — the provider has NO callback, so the poll is also what settles the run and releases any language that was not delivered. Each output's metadata.language names which language it is.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_url": "<video_url>",
"languages": "<languages>"
},
"name": "generate_dubbing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | sonilo-dubbing | |
| ducking | No | ||
| languages | Yes | ||
| video_url | Yes | ||
| source_language | No | ||
| cloning_strength | No | ||
| duration_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||