falText to speechAvailable now
fal-ai/minimax/speech-2.8-hd
fal-ai/minimax/speech-2.8-hd is a text to speech tool from fal that runs in the background and returns audio. Pay as you go from $0.00013 per character, with one API key.
Try itfrom $0.00013 / character
Pricing
$0.13 per 1,000 characters of prompt.
Limits
- Runs
- In the background
- Returns
- audio
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Text to convert to speech. Use `<#x#>` for pauses (x = 0.01-99.99 seconds). Supports interjection tags: `(laughs)`, `(sighs)`, `(coughs)`, `(clears throat)`, `(gasps)`, `(sniffs)`, `(groans)`, `(yawns)`. |
voice_setting | JSON | {"vol":1,"pitch":0,"speed":1,"voice_id":"Wise_Woman","english_normalization":false} | Voice configuration settings |
audio_setting | JSON | — | Audio configuration settings |
language_boost | one of Chinese, Chinese,Yue, English, Arabic, Russian, Spanish, French, Portuguese, German, Turkish, Dutch, Ukrainian, Vietnamese, Indonesian, Japanese, Italian, Korean, Thai, Polish, Romanian, Greek, Czech, Finnish, Hindi, Bulgarian, Danish, Hebrew, Malay, Slovak, Swedish, Croatian, Hungarian, Norwegian, Slovenian, Catalan, Nynorsk, Afrikaans, auto | — | Enhance recognition of specified languages and dialects |
output_format | one of url, hex | hex | Format of the output content (non-streaming only) |
pronunciation_dict | JSON | — | Custom pronunciation dictionary for text replacement |
normalization_setting | JSON | — | Loudness normalization settings for the audio |
voice_modify | JSON | — | Voice modification settings to adjust pitch, intensity, and timbre. |
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": "fal-ai/minimax/speech-2.8-hd",
"input": {
"prompt": "Hello world! Welcome to MiniMax'\''s new text to speech model <#0.1#> Speech 2.8 HD (laughs) now available on Fal!"
}
}'