Audio Url Transcription Price
audio_url_transcription_priceCalculate the price for transcribing Twitter Spaces audio by providing an audio URL or duration in seconds, so you can estimate transcription costs before submitting.
Instructions
Calculate price for Twitter Spaces audio transcription.
Provide either audio_url or duration_seconds for price calculation.
platform is only accepted alongside duration_seconds; with a URL the
API derives the platform from the source.
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": {
"include_ts": "<include_ts>"
},
"name": "audio_url_transcription_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the recording as an ISO code, e.g. 'en', 'pl'. Set it whenever you know the language: auto-detection can pick the wrong one, e.g. on short or accented audio. It forces the output language, so a wrong code returns a translation instead of a transcript. Auto-detected when unset | |
| model | No | Whisper model from the model list. Default WhisperLargeV3Ct2: honours lang, returns segments, supports diarize and word timestamps | WhisperLargeV3Ct2 |
| diarize | No | Label who is speaking; implies include_ts. Only on models marked 'diarize' in the model list (WhisperLargeV3 rejects it). Costs 1.5x, not stacked with a finer ts_level | |
| platform | No | Pass 'twitter' when quoting a Twitter Spaces recording by duration_seconds, so it is priced as a platform source. Only valid together with duration_seconds | |
| ts_level | No | Timestamp granularity: 'segment', 'word' or 'char'; implies include_ts. Only the levels a model lists under 'ts_level' in the model list are accepted (WhisperLargeV3: segment only). Finer than segment costs 1.5x on models that price it | |
| audio_url | No | Twitter Spaces URL (required if duration_seconds not provided) | |
| include_ts | Yes | Include timestamps | |
| duration_seconds | No | Audio duration in seconds (required if audio_url not provided) | |
| include_metadata | No | Include source metadata. Carries a flat surcharge on models that price it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||