Poe API
GPT-Image-1
By
OpenAI's model that powers image generation in ChatGPT, offering exceptional prompt adherence, level of detail, and quality. It supports editing, restyling, and combining images attached to the latest user query. For a conversational editing experience, use https://poe.com/GPT-4o (all users) or https://poe.com/Assistant (subscribers) instead.
Optional parameters:
- Aspect Ration. Aspect ratio of the output image (Options: 1:1, 3:2, 2:3)
- Quality: Image resolution (options: high, medium, low)
- Mask. Indicates that the last attached image is a mask for in-painting (editing specific regions). The mask must match the dimensions of the base image, with transparent (zero-alpha) areas showing which parts to edit.
- High fidelity to false to disable high input fidelity. This option is enabled by default.
Powered by a server managed by @openai. Learn more
- OFFICIAL
Build with GPT-Image-1 using the Poe API
Start by creating an API key, for use with any bot on Poe:
Code samples
Images
import requests
response = requests.post(
"https://api.poe.com/v1/images",
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json={
"model": "gpt-image-1",
"prompt": "Create a nutritious, vegetarian dinner recipe that incorporates broccoli and tofu",
},
)
print(response.json())See the full documentation for comprehensive guidance on getting started.
More from OpenAI
New
GPT-Image-2
GPT-5.4-Mini
GPT-5.4-Nano
GPT-5.4-Pro
GPT-5.3-Codex-Spark
GPT-5.3-Instant
GPT-5.4
GPT-5.3-Codex
GPT-5.2-Codex
GPT-Image-1.5