Views
No views yet
windy_storm*.safetensors — LoRA weightsconfig.yaml — training configurationlog.txt — training log.safetensors file into your LoRA folder.windy_storm, portrait photo, natural light, high detail1import torch
2from diffusers import DiffusionPipeline
3
4pipe = DiffusionPipeline.from_pretrained(
5 "Tongyi-MAI/Z-Image-Turbo",
6 torch_dtype=torch.bfloat16
7).to("cuda")
8
9# Replace with your actual repo + filename on the Hub:
10pipe.load_lora_weights("<YOUR_REPO_ID>", weight_name="<YOUR_LORA_FILENAME>.safetensors")
11
12prompt = "windy_storm, portrait photo, natural light, high detail"
13image = pipe(prompt).images[0]
14image.save("out.png")