gpt-image-2.5-flare, gpt-image-2.5-sunburst, gpt-image-2, gpt-image-1.5, and gpt-image-1 — lets you attach reference images for image editing, and can use a mask to specify which parts of an image to replace.
Inputs
Common Inputs
These inputs are always visible.gpt-image-2.5-flare and gpt-image-2.5-sunburst Inputs
These inputs appear whenmodel is set to gpt-image-2.5-flare or gpt-image-2.5-sunburst. Both models share the same parameter set.
gpt-image-2 Inputs
These inputs appear whenmodel is set to gpt-image-2.
gpt-image-1.5 and gpt-image-1 Inputs
These inputs appear whenmodel is set to gpt-image-1.5 or gpt-image-1. Both models share the same parameter set.
Reference Inputs
Parameter Constraints and Limitations:
- When
model.sizeis “Custom” (gpt-image-2.5-flare,gpt-image-2.5-sunburst, andgpt-image-2only),model.custom_widthandmodel.custom_heightmust both be multiples of 16, the longest edge must not exceed 3840, the aspect ratio must not exceed 3:1, and the total pixel count must be between 655,360 and 8,294,400. model.maskrequires exactly one reference image inmodel.images: it cannot be used without an image, and it cannot be used with more than one image.- When
model.maskis used, its height and width must match the height and width of the reference image. - When
model.imagesis provided, the node runs in image editing mode; withoutmodel.images, it generates images from the prompt alone. - Reference images and the mask are downscaled before being sent to the API.
"xhigh"and"max"quality levels are only available forgpt-image-2.5-flareandgpt-image-2.5-sunburst.- The
"transparent"background option is available forgpt-image-2.5-flare,gpt-image-2.5-sunburst,gpt-image-1.5, andgpt-image-1, but not forgpt-image-2. seedis currently not implemented in the backend.
Outputs
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
4f77b79f9f432a1f2e0fd814012aebe7cc42a8aa983ee9a61f3b32984bf65148