curl -X POST https://app.dubformer.ai/api/v1/cloning/synthesize \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "text=Hello world, this is a test of our voice cloning technology!" \ -F "language=en-US" \ -F "reference_audio_files=@reference_voice_1.wav" \ -F "reference_audio_files=@reference_voice_2.wav"
Copy
# Binary WAV audio file is returnedContent-Type: audio/wavContent-Length: 524288# Save to filecurl -X POST https://app.dubformer.ai/api/v1/cloning/synthesize \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "text=Hello world!" \ -F "language=en-US" \ -F "[email protected]" \ --output synthesized_audio.wav
Voice Synthesis
Voice Cloning & Synthesis
Generate high-quality emotional text-to-speech with voice cloning capabilities
POST
https://app.dubformer.ai
/
api
/
v1
/
cloning
/
synthesize
Copy
curl -X POST https://app.dubformer.ai/api/v1/cloning/synthesize \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "text=Hello world, this is a test of our voice cloning technology!" \ -F "language=en-US" \ -F "reference_audio_files=@reference_voice_1.wav" \ -F "reference_audio_files=@reference_voice_2.wav"
Copy
# Binary WAV audio file is returnedContent-Type: audio/wavContent-Length: 524288# Save to filecurl -X POST https://app.dubformer.ai/api/v1/cloning/synthesize \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "text=Hello world!" \ -F "language=en-US" \ -F "[email protected]" \ --output synthesized_audio.wav
The Voice Cloning & Synthesis API enables you to generate natural-sounding speech with emotional transfer capabilities. This advanced endpoint uses AI-powered voice cloning technology to synthesize speech that matches the characteristics and emotional tone of reference audio samples.
This endpoint requires a PRO subscription or higher to access voice cloning features.
Copy
curl -X POST https://app.dubformer.ai/api/v1/cloning/synthesize \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "text=Hello world, this is a test of our voice cloning technology!" \ -F "language=en-US" \ -F "reference_audio_files=@reference_voice_1.wav" \ -F "reference_audio_files=@reference_voice_2.wav"
One or more audio files containing reference voice samples for cloning.Supported formats: WAV, MP3, M4A, FLAC Maximum file size: 50MB per file Recommended length: 3-30 seconds for optimal results Quality requirements: Clear audio with minimal background noise