Image models › Grok Imagine

Grok Imagine Image 2.0 Image Edit

Grok Imagine Image 2.0 Image Edit

image Grok Imagine 6 tokens per image $0.005 per token

Pricing

OptionTokensUnit≈ USD
Image Edit6per image$0.0300

The price is held when the task is created and settled to actual consumption when it completes; a failed task releases the hold.

How to order

This is the image-to-image twin of grok-imagine-image-2-0-text-to-image: create the series with that id in model and attach reference images — the service switches to this model by itself. Its own id is not accepted in a series.

POST https://app.video-blade.com/api/v1/projects/{id}/image-series
X-API-Key: vb_…
Content-Type: application/json

{"title": "…", "prompt": "…", "model": "grok-imagine-image-2-0-text-to-image", "aspect_ratio": "9:16", "count": 2, "references": [{"url": "https://…"}]}

POST https://app.video-blade.com/api/v1/projects/{id}/image-series/{item_id}/generate
→ 202 {"generation_ids": ["…"], "status": "running", "tokens_held": …}

Field lists and refusal codes — API reference.

Model parameters

What the model itself understands; the ordering calls above take their own fields and pass these on.

NameTypeRequiredDescription
prompt string optional A text description specifying the desired content or style of the generated image. (Max length: 8000 characters)
aspect_ratio string required Specifies the width-to-height ratio of the generated image. Controls the aspect ratio of the output. This field is required.
Values: 1:1, 2:3, 3:2, 16:9, 9:16, auto
image_urls array required An array containing up to 5 and at least 1 URL strings pointing to a reference image.