ComfyUI Node
Comfly_gpt_image_2_official
A ComfyUI node in Comfly/Openai with 24 inputs and 3 outputs.
Comfly_gpt_image_2_official
- image1
- image2
- image3
- image4
- image5
- mask
- image
- image_url
- response
◄prompt—►
◄modelgpt-image-2►
◄aspect_ratio1:1►
◄resolution1k►
◄api_key►
◄n1►
◄qualityauto►
◄backgroundauto►
◄output_formatpng►
◄output_compression100►
◄moderationauto►
◄async_modetrue►
◄webhook►
◄max_poll_attempts300►
◄poll_interval5►
◄max_retries5►
◄initial_timeout900►
◄seed0►
CategoryComfly/Openai
Inputs (24)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| model | COMBO | gpt-image-2 | 4 options: gpt-image-2, gpt-image-2-vip, gpt-image-2-4K, gpt-image-2-2K |
| aspect_ratio | COMBO | 1:1 | 13 options: 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, +7 |
| resolution | COMBO | 1k | 3 options: 1k, 2k, 4k |
| image1opt | IMAGE | — | |
| image2opt | IMAGE | — | |
| image3opt | IMAGE | — | |
| image4opt | IMAGE | — | |
| image5opt | IMAGE | — | |
| maskopt | MASK | — | |
| api_keyopt | STRING | — | |
| nopt | INT | 11–10 | — |
| qualityopt | COMBO | auto | 4 options: auto, high, medium, low |
| backgroundopt | COMBO | auto | 2 options: auto, opaque |
| output_formatopt | COMBO | png | 3 options: png, jpeg, webp |
| output_compressionopt | INT | 1000–100 | — |
| moderationopt | COMBO | auto | 2 options: auto, low |
| async_modeopt | BOOLEAN | true | — |
| webhookopt | STRING | — | |
| max_poll_attemptsopt | INT | 30010–1000 | — |
| poll_intervalopt | INT | 52–60 | — |
| max_retriesopt | INT | 51–10 | — |
| initial_timeoutopt | INT | 90060–1200 | — |
| seedopt | INT | 00–18446744073709550000 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| image_url | STRING | — |
| response | STRING | — |