Audio Projects
List voices
Changed onList the voices available for text-to-speech. Use a voice's id as style.voice_name in the AI Voice Generator API. To fetch the next page, pass the response's next_cursor as cursor.
get/v1/voices
Request
- Base URLhttps://api.magichour.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitinteger
Example:20
Maximum number of voices to return. Defaults to 20.
cursorstring
Opaque pagination cursor from the previous response's next_cursor.
Response
200
Example response
{
"voices": [
{
"id": "cv-0001",
"name": "Ashley",
"avatar_url": "https://d28dkohlqf5vwj.cloudfront.net/models/nano-banana/female-portrait-turtleneck.webp",
"preview_url": "https://videos.magichour.ai/presets/voices/v2/cv-0001-ashley.mp3"
}
]
}Changes
- info
endpoint added
- info