GetRun / Image / Grok Imagine Image 2.0 Image Edit

Grok Imagine Image 2.0 Image Edit

AI Image Models by xAI · Rp320 / image · available now

Edit an existing image with Grok Imagine 2.0 — swap backgrounds, replace text, and restyle with a prompt.

Input parameters

NameTypeRequired
promptstringno
image_urlsarrayyes
aspect_ratio1:1 | 2:3 | 3:2 | 16:9 | 9:16 | autoyes

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 Image Edit in Studio, or call it from code: POST https://getrun.id/v1/tasks with body {"model": "grok-imagine-image-2-0/image-edit", "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 Image Edit cost on GetRun?
Grok Imagine Image 2.0 Image Edit 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 Image Edit 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/image-edit", "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 Image Edit 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.