Powerful voice cloning API that makes it easy for your applications to integrate high-quality voice cloning features. Supports multiple programming languages with complete SDKs and detailed documentation.
Register an account and get your API key
Choose your programming language and integrate the SDK
Upload voice samples and generate high-quality speech
/api/v1/voices/cloneUpload voice sample and start cloning process
/api/v1/voices/generateGenerate TTS audio using cloned voice
/api/v1/voicesGet all cloned voices for the user
/api/v1/voices/{id}/statusQuery the progress status of voice cloning training
// CloneVoice API JavaScript SDK
import { CloneVoice } from '@clonevoice/sdk';
// Initialize client
const client = new CloneVoice({
apiKey: 'your_api_key_here',
baseURL: 'https://api.clonevoice.org'
});
// Clone voice
async function cloneVoice() {
try {
const response = await client.voices.clone({
audioFile: './sample.wav',
name: 'My Voice Clone',
description: 'Personal voice clone'
});
console.log('Voice clone started:', response);
return response.voiceId;
} catch (error) {
console.error('Error:', error);
}
}
// Generate speech
async function generateSpeech(voiceId) {
try {
const audio = await client.voices.generate({
voiceId: voiceId,
text: 'Hello, this is my cloned voice!',
settings: {
speed: 1.0,
pitch: 1.0,
emotion: 1.0
}
});
// Save audio file
const blob = new Blob([audio], { type: 'audio/wav' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = 'generated_voice.wav';
a.click();
} catch (error) {
console.error('Error:', error);
}
}Standard REST interface, easy to integrate and use
Millisecond response times, supports concurrent calls
API key-based secure authentication mechanism
Detailed API documentation and code examples
Register now to get free API credits and start building your voice applications