Grok Voice · Speech to Speech
xai/grok-voiceEdit and transform audio with Grok Voice · Speech to Speech from fal through one Spiral API key. It runs in the background and returns audio. Pay as you go, with no subscription.
Pricing
$0.001079 per second.
Limits
- Runs
- In the background
- Returns
- audio
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 255 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
audio_url required | URL or file | — | URL of the audio containing the user's speech. The Grok agent listens to it and replies with speech. Most common audio formats are supported; the audio is converted to 16-bit 24 kHz mono PCM before being sent to Grok. Maximum duration 10 minutes, maximum file size 50 MB. |
prompt | text | — | Optional system instructions describing the agent's persona and conversation context. Uses Grok's default persona when omitted. |
voice | one of carina, zagan, helix, orion, luna, iris, altair, zenith, perseus, helios, lux, kepler, rigel, cosmo, celeste, ursa, sirius, lumen, castor, naksh, atlas, aurora, liora, ara, eve, leo, rex, sal | — | Built-in xAI voice for the agent's reply. Uses Grok's default voice when omitted. |
tools | JSON | {"x_search":{"enabled":false},"web_search":{"enabled":false},"mcp_servers":[]} | Server-side tools available to the agent. Web, X, and remote MCP tools are supported; every tool is disabled by default. file_search/collections are unsupported by the typed configuration due to ZDR. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "xai/grok-voice",
"input": {
"audio_url": "https://v3b.fal.media/files/b/0a8dd5a2/hS140ygvRuxn-eY_qPhlv_assets_test_input_service.wav"
}
}'Frequently asked questions
How much does Grok Voice · Speech to Speech cost?
$0.001079 per second. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Grok Voice · Speech to Speech through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "xai/grok-voice"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Grok Voice · Speech to Speech?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Grok Voice · Speech to Speech?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.