Wan-2.1
Collection
10 items • Updated • 1
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-I2V-14B-480P", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("joyfox/Wan2.1-I2V-Twerk-Lora")
prompt = "The camera quickly zooms out to cover the entire body of the character, who quickly turns around and dances an electric hip dance"
image = pipe(prompt).images[0]



You should use The camera quickly zooms out to cover the entire body of the character to trigger the image generation.
You should use who quickly turns around and dances an electric hip dance to trigger the image generation.
Download them in the Files & versions tab.