All Models

xAI logo

Grok Imagine Image Quality API

Grok Imagine Image Quality generates images from text and edits supplied references, supporting product refinement, style changes and alternative compositions.

Try in Studio
More options (1)
Generate

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

Grok Imagine Image Quality example

Supported modes

Edit

Edit uses images 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)
Images count: 1 ยท Num Images: 1 ยท Resolution: 1K$0.07 / run
Images count: 1 ยท Num Images: 1 ยท Resolution: 2K$0.09 / run
Images count: 1 ยท Num Images: 2 ยท Resolution: 1K$0.14 / run
Images count: 1 ยท Num Images: 2 ยท Resolution: 2K$0.18 / run
Images count: 1 ยท Num Images: 3 ยท Resolution: 1K$0.21 / run
Images count: 1 ยท Num Images: 3 ยท Resolution: 2K$0.27 / run
Images count: 1 ยท Num Images: 4 ยท Resolution: 1K$0.28 / run
Images count: 1 ยท Num Images: 4 ยท Resolution: 2K$0.36 / run
Images count: 2 ยท Num Images: 1 ยท Resolution: 1K$0.08 / run
Images count: 2 ยท Num Images: 1 ยท Resolution: 2K$0.10 / run
Images count: 2 ยท Num Images: 2 ยท Resolution: 1K$0.15 / run
Images count: 2 ยท Num Images: 2 ยท Resolution: 2K$0.19 / run

Image generation

Price per run for each listed option.

OfferingPrice (USD)
Num Images: 1 ยท Resolution: 1K$0.06 / run
Num Images: 1 ยท Resolution: 2K$0.08 / run
Num Images: 2 ยท Resolution: 1K$0.12 / run
Num Images: 2 ยท Resolution: 2K$0.16 / run
Num Images: 3 ยท Resolution: 1K$0.18 / run
Num Images: 3 ยท Resolution: 2K$0.24 / run
Num Images: 4 ยท Resolution: 1K$0.24 / run
Num Images: 4 ยท Resolution: 2K$0.32 / run

Edit options

OptionDetailsDefault
Images *
images
Public URLs, data URIs, or asset ids.โ€”
Prompt *
prompt
The prompt for image generation or editing.โ€”
Aspect ratio
aspect_ratio
Aspect ratio of the generated image. Options: auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3."auto"
Num images
num_images
Number of images to generate. Range: 1-4. Minimum: 1. Maximum: 4.1
Format
output_format
Output image format. Options: jpeg, png, webp."jpeg"
Resolution
resolution
Output resolution tier. Options: 1k, 2k."1k"

Grok Imagine Image Quality

Grok Imagine Image Quality combines text-to-image generation with reference-based image editing. Written descriptions can define an image from the outset, while supplied images provide the visual starting material for requested changes. Its editing workflow accepts multiple references and can produce alternative edited results.

The model supports changes to an image's style, mood and composition. This gives it a practical role in refining product imagery or exploring how an existing visual could work in another creative context. Text-only generation also supports developing concepts before source artwork has been chosen.

What it's good for

For product campaigns, it can rework a supplied shot into a different visual treatment and generate variations for review. Reference-based editing is useful when a project already has visual material to guide the result.

Designers can also use it to develop concept art from a brief, then refine selected imagery through editing. That combination supports both early exploration and revisions to assets intended for presentations or promotional use.

Run Grok Imagine Image Quality on Protoface

Use Grok Imagine Image Quality 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