vidu/q2/reference-to-video/pro
Vidu Q2 Pro by Shengshu - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.
PNG, JPEG, WebP, or GIF · 20 MiB maximum each
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runvidu/q2/reference-to-video/proInput Schema
9 parameters · 1 required · 8 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Required | Text prompt for video generation, max 2000 characters · Max length: 2000 |
bgm | boolean | Optional | Whether to add background music to the generated video · Default: false |
seed | integer | Optional | Random seed for reproducibility. If None, a random seed is chosen. |
duration | integer | Optional | Duration of the video in seconds (0 for automatic duration) · Min: 1 · Max: 8 · Default: 4 |
resolution | string | Optional | Output video resolution · Options: 540p, 720p, 1080p · Default: "720p" 540p720p1080p |
aspect_ratio | string | Optional | The aspect ratio of the generated image. · Options: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 21:916:93:24:35:41:14:53:42:39:16 |
movement_amplitude | string | Optional | The movement amplitude of objects in the frame · Options: auto, small, medium, large · Default: "auto" autosmallmediumlarge |
reference_image_urls | string[] | Optional | URLs of the reference images for subject appearance. If videos are provided, up to 4 images are allowed; otherwise up to 7 images. |
reference_video_urls | string[] | Optional | URLs of the reference videos for video editing or motion reference. Supports up to 2 videos. |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "vidu/q2/reference-to-video/pro",
"bgm": false,
"prompt": "@Figure 1 Character Reference@Refer to the special effects, movements, and camera work of Video 1.",
"duration": 4,
"resolution": "720p",
"movement_amplitude": "auto",
"reference_image_urls": [
"https://static.sandbase.ai/examples/shengshu/vidu/q2/reference-to-video/pro/input_reference_image_urls_0.png"
],
"reference_video_urls": [
"https://static.sandbase.ai/examples/shengshu/vidu/q2/reference-to-video/pro/input_reference_video_urls_1.mp4"
]
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Vidu Q2 Reference to Video Pro
Vidu Q2 Reference to Video Pro concentrates on the vidu/q2/reference-to-video/pro workflow for pro work in video production. Vidu Q2 Pro by Shengshu - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation. Teams can place this named operation inside review, asset preparation, and publishing pipelines while keeping the original request attached to every result. The endpoint is especially useful when a project has a defined transformation goal and needs a repeatable request contract instead of an ad-hoc desktop step. Because vidu/q2/reference-to-video/pro is a separate catalog entry, evaluations should use this route’s own inputs, output expectations, and billing behavior. This is the creative remit of the exact endpoint, not a family-wide promise.
The mandatory portion is prompt. For example, the route documentation includes “@Figure 1 Character Reference@Refer to the special effects, movements, and camera work of Video 1.”. Vidu Q2 Reference to Video Pro exposes bgm, seed, prompt, duration, resolution, aspect_ratio, movement_amplitude as its documented request surface. bgm controls whether to add background music to the generated video; seed controls random seed for reproducibility. If None, a random seed is chosen; prompt controls text prompt for video generation, max 2000 characters; duration controls duration of the video in seconds (0 for automatic duration); resolution controls output video resolution; resolution accepts 540p, 720p, 1080p; aspect ratio controls the aspect ratio of the generated image; aspect ratio accepts 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16. Applications can submit that exact shape asynchronously, retain the chosen arguments in job metadata, and collect the resulting media URL for review or publishing.
Highlights
- Coherent motion. Vidu Q2 Reference to Video Pro is built to turn the route’s text or reference media into a temporally connected sequence rather than unrelated frames.
- Shot direction. Prompts can describe subject action, camera movement, pacing, and atmosphere so Vidu Q2 Reference to Video Pro has a concrete motion plan.
- Reference-aware generation. When this route accepts source media, Vidu Q2 Reference to Video Pro uses it to anchor identity, composition, or the clip boundary throughout generation.
- Production variants. Declared duration, resolution, framing, or inference controls support repeatable video options for review and selection.
Pricing
| Billing option | Price |
|---|---|
| Billing formula | params.resolution == "1080p" ? 0.2 + params.duration * 0.1 : params.resolution == "720p" ? 0.3 : params.resolution == "520p" ? 0.2 : 0.1 |
duration=1 · resolution=540p | $0.100000 |
duration=1 · resolution=720p | $0.300000 |
duration=1 · resolution=1080p | $0.300000 |
duration=2 · resolution=540p | $0.100000 |
duration=2 · resolution=720p | $0.300000 |
duration=2 · resolution=1080p | $0.400000 |
duration=3 · resolution=540p | $0.100000 |
duration=3 · resolution=720p | $0.300000 |
duration=3 · resolution=1080p | $0.500000 |
duration=4 · resolution=540p | $0.100000 |
duration=4 · resolution=720p | $0.300000 |
duration=4 · resolution=1080p | $0.600000 |
duration=5 · resolution=540p | $0.100000 |
duration=5 · resolution=720p | $0.300000 |
duration=5 · resolution=1080p | $0.700000 |
duration=6 · resolution=540p | $0.100000 |
duration=6 · resolution=720p | $0.300000 |
duration=6 · resolution=1080p | $0.800000 |
duration=7 · resolution=540p | $0.100000 |
duration=7 · resolution=720p | $0.300000 |
duration=7 · resolution=1080p | $0.900000 |
duration=8 · resolution=540p | $0.100000 |
duration=8 · resolution=720p | $0.300000 |
duration=8 · resolution=1080p | $1.000000 |
When to Use
| Scenario | Why it fits |
|---|---|
| Choose Vidu Q2 Reference to Video Pro | Use it when the job specifically calls for pro and the route’s documented input contract matches assets already available in your workflow. |
| Keep the request reproducible | Use the required prompt explicitly, then record optional choices alongside the prompt for repeatable reruns. |
| Build controlled creative variations | Change one declared control at a time when comparing framing, format, duration, resolution, style, or other route-supported output decisions. |
| Integrate asynchronous delivery | Use this endpoint when an application can submit work, track completion, and collect the returned media URL instead of requiring an immediate inline artifact. |
| Validate before a large batch | Run representative prompts and source assets first, confirm the visual or audio behavior, then lock the successful request shape for scaled production. |
Prompt Guide
Lead with the subject or transformation, then add the composition, environment, style, lighting, motion, voice, or fidelity details relevant to this route. Keep every parameter inside the documented schema; the example below uses only fields declared for vidu/q2/reference-to-video/pro.
{
"prompt": "@Figure 1 Character Reference@Refer to the special effects, movements, and camera work of Video 1.",
"resolution": "540p",
"aspect_ratio": "21:9",
"movement_amplitude": "auto"
}
Technical Specs
| Specification | Details |
|---|---|
| Model ID | vidu/q2/reference-to-video/pro |
| Execution mode | async |
| Task type | video |
bgm | boolean · optional |
seed | integer · optional |
prompt | string · required |
duration | integer · optional · min 1 · max 8 |
resolution | string · optional · choices: 540p, 720p, 1080p |
aspect_ratio | string · optional · choices: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 |
movement_amplitude | string · optional · choices: auto, small, medium, large |
reference_image_urls | array · optional |
reference_video_urls | array · optional |

