Image models › Grok Imagine
Grok Imagine Image 2.0 Segment Edit
Grok Imagine Image 2.0 Segment Edit
image Grok Imagine 6 tokens per image $0.005 per token
Pricing
| Option | Tokens | Unit | ≈ USD |
|---|---|---|---|
| Image Edit | 6 | per 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 model is listed for its price and is not ordered through the API yet.
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.
| Name | Type | Required | Description |
|---|---|---|---|
prompt |
string | required | Text prompt describing the desired image. |
task_id |
string | required | The source task ID to use for image editing(This can be a task ID generated by the `grok-imagine-image-2-0/text-to-image` model, or a task ID generated by the `grok-imagine-image-2-0/segment-map` model by passing an `image_url`.). |
mask_indexs |
array | optional | Please enter the index numbers of the segment array items you want to use. |