Create Spot Translation
Re-translate named dialogues of an existing run.
dialogue_ids you want redone — they come from the run’s transcript — and only those are translated again. target_language names which of the run’s translations to redo, so the run must already have a transcript in it.
generation_type decides what the translator may move: fix_duration keeps the new line inside the original timing, which matters when the audio is already cut to picture; rephrase lets the wording change length, with user_duration_percentage capping how far.
user_prompt is a free-text instruction to the translator, for steering register and word choice.
Track progress by polling /spot-translation/{task_id} with the task_id returned in the response.Authorizations
The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.
Headers
Body
The run whose dialogues are being re-translated.
Dialogues to re-translate, from the run's transcript.
1Language the dialogues are in.
Language to translate into. The run must already have a transcript in it.
Revision to re-translate. Defaults to the run's latest revision.
x > 0fix_duration keeps the original timing; rephrase allows the wording to move.
fix_duration, rephrase Permitted change in duration, as a percentage of the original.
x > 0Free-text instruction for the translator.
Response
Successful Response