Check out our upcoming events and meetups! View events →
Creates a new voice clone by capturing the voice identity of an existing voice design. The clone can then be used for text-to-speech synthesis.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const voiceClone = await client.voiceClones.create({
gender: 'male',
language: 'en',
name: 'clone-narrator',
voice_design_id: '550e8400-e29b-41d4-a716-446655440000',
});
console.log(voiceClone.data);{
"data": {
"record_type": "voice_clone",
"id": "660f9511-f3ac-52e5-b827-557766551111",
"source_voice_design_id": "550e8400-e29b-41d4-a716-446655440000",
"source_voice_design_version": 1,
"name": "clone-narrator",
"language": "en",
"gender": "male",
"label": "Speak in a warm, friendly tone",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"provider": "Telnyx",
"provider_supported_models": [
"Qwen3TTS"
],
"provider_voice_id": "660f9511-f3ac-52e5-b827-557766551111"
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Request body for creating a voice clone from an existing voice design.
Name for the voice clone.
1 - 255UUID of the source voice design to clone.
ISO 639-1 language code for the clone (e.g. en, fr, de).
Gender of the voice clone.
male, female, neutral Voice synthesis provider. Case-insensitive. Defaults to telnyx.
telnyx, minimax, Telnyx, Minimax Voice clone created successfully.
Response envelope for a single voice clone.
A voice clone object.
Show child attributes
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const voiceClone = await client.voiceClones.create({
gender: 'male',
language: 'en',
name: 'clone-narrator',
voice_design_id: '550e8400-e29b-41d4-a716-446655440000',
});
console.log(voiceClone.data);{
"data": {
"record_type": "voice_clone",
"id": "660f9511-f3ac-52e5-b827-557766551111",
"source_voice_design_id": "550e8400-e29b-41d4-a716-446655440000",
"source_voice_design_version": 1,
"name": "clone-narrator",
"language": "en",
"gender": "male",
"label": "Speak in a warm, friendly tone",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"provider": "Telnyx",
"provider_supported_models": [
"Qwen3TTS"
],
"provider_voice_id": "660f9511-f3ac-52e5-b827-557766551111"
}
}