Back to APIs

Unified Agent API

Subtitles

Subtitles

Generate SRT/VTT subtitles from audio or video files.

POST/v1/subtitles/generate

Overview

Generate SRT/VTT subtitles from audio or video

Parameters

audio_url

Required

string

URL to audio or video file.

language

string (default: en)

Language code.

format

select (default: srt)

Subtitle format.

SRT
VTT (WebVTT)

Example Response

{"success":true,"data":{"subtitle_content":"1\n00:00:00,000 --> 00:00:03,500\nHello, welcome.\n","format":"srt","duration_seconds":120.5,"utterance_count":15},"credits_used":2}

Get Started

Use this API through the O-mega platform. Create an API key in your dashboard, then call the endpoint with your key in the Authorization header.

Try Subtitles

Test Subtitles in the interactive playground. No setup required.

Open Playground
Subtitles API | Unified Agent APIs | suprsonic