Downloads · 30 days
3
9% of all-time downloads
PNW-GM/z-image-witcher3-velen-lora
z-image-witcher3-velen-lora is a text-to-image model from PNW-GM. Use it when you need an image from a text prompt. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter for Tongyi-MAI/Z-Image trained on aerial cartographic terrain captures from The Witcher 3: Wild Hunt's Velen region. The adapter biases the base model toward stylized top-down map renders: Velen's muted e…
Downloads · 30 days
3
9% of all-time downloads
All-time downloads
35
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1.3 GB · 100%
From the Hugging Face model README
LoRA adapter for Tongyi-MAI/Z-Image trained on aerial cartographic terrain captures from The Witcher 3: Wild Hunt's Velen region. The adapter biases the base model toward stylized top-down map renders: Velen's muted earth palette, dense conifer forests, river networks, marsh textures, and flat-shaded hills.
bs=8/rank x 2 A40s)to_q, to_k, to_v, to_out.0,
feed_forward.w1/w2/w3ZImagePipeline, 50 steps, guidance_scale=5.0Training timestep is normalized as
t = (1000 - sched.timesteps[idx]) / 1000
matching HF Diffusers'
examples/dreambooth/train_dreambooth_lora_z_image.py.
The flow-matching target is equivalent to noise - model_input, with the
Z-Image pipeline pre-step negation handled by model_pred = -model_pred.
import torch
from diffusers import ZImagePipeline
pipe = ZImagePipeline.from_pretrained(
"Tongyi-MAI/Z-Image", torch_dtype=torch.bfloat16
).to("cuda")
pipe.load_lora_weights("PNW-GM/z-image-witcher3-velen-lora")
image = pipe(
prompt="aerial cartographic view of a marshland village in the Velen style",
num_inference_steps=50,
guidance_scale=5.0,
).images[0]
image.save("velen.png")
Top-down, slightly oblique aerial views with the Velen palette: ochre and olive ground, dense pine canopies, winding rivers, reedy swamps, and scattered ruined settlements. Best on terrain prompts rather than characters or close-ups.