Translates up to 40 subtitle cues anonymously with zero API key required, returning both context-aware AI lines and literal machine translation diffs with preserved cue timings. Try interactively at SubtitleTranslatorOnline or SRT Translator.
POST
/api/subtitle/preview
curl \
--request POST 'https://subtitletranslatoronline.com/api/subtitle/preview' \
--header "Content-Type: application/json" \
--data '{
"content": "1\n00:00:01,000 --> 00:00:03,500\nDon't let him get away with it!\n",
"targetLang": "es",
"sourceLang": "auto",
"format": "srt",
"bilingual": false
}'
Request examples
{
"content": "1\n00:00:01,000 --> 00:00:03,500\nDon't let him get away with it!\n",
"targetLang": "es",
"sourceLang": "auto",
"format": "srt",
"bilingual": false
}
Response examples (200)
{
"cues": [
{
"index": 42,
"start": "string",
"end": "string",
"original": "string",
"translated": "string",
"literal": "string"
}
]
}