List voices
const url = 'https://api.aderra.ai/v1/audio/voices?gender=female&age=young%2Cmiddle_aged&accent=british&use_case=narration&style=calm';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.aderra.ai/v1/audio/voices?gender=female&age=young%2Cmiddle_aged&accent=british&use_case=narration&style=calm' \ --header 'Authorization: Bearer <token>'Every voice POST /v1/audio/speech accepts, with its gender, age, accent, use cases,
style, description and a short sample (preview_url). Every voice speaks every
supported language. All voices come back in one response: there is no pagination.
Filters. Values are comma-separated or repeated (style=calm,warm or
style=calm&style=warm) and case-insensitive. gender, age and accent keep a voice
that has any of the values given; use_case and style keep a voice that has all of
them. Different parameters combine with AND. A value no voice has returns an empty list.
The values in use, with counts, are voice_filters in GET /v1/audio/models.
Any Aderra key (API or terminal) may call it, and it is free: nothing is billed. Guide: https://aderra.ai/docs/api/voices/
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”male or female. Any of the values given.
Example
femaleyoung, middle_aged or old. Any of the values given.
Example
young,middle_agedFor example american, british, indian, french, spanish, german, japanese, korean, italian, brazilian, portuguese, arabic, australian, chinese, slavic, southeast_asian, latin_american, african. Any of the values given.
Example
britishnarration, conversational, educational, entertainment or social_media. A voice must have all the values given.
Example
narrationfriendly, calm, soft, bright, confident, smooth, energetic, expressive, warm, neutral, deep, formal, breathy, dramatic, playful or raspy. A voice must have all the values given.
Example
calmResponses
Section titled “Responses”The voices that match the filters.
object
The speech model these voices belong to.
How many voices matched (the length of data).
object
The name to send as voice. Case-insensitive.
male or female.
young, middle_aged or old.
The voice’s accent.
What the voice suits: narration, conversational, educational, entertainment, social_media.
How the voice sounds.
Every voice speaks every language the model supports.
A short public mp3 of the voice. No key is needed to fetch it.
Example
{ "object": "list", "model": "aderra-voice-1", "total": 200, "data": [ { "id": "Daniel", "object": "voice", "gender": "male", "age": "middle_aged", "accent": "british", "use_case": [ "narration", "entertainment", "educational" ], "style": [ "calm", "deep", "smooth", "friendly" ], "description": "Low British baritone that sits still and lets the facts do the work. Built for documentaries, explainers, and other long, even reads.", "languages": "all", "preview_url": "https://aderra.ai/docs/voice-samples/Daniel.mp3" } ]}The key is missing, unknown or revoked: authentication_error / unauthorized.
object
Example
{ "error": { "message": "Send an Aderra API key as a Bearer token.", "type": "authentication_error", "param": null, "code": "unauthorized" }}