Developer API / docs
Convert Subtitles API
Convert between SRT and VTT. Already in the target format passes through unchanged.
POSThttps://api.gigai.tools/v1/jobsAsync
Runs as the convert-subtitles operation inside a job. Needs a key with the jobs:write scope. Try it in the browser
Options
format- string, one of srt, vtt, required
Limits
- Input: srt, vtt, txt (one file, checked by content, never by extension).
- Max input size: 5 MB.
- Output: srt, vtt.
- Time budget: 60 seconds, then the task fails with the timeout code.
- Engine: native.
Inside a bigger job
Chain it: any task can consume this one's output by naming it in input. The recipes show working pipelines.
as one task in a graph
"step": { "operation": "convert-subtitles", "input": ["previous-task"], "format": ... }Errors this tool returns
invalid_input, invalid_option, file_too_large, timeout. The full list with fixes is on the errors page.
Was this page helpful?