Skip to main content
The Grok Image Edit node modifies an existing image based on a text prompt. It uses the Grok API to generate one or more new images that are variations of the input, guided by your description.

Inputs

Important constraints:
  • The image input supports up to 3 images, except when using the grok-imagine-image-pro model, which supports only 1 input image.
  • The aspect_ratio parameter can only be set to a custom value (not “auto”) when multiple images are connected to the image input. Setting a custom aspect ratio with a single input image will cause an error.

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): 31cfe7ad382033f69330ed4de1ec831ccc25156498563e1541368e2662ed3ddb