Text-to-Speech
Native OpenAI Format
Text-to-Speech
将文本转换为音频
POST
Text-to-Speech
Documentation Index
Fetch the complete documentation index at: https://docs.utoken.wgame-hk.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use Bearer Token authentication Format: Authorization: Bearer sk-xxxxxx
Body
application/json
Example:
"tts-1"
Text to convert
Maximum string length:
4096Available options:
alloy, echo, fable, onyx, nova, shimmer Available options:
mp3, opus, aac, flac, wav, pcm Required range:
0.25 <= x <= 4Response
200 - audio/mpeg
Success - Audio generated
The response is of type file.
