All Models

xAI logo

Grok Imagine Image API

Grok Imagine Image creates images from text and edits supplied pictures, combining visual concept generation with changes to backgrounds, scene elements and style.

Try in Studio
Generate

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

Grok Imagine Image example

Supported modes

Edit

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

image.edit

Text to Image

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

image.generate

Pricing

Image editing

Price per run for each listed option.

OfferingPrice (USD)
Per run$0.03 / run

Image generation

Price per run for each listed option.

OfferingPrice (USD)
Per run$0.03 / run

Edit options

OptionDetailsDefault
Image *
image
A public URL, a data URI, or an asset id.โ€”
Prompt *
prompt
The prompt to edit the image with.โ€”

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.

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