Grok Imagine Image Text-to-Image

Use Grok Imagine Image Text-to-Image for image; see supported inputs and option-based pricing on this page.

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

Grok Imagine Image Text-to-Image supports text to image. Its documented input fields are listed below; the request price is calculated from the selected options.

Vendor
xAI
Task
Text to image
Output
Image
Price
$0 · 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
  • Resolution resolution — optional, options: 1k, 2k Higher resolution raises the per-second price.

Recommended use cases

    Where it is strong

      Limits

        Example prompt

        A red bicycle against a stone wall at sunset, in natural light.

        Example request

        POST /v1/queue/modellane/xai-grok-imagine-image-text-to-image-dffadc62

        Playground

        The identifier, price, parameters, and example requests on this page can be read without signing in. Running the model from the panel sends a real generation request and charges the project balance; the playground therefore requires an account.