v5

latestOpenAPI 3.1.02026-08-043621,4011.8 MB
pvc-voices

Create Pvc Voice

Creates a new PVC voice with metadata but no samples

post/v1/voices/pvc

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Request body

namestring required

The name that identifies this voice. This will be displayed in the dropdown of the website.

languagestring required

Language used in the samples.

descriptionstring nullable

Description to use for the created voice.

labelsobject nullable

Labels for the voice. Keys can be language, accent, gender, or age.

Example request

{
  "name": "John Smith",
  "language": "en",
  "description": "An old American male voice with a slight hoarseness in his throat. Perfect for news."
}

Response

Successful Response

voice_idstring required

The ID of the voice.

Example response

{
  "voice_id": "b38kUX8pkfYO2kHyqfFy"
}