Gemini 3.1 Flash 文本转语音。30 种预设音色、80+ 种语言、行内表现力标签([sigh]、[laughing])、最长 4K 字符的风格指令,以及多说话人支持。
curl https://www.flixly.ai/api/v1/generate \
-H "Authorization: Bearer flx_live_..." \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3-1-flash-tts",
"prompt": "A beautiful sunset over the ocean",
"type": "TEXT_TO_SPEECH"
}'在开发者门户获取你的API密钥。