lllyasviel / lllyasviel/sd-forge-layerdiffuse

Issues with image quality enhancing tags: Always draws background and makes the character semi-transparent

Open
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.1k
Forks
352
PR merge metrics
No merged PRs in 30d

Description

Everything works fine, but when I try to enhance the datails with these tags, a background is always drawn:

((( masterpiece, best quality, ultra-detailed, highres, 8k, cinematic style, (hyperdetailed)))), ((((1girl)))),

Prompt:

((( masterpiece, best quality, ultra-detailed, highres, 8k, cinematic style, (hyperdetailed)))), ((((1girl)))),
girl in dress, high quality

Steps: 30, Sampler: DPM++ 2M Karras, CFG scale: 5, Seed: 3462804341, Size: 1024x1024, Model hash: cf682fe9f7, Model: 1-ANIME_XL_AnimaPencilXL_v200, VAE hash: c2af720eca, VAE: sdxl_vae.safetensors, layerdiffusion_enabled: True, layerdiffusion_method: Only Generate Transparent Image (Attention Injection), layerdiffusion_weight: 1, layerdiffusion_ending_step: 1, layerdiffusion_fg_image: False, layerdiffusion_bg_image: False, layerdiffusion_blend_image: False, layerdiffusion_resize_mode: Crop and Resize, Version: f0.0.17v1.8.0rc-latest-273-gb9705c58
00031-3462804341

00029-3462804341

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the attached prompt, generation settings, model, and LayerDiffusion options, then compare the two linked output images. Trace the LayerDiffusion path used by “Only Generate Transparent Image (Attention Injection)” and verify that the completed behavior preserves transparency without drawing a background or making the character semi-transparent.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.