Start an authorized translation
dub_create_projectSends the uploaded video and audio for AI processing and starts translation, consuming existing credits or free allowance. First explain this processing and obtain affirmative user approval for the exact source, target language and full/free-preview scope, including content and speaker/voice rights. Do not treat OAuth consent as processing approval. Reuse the exact idempotency key and input after a timeout.
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": {
"sourceAssetId": "<sourceAssetId>",
"targetLanguage": "<targetLanguage>",
"consentAccepted": "<consentAccepted>",
"userConfirmed": "<userConfirmed>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "dub_create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| freePreview | No | ||
| sourceAssetId | Yes | The assetId of media uploaded and completed through the DubSync upload API. | |
| userConfirmed | Yes | True only after affirmative user authorization for this exact translation and its allowance/credit use. | |
| idempotencyKey | Yes | A stable unique key for this operation. Reuse it with the exact same input after a timeout; never generate a new key to retry. | |
| targetLanguage | Yes | A language code returned by dub_list_languages. | |
| consentAccepted | Yes | True only after the user agrees to send this video/audio for AI processing and confirms necessary content and speaker/voice rights for this request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The safe public API response, or resumable-upload status. |