The CLI can call Typecast Timestamp TTS and save alignment data alongside the generated audio. Use this when an agent needs subtitles for Shorts, caption timing for social video, karaoke-style highlights, or lip-sync metadata.
Generate subtitles
When --timestamps-format is omitted, CLI infers srt or vtt from the --timestamps-out extension and falls back to json.
Save raw timestamp JSON
JSON is useful when another tool will create captions, animate text, or align visuals manually.
Choose granularity
For languages without whitespace between words, such as Japanese (jpn) or Chinese (zho), use character-level timestamps for usable subtitle timing:
Caption workflow for agents
Output choices
For social video, generate captions in the same step as audio. It keeps the final narration and subtitle timing tied to the exact same synthesis result.