infery
← All models

Wan v2.6 Reference to Video

v2.6-reference-to-video

Video generationby Alibaba

Wan 2.6 reference-to-video model.

Example

Details

Accepts
video

Pricing

Price
12.5 cr / second

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducibility. If None, a random seed is chosen.
promptrequiredstringUse @Video1, @Video2, @Video3 to reference subjects from your videos. Works for people, animals, or objects. For multi-shot prompts: '[0-3s] Shot 1. [3-6s] Shot 2.' Max 1500 characters.
durationstringenum: 5, 10Duration of the generated video in seconds. R2V supports only 5 or 10 seconds (no 15s).
resolutionstringenum: 720p, 1080pVideo resolution tier. R2V only supports 720p and 1080p (no 480p).
video_urlsrequiredarrayReference videos for subject consistency (1-3 videos). Videos' FPS must be at least 16 FPS.Reference in prompt as @Video1, @Video2, @Video3. Works for people, animals, or objects.
multi_shotsbooleanWhen true (default), enables intelligent multi-shot segmentation for coherent narrative videos with multiple shots. When false, generates single continuous shot. Only active when enable_prompt_expansion is True.
aspect_ratiostringenum: 16:9, 9:16, 1:1, 4:3, 3:4The aspect ratio of the generated video.
negative_promptNegative prompt to describe content to avoid. Max 500 characters.
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked.
enable_prompt_expansionbooleanWhether to enable prompt rewriting using LLM.

Output

FieldTypeDescription
seedintegerThe seed used for generation
videoThe generated video file
actual_promptThe actual prompt used if prompt rewriting was enabled