Grok Imagine - image to image
Content generation using grok-imagine/image-to-image ## File Upload Requirements Before using the Image-to-Image API, you need to upload your reference image: <Steps> <Step title="Upload Reference Image"> Use the File Upload API to upload your reference image. <Card title="File Upload API" icon="lucide-upload" href="/file-upload-api/quickstart"> Learn how to upload images and get file URLs </Card> **Requirements:** - **File Type**: JPEG, PNG, or WebP format - **Max File Size**: 10MB per file - **Content**: Image you want to use as reference for generation </Step> <Step title="Get File URL"> Af
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": {
"image_urls": "\u2026"
},
"model": "grok-imagine-image-to-image"
}
Input parameters
| Name | Type | Required | Description |
|---|---|---|---|
prompt |
string | optional | A text description specifying the desired content or style of the generated image. (Max length: 390000 characters) |
image_urls |
array | required | An array containing up to 1 URL string pointing to reference images. (Use file URLs after upload, not raw file content. Accepted types: image/jpeg, image/png, image/webp. Max size: 10.0MB per image.) In your prompt, reference the uploaded image by typing @image(n) followed by a space (for example: @image1 a sunset over the ocean). |
nsfw_checker |
boolean | optional | Defaults to false. You can set it to false based on your needs. If set to false, our content filtering will be disabled, and all results will be returned directly by the model itself. Note: There is no guarantee that everything can be filtered out; if you are not satisfied with the results, you will need to make your own arrangements. |
Pricing
Price on request; the charge is settled from actual consumption with the image coefficient ×2.0. See Pricing & tokens.