Attributes
- Provider: xai
- Category: Speech to Text
Series
Parameters
| Name | Description | Type | Required | Enums |
|---|---|---|---|---|
| url | Public http(s) URL of the audio file for transcription. File upload is not supported. | string | Yes | - |
| keyterm | Key terms to bias transcription toward (product names, proper nouns). Max 100 terms, each up to 50 characters. | string[] | No | - |
| audio_format | Format hint for raw/headerless audio only. Do not set for MP3/WAV/etc. Requires sample_rate when set. | string | No | pcm, mulaw, alaw |
| channels | Number of channels for multichannel raw audio (2–8). Container formats are usually auto-detected. | integer | No | - |
| diarize | When true, enables speaker diarization; words include speaker ids. | boolean | No | true, false |
| filler_words | When true, keep filler words (uh/um/er) in the transcript. | boolean | No | true, false |
| format | When true, enables Inverse Text Normalization (e.g. spoken numbers to written form). Requires language. | boolean | No | true, false |
| language | Language code for Inverse Text Normalization when format=true. Required when format is true. | string | No | ar, cs, da, nl, en, fil, fr, de, hi, id, it, ja, ko, mk, ms, fa, pl, pt, ro, ru, es, sv, th, tr, vi |
| multichannel | When true, transcribes each audio channel independently. | boolean | No | true, false |
| sample_rate | Sample rate in Hz for raw audio. Required when audio_format is set. | integer | No | 8000, 16000, 22050, 24000, 44100, 48000 |
Pricing
Input image ($/img): 0.0000
Input video ($/sec): 0.0000
Unit: $/sec
| Pricing |
|---|
| $0.0001/sec |
Related Models
- xai/grok-voice-tts: [Core Function] Grok Voice TTS converts text into natural spoken audio with expressive voices and optional speech tags embedded in the text. [Strengths] Supports 20+ languages (plus auto-detect), 26 built-in voices, multiple codecs (mp3/wav/pcm/mulaw/alaw), and custom voice IDs. [Best For] Product voiceovers, IVR/telephony (mulaw/alaw), and multilingual narration. [Limitations] Do NOT exceed 15,000 characters per request. Audio is returned on the completed task after polling. [Routing] Use this model for xAI Grok Voice quality or custom cloned voices. [Built-in voices] Original: eve (default), ara, leo, rex, sal. Flagship: altair, atlas, carina, castor, celeste, cosmo, helios, helix, iris, kepler, lumen, luna, lux, naksh, orion, perseus, rigel, sirius, ursa, zagan, zenith — case-insensitive; custom voice IDs are also accepted as voice_id.


