Text-to-Speech

Kokoro

Free Playground & API · $5 to Start

41 voices (male & female). 7 languages: EN-US, EN-GB, ES, FR-FR, HI, IT, PT-BR. Output: MP3/FLAC at 24kHz.

No subscription
No credit card required
HuggingFace

Sample Outputs

Real outputs generated with Kokoro on deAPI.

0:00
0:00

"Welcome to deAPI, the fastest way to access cutting-edge AI models. Generate images, videos, music, and more with just one API call. Start free with five dollars in credits today."

Speed 1.0x Voice af_heart Format FLAC

"The year was 2084. Rain hammered the neon-lit streets of New Shanghai as Detective Mira traced the holographic map floating above her wrist. The signal was fading, but she was close."

Speed 1.0x Voice am_adam Format FLAC

"Here are three tips for building better AI applications. First, always validate your inputs. Second, implement proper error handling for API timeouts. Third, cache results when possible."

Speed 1.0x Voice af_sky Format FLAC

"Good morning everyone, and welcome to today's podcast. We're diving deep into the world of generative AI, exploring how small teams are using tools like deAPI to build products."

Speed 1.0x Voice am_michael Format FLAC

"Bienvenue sur deAPI, le moyen le plus rapide d'accéder aux modèles d'intelligence artificielle les plus avancés. Générez des images, des vidéos, de la musique et bien plus encore."

Voice ff_siwis Format FLAC Language French

"Benvenuti su deAPI, il modo più veloce per accedere ai modelli di intelligenza artificiale più avanzati. Generate immagini, video, musica e molto altro con una sola chiamata API."

Voice if_sara Format FLAC Language Italian

"Bem-vindos ao deAPI, a forma mais rápida de acessar modelos de inteligência artificial de ponta. Gere imagens, vídeos, música e muito mais com apenas uma chamada de API."

Voice pf_dora Format FLAC Language Portuguese

"deAPI मे आपका स्वागत है। यह सबसे तेज़ तरीका है अत्याधुनिक AI मॉडल तक पहुँचने का। एक ही API कॉल से इमेज, वीडियो, संगीत और बहुत कुछ बनाएं।"

Voice hf_alpha Format FLAC Language Hindi

Capabilities

Model ID: Kokoro

What you can do with Kokoro.

Text-to-Speech

Turn any text into lifelike, natural-sounding audio. Multiple voices and languages for accessibility, e-learning, and content creation.

Try it

Technical Specifications

Text Length

3–10001 characters

Speed Range

0.5x–2x

Output Format

MP3 at 24 kHz

Default Voice

af_alloy

How to Use in deAPI

Integrate Kokoro into your app with a single API call.

POST https://api.deapi.ai/api/v1/client/txt2audio
curl -X 'POST' \
  'https://api.deapi.ai/api/v1/client/txt2audio' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
    "model": "Kokoro",
    "text": "Hello, welcome to deAPI. The fastest way to use AI models.",
    "voice": "af_heart"
}'
{
    "model": "Kokoro",
    "text": "Hello, welcome to deAPI. The fastest way to use AI models.",
    "voice": "af_heart"
}

Tip: The API returns a request_id. Use webhooks (recommended) or poll GET /request-status/{'{'}request_id{'}'} for results.

Need an API key?

Sign up for free and get $5 in credits to start.

Get $5 credits
Get started with Kokoro

Frequently Asked Questions

41 voices (male & female). 7 languages: EN-US, EN-GB, ES, FR-FR, HI, IT, PT-BR. Output: MP3/FLAC at 24kHz.
Kokoro offers 41 voices (male and female) across 7 languages: American English, British English, Spanish, French, Hindi, Italian, and Brazilian Portuguese. Audio output is 24kHz in MP3 or FLAC format.
Yes. Speed ranges from 0.5× (slow) to 2× (fast), with 1× as the default. This lets you create everything from slow narration to fast-paced voiceovers.
Sign up for a free deAPI account at https://deapi.ai/register and get $5 in free credits — no credit card required. Then open the playground, select Kokoro, and generate your first result in seconds.
deAPI is pay-per-use with no subscriptions or monthly fees. Check the pricing page at https://deapi.ai/pricing for current per-generation rates.
Yes. Kokoro is available via the deAPI REST API. Submit a request, receive a request ID, and poll for the result. See the API documentation at https://docs.deapi.ai for code examples in Python, Node.js, and cURL.

Try Kokoro for Free

Get $5 in free credits and start generating with Kokoro.

Get $5 credits
No subscription
No credit card required
Pay only for what you use