GetRun / Image / Grok Imagine Image 2.0 Text to Image
Grok Imagine Image 2.0 Text to Image
AI Image Models by xAI · Rp320 / image · available now
xAI's Grok Imagine 2.0 — fast, characterful image generation from a text prompt.
Input parameters
| Name | Type | Required |
|---|
prompt | string | yes |
aspect_ratio | 1:1 | 2:3 | 3:2 | 16:9 | 9:16 | yes |
The complete schema is published as JSON Schema at GET https://getrun.id/v1/models.
How to call it through the API
Try Grok Imagine Image 2.0 Text to Image in Studio, or call it from code: POST https://getrun.id/v1/tasks with body {"model": "grok-imagine-image-2-0/text-to-image", "input": {…}} and an Idempotency-Key header, then poll GET https://getrun.id/v1/tasks/{task_id}. The details are in the model documentation.
Menimbang beberapa model sekaligus? Lihat perbandingan antar model di GetRun.
Frequently asked questions
- What does Grok Imagine Image 2.0 Text to Image cost on GetRun?
- Grok Imagine Image 2.0 Text to Image is priced at Rp320 / image and billed from a rupiah balance as you use it, with no required subscription. The estimated cost is shown before it runs, and failed tasks are never charged.
- How do I call Grok Imagine Image 2.0 Text to Image through the API?
- Send POST https://getrun.id/v1/tasks with an Authorization: Bearer header and an Idempotency-Key, body {"model": "grok-imagine-image-2-0/text-to-image", "input": {...}}, then poll GET https://getrun.id/v1/tasks/{task_id} every 2 to 5 seconds until the status is succeeded.
- Are Grok Imagine Image 2.0 Text to Image results stored permanently?
- No. Output URLs are served from a CDN and expire after 7 days, so copy the files to your own storage if you need them longer.
See other image models on Generate AI Images, Priced in Rupiah, or compare them all in the catalog.