Video models › Grok Imagine
Grok Imagine Image to Video
Grok Imagine Image to Video
video 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": {},
"model": "grok-imagine-image-to-video"
}
Input parameters
| Name | Type | Required | Description |
|---|---|---|---|
image_urls |
array | optional | Provide an external image URL as a reference for video generation. Up to 7 images are supported. Do not use it simultaneously with task_id. In your prompt, reference an uploaded image by typing @image(n) followed by a space (for example: @image1 a sunset over the ocean). - Supports JPEG, PNG, and WEBP formats - Maximum file size for each image: 10MB - The Spicy mode is not available when using external images - The array can contain a maximum of seven URLs - Only one is supported when the resolution is 1080p. |
task_id |
string | optional | Task ID from a previously generated Grok image. Use with index to select a specific image. Do not use with image_urls. - Use task ID from grok-imagine/text-to-image generations - Supports all modes including Spicy - Maximum length: 100 characters |
index |
integer | optional | When using task_id, specify which image to use (Grok generates 6 images per task). Only works with task_id. - 0-based index (0-5) - Ignored if image_urls is provided - Default: 0 Default:
0 |
prompt |
string | optional | Text prompt describing the desired video motion. Optional field. - Should be detailed and specific about the desired visual motion - Describe movement, action sequences, camera work, and timing - Include details about subjects, environments, and motion dynamics - Maximum length: 5000 characters - Supports English language prompts |
mode |
string | optional | Specifies the generation mode affecting the style and intensity of motion. Note: Spicy mode is not available for external image inputs. - **fun**: More creative and playful interpretation - **normal**: Balanced approach with good motion quality - **spicy**: More dynamic and intense motion effects (not available for external images) Default: normal Values: fun, normal, spicyDefault:
normal |
duration |
string | optional | The duration of the generated video (in seconds) (6-30). (Minimum: 6, Maximum: 30, Step: 1) |
resolution |
string | optional | The resolution of the generated video. Values: 480p, 720p, 1080pDefault:
480p |
aspect_ratio |
string | optional | Image ratio selection only applies to multi-image generation mode. In single-image mode, the video width and height are referenced to the image width and height. Values: 2:3, 3:2, 1:1, 16:9, 9:16Default:
16:9 |
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 video coefficient ×2.0. See Pricing & tokens.