Downloads · 30 days
635
3% of all-time downloads
Shakker-Labs/AWPortrait-QW
AWPortrait-QW is a text-to-image model from Shakker-Labs. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
<div class="container" <img src="./images/cover.png" width="1024"/ </div
Downloads · 30 days
635
3% of all-time downloads
All-time downloads
24K
Public
Repo size
474 MB
Likes
39
Public
Click a slice to open those files.
.safetensors472 MB · 99%
From the Hugging Face model README
AWPortrait-QW is based on the Qwen-Image. It's trained using a training set that better reflects Chinese facial features and aesthetics. It covers a wide range of genres, including indoor and outdoor portraits, fashion, and studio portraits, ensuring strong generalization. Compared to the original Qwen-Image, AWPortrait-QW delivers a more detailed and realistic rendering of skin texture.
No trigger words are requireds. LoRA recommends a weight of 1.0.
import torch
from diffusers import QwenImagePipeline
pipe = QwenImagePipeline.from_pretrained("Qwen/Qwen-Image", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Shakker-Labs/AWPortrait-QW", weight_name="AWPortrait-QW_1.0.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")
prompt = "Black and white portrait of an Asian woman with dynamic hair movement,wearing a dark jacket against a light background."
image = pipe(
prompt=prompt,
negative_prompt="blurry, bad faces, bad hands, worst quality, low quality, jpeg artifacts",
width=1328,
height=1328,
num_inference_steps=30,
true_cfg_scale=4.0,
generator=torch.Generator(device="cuda").manual_seed(0),
).images[0]
image.save(f"example.png")
You can also try this model on Liblib AI.
This model is trained by our copyrighted users DynamicWang. We release this model under permissions.