Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://huggingface.co/OPPOer/Qwen-Image-Pruning

https://huggingface.co/OPPOer/Qwen-Image-Pruning/tree/main/Qwen-Image-13B-8steps


Code Block
model_name = "OPPOer/Qwen-Image-Pruning"

positive_magic = {"en": ", Ultra HD, 4K, cinematic composition.", # for english prompt,
"zh": ",超清,4K,电影级构图。" # for chinese prompt,
}
    image = pipe(
        width=1328,
        height=1328,
        num_inference_steps=8,
        true_cfg_scale=1,
        generator=torch.Generator(device="cuda").manual_seed(42)
    ).images[0]

...

Test 0 - Different seed variations

Attention guidance

...

1 (true_cfg)

STEP 8, AG 1.1Seed: 1620085323Seed:1931701040Seed:4075624134Seed:2736029172

bookshop girl

Image Added

Image Added

Image Added

Image Added

hand and face

Image Added

Image Added

Image Added

Image Added

legs and shoes

Image Added

Image Added

Image Added

Image Added


Test 1 - Bookshop

Prompt: photorealistic girl in bookshop choosing the book in romantic stories shelf. smiling


681216325010024

AG0

Image Added

Image Added

Image Added

Image Added

Image Added

AG1

Image Added

Image Added

Image Added

Image Added

AG0

AG1


AG1.1






AG1.5






AG2






AG2.5






AG4







Test 2 - Face and hand - different attention guidance

Prompt: Create a close-up photograph of a woman's face and hand, with her hand raised to her chin. She is wearing a white blazer and has a gold ring on her finger. Her nails are neatly manicured and her hair is pulled back into a low bun. She is smiling and has a radiant expression on her face. The background is a plain light gray color. The overall mood of the photo is elegant and sophisticated. The photo should have a soft, natural light and a slight warmth to it. The woman's hair is dark brown and pulled back into a low bun, with a few loose strands framing her face.



681216325024

CFG2

AG0






AG1






AG1.1






AG1.5






AG2






AG2.5






AG4

CFG2

AG 2

CFG2

AG 3

CFG2

AG 4

CFG2

AG 5






Test 3 - Legs

Prompt: Generate a photo of a woman's legs, with her feet crossed and wearing white high-heeled shoes with ribbons tied around her ankles. The shoes should have a pointed toe and a stiletto heel. The woman's legs should be smooth and tanned, with a slight sheen to them. The background should be a light gray color. The photo should be taken from a low angle, looking up at the woman's legs. The ribbons should be tied in a bow shape around the ankles. The shoes should have a red sole. The woman's legs should be slightly bent at the knee.

...

Time: 29m 43.41s | total 1784.61 pipeline 1783.38 te 1.17 | GPU 68698 MB 54% | RAM 3.21 GB 3%



681216243250

CFG2

AG0

AG0






AG1






AG1.1






AG1.5






AG2






AG2.5

CFGx






AG4






Test 4 Some other images

Prompts from: https://civitai.com/user/liutyi/collections

...