client.generate_speech()
SDK में जल्द उपलब्ध
TTS (टेक्स्ट से स्पीच)
Python SDK से /audio/speech कॉल करें।
विधि:
अंतिम संशोधन 2 अक्टूबर 2026
वाज़ दिस पेज हेल्पफुल
Documentation Index
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)
वाज़ दिस पेज हेल्पफुल