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 调用 /images/generations。
client.generate_image()
result = client.generate_image({ "model": "openai/gpt-image-1", "prompt": "A lighthouse at golden hour", }) print(result)
此页面对您有帮助吗?