Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Call /audio/speech with the Python SDK.
client.generate_speech()
result = client.generate_speech({ "model": "openai/gpt-4o-mini-tts", "input": "Hello world", "voice": "alloy", "format": "mp3", }) print(result)
Was this page helpful?