Tools /

Quality check

Check subtitles against broadcast-style rules (reading speed in characters per second, characters per line, lines per cue, minimum duration and gaps, overlaps) and return a compliance score with each violation.

qc_subtitles

Plan
All plans
Usage
Free (does not count toward your daily limit)
Effect
Read-only

Parameters

ParameterTypeDescription
contentrequiredstringFull subtitle file contents as text (SRT, WebVTT, ASS/SSA, or the JSON produced by convert_subtitles).
filenameoptionalstringOriginal file name. The extension helps detect the format.
formatoptionalenumInput format. Detected from the file name or contents when omitted."srt" · "vtt" · "ass" · "ssa" · "json"

Example

You ask your assistant:

“Are these subtitles OK for Netflix-style delivery?”

It calls qc_subtitles with:

arguments
{
  "filename": "ep1.srt",
  "content": "1\n00:00:01,000 --> 00:00:03,500\nHello there.\n"
}

and gets back:

result
Score 91/100: 2 errors, 7 warnings across 640 cues.
- #12 Reading speed 24.1 cps (max 20)…