DocsKokoro TTS
Audio
Kokoro TTS
High-quality text-to-speech with 20+ voices powered by Kokoro. Natural-sounding speech synthesis with adjustable speed.
$0.10 per 100 characters
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| text | string | required | — | Text to convert to speech |
| voice | string | optional | — | Voice ID to useOptions: af_nicole, af_sarah, af_bella, am_adam, am_michael, bf_emma, bf_isabella, bm_george, bm_lewis |
| speed | float | optional | 1 | Speech speed multiplier (0.5 = half speed, 2.0 = double speed) |
Example Request
curl -X POST https://cutedsl.cc/api/service \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"service": "tts",
"text": "Hello! Welcome to CuteDSL.",
"voice": "af_nicole",
"speed": 1.0
}'Example Response
{
"result": {
"audio_base64": "<base64-encoded audio>",
"format": "wav",
"duration_seconds": 2.1
},
"credits_used": 26,
"credits_remain": 49974,
"usd_equivalent": 0.026
}Playground
Connect your wallet to try the playground.
Connect Wallet