Skip to main content
Generate videos using Wan 2.7 with three modes: text-to-video, image-to-video (first frame, keyframes, continuation, lip-sync), and reference-to-video (character/object consistency).

Model

Modes

Common Parameters


T2V Mode

Parameters

Multi-shot

Control shot structure using natural language in the prompt:
  • Single shot: “Generate a single-shot video”
  • Multi-shot: “Generate a multi-shot video” or describe shots with timestamps (e.g., “Shot 1 [0-3 seconds] wide shot: Rainy New York street at night”)
  • Default: If unspecified, the model interprets the prompt content

Example - Basic Text-to-Video

Example - Multi-shot Narrative

Example - With Audio File


I2V Mode

Parameters

Validation Rules

  • At least one of first_frame_url or video_url is required
  • last_frame_url requires first_frame_url
  • video_url (continuation) is mutually exclusive with first_frame_url / last_frame_url

Example - First Frame to Video

Example - First + Last Frame

Example - Video Continuation

Continue an existing video clip. If the input is 3s and duration is 15, the model generates 12s of new content. The final output is 15s.

R2V Mode

Parameters

Prompt Identifiers

Use “Image 1”, “Image 2” to reference images and “Video 1”, “Video 2” to reference videos. Images and videos are numbered separately based on array order. If there is only one reference, you can use “the reference image” or “the reference video”.

Validation Rules

  • At least 1 reference_image_urls or reference_video_urls is required
  • Total images + videos must not exceed 5

Example - Multi-Reference

Example - Single Reference Image


Input Limits

Response