Spiral gives your agent every tool with one account. Browse the tools →

falAudioAvailable now

Kokoro TTS (Mandarin Chinese)

fal-ai/kokoro/mandarin-chinese

Turn text into speech and audio with Kokoro TTS (Mandarin Chinese) from fal through one Spiral API key. It runs in the background and returns audio. Pay as you go, with no subscription.

Pricing

$0.026 per 1,000 characters of prompt. Rounded up to the next 1,000 characters, minimum 1,000.

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

FieldKindDefaultDescription
prompt requiredtext—
voice requiredone of
zf_xiaobei, zf_xiaoni, zf_xiaoxiao, zf_xiaoyi, zm_yunjian, zm_yunxi, zm_yunxia, zm_yunyang
—

Voice ID for the desired voice.

speednumber
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"
    }
  }'

Frequently asked questions

How much does Kokoro TTS (Mandarin Chinese) cost?

$0.026 per 1,000 characters of `prompt`. Rounded up to the next 1,000 characters, minimum 1,000. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Kokoro TTS (Mandarin Chinese) through an API?

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/kokoro/mandarin-chinese"` 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 Kokoro TTS (Mandarin Chinese)?

No. Spiral runs it on its own fal account and charges your Spiral balance.

Can my AI agent use Kokoro TTS (Mandarin Chinese)?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.