Views
No views yet
darkfantasy to trigger the image generation.1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('Wan-AI/Wan2.1-T2V-14B-Diffusers', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('fwqww/darkfantasywan-lora', weight_name='darkfantasywan_000002750.safetensors')
6image = pipeline('darkfantasy').images[0]
7image.save("my_image.png")