gpt-4o-mini-tts-2025-03-20
gpt-4o-mini-tts-2025-03-20 is an audio tool from OpenAI that runs in the background and returns audio. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Pricing
Price pending
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
- 500 MB
- Largest output
- 5 GB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
input required | text | — | The text to generate audio for. The maximum length is 4096 characters. |
voice required | JSON | — | The voice to use when generating the audio. Supported built-in voices are |
speed | number 0.25 to 4 | 1 | The speed of the generated audio. Select a value from |
instructions | text | — | Control the voice of your generated audio with additional instructions. Does not work with |
response_format | one of mp3, opus, aac, flac, wav, pcm | mp3 | The format to audio in. Supported formats are |
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": "openai",
"model": "gpt-4o-mini-tts-2025-03-20",
"input": {
"input": "<input>",
"voice": {}
}
}'