gpt-image-2, gpt-image-1.5, and gpt-image-1), allows you to provide reference images for editing, and can use a mask to specify which parts of an image to modify.
Inputs
Common Inputs
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 only),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 dimensions must match the dimensions 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 are downscaled before being sent to the API.
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):
fb3491f949151fbd3f5825ec9f9ae124019767d083f56966ef34af278aef50c0