Danish1212/pakistani-truck-art-sdxl-lora
114
Pakistani Truck Art โ SDXL LoRA ๐ต๐ฐ๐จ
A LoRA fine-tune of Stable Diffusion XL that generates images in the vibrant tradition of Pakistani truck art (Phool Patti) โ the hand-painted floral patterns, bold colors, peacocks, and ornamental borders seen on trucks across Pakistan.
Trained on a curated dataset of original truck art photography.
Trigger word
Include `pktruckart style` in your prompt to activate the style. Without the trigger word, the base model behaves normally.
Usage
import torch
from diffusers import StableDiffusionXLPipeline
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16, variant="fp16"
).to("cuda")
pipe.load_lora_weights("Danish1212/pakistani-truck-art-sdxl-lora")
image = pipe(
"pktruckart style, a peacock surrounded by colorful floral patterns",
negative_prompt="two heads, extra limbs, deformed, duplicate",
num_inference_steps=35,
).images[0]
image.save("peacock.png")Recommended settings
- Steps: 30โ40
- Negative prompt:
two heads, extra limbs, deformed, duplicate - Works best on: animals (lions, peacocks, horses), portraits, decorative objects
Training details
- Base model: SDXL 1.0 | Method: LoRA (rank 16) | Resolution: 768
- trained on Colab
Examples
prompts : "pktruckart style, a portrait of a lion with floral decorations",
Created by Danish โ feedback and examples welcome!
