Skip to content
AlibabaChecking

Wan 2.7 / Image to Video

wan-2-7-image-to-video

image to videoOutput: VideoInput: text + image + audio
Loading price…
Official list price · Not verified

What it does

Generate video from a reference image with optional audio.

2–15 seconds · 720p or 1080p

Input parameters

Only the fields this model accepts. Required fields must be provided.

FieldTypeRequiredDefaultAllowed values and constraints
prompt
stringoptional—

1–5000 chars

firstImageUrl
stringrequired—

Choose one of two: 1. first_frame=the first frame of the generated video. 2. first_frame+last_frame=start and end frames generate the video.

HTTPS image URL or media:<uuid>

lastImageUrl
stringoptional—

Choose one of two: 1. first_frame=the first frame of the generated video. 2. first_frame+last_frame=start and end frames generate the video.

HTTPS image URL or media:<uuid>

audioUrl
stringoptional—

audioUrl MP3 or WAV; maximum 15 MB.

HTTPS audio URL or media:<uuid>

negativePrompt
stringoptional—

0–500 chars

resolution
stringrequired"720P"

One of: "720P", "1080P"

duration
stringrequired"5"

One of: "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"

promptExtend
booleanoptionaltrue

Whether to enable prompt intelligent rewriting. After activation, use the large model to intelligently rewrite the input prompt. For shorter prompt generation, the effect is significantly improved, but it will increase the time consumption.

seed
integeroptional—

Randomly select seeds with a value range of [0, 2147483647]. If not specified, the system will automatically generate random seeds. If you need to improve the reproducibility of the generated results, it is recommended to fix the seed value. Please note that due to the probabilistic nature of model generation, even with the same seed, it cannot be guaranteed that the results generated each time will be completely consistent

0–2147483647

Limits and behaviour

  • Asynchronous only: submit a task, then poll for the result.
  • prompt: 1–5000 chars
  • negativePrompt: 0–500 chars
  • seed: 0–2147483647
  • Media inputs accept public HTTPS URLs or media:<uuid> references from POST /api/v1/media.