Voiceover Models
GET
/v1/audio/voiceover/models
This endpoint is for retrieving our voiceover models.
Request Example
Below is an example for retrieving our voiceover models.
curl -X GET 'https://api.stablecog.com/v1/audio/voiceover/models'
const API_HOST = 'https://api.stablecog.com';
const API_ENDPOINT = '/v1/audio/voiceover/models';
const API_URL = `${API_HOST}${ENDPOINT}`;
const res = await fetch(API_URL);
const resJSON = await res.json();
console.log(resJSON);
import requests
API_HOST = 'https://api.stablecog.com'
API_ENDPOINT = '/v1/audio/voiceover/models'
API_URL = f'{API_HOST}{API_ENDPOINT}'
response = requests.get(API_URL)
res_json = response.json()
print(json.dumps(res_json, indent=2))
Response
{
"models": [
{
"id": "0f442a3e-cf53-490b-b4a9-b0dda63e9523",
"name": "bark",
"is_default": true,
"available_speakers": [
{
"id": "31d7c264-b674-422b-9b8f-13195c3289b6",
"name": "v2/de_speaker_0"
},
{
"id": "0140c5dc-af12-4643-bfec-650d3cd03c56",
"name": "v2/en_speaker_0"
}
]
}
]
}
Response Body
models
array of TVoiceoverModel
An array of our voiceover models.