Subtitles
subtitleGenerate SRT/VTT subtitles from audio or video. Returns the subtitles as SRT or VTT text with the language, duration and number of cues. Use to caption a video or an audio file. For a plain transcript use stt or transcribe. Cost: 2 credits, charged only when a call succeeds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audio_url": "<audio_url>"
},
"name": "subtitle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Subtitle format. | srt |
| language | No | Language code. | en |
| audio_url | Yes | URL to audio/video. |