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): 5b2eb9418302bba0e18f43edeab7dc73c9b14ebc78b1ce6cc8a3e5bb411f0351