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

Grok Imagine Image 2.0 Text to Image API example
curl -X POST https://api.protoface.com/v1/run/xai/grok-imagine-image-2 \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.generate",
"prompt": "A red fox resting beside a woodland stream, soft morning light.",
"aspect_ratio": "1:1",
"quality": "medium",
"resolution": "2k"
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
Grok Imagine Image 2.0 Edit API example
curl -X POST https://api.protoface.com/v1/run/xai/grok-imagine-image-2 \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.edit",
"images": "https://example.com/your-image.png",
"prompt": "A red fox resting beside a woodland stream, soft morning light.",
"quality": "medium",
"resolution": "2k"
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
Supported modes
Text to Image
Text to Image uses prompt. Adjust the model options to prepare a request for this mode.
image.generateEdit
Edit uses images and prompt. Adjust the model options to prepare a request for this mode.
image.editPricing
Image generation
Price per run for each listed option.
| Offering | Price (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.
| Offering | Price (USD) |
|---|---|
| All listed options | $0.06 / run |
- Quality: low, medium (same price).
- Resolution: 1K, 2K (same price).
Text to Image options
Edit options
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.

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










