Convert text to speech

Test AI voice generation for free, then deploy via API.

{
    "text": "Artificial intelligence is revolutionizing various industries and daily life. From healthcare diagnostics to autonomous vehicles, AI systems are transforming how we work, communicate, and solve complex problems.",
    "model": "Kokoro",
    "voice": "af_alloy",
    "lang": "en-us",
    "speed": 1,
    "format": "mp3",
    "sample_rate": 24000
}
curl -X POST \
  'https://api.deapi.ai/api/v1/client/txt2audio' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {{ YOUR_API_TOKEN }}' \
  -d '{
    "text": "Artificial intelligence is revolutionizing various industries and daily life. From healthcare diagnostics to autonomous vehicles, AI systems are transforming how we work, communicate, and solve complex problems.",
    "model": "Kokoro",
    "voice": "af_alloy",
    "lang": "en-us",
    "speed": 1,
    "format": "mp3",
    "sample_rate": 24000
}'
Estimated cost: $0.000163/speech
2 free speechs left
Language
Voice
Estimated Boost cost:0.000000

Confirm Task

Estimated Cost: 0.000000

This amount will be deducted from your account balance

Enhance Prompt

Cost 0.000000

Confirm to apply the enhanced prompt and deduct the listed credits from your balance.

You’ve reached your free daily limit.

Your counter will reset at 00:00 UTC.

Want to keep going? Register now and get $5 in free credits to start!