Qwen-Image-Exp-LoRA
Collection
Illustration Design, Style Intermix โข 6 items โข Updated โข 4
How to use prithivMLmods/Qwen-Image-Synthetic-Face 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-Synthetic-Face")
prompt = "Synthetic Face, a close-up shot of a young mans face features a maroon baseball cap adorned with a leather band. The mans hair is cut short and neatly trimmed. His eyes are a piercing blue, and his eyebrows are a darker shade of brown. He is wearing a gray tank top with a silver chain around his neck, adding a pop of color to his chest. The backdrop is a textured gray wall."
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 | 22 & 2650 |
| Epoch | 20 | Save Every N Epochs | 2 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 26 [HQ Images]
| Source | Link |
|---|---|
| Playground | playground.com |
| ArtStation | artstation.com |
| 4K Wallpapers | 4kwallpapers.com |
| Dimensions | Aspect Ratio | Recommendation |
|---|---|---|
| 1472 x 1140 | 4:3 (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-Synthetic-Face"
trigger_word = "Synthetic Face"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
You should use Synthetic Face to trigger the image generation.
Download them in the Files & versions tab.
Base model
Qwen/Qwen-Image