$5 free credits when you sign up Claim now
Marlin 2b now available Test it!
MiniMax H3 now available! Test it!
Browse all Models
Browse all
Browse all
Browse all

Text-to-Speech

Kokoro voices list and voice codes

Send text and a voice code, get an MP3 back. All 41 Kokoro voices are listed below, with the language code and prefix each one needs.

  • $0.00077 per 1,000 characters
  • Up to 10,000 characters per request
  • Speed from 0.5× to 2×

No credit card · Free credits valid for 90 days · Then top up and pay as you go, no subscription

Kokoro Text-to-Speech

Text · voice af_heart · lang en-usThis voice was generated with Kokoro on deAPI. One request, one short MP3, and the cost is a fraction of a cent.

MP3 · 24 kHz · speed 1 Cost on deAPI: $0.00077 / 1,000 chars (price as of October 2026)

Kokoro voices and language codes

A voice code has three parts. The first letter is the language, the second is f for female or m for male, and the rest is the name, so if_sara is an Italian female voice. Send the matching lang code with it.

  1. Match voice and language. if_sara goes with "lang": "it", pf_dora with "lang": "pt-br". Use the lang code from the table for each voice.

  2. Use punctuation to steer delivery. Commas, full stops and question marks change pauses and intonation. Our Kokoro punctuation guide has examples.

  3. Split long text. One request takes up to 10,000 characters. Send chapters or paragraphs as separate requests and join the MP3 files.

  4. Speed changes the price. speed goes from 0.5 to 2. At 2× a request costs half as much, at 0.5× twice as much.

American English en-us a af_alloy, af_aoede, af_bella, af_heart, af_jessica, af_kore, af_nicole, af_nova, af_river, af_sarah, af_sky, am_adam, am_echo, am_eric, am_fenrir, am_liam, am_michael, am_onyx, am_puck, am_santa
British English en-gb b bf_alice, bf_emma, bf_isabella, bf_lily, bm_daniel, bm_fable, bm_george, bm_lewis
Spanish es e ef_dora, em_alex, em_santa
French fr-fr f ff_siwis
Hindi hi h hf_alpha, hf_beta, hm_omega, hm_psi
Italian it i if_sara, im_nicola
Brazilian Portuguese pt-br p pf_dora, pm_alex, pm_santa

Kokoro TTS API pricing

The price depends on the length of the text and the speed. Prepaid credits, no subscription.

1,000 characters $0.00077 ≈ 6,481
10,000 characters (max per request) $0.0077 ≈ 648

What the free account includes

  • $5 of credits, no credit card
  • Up to 300 speech requests a day until your first top-up
  • Credits valid for 90 days from sign-up
Get $5 credits

Prices from the deAPI price API, October 2026, in USD, speed 1, MP3 at 24 kHz.

Kokoro vs Chatterbox vs Qwen3 TTS

Languages 7 language codes (US and UK English, Spanish, French, Hindi, Italian, Brazilian Portuguese) 23, including German, Polish, Turkish and Japanese 10, including German, Japanese and Korean
Preset voices 41 1 default voice 9 (CustomVoice model)
Voice cloning No No Yes (VoiceClone model, 5–15 s reference)
Speed 0.5× to 2× 1× only 1× only
Max text per request 10,000 characters 2,000 characters 5,000 characters
Price per 1,000 characters $0.00077 $0.0077 $0.013 (CustomVoice)

Kokoro API example

One JSON request per text. Replace YOUR_API_KEY with a key from your dashboard.

Model ID
Kokoro
Endpoint
POST /api/v2/audio/speech
Required fields
model, text, voice, lang, speed, format, sample_rate
Output
MP3, 24 kHz, via result_url
Free account limits
5 requests per minute, 300 per day
curl -X POST 'https://api.deapi.ai/api/v2/audio/speech' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "Kokoro",
    "text": "Hello from deAPI.",
    "voice": "af_heart",
    "lang": "en-us",
    "speed": 1,
    "format": "mp3",
    "sample_rate": 24000
  }'
import time, requests

API = "https://api.deapi.ai/api/v2"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY", "Accept": "application/json"}

job = requests.post(f"{API}/audio/speech", headers=HEADERS, json={
    "model": "Kokoro", "text": "Ciao da deAPI.",
    "voice": "if_sara", "lang": "it",   # Italian: prefix i, lang it
    "speed": 1, "format": "mp3", "sample_rate": 24000,
}).json()["data"]

while True:
    status = requests.get(f"{API}/jobs/{job['request_id']}", headers=HEADERS).json()["data"]
    if status["status"] in ("done", "error"):
        break
    time.sleep(1)

print(status.get("result_url"))  # the MP3 file

What is Kokoro?

Kokoro is an open text-to-speech model with 82 million parameters, released by hexgrad under the Apache 2.0 license. On deAPI you call it over HTTP with the 41 voices listed above, without running the model yourself. A full 10,000-character request costs $0.0077.

  1. Create a free account

    Sign up and get $5 of credits. No credit card.

  2. Get your API key

    The key is in your dashboard. You can also try voices in the Playground.

  3. Send text

    POST text, a voice code and a lang code, then download the MP3.

Kokoro TTS FAQ

On deAPI, Kokoro has 41 voices: 20 American English, 8 British English, 3 Spanish, 1 French, 4 Hindi, 2 Italian and 3 Brazilian Portuguese.
The first letter is the language (a = American English, b = British English, e = Spanish, f = French, h = Hindi, i = Italian, p = Brazilian Portuguese), the second letter is f for female or m for male, and the rest is the voice name.
Italian voices start with i: if_sara (female) and im_nicola (male). Send them with "lang": "it".
Create a free deAPI account, then copy the key from the dashboard. The same key works for every model on deAPI. To try voices without writing code, use the text-to-speech Playground.
$0.00077 per 1,000 characters (October 2026). The $5 sign-up credit covers about 6,481 requests of 1,000 characters, with up to 300 requests a day on a free account.
Not on deAPI. Chatterbox (23 languages) covers all three, and Qwen3 TTS (10 languages) covers German and Japanese. Both work with the same API key.
The Kokoro model weights are released under the Apache 2.0 license. Use of the API and its output is covered by the deAPI Terms of Service, which make you responsible for having the rights your use needs.

Try all 41 Kokoro voices with $5 of free credits

No credit card, no subscription.