Forge / reForge extension that automatically enables ADetailer when you trigger post-process hires fix on a finished image, then disables it once generation completes.
Why
ADetailer runs an inpaint pass on every generation. During prompt iteration this is unnecessary overhead. The standard workflow is to keep ADetailer off, and only enable it for final upscaled renders. This extension automates that toggle.
Behavior
- Click ✨ (hires fix post-process button in txt2img toolbar)
- If ADetailer is disabled → extension enables it and sets an internal flag
- Hires pass runs with ADetailer active
- On generation complete → ADetailer is disabled automatically
- If ADetailer was already enabled by the user → left untouched throughout
Installation
Extensions → Install from URL: https://github.com/KazeKaze93/adetailer-hires-sync.git
Then Apply and restart UI.
Requirements
- SD WebUI Forge or reForge
- ADetailer already installed and configured with your preferred models
Notes
- No Python file — pure frontend JS
- Only tested on reForge (Panchovix build). Haven't had a chance to verify on standard Forge or A1111 — if you try it on a different build, let me know in the comments whether it works.