
Prompt: Bright graffiti reads "QWEN IMAGE" on a brick wall with a stream of glowing snowflakes painted behind the text. Graffiti text done in 2 lines using clearly readable and bold font. Dark grey asphalt on a sidewalk below. Graffiti main colors are lime and mint. Large back-lighted building number sign reads "20B" is at upper left side above the graffiti. Graffiti authors signatures are "Alibaba". Young asian stay close to camera in front of the graffiti at the right. Road sign with text "Attention guidance 4"
Parameters: Steps: 50| Size: 1328x1328| Sampler: Euler FlowMatch| Seed: 2025| CFG scale: 4| CFG true: 4| App: SD.Next| Version: 097b6ab| Pipeline: QwenImagePipeline| Operations: txt2img| Model: Qwen-Image-2512
Time: 24m 10.44s | total 1503.58 pipeline 1450.39 preview 47.38 callback 4.02 te 1.34 vae 0.40 | GPU 64566 MB 51% | RAM 68.15 GB 55%
https://huggingface.co/Qwen/Qwen-Image-2512
model_name = "Qwen/Qwen-Image-2512"
# Generate image
prompt = '''A 20-year-old East Asian girl with delicate, charming features and large, bright brown eyes—expressive and lively, with a cheerful or subtly smiling expression. Her naturally wavy long hair is either loose or tied in twin ponytails. She has fair skin and light makeup accentuating her youthful freshness. She wears a modern, cute dress or relaxed outfit in bright, soft colors—lightweight fabric, minimalist cut. She stands indoors at an anime convention, surrounded by banners, posters, or stalls. Lighting is typical indoor illumination—no staged lighting—and the image resembles a casual iPhone snapshot: unpretentious composition, yet brimming with vivid, fresh, youthful charm.'''
negative_prompt = "低分辨率,低画质,肢体畸形,手指畸形,画面过饱和,蜡像感,人脸无细节,过度光滑,画面具有AI感。构图混乱。文字模糊,扭曲。"
# Generate with different aspect ratios
aspect_ratios = {
"1:1": (1328, 1328),
"16:9": (1664, 928),
"9:16": (928, 1664),
"4:3": (1472, 1104),
"3:4": (1104, 1472),
"3:2": (1584, 1056),
"2:3": (1056, 1584),
}
width, height = aspect_ratios["16:9"]
image = pipe(
prompt=prompt,
negative_prompt=negative_prompt,
width=width,
height=height,
num_inference_steps=50,
true_cfg_scale=4.0,
generator=torch.Generator(device="cuda").manual_seed(42)
).images[0]
|