Skip to contentx402 is live on Robinhood Chain: agents can now pay for any model, per call, in USDG →
OmniRail
← All models

SpaceXAI · Image model

Grok Imagine Image Quality

x-ai/grok-imagine-image-quality
  • Image
Released May 18, 2026

Grok Imagine Image Quality is SpaceXAI's fast, high-fidelity image generation and editing model. It accepts text prompts and optional reference images, producing photorealistic outputs at 1K or 2K across a...

Specifications

Input
text, image
Output
image
Editing
yes, up to 3 reference images
Images per call
1
Served by
SpaceXAI

Request options

Validated against these values; anything else returns 400 with the allowed list.

resolution
1K, 2K
aspect_ratio
1:1, 3:4, 4:3, 9:16, 16:9, 2:3, 3:2, 9:19.5, 19.5:9, 9:20, 20:9, 1:2, 2:1, auto

Use it

POST /api/v1/images · /images/edits · MCP generate_image · edit_image · full reference

curl https://omnirail.org/api/v1/images \
  -H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
  -d '{"model":"x-ai/grok-imagine-image-quality","prompt":"a lighthouse at dawn, 35mm film","aspect_ratio":"1:1"}'