Try GPT Image 2 in the Workbench
Run this model interactively, tune parameters, and compare outputs.
gpt-image-2
GPT Image 2 is OpenAI’s next-generation image model available through Fal. It produces photorealistic images with strong prompt adherence, pixel-perfect text rendering, and accurate handling of dense or multilingual layouts, making it suitable for infographics, UI mockups, product photography, and architectural visualization.
Example request
- Sync
- Async
- Async with SSE
See the image generation reference for more details.
- Minimal
- All parameters
Fetch model details
The models endpoint returns the full model object, including itsjson_request_schema.
Request parameters
Required parameters
| Field | Type | Default | Description |
|---|---|---|---|
prompt | string | "An ox standing in the middle of a long open road at sunset, cinematic lighting, photorealistic, centered and staring at the camera." | Text description of the image to generate. |
Optional parameters
| Field | Type | Default | Description |
|---|---|---|---|
resolution | string | "1024x1024" | Output image resolution. HD sizes (1920x1080 and lower) bill at the standard tier; QHD+ sizes (2560x1440 and higher) bill at the high-resolution tier. One of: 1024x768, 1024x1024, 1024x1536, 1920x1080, 2560x1440, 3840x2160. |
quality | string | "high" | Output quality tier. Locked to high for best fidelity. One of: high. |
num_images | integer | 1 | Number of images to generate per request. Range: 1 – 4. |
output_format | string | "png" | File format for the generated image. One of: png, jpeg, webp. |