Start an authorized translation
dub_create_projectStarts a full translation and sends the source for AI processing using existing paid minutes. Show the exact quote, then obtain affirmative approval for the source, target language, AI processing, and quoted usage. Confirm that the user has rights to the content and consent from all speakers. OAuth and upload approval do not authorize translation. Retry only with the same operation key and input.
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 | An optional title for the user to recognize this translation. | |
| freePreview | No | Deprecated. Omit for new translations. Preserve true only when retrying a legacy request with its original key and input. | |
| sourceAssetId | Yes | The assetId of media uploaded and completed through the DubSync upload API. | |
| userConfirmed | Yes | True only after showing the quote and receiving affirmative approval for this exact source, target language, and use of paid minutes. | |
| 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. | |
| subtitleLanguage | No | Deprecated legacy preference. Preserve its original value when retrying an old request. New saved subtitles use the translation language. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |