Wan First-Last Frame to Video
wan2.1-kf2v-plus
Applies to Wan series first-last-frame image-to-video models. After submitting a task, query its status via GET /v1/videos/{task_id}.
Public fields: model, images, prompt, seconds, size, prompt_extend, watermark, seed, negative_prompt. The images array must contain exactly 2 images in order: images[0] is the first frame, images[1] is the last frame. The first frame determines the base composition, and the last frame controls the closing scene.
Authorizations
Pass Authorization: Bearer <token> in the request header.
Body
Wan first-last-frame image-to-video model.
wan2.1-kf2v-plus First-last-frame image URL array. Must contain exactly 2 images in order: images[0] is the first frame, images[1] is the last frame. The output video aspect ratio matches the first frame image; the last frame is cropped to fit the first frame aspect ratio.
2 elementsText prompt describing the transition from first frame to last frame. Supports Chinese and English, up to 800 characters.
Video duration (seconds) as a string. Currently fixed at "5".
5 Output video resolution tier. wan2.2-kf2v-flash supports 480P/720P/1080P, wan2.1-kf2v-plus supports 720P.
480P, 720P, 1080P Whether to enable intelligent prompt rewriting.
Whether to add a watermark to the video.
Random seed, range [0, 2147483647].
Negative prompt describing content you do not want in the video. Up to 500 characters.