Generate TTS audio based on the provided text and return a URL for later retrieval. Supports voice prompt presets.
API Key
TTS generation request
Request structure for TTS and voice generation endpoints
Language locale code (e.g., en-US, fr-FR)
"en-US"
Model ID to use for generation Model ID to use for generation (required)
"dd-etts-1.1"
Text to be converted to speech
"Hello world"
ID of the voice prompt to use
"vp_12345abcde"
Optional accent control parameters
Optional ID for the generation
"gen_67890fghij"
ID of performance reference prompt (optional)
"perf_12345"
Enhance voice prompt characteristics (optional)
true
Whether to publish the generated audio (optional)
true
Enable real-time processing mode (optional)
false
Output audio sample rate in Hz (optional)
44100
Random seed for deterministic generation (optional)
42
Enable super stretch mode for longer audio (optional)
true
Target duration for the generated audio in seconds (optional)
10.5
Generation temperature (0.0-1.0) (optional)
0.7
Playback speed multiplier (0.5-2.0) (optional)
1.2
Voice variation level (0.0-1.0) (optional)
0.8
Base64-encoded audio reference for voice cloning (optional)
"base64_encoded_audio_data"
Successful response with URL