Skip to main content
This helper currently returns a coming_soon placeholder in the Python SDK.
Method: client.generate_image()
result = client.generate_image({
    "model": "openai/gpt-image-1",
    "prompt": "A lighthouse at golden hour",
})

print(result)
# {
#   "status": "coming_soon",
#   "endpoint": "images/generations",
#   "message": "This endpoint is not yet supported in the SDK.",
#   "payload": {...}
# }
Last modified on February 17, 2026