Grok Imagine Image 2.0 Edit applies a targeted, natural-language edit to a prior Grok Imagine Image 2.0 generation. Rather than accepting a freshly uploaded photo, it chains off the request_id returned by an earlier grok-imagine-image-2 (or grok-imagine-image-2-edit) call, changing only the region described in the prompt while preserving the rest of the composition, subject, and style.
An optional mask_indexs field lets you scope the edit to specific segments identified in the source generation, useful when you want to change one element — a garment, a prop, a background detail — without disturbing anything else in the frame. Because each edit returns its own request_id, edits can be chained repeatedly to progressively refine the same image across multiple rounds, making this endpoint well suited to iterative design and concepting workflows rather than one-shot generation.
1Swapping a single element (clothing, prop, background detail) in a previously generated image while keeping everything else identical
2Progressive, multi-round refinement of a concept image toward a final version
3Targeted corrections to typography, layout, or composition flagged after an initial generation
4Iterative product mockup or marketing asset revision driven by prompt-only feedback
5Building variant sets from one base generation by chaining different follow-up edits