Versions Compared

Key

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

...

Code Block
    # Examples of supported resolutions and aspect ratios for HunyuanImage-2.1:
    # 16:9  -> width=2560, height=1536
    # 4:3   -> width=2304, height=1792
    # 1:1   -> width=2048, height=2048
    # 3:4   -> width=1792, height=2304
    # 9:16  -> width=1536, height=2560

    # Please use one of the above width/height pairs for best results.
    width=2048,
    height=2048,

    numuse_inference_stepsreprompt=50, False,  # Enable prompt enhancement (which may result in higher GPU memory usage)
    guidanceuse_scalerefiner=3.5,
    shift=5,
True,   # Enable refiner model
    # For the distilled model, use 8 steps for faster inference.
    # For the non-distilled model, use 50 steps for better quality.
    num_inference_steps=8 if "distilled" in model_name else 50, 
    guidance_scale=3.25 if "distilled" in model_name else 3.5,
    shift=4 if "distilled" in model_name else 5,
    seed=649151,

1024 vs 2048

10242048

Prompt: A cute, cartoon-style anthropomorphic penguin plush toy with fluffy fur, standing in a painting studio, wearing a red knitted scarf and a red beret with the word “Hunyuan Image” on it, holding a paintbrush with a focused expression as it paints an oil painting of the Mona Lisa, rendered in a photorealistic photographic style. Number 17B is handwritten over the image in the top left corner.

Parameters: Steps: 50| Size: 1024x1024| Seed: 32| CFG scale: 3.5| App: SD.Next| Version: 88ac838| Pipeline: HunyuanImagePipeline| Operations: txt2img| Model: HunyuanImage-2.1-Diffusers

Time: 23m 2.80s | total 1507.64 pipeline 1382.77 callback 117.19 te 6.66 vae 0.99 | GPU 52508 MB 41% | RAM 62.13 GB 50%

Prompt: 

A cute, cartoon-style anthropomorphic penguin plush toy with fluffy fur, standing in a painting studio, wearing a red knitted scarf and a red beret with the word “Hunyuan Image” on it, holding a paintbrush with a focused expression as it paints an oil painting of the Mona Lisa, rendered in a photorealistic photographic style. Number 17B is handwritten over the image in the top left corner.

Parameters: Steps: 50| Size: 2048x2048| Seed: 32| CFG scale: 3.5| App: SD.Next| Version: 88ac838| Pipeline: HunyuanImagePipeline| Operations: txt2img| Model: HunyuanImage-2.1-Diffusers

Time: 66m 58.09s | total 4316.31 pipeline 4017.98 callback 285.59 te 9.64 vae 2.63 move 0.37 | GPU 58322 MB 45% | RAM 70.51 GB 56%

...