Skip to main content

Overview

This node generates images using OpenAI’s GPT Image API. It supports multiple models, allows you to provide input images for editing, and can use a mask to specify which parts of an image to modify.

Inputs

Parameter Constraints and Limitations:
  • When using gpt-image-2 with a model.size of “Custom”, the custom_width and custom_height must be multiples of 16, the maximum edge must be <= 3840, the aspect ratio must not exceed 3:1, and the total pixel count must be between 655,360 and 8,294,400.
  • If a mask is provided, an input image (model.images) is required. A mask cannot be used without an input image.
  • A mask cannot be used with multiple input images.
  • When a mask is provided, the mask dimensions must match the input image dimensions.
  • The seed parameter is currently not functional.

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): d0544a2d0f9e9cdd4b121bbf18eb6e43d508b2230e44dfa814649f6a4999e543