All Models

xAI logo

Grok Imagine Image 2.0 API

Grok Imagine Image 2.0 generates and edits stills from text and supplied images for visual concepts and artwork.

Model overview

Model ID
xai/grok-imagine-image-2
Output Type
Image
Pricing
From $0.05 / run
Provider
xAI
Hosting
External
Try in Studio
Generate

Pricing depends on the selected inputs. See the rates below.

Grok Imagine Image 2.0 example

Supported modes

Text to Image

Text to Image uses prompt. Adjust the model options to prepare a request for this mode.

image.generate

Edit

Edit uses images and prompt. Adjust the model options to prepare a request for this mode.

image.edit

Pricing

Image generation

Price per run for each listed option.

OfferingPrice (USD)
All listed options$0.05 / run
  • Quality: low, medium (same price).
  • Resolution: 1K, 2K (same price).

Image editing

Price per run for each listed option.

OfferingPrice (USD)
All listed options$0.06 / run
  • Quality: low, medium (same price).
  • Resolution: 1K, 2K (same price).

Text to Image options

OptionDetailsDefault
Prompt *
prompt
Text description of the image to generate.โ€”
Aspect ratio
aspect_ratio
Aspect ratio of the generated image. Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20."1:1"
Quality
quality
Generation quality tier. Options: low, medium."medium"
Resolution
resolution
Output image resolution tier. Options: 1k, 2k."2k"

Grok Imagine Image 2.0

Grok Imagine Image 2.0 is xAI's image model for creating stills from text and editing supplied images. A natural-language brief describes the subject and visual treatment, while image references provide the material for a revision.

The workflow supports both exploring an initial composition and developing changes to an existing one. A scene can be described from scratch or built around artwork that already expresses part of the idea.

What it's good for

Concept illustrations, presentation artwork, and campaign visuals are useful applications. Creators can explore photographic or stylized treatments, develop images for different layouts, or revise reference assets as the visual direction of a project becomes more specific.

Run Grok Imagine Image 2.0 on Protoface

Use Grok Imagine Image 2.0 in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

Model publisher

About xAI

xAI develops Grok Imagine models for creating and editing images and video. Its visual AI work covers generating pictures from written prompts, revising images with natural-language instructions, and animating still images, supporting creative tasks such as combining subjects, changing styles and composing scenes.

  • Image generation
  • Visual editing
  • Video generation

Related models

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai