xai/grok-imagine-r2v 📝🔢❓🖼️ → 🖼️

⭐ Official ▶️ 6.8K runs 📅 Mar 2026 ⚙️ Cog 0.16.12
image-to-video reference-to-video

About

Generate videos guided by reference images using xAI's Grok Imagine Video model

Example Output

Prompt:

"A breathtaking cinematic aerial shot sweeping over the pyramids at golden hour, with a monarch butterfly gliding through the warm desert air in the foreground, dust particles catching the light, epic scale"

Output

Performance Metrics

103.32s Prediction Time
103.33s Total Time
All Input Parameters
{
  "prompt": "A breathtaking cinematic aerial shot sweeping over the pyramids at golden hour, with a monarch butterfly gliding through the warm desert air in the foreground, dust particles catching the light, epic scale",
  "duration": 10,
  "resolution": "720p",
  "aspect_ratio": "16:9",
  "reference_images": [
    "https://multimedia-example-files.replicate.dev/pyramids-giza.4372x2906.jpg",
    "https://multimedia-example-files.replicate.dev/monarch-butterfly.3008x2000.jpg"
  ]
}
Input Parameters
prompt (required) Type: string
Text prompt describing the video to generate
duration Type: integerDefault: 8Range: 1 - 10
Duration of the video in seconds (1-10).
resolution Default: 480p
Resolution of the generated video.
aspect_ratio Default: 16:9
Aspect ratio of the generated video.
reference_images (required) Type: array
Reference images to guide the video generation (1-7 images). These are used as style and content references, not as starting frames.
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
R2V generation submitted with request_id: 0024c732-e61f-94ee-b52f-b7fe2af6668a
First poll response: {"status": "pending", "progress": 26}
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
Video generation status: pending, waiting...
R2V generation completed in 99.1sec
Downloading 5035593 bytes
Downloaded 4.80MB in 2.06sec
Output video duration: 10.04 seconds
Version Details
Version ID
b412665331cd7343f79fe14d93bb4f4e8b0d3865ae6308d27868af7dddf4420e
Version Created
March 23, 2026
Run on Replicate →