Character LoRA for Aamir Khan trained on stabilityai/stable-diffusion-xl-base-1.0 (1024px, 1500 steps, network dim/alpha 16, lr 1e-4, batch 1, Adafactor, sdpa attention) on Kaggle GPU, fully offline and token-free.
Use the trigger token hindi3 in your prompt:
hindi3 Aamir Khan, portrait photo, studio lighting
38 curated images of Aamir Khan, face-verified with OpenCV, captioned with a uniform stub (a photo of hindi3 person). Part of the Hindi Top-10 set; the public training dataset is nekodeus/hindi-top10-v2 (subfolder hindi3/).
Images from the actual training set are included in this repo under samples/:
from diffusers import StableDiffusionXLPipeline
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16
).to("cuda")
pipe.load_lora_weights("Nekodeus/neko-hindi3-sdxl-v1", weight_name="hindi3.safetensors")
image = pipe(f"hindi3 Aamir Khan, portrait photo, studio lighting", width=1024, height=1024).images[0]
Drop hindi3.safetensors into models/loras/, add a LoRA loader node and put hindi3 in the prompt.
| setting | value |
|---|---|
| base | stabilityai/stable-diffusion-xl-base-1.0 |
| resolution | 1024 (bucketed 256-2048) |
| steps | 1500 |
| network dim / alpha | 16 / 16 (UNet only) |
| learning rate | 1e-4 |
| optimizer | Adafactor, batch 1 |
| precision | fp16, gradient checkpointing, sdpa |
| tooling | kohya-ss sdxl_train_network.py |