You can export completed transcripts in both SRT and VTT formats for subtitles and captions.
You can use the subtitles feature alongside translation. You’ll have subtitles in the original language, and in each targeted translation language.
request data
{
  "audio_url": "YOUR_AUDIO_URL",
  "subtitles": true,
  "subtitles_config": {
    "formats": ["srt", "vtt"],
    "minimum_duration": 1,
    "maximum_duration": 5,
    "maximum_characters_per_row": 42,
    "maximum_rows_per_caption": 2,
    "style": "compliance"
  }
}
The subtitles_config object supports:
formats
enum["srt", "vtt"]
The format of the subtitles.
minimum_duration
number
The minimum duration of the subtitles in seconds (min 0).
maximum_duration
number
The maximum duration of the subtitles in seconds (min 1, max 30).
maximum_characters_per_row
number
The maximum number of characters per row (min 1).
maximum_rows_per_caption
number
The maximum number of rows per caption (min 1, max 5).
style
enum["default", "compliance"]
The style of the subtitles (“default” or “compliance”).
The JSON response adds a subtitles array with items like:
{
  "format": "srt",
  "subtitles": "1\n00:00:00,210 --> 00:00:04,711....."
}