Grok Imagine Image creates images from text and edits supplied pictures, combining visual concept generation with changes to backgrounds, scene elements and style.
Pricing depends on the selected inputs. See the rates below.

Grok Imagine Image Edit API example
curl -X POST https://api.protoface.com/v1/run/xai/grok-imagine-image \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.edit",
"image": "https://example.com/your-image.png",
"prompt": "A red fox resting beside a woodland stream, soft morning light."
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
Grok Imagine Image Text to Image API example
curl -X POST https://api.protoface.com/v1/run/xai/grok-imagine-image \
-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.",
"output_format": "jpeg"
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
Supported modes
Edit
Edit uses image and prompt. Adjust the model options to prepare a request for this mode.
image.editText to Image
Text to Image uses prompt. Adjust the model options to prepare a request for this mode.
image.generatePricing
Image editing
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Per run | $0.03 / run |
Image generation
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Per run | $0.03 / run |
Edit options
Text to Image options
Grok Imagine Image
Grok Imagine Image is xAI's image generation and editing model. It can create an image from a written description or use an existing picture as the starting point for a text-directed edit. Together, those tasks support developing a concept and revising an asset within the same model.
Generation covers stylized character imagery and photographic scenes. Editing uses the supplied image for visual context, with changes such as replacing a background, adding or removing scene elements, or applying a different artistic treatment. The editing approach takes scene structure and object relationships into account.
What it's good for
A creative team can develop character artwork or campaign concepts from text, then use image editing to explore another setting or mood. Product imagery can be adapted with a different background for a promotional context.
For existing assets, it supports retouching and visual restyling. That makes it useful for revising social graphics or testing art direction on an image already selected for a project.
Run Grok Imagine Image on Protoface
Use Grok Imagine Image 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










