Available now

Grok Imagine Image: image editing

By xAI

xAI's Grok Imagine Image creates images from a written description and edits up to three images you upload, at 1k or 2k resolution.

Model ID
Maker
xAI

Input

Fields marked * are required. Review the price before generating.

Text description of the desired image.

Example prompt. Edit it or write your own.

A maximum of 3 images are supported.

Uploading a file needs an account. Create account

JPEG, PNG, WebP · up to 25 MB

Aspect ratio of the edited image. When set to auto (the default), the output preserves the aspect ratio of the first input image.

1k for standard resolution, 2k for high resolution.

Additional settings
Price$0.04 / run

You sign up first. Your settings are kept.

About this model

Overview

Grok Imagine Image renders one to four images per run from a prompt of up to 8000 characters. Shapes run from 2:1 wide to 1:2 tall, including phone screen formats such as 9:19.5 and 9:20.

In the edit mode you upload up to three images and describe the change. With the shape left on auto, the result keeps the proportions of the first image.

What you can build

  • Phone wallpapers and story images in tall screen formats
  • Wide banners and headers
  • Photos with a new background, outfit or time of day
  • One scene built from elements of two or three photos

Prompting tips

  • Pick the shape before you write: a tall 9:20 frame needs a subject that fills the height.
  • Draft at 1k and switch to 2k once the prompt gives the image you want.
  • When editing, leave the shape on auto to keep your photo's proportions.

What to check

Review faces, lettering and edge detail; compare edits against the original images.

Inputs

  • Prompt (required): Text description of the desired image.
  • Images (optional): List of URLs of the images to edit. A maximum of 3 images are supported.
  • Number of Images (optional): Number of images to generate. From 1 to 4.
  • Aspect Ratio (optional): Aspect ratio of the edited image. When set to `auto` (the default), the output preserves the aspect ratio of the first input image. Options: auto, 2:1, 20:9, 19.5:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:19.5, 9:20, 1:2.
  • Resolution (optional): Resolution of the generated image. `1k` for standard resolution, `2k` for high resolution. Options: 1k, 2k.
  • Output Format (optional): The format of the generated image. Options: jpeg, png, webp.

Output and limits

  • Resolutions: 1k, 2k.
  • Aspect ratios: auto, 2:1, 20:9, 19.5:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:19.5, 9:20, 1:2.
  • File formats: JPEG, PNG, WEBP.
  • Up to 4 images per run.
  • Small or dense text in the image can come out misspelled.
  • Hands, crowds and complex poses can show artifacts; generate a few variations and pick the best.
  • Some prompts or outputs can be refused by safety checks.

Price guide

  • up to, default options: $0.04 / run