Inputs
Parameter Constraints:
- When
imageis provided, the node switches to image editing mode maskcan only be used whenimageis provided- When using
mask, only single images are supported (batch size must be 1) maskandimagemust be the same size- Custom resolution (
size= “Custom”) is only supported by the gpt-image-2 model - Custom width and height must be multiples of 16
- Custom resolution aspect ratio must not exceed 3:1
- Custom resolution total pixels must be between 655,360 and 8,294,400
- Transparent background is not supported for the gpt-image-2 model
- Sizes larger than 1536x1024 (e.g., 2048x2048, 3840x2160) are only supported by the gpt-image-2 model
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):
e7f460fccb6c372558f9a012632804a6047ee5be78b1fc3209f255a55fe13d7c