falText to audioComing soon
fal-ai/kokoro/mandarin-chinese
fal-ai/kokoro/mandarin-chinese is a text to audio tool from fal 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.
Priced by usagePricing
$0.026 per 1,000 characters of prompt. The final charge comes from usage.
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 | — | |
voice required | one of zf_xiaobei, zf_xiaoni, zf_xiaoxiao, zf_xiaoyi, zm_yunjian, zm_yunxi, zm_yunxia, zm_yunyang | — | Voice ID for the desired voice. |
speed | number 0.1 to 5 | 1 | Speed of the generated audio. Default is 1.0. |
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/kokoro/mandarin-chinese",
"input": {
"prompt": "每一个伟大的旅程,都始于勇敢迈出的第一步。加油,你可以做到!",
"voice": "zf_xiaobei"
}
}'