ComfyUI Node
PD: GPT Image 2 (comfyui_apikey)
A ComfyUI node in PD_Tools/Image_Generation with 14 inputs and 3 outputs.
PD: GPT Image 2 (comfyui_apikey)
- image
- mask
- files
- image
- info
- price
◄api_key►
◄prompt►
◄modelgpt-image-2►
◄seed0►
◄qualityauto►
◄backgroundauto►
◄size1024x1024►
◄use_custom_sizefalse►
◄custom_width0►
◄custom_height0►
◄num_images1►
CategoryPD_Tools/Image_Generation
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| api_key | STRING | — | |
| prompt | STRING | Text prompt for GPT Image 2 | |
| model | COMBO | gpt-image-2 | 1 options: gpt-image-2 |
| seed | INT | 00–2147483647 | not implemented yet in backend |
| quality | COMBO | auto | GPT Image 2 quality |
| background | COMBO | auto | GPT Image 2 does not support transparent background |
| size | COMBO | 1024x1024 | Preset output size, or Custom with custom_width/custom_height |
| use_custom_size | BOOLEAN | false | Enable custom_width/custom_height size override. |
| custom_width | INT | 00–3840 | Custom width. Must be paired with custom_height. |
| custom_height | INT | 00–3840 | Custom height. Must be paired with custom_width. |
| num_images | INT | 11–8 | How many images to generate |
| imageopt | IMAGE | Optional reference image for image editing. | |
| maskopt | MASK | Optional mask for inpainting (white areas will be replaced) | |
| filesopt | GEMINI_INPUT_FILES | Optional packed multi-image files input, for example from PD_comfyplus_image. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| info | STRING | — |
| price | STRING | — |