Inputs
Note:
grok-imagine-image-quality and grok-imagine-image-pro are retired by xAI and now run as grok-imagine-image-2.0 at low quality.
Important constraints:
- The
imageinput supports up to 3 images, except when using thegrok-imagine-image-promodel, which supports only 1 input image. - The
aspect_ratioparameter can only be set to a custom value (not “auto”) when multiple images are connected to theimageinput. Setting a custom aspect ratio with a single input image will cause an error. - The
promptmust contain at least one non-whitespace character.
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):
8328824c1936120581305d11641d60cc44f4eb548f64ce5a6f325a6fbcfd2747