All models

xAIImage

Grok Imagine 2

Concept images from xAI's Grok Imagine 2.0 at standard 1K output.

image/grok-imagine-2
Made with Grok Imagine 2: ROOK, a handmade cardboard knight: a full suit of armor built from corrugated cardboard, brown kraft paper and silver du

ROOK, a handmade cardboard knight: a full suit of armor built from corrugated cardboard, brown kraft paper and silver duct tape with visible cut edges and hand-drawn rivets, a bucket-shaped cardboard great helm with a narrow eye slit (no face visible), a tall bright red feather plume, a round cardboard shield painted with a simple tangerine sun, charging on a chestnut horse through a river ford at golden hour, water spray backlit, petals in the air. Composition for a website hero: the subject sits in the right 55 to 60 percent of the frame; the lower-left quarter of the frame stays calm, darker and empty of detail (soft ground, shadow or sky) so type can sit there. Full-frame cinema still, 24mm lens, f/2, shallow depth of field. One motivated key light, strong rim light, real bounce, lifted warm blacks (never pure black), atmosphere (haze, dust or spray) catching the light. Kodak Vision3 500T color, fine film grain, natural skin and material texture, true reflections. Premium game-trailer cinematography, one hero subject big in frame, clean uncluttered edges. No text, no letters, no numbers, no logos, no watermark, no UI, no captions, no signage with writing. Avoid: painterly concept-art look, glowing runes, generic fantasy castles, plastic skin, extra fingers, HUDs, stock-photo smiles, celebrity or franchise lookalikes.

Price
6 credits / image
Makes
Text to image, Image editing

Best for

Grok Imagine 2 is xAI's second-generation image model. Summer runs it at 1K resolution for concept images and asset references.

  • Early concept art for characters, props, and environments.
  • Mood boards that set the visual direction of a new project.
  • Reference images to feed into image to 3D.

Put it together

Where Grok Imagine 2 fits in a game, with the models it works well with. Your agent runs every step.

Price

ModeModelPrice
Text to image, Image editingGrok Imagine 26 credits / image

Paid from your Summer credits.

Use it from code or your agent

Sign in once with summer login. Your agent or your code then runs it with your paid credits.

npx -y summer-engine@latest login
npx -y summer-engine@latest api run image/grok-imagine-2 \
  --input '{"prompt":"a cozy pixel-art tavern at night","aspectRatio":"16:9"}' \
  --download .

image/grok-imagine-2: $0.06 per image. Paid from your Summer credits.

Inputs

What input takes for image/grok-imagine-2. Send only what you need; Summer fills in tested defaults.

  • promptstringRequired · up to 4000 characters

    What to draw, or how to change the reference image.

  • styleenum
    • realistic
    • cartoon
    • anime
    • none
  • aspectRatioenum

    Default 1:1.

    • 1:1
    • 16:9
    • 9:16
    • 4:3
    • 3:4
    • 3:2
    • 2:3
    • 5:4
    • 4:5
    • 21:9
  • widthinteger64 to 4096

    Smallest width wanted, in pixels; give height too. Store key art: 1920 x 1080 at 16:9.

  • heightinteger64 to 4096

    Smallest height wanted, in pixels; give width too.

  • numImagesintegerDefault 1 · 1 to 4
  • referenceImageUrlstringup to 2048 characters

    A public image URL to edit instead of drawing from nothing.

  • removeBackgroundboolean

    Also cut out the background (transparent PNG); costs a removal per image.

  • seedintegerat least 0

    Same seed and prompt, similar image (Nano Banana models).

  • titlestringup to 200 characters

Model docs · Summer API docs · Set up the Summer MCP server · Try it in the browser

Questions

What is Grok Imagine 2 good for in game development?
Grok Imagine 2 is xAI's second-generation image model. Summer runs it at 1K resolution for concept images and asset references. Typical game uses: early concept art for characters, props, and environments; mood boards that set the visual direction of a new project; reference images to feed into image to 3D.
How much does Grok Imagine 2 cost in Summer?
Grok Imagine 2 costs 6 credits / image in Summer Studio. It is charged from your Summer credits.
Can Grok Imagine 2 edit an existing image?
Grok Imagine 2 supports text to image and image editing in Summer. It can also edit an existing image using up to 4 reference images.
Can I use Grok Imagine 2 from Claude Code, Cursor or Codex?
Yes. Connect the Summer MCP server to Claude Code, Cursor, Codex or another MCP client, then ask your agent to generate with summer_generate_image with model: "grok-imagine-2". Setup instructions are at summerengine.com/mcp.
Where do Grok Imagine 2 results go?
Every generation is saved to your Summer asset library. From there you can download it or bring it into a Summer Engine project.