Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
使用 Python SDK 调用 /audio/speech。
client.generate_speech()
result = client.generate_speech({ "model": "openai/gpt-4o-mini-tts", "input": "Hello world", "voice": "alloy", "format": "mp3", }) print(result)
此页面对您有帮助吗?