Qwen-Image-Exp-LoRA
Collection
Illustration Design, Style Intermix โข 6 items โข Updated โข 4
How to use prithivMLmods/Qwen-Image-Anime-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("prithivMLmods/Qwen-Image-Anime-LoRA")
prompt = "Qwen Anime, An animated animated image of a man holding a sword in his right hand. The man is wearing a white collared shirt with a white collar. His left hand is raised in the air with a ring on it. His right hand is bent at the top of the handle of the sword. His eyes are blue and he has short black hair. His hair is cut in a ponytail that is falling to the right side of his head. The background is a vibrant blue color. To the right of the man is a window with a yellow door."
image = pipe(prompt).images[0]


Image Processing Parameters
| Parameter | Value | Parameter | Value |
|---|---|---|---|
| LR Scheduler | constant | Noise Offset | 0.03 |
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
| Network Dim | 64 | Multires Noise Iterations | 10 |
| Network Alpha | 32 | Repeat & Steps | 25 & 3000 |
| Epoch | 20 | Save Every N Epochs | 1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 44 [HQ Images]
| Source | Link |
|---|---|
| Playground | playground.com |
| ArtStation | artstation.com |
| 4K Wallpapers | 4kwallpapers.com |
| Dimensions | Aspect Ratio | Recommendation |
|---|---|---|
| 1664 x 928 | 16:9 (approx.) | Best |
| 1024 x 1024 | 1:1 | Default |
import torch
from diffusers import DiffusionPipeline
base_model = "Qwen/Qwen-Image"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
lora_repo = "prithivMLmods/Qwen-Image-Anime-LoRA"
trigger_word = "Qwen Anime"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
You should use Qwen Anime to trigger the image generation.
Download them in the Files & versions tab.
Base model
Qwen/Qwen-Image