Skip to main content
POST
Create Spot Translation
Fix a handful of lines without re-translating the project. Pass the 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

x-api-key
string
header
required

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

traceparent
string | null

Body

application/json
run_id
integer
required

The run whose dialogues are being re-translated.

dialogue_ids
string[]
required

Dialogues to re-translate, from the run's transcript.

Minimum array length: 1
source_language
integer
required

Language the dialogues are in.

target_language
integer
required

Language to translate into. The run must already have a transcript in it.

revision_num
integer | null

Revision to re-translate. Defaults to the run's latest revision.

Required range: x > 0
generation_type
enum<string>
default:fix_duration

fix_duration keeps the original timing; rephrase allows the wording to move.

Available options:
fix_duration,
rephrase
user_duration_percentage
number | null

Permitted change in duration, as a percentage of the original.

Required range: x > 0
user_prompt
string | null

Free-text instruction for the translator.

Response

Successful Response

task_id
string | null
required
Last modified on October 22, 2026