cURL
curl --request GET \ --url https://api.musicgpt.com/api/public/v1/searchVoices \ --header 'Authorization: <api-key>'
{ "success": true, "voices": [ { "voice_id": "JustinBieber", "voice_name": "Justin Bieber" } ], "limit": 20, "page": 0, "total": 2 }
Search for voices to get their voice ID by their names using a query string.
The search string to filter voices by name
Maximum number of voices per page
Page number for pagination
Successful response
The response is of type object.
object