Transcribe audio
transcribe_audioSpeech-to-text with any OceanToken transcription model. Takes a public https URL or data: URL of an audio/video file (up to 20 MB; use upload_file for local files). response_format 'verbose_json' adds timestamped segments where the model supports it; 'srt'/'vtt' return subtitles.
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": {
"model": "<model>",
"audio_url": "<audio_url>"
},
"name": "transcribe_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Transcription model id (search_models type='transcription'). | |
| prompt | No | Spelling hints / context. | |
| language | No | ISO-639-1 code, e.g. 'en', 'zh'. | |
| audio_url | Yes | Public https URL or data: URL of the audio. | |
| response_format | No | json |