Create project
Headers
Request
The source media file to dub. Provide this or source_url.
Optional free-form string (max 500 characters) to identify the project on your end.
BCP-47 language tag of the source media; must be a language the transcription model supports. Any region or script subtag is ignored, since transcription is per-language. Omit to auto-detect.
Default dubbing model id (‘dubbing_v1’ or ‘dubbing_v2’) for the project’s language targets; a target may override it. Omit to use the system default.
Key terms to bias transcription/translation toward (e.g. product or brand names). At most 1000 terms; each term at most 50 characters and 5 words; the characters <>{}[]\ are not allowed.
Ids of workspace webhooks to notify when this project becomes ready or fails, and when any of its languages completes or fails. At most 3; each must be a webhook configured in your workspace.
Optional shortcut: also create a language target in this BCP-47 language, queued to start once the project is ready. Must be a language the dubbing model supports, and a region-qualified tag must be one of the supported dialects.
Optional JSON transcript to use instead of automatic transcription. When provided, source_language is required. Segments may include an optional external_id and an optional translation; if any segment includes a translation, target_language is required and every segment must include one (used to seed the target created via target_language).
Response
Lifecycle status of the project: ‘preparing’/‘processing’ while it transcribes, ‘ready’ once transcription is done, or ‘failed’.
Monotonic counter incremented whenever the source transcript is edited (segment add/edit/delete).
Optional free-form string the customer can provide to identify the project on their end.
BCP-47 language tag of the source media (null if auto-detected).
Source media metadata; null until the project is ready.
Why the project failed; null unless status is ‘failed’. Also null for the few projects that failed before failure reporting was introduced.
Non-fatal conditions raised while preparing the source, empty when there are none. Reflects the latest preparation. Conditions raised while dubbing a particular language are reported on that language instead.