本文档由Thor提供,只用于测试。
star项目:https://github.com/AIDotNet/Thor
curl --location --request POST 'https://api.token-ai.cn/v1/audio/speech' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "tts-1",
"input": "The quick brown fox jumped over the lazy dog.",
"voice": "alloy"
}'{}