← Back to all generators

xai/grok-imagine-image-2

xAI's Grok Imagine Image 2.0 — text-to-image generation and editing with a quality control and output up to 2k

Capabilities

Reference Images

Cost

Community model (estimated from hardware time)

Input Parameters

promptrequiredstring

Text prompt for image generation or editing

aspect_ratiostring

Aspect ratio of the generated image. Ignored when editing an image.

Default: "1:1"
1:116:99:164:33:43:22:32:11:219.5:99:19.520:99:20auto
imagestring

Input image for editing. When provided, the model edits this image based on the prompt. Supports jpg, jpeg, png, webp.

qualitystring

Generation quality. 'medium' produces the best results, 'low' is faster and cheaper.

Default: "medium"
lowmedium
resolutionstring

Resolution of the generated image.

Default: "2k"
1k2k
Version: 1ef875bf1bfeUpdated: 9/20/2026540 runs