Authorization: Bearer ********************{
"model": "speech-2.6-hd",
"input": "天生我材必有用,你不信吗?",
"voice": "Chinese (Mandarin)_Lyrical_Voice",
"metadata": {
"voice_setting": {
"emotion": "angry"
}
}
}curl --location --request POST 'https://api.mixrouter.com/v1/audio/speech' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "speech-2.6-hd",
"input": "天生我材必有用,你不信吗?",
"voice": "Chinese (Mandarin)_Lyrical_Voice",
"metadata": {
"voice_setting": {
"emotion": "angry"
}
}
}'{
"data": {
"audio_url": "https://xxxx.xxxx.com/audios/1767086885749577293-lE2wa3RA44.mp3"
},
"message": "",
"success": true
}