List voices
/v1/voicesLists every narration voice available to your account, with a preview file for each one. Voice ids from this endpoint are the only ids accepted by the voiceover generator and the voice changer, so resolve a voice here before generating audio.
- Credits:
- Free
- Rate limit:
- Default tier, 2/s and 50/min
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| gender | query | string | No | Filter by voice gender. |
| accent | query | string | No | Filter by accent, for example american or british. |
| search | query | string | No | Case-insensitive match against the voice name. |
| limit | query | integer | No | Voices per page. 1 to 500. Returns every match when omitted. |
| offset | query | integer | No | Number of voices to skip.default 0 |
Request
curl "https://api.crayo.ai/v1/voices?gender=female" \
-H "Authorization: Bearer $CRAYO_API_KEY"Response
{
"success": true,
"total": 412,
"voices": [
{
"voice_id": "v_9f2c41ab77d0e315",
"name": "Nova",
"gender": "female",
"age": "young",
"accent": "american",
"description": "Bright and conversational",
"preview_url": "https://cdn-crayo.com/voices/v_9f2c41ab77d0e315.mp3"
}
]
}Errors
- 401MISSING_API_KEYNo Authorization header was sent, or it does not carry a crayo_sk_ key.
- 401UNAUTHORIZEDThe key sent is malformed, expired, or revoked.
- 429RATE_LIMITEDOver the rate limit. Wait Retry-After seconds.
- 500SERVER_ERRORSomething failed on our side. Retry with backoff.