Skip to main content
Modify an existing image based on a text prompt. This node sends your images and a text description to the Grok API, which edits the images according to your instructions and returns the result.

Inputs

Note on model parameter constraints:
  • The model parameter is a dynamic combo that includes sub-options for resolution, number_of_images, images, and aspect_ratio.
  • grok-imagine-image-quality: Supports up to 3 input images and allows custom aspect ratio.
  • grok-imagine-image-pro: Supports only 1 input image and does not allow custom aspect ratio.
  • grok-imagine-image: Supports up to 3 input images and allows custom aspect ratio.
  • At least one input image is required for editing. The node will raise an error if no images are provided.
  • Custom aspect ratio (aspect_ratio sub-option) is only allowed when multiple images are connected to the image input. If only one image is provided, aspect ratio must be set to “auto”.

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): 60ff1c0dd97398130aee3cbab46ab273b99ec0a41b105eb1cdb7bd08a7d2c038