Voices
Create Voice
POST
/
v1
/
voices
/
create
curl --request POST \
--url https://api.vocode.dev/v1/voices/create \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"pitch": 123,
"rate": 123,
"type": "voice_azure",
"voice_name": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pitch": 123,
"rate": 123,
"type": "voice_azure",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voice_name": "<string>"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Option 1
Option 2
Option 3
Option 4
pitch
integer
default: 0rate
integer
default: 15type
enum<string>
requiredAvailable options:
voice_azure
voice_name
string
requiredResponse
200 - application/json
Option 1
Option 2
Option 3
Option 4
id
string
requiredpitch
integer
default: 0rate
integer
default: 15type
enum<string>
requiredAvailable options:
voice_azure
user_id
string
requiredvoice_name
string
requiredcurl --request POST \
--url https://api.vocode.dev/v1/voices/create \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"pitch": 123,
"rate": 123,
"type": "voice_azure",
"voice_name": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pitch": 123,
"rate": 123,
"type": "voice_azure",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voice_name": "<string>"
}