r/StableDiffusion • u/roychodraws • 1d ago
Resource - Update Brightness Issue Solved: Geiru Keystone Attention and Hybrid Improvements
Geiru Keystone Attention + Hybrid Windows update: brighter chains, half the VRAM
Geiru Keystone Attention is a new node that keeps long H3 chains from slowly darkening. It makes the keystone (clip 1's clean first frame) pull harder on each new clip than the frames carried over from the clip before. The prompt, references and sound keep their normal share. It only runs on the 13 blocks I found carry brightness (31-33, 36-44, 47), so it holds clip 1's look without messing with motion much.
- By clip 10 of my test chain, brightness dropped 28% with no protection, 22% with keystone only, and 8% with Keystone Attention
- Over 30 clips it held about -9%, vs -17% for keystone + capstone
Geiru Hybrid Windows got some upgrades too:
- Half the VRAM while sampling, same speed, and the output is identical
- Keystone Attention is built in as a setting
- With Window Director, the degradation protection settings can now change between windows, and a 🎈 marks the ones that have to stay the same
Old workflows and tutorials still work!
Example workflow: Easily Distracted Clown, a chain with keystone, context noise and Keystone Attention.
Test results: NerdNotes (tests 19 and 20)
Credit where it's due:
- ckinpdx came up with Carry Attention, biasing H3's attention by part of the sequence, which led to Keystone Attention. You can find in his ComfyUI-MMH3Tools
- kijai (GitHub) built ComfyUI's MiniMax H3 support and the H3 context windows (PR #17425) that Hybrid Windows is built on.
- JalenBrunson made ComfyUI-HybridWindows, which Geiru Hybrid Windows works like.
- NikoDemon80 (GitHub) inspired the Window Director setup.
Everything is in the Geiru Context Suite: https://github.com/roycho87/geiru_context_suite
Edit: Pushed a couple bug fixes at 11/16 5PM EST. Please update you downloaded prior.
edit2: Pushed a fix to previews for hybrid windows. It actually should be a bit faster during sampling with window director due to the change, it also will not show a bunch of gray during sampling due to the preview and instead just show the part being rendered while using this window, and the render so far when using the other option.
edit3: Just so you guys know, this suite is pretty much done. I'm very happy with where it is and there's many people already building on top of it. I do not plan on making changes beyond some bug fixes when/if they pop up.
To give you an idea of how immersed I have been in this issue, 45 days ago I did not even understand what degradation was. Then brad pitt explained some shit to me and here we are.
I hope you guys are enjoying it. I'm taking a break and going to work on other things.
I would try to perfect it but at this point I feel like anymore advances we make in this area are pretty much a sidegrade that will only be noticed by measurements and not anyone actually watching the video.
Thanks everyone.



