Diffusers How to use profpeng/wanfacesitting with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.2-I2V-A14B", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("profpeng/wanfacesitting")
prompt = "A woman places her crotch over the camera, obscuring the view. The final frame of the video is a close up of the woman's crotch"
image = pipe(prompt).images[0]