Image models › Grok Imagine
Grok Imagine Image 2.0 Segment Edit
Grok Imagine Image 2.0 Segment Edit
image Grok Imagine price on request
Request
POST https://app.video-blade.com/api/v1/generations
X-API-Key: vb_…
Content-Type: application/json
{
"callback_url": "https://your-app.example/callbacks/video-blade",
"input": {
"prompt": "\u2026",
"task_id": "\u2026"
},
"model": "grok-imagine-image-2-0-image-edit"
}
Input parameters
| 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. |
Pricing
Price on request; the charge is settled from actual consumption with the image coefficient ×2.0. See Pricing & tokens.