ComfyUI Node
GPT-Image
A ComfyUI node in image/generation with 15 inputs and 1 output.
GPT-Image
- image_1
- image_2
- image_3
- image_4
- image_5
- mask
- image
◄model▾►
◄prompt—►
◄api_key►
◄backgroundauto►
◄qualityauto►
◄size1024x1024►
◄output_formatpng►
◄output_compression100►
◄n_images1►
Categoryimage/generation
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| model | COMBO | 4 options: gpt-image-1, gpt-image-1-mini, gpt-image-1.5, gpt-image-2 | |
| prompt | STRING | — | |
| api_key | STRING | Directly put OpenAI API key or .env variable name (OPENAI_API_KEY) | |
| background | COMBO | auto | 3 options: auto, transparent, opaque |
| quality | COMBO | auto | 4 options: auto, high, medium, low |
| size | COMBO | 1024x1024 | 4 options: 1024x1024, 1536x1024, 1024x1536, auto |
| output_format | COMBO | png | 3 options: png, jpeg, webp |
| output_compression | INT | 1000–100 | — |
| n_images | INT | 11–10 | — |
| image_1opt | IMAGE | — | |
| image_2opt | IMAGE | — | |
| image_3opt | IMAGE | — | |
| image_4opt | IMAGE | — | |
| image_5opt | IMAGE | — | |
| maskopt | MASK | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |