POST
/
voices
curl --request POST \
  --url https://api.voxia.ai/voices \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "voiceId": "<string>",
  "isMultilingual": false,
  "supportedLocales": [
    "<string>"
  ],
  "voiceProviderType": "ELEVENLABS",
  "settings": {
    "stability": 0.5,
    "similarity_boost": 0.5,
    "speed": 123
  },
  "subAccounts": false
}'
[
  {
    "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

application/json
Payload for creating a new voice
name
string
required
Minimum length: 5
voiceId
string
required
Minimum length: 5
voiceProviderType
enum<string>
required
Available options:
ELEVENLABS,
CARTESIA
isMultilingual
boolean
default:false
supportedLocales
string[]
settings
object
subAccounts
boolean
default:false

Response

200
application/json
Array of newly created 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 }