> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# API Kokoro Text to Speech

> API Kokoro Text to Speech sur Venice : synthèse vocale avec 54 voix à $3.50 par 1M caractères (environ $0.0029 par minute). Privé, sans aucune conservation des données.

> [accordion] Spécification en texte brut
>
> ## API Kokoro Text to Speech
>
> Kokoro Text to Speech est un modèle de synthèse vocale de hexgrad, disponible sur l'API Venice sous `tts-kokoro`. Il fonctionne en mode privé, sans aucune conservation des données.
>
> ### Tarifs de l'API Kokoro Text to Speech
>
> | ID du modèle | Variante | Confidentialité | Prix |
> | - | - | - | - |
> | `tts-kokoro` | Standard | Private | \$3.50 / 1M caractères |
>
> ### Spécifications de Kokoro Text to Speech
>
> | Caractéristique | Valeur |
> | - | - |
> | Fournisseur | hexgrad |
> | Sortie | 19 mars 2025 |
> | Confidentialité | Private |
> | Statut | Stable |
> | Poids ouverts | Oui |
> | Voix | 54 |
> | Formats | mp3, opus, aac, flac, wav, pcm |
>
> ### Comment utiliser l'API Kokoro Text to Speech
>
> Envoyez vos requêtes à `POST https://api.venice.ai/api/v1/audio/speech` avec `"model": "tts-kokoro"` et votre clé API.
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/audio/speech \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "tts-kokoro",
>     "input": "Private AI for everyone.",
>     "voice": "af_alloy",
>     "response_format": "mp3"
>   }' --output speech.mp3
> ```
>
> ### Modèles similaires
>
> * [API Inworld TTS-1.5 Max](https://docs.venice.ai/fr/models/inworld-tts-1-5-max.md): \$12.50 / 1M caractères
> * [API xAI TTS v1](https://docs.venice.ai/fr/models/xai-tts-v1.md): \$18.75 / 1M caractères
> * [API Chatterbox HD (Resemble AI)](https://docs.venice.ai/fr/models/chatterbox-hd.md): \$50.00 / 1M caractères
> * [API Gradium TTS](https://docs.venice.ai/fr/models/gradium-tts.md): \$47.50 / 1M caractères


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.