xai/grok-imagine-image

Grok Imagine edits images from a text instruction, following the wording closely and keeping the rest of the frame intact.

$0.022 / image
GPU: A100

Model Inputs

string

Text description of the desired image.

integer

Number of images to generate.

string

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

string

Resolution of the generated image. `1k` for standard resolution, `2k` for high resolution.

string

The format of the generated image.

files

Images to edit (.jpg/.png/.webp), up to 3

file
file
file

Result

Idle
Waiting for your input...

Pricing

xai/

grok-imagine-image

You are billed for what this model actually produces — by the image — so a shorter request costs less and you never pay for idle time.

Rate
$0.022 / image
or
45 images / $1

For example, a request of 100 images costs about $2.20.

You are charged for what the request actually produces, so the final amount scales with the images you use.

ProviderPrice ($)Saving (%)
Synexa$0.022-
fal$0.022same price

Comparison prices are for an equivalent request.

Readme

Grok Imagine Image performs instruction-driven editing on up to 3 input images. It is notably literal about prompts, which makes it well suited to precise, small edits.

Aspect ratio defaults to auto, which preserves the first input image's shape. Choose 2k for high-resolution output; up to 4 variations can be generated per request.