Convert text to speech

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

Qwen3 TTS VoiceClone

Text-to-Speech
{
    "mode": "voice_clone",
    "model": "Qwen3_TTS_12Hz_1_7B_Base",
    "text": "The possibilities are endless. From a single line of text, create anything you can imagine. Voices that feel real. Music that moves you. Images that inspire. Welcome to the new era of creation.",
    "lang": "English",
    "speed": 1,
    "format": "mp3",
    "sample_rate": 24000,
    "ref_audio": "(binary file)",
    "ref_text": "Welcome to the future of AI. What once took hours now takes seconds. Generate images, music, video, and speech, all from a single API. This is deAPI."
}
curl -X POST \
  'https://api.deapi.ai/api/v1/client/txt2audio' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {{ YOUR_API_TOKEN }}' \
  -F 'mode=voice_clone' \
  -F 'model=Qwen3_TTS_12Hz_1_7B_Base' \
  -F 'text=The possibilities are endless. From a single line of text, create anything you can imagine. Voices that feel real. Music that moves you. Images that inspire. Welcome to the new era of creation.' \
  -F 'lang=English' \
  -F 'speed=1' \
  -F 'format=mp3' \
  -F 'sample_rate=24000' \
  -F 'ref_audio=@/path/to/reference.wav' \
  -F 'ref_text=Welcome to the future of AI. What once took hours now takes seconds. Generate images, music, video, and speech, all from a single API. This is deAPI.'
Estimated cost: $0.002481/speech
2 free speechs left
Reference Text (Transcript of the reference audio)
Target Text (Text to synthesize with cloned voice)
Voice file
I confirm I have the right to clone this voice

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!