Views
No views yet
1import torch
2from diffusers import WanImageToVideoPipeline
3from diffusers.utils import load_image
4
5pipe = WanImageToVideoPipeline.from_pretrained(
6 "wavespeed/Wan2.1-I2V-14B-480P-Diffusers-fp16", torch_dtype=torch.float16
7).to("cuda")
8
9frames = pipe(
10 image=load_image("still.png"),
11 prompt="the camera drifts slowly to the left",
12 height=480, width=832, num_frames=81,
13).frames[0]