Skip to content
Reduced motion is on. Play a preview to watch it.
Explore models

Image

Grok Imagine Image Quality

Grok Imagine Image Quality is a dedicated text-to-image operation.

  • Text to image
Create with Grok Imagine Image Quality
Preview for Grok Imagine Image Quality

Catalog preview for Grok Imagine Image Quality. Review your own result before publishing.

A starting point.

Build an illustration or product concept from a complete composition brief.

Before you publish.

Inspect subject proportions, reflections and small text; compare variants at the same size.

Review the quote before running. A failed generation releases its reserved credits. Download the results you want to keep; stored media is retained for 30 days.

How credits work · Use the API · Content guidelines

Settings and model questionsCheck the available settings and guidance when preparing your input.

Inputs and settings

Supply prompt; this operation accepts no reference images. Choose aspect_ratio, resolution as 1k or 2k and num_images from 1–4.

Set output_format to jpeg, png or webp. The Quality endpoint has no separate quality or seed control in Raywake; compare results by changing the brief.

Inputs, all modes and APIModel IDs, current input limits and the API generation workflow.

Supported inputs

These fields come from the current studio form for xai/grok-imagine-image/quality/text-to-image. Other modes may require different inputs.

Input types, requirements and limits for xai/grok-imagine-image/quality/text-to-image
InputTypeRequirementOptions and limits
promptTextRequiredMax. characters: 8000
aspect_ratioTextOptional2:1, 20:9, 19.5:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:19.5, 9:20, 1:2
num_imagesWhole numberOptional≥ 1 · ≤ 4
output_formatTextOptionaljpeg, png, webp
resolutionTextOptional1k, 2k

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Use Grok Imagine Image Quality through the API.

Start with this model ID for the endpoint featured on this page:

xai/grok-imagine-image/quality/text-to-image

Input requirements belong to this model ID. Check a different mode’s schema separately when switching modes.

Check the current model schema for supported inputs and options. Other tasks may use different model IDs.

From quote to result.

Request a credit quote for your input and settings before submitting a generation. A sample output or the price of another model is not a quote for your request.

Follow the generation workflow, then poll the job for its status and result. The API and studio use the same balance.