Skip to main content
Core.Today
|
xAIMediumUltra

Grok Imagine Image Quality

xAI's highest-fidelity Grok Imagine image model, served over the direct xAI API. Best output quality in the Grok Imagine family for detailed, polished renders.

120 credits
per image
Highest output quality in the Grok Imagine family
Up to 10 images per request (billed per image)
14 aspect ratio presets plus auto
1k / 2k output resolution tiers (2k billed higher)

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "xai/grok-imagine-image-quality",
  "input": {
    "prompt": "An ultra-detailed studio photograph of a vintage mechanical watch on dark velvet, macro lens, dramatic side lighting",
    "aspect_ratio": "3:2",
    "resolution": "2k"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text prompt for image generation.
nintegerNo1Number of images to generate (1-10). Billed per image.
aspect_ratiostringNoautoAspect ratio of the generated image.
auto1:116:99:164:33:43:22:32:11:219.5:99:19.520:99:20
resolutionstringNo-Output resolution tier. 2k is billed at a higher rate; omitted defaults to 1k.
1k2k

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Product Shot

Ultra-detailed studio product photograph

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "xai/grok-imagine-image-quality",
  "input": {
    "prompt": "An ultra-detailed studio photograph of a vintage mechanical watch on dark velvet, macro lens, dramatic side lighting",
    "aspect_ratio": "3:2",
    "resolution": "2k"
  }
}'

Tips & Best Practices

1Iterate on grok-imagine-image (cheaper) first, then re-run the winning prompt here
2For editing an existing image, use xai/grok-imagine-image-quality/edit
3Upstream is limited to 5 requests/second for this model - batch with n instead of parallel calls

Use Cases

Hero images and key visuals where fidelity matters most
Product photography style renders
Final-quality art after iterating on cheaper tiers