curl -X GET "https://api.example.com/api/v1/voices?search=professional&gender=male" \
-H "X-API-Key: your-api-key-here"
{
"status": {
"code": 200,
"message": "Voices retrieved successfully"
},
"data": [
{
"voice_id": "21m00Tcm4TlvDq8ikWAM",
"name": "Rachel",
"category": "premade",
"description": "Calm and professional voice",
"gender": "female",
"accent": "american",
"age": "young",
"use_case": "narration"
}
],
"total_count": 1
}
curl -X GET "https://api.example.com/api/v1/voices?search=professional&gender=male" \
-H "X-API-Key: your-api-key-here"
{
"status": {
"code": 200,
"message": "Voices retrieved successfully"
},
"data": [
{
"voice_id": "21m00Tcm4TlvDq8ikWAM",
"name": "Rachel",
"category": "premade",
"description": "Calm and professional voice",
"gender": "female",
"accent": "american",
"age": "young",
"use_case": "narration"
}
],
"total_count": 1
}