curl --request POST \
--url http://localhost/api/v1/voice_configurations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"speech_to_text": {
"provider": "<string>",
"watson_stt_config": {
"api_url": "<string>",
"api_key": "<string>",
"model": "<string>"
}
},
"text_to_speech": {
"provider": "<string>",
"watson_tts_config": {
"api_url": "<string>",
"api_key": "<string>",
"voice": "<string>",
"rate_percentage": 123,
"pitch_percentage": 123,
"language": "<string>"
}
}
}'
"<any>"
curl --request POST \
--url http://localhost/api/v1/voice_configurations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"speech_to_text": {
"provider": "<string>",
"watson_stt_config": {
"api_url": "<string>",
"api_key": "<string>",
"model": "<string>"
}
},
"text_to_speech": {
"provider": "<string>",
"watson_tts_config": {
"api_url": "<string>",
"api_key": "<string>",
"voice": "<string>",
"rate_percentage": 123,
"pitch_percentage": 123,
"language": "<string>"
}
}
}'
"<any>"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type any
.