# Vidu 2.0 | Reference to Video Vidu 2.0 Reference to Video generates realistic motion by combining multiple reference photos into a seamless video. ## API Information - **Model Slug:** vidu-2-0-reference-to-video - **Branded URL:** https://www.eachlabs.ai/vidu/vidu-2-0/vidu-2-0-reference-to-video - **Provider:** Vidu - **Category:** Reference to Video - **Output Type:** video - **Status:** active - **Version:** 0.0.1 - **Base Cost:** 360p at $0.10 per second, 720p at $0.10 per second - **Estimated Processing Time:** 40 seconds - **Last Updated:** 2026-04-17 - **Interactive Demo:** https://www.eachlabs.ai/ai-models/vidu-2-0-reference-to-video ## Pricing - **Charge Type:** dynamic - **Pricing Details:** 360p at $0.10 per second, 720p at $0.10 per second ### Pricing Rules | Condition | Pricing | | --- | --- | | Rule 1 | 360p at $0.10 per second, 720p at $0.10 per second | ## Input Schema | Parameter | Type | Required | Default | Constraints | Description | |-----------|------|----------|---------|-------------|-------------| | prompt | string | Yes | - | - | Text prompt, A textual description for video generation, with a maximum length of 1500 characters | | image_url | string | Yes | - | png, jpeg, jpg, webp | The model will use the provided images as references to generate a video with consistent subjects | | image_url2 | string | No | - | - | - | | duration | integer | No | 4 | 4 | The number of seconds of duration for the output video | | image_url3 | string | No | - | - | - | | image_url4 | string | No | - | - | - | | resolution | string | No | 720p | 720p | - | | movement_amplitude | string | No | auto | auto,small,medium,large | The movement amplitude of objects in the frame | | aspect_ratio | string | No | 16:9 | 16:9,9:16,1:1 | - | | seed | integer | No | - | - | Seed | ## Example Request ```bash curl -X POST https://api.eachlabs.ai/v1/prediction/ \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "vidu-2-0-reference-to-video", "input": { "prompt": "Scene: On the surface of an alien planet, strange rocks stand in the red desert, and two huge planets hang in the sky. Character: An astronaut, wearing a heavy space suit, holding a detection instrument. Emotion: Loneliness and exploration, full of unknowns and adventures. Action: Astronauts explore the surface of the planet, discover ancient alien ruins, and unravel the secrets. Style: Sci-fi adventure style, mainly cold colors, strong light and shadow.", "image_url": "https://storage.googleapis.com/magicpoint/inputs/vidu-2.0-r2v-input.jpg" } }' ``` ## Output Schema Response returned by `GET /v1/prediction/{id}` when the job completes: ```json { "status": "success", "predictionID": "string", "output": "string (URL of generated video)", "metrics": { "predict_time": "number (seconds)" } } ``` ## Polling ```bash curl https://api.eachlabs.ai/v1/prediction/{PREDICTION_ID} \ -H "X-API-Key: YOUR_API_KEY" ``` | Status | Meaning | |--------|---------| | `processing` | Still running — poll again | | `success` | Done — read `output` | | `error` | Failed — read `message` / `details` | ## Webhook (alternative to polling) Pass `"webhook_url": "https://your.host/path"` in the create request. Eachlabs POSTs this payload when the job ends: ```json { "exec_id": "prediction-uuid", "status": "succeeded", "output": "https://...", "error": "" } ``` `status` is `"succeeded"` or `"failed"`. `exec_id` equals the `predictionID` from create. Return 2xx within 30 seconds. ## Errors Error body: `{ "status": "error", "message": "...", "details": "..." }` | Code | Meaning | |------|---------| | `400` | Invalid input | | `401` | Missing / invalid `X-API-Key` | | `404` | Unknown model or prediction id | | `429` | Rate limit — 100 creates / min, 10 concurrent per key | | `5xx` | Retry with backoff | ## Overview **vidu-2-0-reference-to-video — Image-to-Video AI Model** Transform static reference photos into seamless, realistic motion videos with **vidu-2-0-reference-to-video**, Vidu's advanced image-to-video AI model from the vidu-2.0 family. This model excels by fusing multiple reference images—up to 4 images alongside 2 videos—into coherent short-form videos with exceptional consistency in characters, actions, and styles, solving the challenge of uncontrollable AI video outputs. Developed by Vidu, **vidu-2-0-reference-to-video** powers production-grade workflows for creators seeking precise control over video generation from images. It supports native 1080p resolution and durations up to 16 seconds, making it ideal for **Vidu image-to-video** applications like short films and commercials where multi-reference fusion ensures pixel-level accuracy without post-production guesswork. ## Usage Notes - API Base URL: `https://api.eachlabs.ai/v1` - Authentication: send `X-API-Key: YOUR_API_KEY`. Generate a key from the Eachlabs dashboard at https://www.eachlabs.ai/dashboard/api-keys. - File-typed parameters (`*_url`, `image_url`, `video_url`, `audio_url`, etc.) accept publicly-reachable HTTPS URLs only. Upload your asset first (GCS / S3 / your CDN) and pass the resulting URL. Data-URIs and localhost URLs are rejected. - For structured parameters (arrays / objects) send real JSON values, not stringified payloads. - Monetary values are reported in USD; per-token / per-megapixel rates may be billed in micro-cents internally. - Prefer `webhook_url` over polling for long-running predictions — see the Webhook Callback section.