{
"text": "生活就像海洋,只有意志坚强的人才能到达彼岸",
"provider": "openai",
"voice": "alloy"
}
curl --location --request POST 'https://api.302.ai/302/tts/generate' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"text": "生活就像海洋,只有意志坚强的人才能到达彼岸",
"provider": "openai",
"voice": "alloy"
}'