Transcribe video/audio to SRT
transcribe_mediaSpeech-to-text for an uploaded video or audio file: returns timestamped SRT (the timeline to rewrite, translate or re-voice with srt_to_speech). Credits are charged per second of media, measured by the server. Use language = the spoken language code from list_languages.
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": {
"media_url": "<media_url>",
"language": "<language>"
},
"name": "transcribe_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | Spoken language code, e.g. vi, en, ja. | |
| media_url | Yes | public_url from create_upload_url (or a ttsforfree CDN link). | |
| wait_seconds | No | Seconds the server waits for the audio before returning. If the job is still PENDING, call get_job_status later with the returned job_id. |