Create Voice Clone
POST/voice-cloning/create-voice
Create a new voice clone from uploaded audio samples. - Instant Cloning: 1-5 minutes of audio, faster processing - Professional Cloning: 30min-3hrs of audio, higher quality
Authentication
Authorization: Bearer vm_sk_… with the media.write permission (or all.write). See Authentication.
Request body
application/json
| Field | Type | Description |
|---|---|---|
audio_sample_ids* | string[] | |
cloning_type | VoiceCloningType | |
description | string | |
metadata | object | |
name* | string | |
quality | VoiceQualityone of basic, standard, high, premium |
Response
200 application/json
| Field | Type | Description |
|---|---|---|
accent* | string | |
age_range* | string | |
audio_samples* | AudioSampleResponse[] | |
created_at* | string | |
creator_id* | string | |
description* | string | |
gender* | string | |
id* | string | |
is_public* | boolean | |
language* | string | |
name* | string | |
quality* | VoiceQualityone of basic, standard, high, premium | |
status* | VoiceCloningStatusone of pending, processing, training, completed, failed, cancelled | |
tags* | string[] | |
training_progress* | number | |
type* | VoiceCloningTypeone of instant, basic, advanced, professional, realtime | |
updated_at* | string | |
usage_count* | integer | |
validation_score* | number | |
voice_characteristics* | object |
{
"accent": "string",
"age_range": "string",
"audio_samples": [
{
"channels": 0,
"duration": 0,
"filename": "string",
"format": "string",
"id": "string",
"noise_level": 0,
"quality_score": 0,
"sample_rate": 0,
"size_bytes": 0,
"speech_clarity": 0,
"uploaded_at": "2026-12-05T10:00:00Z"
}
],
"created_at": "2026-12-05T10:00:00Z",
"creator_id": "string",
"description": "string",
"gender": "string",
"id": "string",
"is_public": false,
"language": "string",
"name": "string",
"quality": "basic",
"status": "pending",
"tags": [
"string"
],
"training_progress": 0,
"type": "instant",
"updated_at": "2026-12-05T10:00:00Z",
"usage_count": 0,
"validation_score": 0,
"voice_characteristics": {}
}Errors
401 | Missing, wrong, revoked or expired key. |
403 | The key lacks media.write, the route is not available to keys, or the key's IP allow-list refuses this client. |
402 | Not enough credits, or the key reached its spending cap. |
422 | The request failed validation; `detail` lists the fields. |
429 | Over a rate limit; retry after `Retry-After` seconds. |
All statuses: Errors.
Example
curl -X POST "https://api.voicemint.io/api/v1/voice-cloning/create-voice" \
-H "Authorization: Bearer $VOICEMINT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"audio_sample_ids": [
"string"
],
"cloning_type": "instant",
"description": "string",
"metadata": {},
"name": "string",
"quality": "basic"
}'