ComfyUI Node
GPT Image 2 — Edit
A ComfyUI node in OpenAI/GPT-Image-2 with 19 inputs and 1 output.
GPT Image 2 — Edit
- mask
- image_1
- image_2
- image_3
- image_4
- image_5
- image_6
- image_7
- image_8
- image_9
- IMAGE
◄modelgpt-image-2►
◄prompt►
◄size1024x1024►
◄qualityhigh►
◄output_formatpng►
◄n1►
◄backgroundauto►
◄output_compression100►
◄api_key►
CategoryOpenAI/GPT-Image-2
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| model | COMBO | gpt-image-2 | 5 options: gpt-image-2, gpt-image-2-2026-04-21, gpt-image-1.5, gpt-image-1, gpt-image-1-mini |
| prompt | STRING | — | |
| size | COMBO | 1024x1024 | 10 options: auto, 1024x1024, 1024x1536, 1536x1024, 1792x1024, 1024x1792, +4 |
| quality | COMBO | high | 4 options: auto, low, medium, high |
| output_format | COMBO | png | 3 options: png, jpeg, webp |
| n | INT | 11–8 | — |
| background | COMBO | auto | 2 options: auto, opaque |
| output_compression | INT | 1000–100 | — |
| maskopt | MASK | — | |
| api_keyopt | STRING | — | |
| image_1opt | IMAGE | — | |
| image_2opt | IMAGE | — | |
| image_3opt | IMAGE | — | |
| image_4opt | IMAGE | — | |
| image_5opt | IMAGE | — | |
| image_6opt | IMAGE | — | |
| image_7opt | IMAGE | — | |
| image_8opt | IMAGE | — | |
| image_9opt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |