transcribe
audio.transcribeTranscribe audio files from a URL into text, with optional speaker labels and word timestamps for meetings or interviews.
Instructions
[$0.030/call, wallet required] Transcribe audio to text with the gpt-transcribe model. Provide a URL to an audio file (mp3, wav, m4a, etc.) and get back the transcript. Add diarize:true for speaker labels, word timestamps and a language confidence score (the scribe-v2 model, same price). No API key needed; pay per call via x402. Max 4 minutes of audio, 25 MB file size; /api/transcribe-pro takes the same models to 10 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the audio file to transcribe (mp3, wav, m4a, ogg, flac, webm) | |
| diarize | No | true: transcribe with the scribe-v2 model and add speaker labels and word timestamps (`words`, `speakers`) and `language_confidence` (0 to 1, the model's confidence in the detected language). Same price and cap. Default false | |
| language | No | Optional ISO-639-1 language code (e.g. 'en', 'es', 'fr') for better accuracy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | No | ||
| duration | No | ||
| language | No | ||
| provider | No |