Grok Imagine Image Text to Image

Grok Imagine Image Text to Image · xAI — Text to image · Up to 2K · 13 aspect ratios. Call it through one queue API and pay for the options you pick.

modellane/grok-imagine-image-text-to-image · Text to image · xAI

Text to image model: up to 2K, 13 aspect ratios, up to 4 images per request.

Vendor
xAI
Task
Text to image
Output
Image
Price
From $0.03 per run

Input parameters

  • Prompt prompt — required Describe what you want produced as concretely as you can.
  • Number of images num_images — optional, default: 1, options: 1, 2, 3, 4 Each image is billed separately.
  • Aspect ratio aspect_ratio — optional, options: 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 Sets whether the output is square, portrait, or landscape.
  • Resolution resolution — optional, options: 1K, 2K The output resolution.

Output and retention

The generated file and your input are kept for seven days and then deleted.

Queue API

Submit to the queue: POST /v1/queue/modellane/grok-imagine-image-text-to-image

Status, result, cancellation and error codes work the same for every model; see the API docs.

Playground

Everything on this page is public; you need an account to run the model.