POST
/
voices
/
voice-clone
curl --request POST \
  --url https://api.voxia.ai/voices/voice-clone \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=<string>' \
  --form 'description=<string>' \
  --form providerType=ELEVENLABS \
  --form locale=en-US \
  --form subAccounts=false \
  --form stability=0.5 \
  --form similarityBoost=0.5 \
  --form style=0 \
  --form useSpeakerBoost=false \
  --form 'files=[
  null
]'
[
  {
    "id": "<string>",
    "voiceId": "<string>",
    "name": "<string>",
    "organizationId": "<string>",
    "settings": {
      "stability": 0.8,
      "style": 0.3
    },
    "isMultilingual": true,
    "supportedLocales": [
      "<string>"
    ],
    "ttsClient": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Body

multipart/form-data
name
string
required
Minimum length: 5
providerType
enum<string>
required
Available options:
ELEVENLABS,
CARTESIA
subAccounts
boolean
default:false
required
stability
number
default:0.5
required
Required range: 0 < x < 1
similarityBoost
number
default:0.5
required
Required range: 0 < x < 1
style
number
default:0
required
Required range: 0 < x < 1
useSpeakerBoost
boolean
default:false
required
files
file[]
required

Audio files for voice cloning

description
string
locale
string
default:en-US

Response

200
application/json
Array of cloned Voice objects
id
string
required

The ID of the voice

voiceId
string
required

The provider-specific voice ID

name
string
required

The name of the voice

isMultilingual
boolean
required

Indicates if the voice supports multiple languages

supportedLocales
string[]
required

Array of supported locale strings

ttsClient
string
required

Identifier for the TTS (text-to-speech) client

organizationId
string

The organization ID that owns this voice

settings
object

Additional settings stored in JSON format

Example:
{ "stability": 0.8, "style": 0.3 }