{
"input_text": "欢迎使用IndexTTS-2语音生成服务",
"prompt_audio_url": "https://example.com/audio/reference.wav",
"prompt_text": "",
"failover": false
}curl --location 'https://www.jiaozitts.com/api/v1/indextts2_speech_generate' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"input_text": "欢迎使用IndexTTS-2语音生成服务",
"prompt_audio_url": "https://example.com/audio/reference.wav",
"prompt_text": "",
"failover": false
}'{}