{"slug":"api-sitecheck-api-workers-dev-api-translate-subtitles-1080c1","title":"Translate an SRT or WebVTT subtitle file into another language","host":"api.sitecheck-api.workers.dev","method":"POST","resource":"https://api.sitecheck-api.workers.dev/api/translate/subtitles","category":"other","description":"Translate an SRT or WebVTT subtitle file into another language. Only the cue text is translated; every cue number, timing line and header is copied exactly, and the output is checked to parse back to the same cues and timings, or it is refused unpaid. Body { subtitles, to, from }: up to 50 KB. Worke","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":17,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:5042","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"subtitles":"1\n00:00:01,000 --> 00:00:03,000\nHello there.\n","to":"de"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"from":{"description":"Source language, optional; detected by the model when not given","type":"string"},"subtitles":{"description":"The SRT or WebVTT text, up to 50 KB (JSON body field)","type":"string"},"to":{"description":"Target language name or code, e.g. German or de","type":"string"}},"required":["subtitles","to"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":17,"error":null}],"description_full":"Translate an SRT or WebVTT subtitle file into another language. Only the cue text is translated; every cue number, timing line and header is copied exactly, and the output is checked to parse back to the same cues and timings, or it is refused unpaid. Body { subtitles, to, from }: up to 50 KB. Workers AI (Llama 3.1 8B) translates the text, so check it before publishing. Not live-checked: the owner tests it on the Worker after the merge.","last_updated":"2026-10-15T19:17:55.679Z","schemes":["exact"]}