Cheaper Gen.
xAIPrompt guide

Grok Imagine Image 2.0 Prompt Guide

How to write Grok Imagine Image 2.0 prompts: a structure that works, 4 example prompts for text to image and image edit, the settings that change the result and how to reference your own media. Copy any prompt into the Studio to try it.

Example prompts
4
2 tasks
Size
2K
1K · 2K
Aspect ratios
13
1:1 · 3:4 · 4:3 · 9:16
Per try from
$0.022/image
1K · low

Structure

A Grok Imagine Image 2.0 prompt, piece by piece

Write in this order and keep each part concrete. Physical detail works better than mood words.

  1. 01

    Subject

    The main subject and its key details: material, colour, expression, product features.

  2. 02

    Composition

    Framing and angle: close-up, flat lay, three-quarter view, rule of thirds, negative space.

  3. 03

    Setting and light

    Background, environment and lighting: studio softbox, golden hour, neon.

  4. 04

    Style

    Photo, illustration, 3D render or painting — plus lens or medium details.

  5. 05

    Edit instruction

    For edits, say what to change and what must stay the same: “replace the background, keep the product and its shadow”.

Examples

Grok Imagine Image 2.0 prompt examples

Prompts written for this model, grouped by task. Open one in the Studio, then change one part at a time.

  • Text to Image4:5
    Close-up portrait of an astronaut with freckles, helmet visor reflecting Earth, cinematic
    Try in Studio
  • Text to Image16:9
    A neon-lit ramen bar in the rain, cyberpunk, wide shot
    Try in Studio
  • Text to Image
    Fashion editorial: a model in a sculptural orange coat on a salt flat at noon, harsh shadows, medium format
    Try in Studio
  • Image Edit
    Put the person from image 1 in the jacket from image 2 on a rainy Tokyo street at night
    Try in Studio

By task

Prompting each Grok Imagine Image 2.0 task

Text to Image

Lead with the subject, then composition, setting, light and style. Quote any text that must appear in the image.

Image Edit

Describe the change, not the whole image. Name what must stay untouched so the model keeps it.

Referencing your own media

Grok Imagine Image 2.0 reference inputs and how to mention them
InputIn the promptLimits and rules
Input images
Image Edit · up to 3
see description1–3 images to edit or combine. Refer to them as "image 1", "image 2"… in the prompt.

Settings

Settings that change the result

Set these next to the prompt — in the Studio or as API parameters.

Grok Imagine Image 2.0 generation settings
SettingOptionsEffect
Aspect ratio
aspect_ratio
1:1 · 3:4 · 4:3 · 9:16 · 16:9 · 2:3 · 3:2 · 1:2 · 2:1 · 9:19.5 · 19.5:9 · 9:20 · 20:9
default 1:1
Output image shape.
Resolution
resolution
1K · 2K
default 1K
1K ≈ 1 MP, 2K ≈ 4 MP.
Price: 1K $0.022/image · 2K $0.0528/image
Quality
quality
Low · Medium
default medium
Low is faster and cheaper; medium has more detail. (Edits always run at medium.)
Price: Low $0.022/image · Medium $0.022/image

FAQ

Grok Imagine Image 2.0 prompting questions

There is no separate negative prompt for Grok Imagine Image 2.0. Say what you want instead of what you don't, and keep unwanted elements out of the description.

Image Edit: 1–3 images to edit or combine. Refer to them as "image 1", "image 2"… in the prompt.

Grok Imagine Image 2.0 has no seed parameter, so results vary between runs. Generate a few variations and keep the best.

Open Grok Imagine Image 2.0 in the Studio and paste any prompt from this page. Each run shows its exact price before you generate, and failed generations are refunded.