AI picks lines that keep the original voice
ai_keep_original_linesFor a Completed localize_video job: send the whole transcript with the user's instruction to AI (Gemini Flash), which picks the lines that should keep the original voice (voice demos, cloned voice samples, recordings, songs...). By default (apply = true) the choice is applied and the video re-rendered right away. Charges credits by tokens used (credits_charged in the result).
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": {
"job_guid": "<job_guid>"
},
"name": "ai_keep_original_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | false = only return the suggested lines (still charged). | |
| job_guid | Yes | job_guid of one language from localize_video. | |
| instruction | No | What to keep, in the user's words. Empty = voice demos, recordings and songs. |