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.
Sample Outputs
Real outputs generated with Kokoro on deAPI.
"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."
"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."
"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."
"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."
"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."
"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."
"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."
"deAPI मे आपका स्वागत है। यह सबसे तेज़ तरीका है अत्याधुनिक AI मॉडल तक पहुँचने का। एक ही API कॉल से इमेज, वीडियो, संगीत और बहुत कुछ बनाएं।"
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 itTechnical 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.
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.
Sign Up & Get $5 Free
No credit card required
Open Playground or API
Try the visual playground
Generate & Ship
Use in your app, product, or workflow
Frequently Asked Questions
Try Kokoro for Free
Get $5 in free credits and start generating with Kokoro.
Get $5 credits