An opinionated interface for SD (Stable Diffusion) image generation, and more.
Links: [Discord]
- A8R8 (Alternate Reality)
- Works with existing Forge, A1111 and ComfyUI SD installations; NO NEED to reinstall yet another SD implementation
- Runs in browser
- Full Controlnet support
- Controlnet mask layers with Forge
- Attention mask layers with Forge & Forge Couple
- Open canvas with unified interface
- Inpainting/Outpainting with masking and scaling
- VRam usage info
- Scaling and hires like built in solution
- Integration with TiledVAE, Tiled Diffusion and Self Attention Guidance
- Integration with Ultimate Scale with A1111 and ComfyUI
- Sketch, mask and Controlnet layers
- Image info support (on import only for now)
- Text editor with auto complete for installed LORAs & embeddings
- Color picker for mask color and brush color
- Edit detection map on canvas
- Copy support for base layer and copy/paste support for CN layers
- Drag and drop images from disk
- On canvas generation live preview
- Initial support for synchronized sessions across tabs/machines connected to the same server
- Potential to add any A1111 extension in the future
Editor autocomplete for LORAs and embeddings
Update - 2024/04/07: Added one-click installer or Windows (WSL2), check installation steps for details.
Update: Added one click installer for Windows install-docker.ps1
, check installation steps for details.
Keep in mind this hasn't been tested, please report any issues here
- Install Forge and/orAutomatic1111 webui and/or ComfyUI if you haven't yet
- Download latest One-Click Installer from latest release
- Unzip the downloaded archive
- Run
.\one-click-installer-wsl.bat
- Set the WSL user name and password if it's your first time using it. Make sure you remember the password you entered
- To start the application open
run-windows-wsl.bat
- Start the SD backend of your choice
- Forge/Automatic1111 webui and make sure to add
--api --listen
toCOMMANDLINE_ARGS
underwebui-user.sh
orwebui-user.bat
depending on the operating system - ComfyUI
- Install A8R8 supporting nodes
- Add
--preview-method auto --listen
to the run command, ex:python main.py --preview-method auto --listen --max-upload-size 500
- Install https://github.com/ssitu/ComfyUI_UltimateSDUpscale
- Install https://github.com/Fannovel16/comfyui_controlnet_aux
- Install https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet
- Install https://github.com/Acly/comfyui-inpaint-nodes and follow steps on to download required models
- Install https://github.com/cubiq/ComfyUI_IPAdapter_plus and follow steps on to download required models
- Forge/Automatic1111 webui and make sure to add
NOTE: To use regional prompting with Forge, make sure to install the Forge Couple extension >= v1.5.0 to your Forge installation
NOTE: You can copy the
example_user.sh
file and rename it touser.sh
to configure tha application.
NOTE: If you're running the stable diffusion backend (Forge / A1111 / ComfyUI) on a remote machine, make sure to set the remote address in
user.sh
and uncomment the URL entries.
NOTE: You can define the default backend selected on startup by setting
DEFAULT_BACKEND
inuser.sh
.
- Install Automatic1111 webui and/or ComfyUI if you haven't yet
- Clone this repo and open a terminal at the root directory
- On Windows you can run
install-docker.ps1
in a powershell window (recommended) or:- Install Docker Compose
- Run
docker compose build
- Start the SD backend of your choice
- Automatic1111 webui and make sure to add
--api --listen
toCOMMANDLINE_ARGS
underwebui-user.sh
orwebui-user.bat
depending on the operating system - ComfyUI
- Install A8R8 supporting nodes
- Add
--preview-method auto --listen
to the run command, ex:python main.py --preview-method auto --listen --max-upload-size 500
- Install https://github.com/ssitu/ComfyUI_UltimateSDUpscale
- Install https://github.com/Fannovel16/comfyui_controlnet_aux
- Install https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet
- Install https://github.com/Acly/comfyui-inpaint-nodes and follow steps on to download required model
- Install https://github.com/cubiq/ComfyUI_IPAdapter_plus and follow steps on to download required model
- Automatic1111 webui and make sure to add
Clone this repo and open a terminal at the root directoryRuninstall.ps1
in a powershell window
- Download latest One-Click Installer from latest release
- Run
xcode-select --install
to install developer tools, and follow the installation prompts - Install Homebrew from https://brew.sh/
- Run
CLONE_REPO=true ./install-mac.sh
(preferably from a terminal window)
Or
- Run
xcode-select --install
to install developer tools, and follow the installation prompts - Install Homebrew from https://brew.sh/
- Clone repo
- Run
./install-mac.sh
within the cloned directory (preferably from a terminal window)
Start the SD backend of your choice
- Automatic1111 webui and make sure to add
--api --listen
toCOMMANDLINE_ARGS
underwebui-user.sh
orwebui-user.bat
depending on the operating system - ComfyUI
- Install A8R8 supporting nodes
- Add
--preview-method auto --listen
to the run command, ex:python main.py --preview-method auto --listen --max-upload-size 500
- Install https://github.com/ssitu/ComfyUI_UltimateSDUpscale
- Install https://github.com/Fannovel16/comfyui_controlnet_aux
- Install https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet
- Install https://github.com/Acly/comfyui-inpaint-nodes and follow steps on to download required model
- Install https://github.com/cubiq/ComfyUI_IPAdapter_plus and follow steps on to download required model
Ubuntu 22.04:
- Download latest One-Click Installer from latest release
- Run
./install-packaged.sh
Or
- Download latest One-Click Installer from latest release
- Run
CLONE_REPO=true ./install.sh
Or
- Clone repo
- Run
./install.sh
Start the SD backend of your choice
- Automatic1111 webui and make sure to add
--api --listen
toCOMMANDLINE_ARGS
underwebui-user.sh
orwebui-user.bat
depending on the operating system - ComfyUI
- Install A8R8 supporting nodes
- Add
--preview-method auto --listen
to the run command, ex:python main.py --preview-method auto --listen --max-upload-size 500
- Install https://github.com/ssitu/ComfyUI_UltimateSDUpscale
- Install https://github.com/Fannovel16/comfyui_controlnet_aux
- Install https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet
- Install https://github.com/Acly/comfyui-inpaint-nodes and follow steps on to download required model
- Install https://github.com/cubiq/ComfyUI_IPAdapter_plus and follow steps on to download required model
NOTE: To use regional prompting with Forge, make sure to install the Forge Couple extension >= v1.5.0 to your Forge installation
- Make sure you followed the installation steps
- Go to the installation folder
- Run
run-windows-wsl.bat
- Run your stable diffusion backend (Forge/A1111/Comfy)
- Open http://localhost:4000 in your browser
NOTE: You might need to change your firewall settings to allow WSL to connect to the host machine correctly. Please open an issue if you're having trouble connecting the application to your backend of choice.
On Windows you can run run-docker.ps1
in a powershell window
Or
Run docker compose up
Point your browser to http://localhost:4000, it's preferred to use a chromium based browser (Brave, Chromium, Chrome)
- Run
run.ps1
in a powershell window
Keep in mind this hasn't been tested, please report any issues here
Update: one of the dependencies doesn't work with Windows at the moment, so it won't run successfully
Run ./run.sh
or ./run-packaged.sh
if you used the package installation
- Run
update-windows-wsl.bat
On Windows you can run install-docker.ps1
in a powershell window
Or
- Run
git pull
- Run
docker compose build
- Run
install.ps1
in a powershell window - Keep in mind this hasn't been tested, please report any issues here
Update: one of the dependencies doesn't work with Windows at the moment, so it won't run successfully
Run ./update.sh
or ./update-packaged.sh
if you used the package installation.
Key/Combo/Action | Fuctionality |
---|---|
- |
zoom out canvas |
+ |
zoom in canvas |
1 |
reset zoom |
Middle Mouse Button click |
pan canvas |
[ with optional CTRL or Shift for fine control |
decrease brush size |
] with optional CTRL or Shift for fine control |
increase brush size |
← → ↑ ↓ arrows + SHIFT |
move selection box and increase movement amount by pressing shift |
s |
toggle selection box and paint modes |
t |
toggle tool between brush and eraser |
p |
toggle brush color selector |
h |
hide mask layer |
c |
clear mask, sketch or controlnet brush strokes of the active layer |
m |
toggle between mask and sketch layers |
CTRL + z |
undo generation image addition, mask paint, sketch paint, or any layer brush stroke |
CTRL + SHIFT + z , CTRL + y |
redo generation image addition, mask paint, sketch paint, or any layer brush stroke |
CTRL + c |
copy image to clipboard within selection box bounds from the base layer |
CTRL + v |
paste image from clipboard at the selection box top left corner position to the base or active controlnet layer. Generation info will be applied if found when pasting to base layer |
CTRL + s |
save image within selection box bounds to disk |
Drop PNG image to canvas |
add image at the selection box top left corner position to the base or active controlnet layer. Generation info will be applied if found when pasting to base layer |
To be added...