mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-05 07:47:25 +00:00
[PR #2677] [CLOSED] Add Aioli Nodes — Ratio Outpaint Calc + BBox Multiple Fix #2683
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#2683
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/2677
Author: @aiolicollective
Created: 3/8/2026
Status: ❌ Closed
Base:
main← Head:add-aioli-nodes📝 Commits (1)
905bfc0add aioli-nodes — Ratio Outpaint Calc + BBox Multiple Fix📊 Changes
1 file changed (+1 additions, -742 deletions)
View changed files
📝
node_db/new/custom-node-list.json(+1 -742)📄 Description
New custom node submission
Repository: https://github.com/aiolicollective/aioli-nodes
Author: aiolicollective
Nodes included
🖼️ Ratio Outpaint Calc
Pads an image to a standard aspect ratio (
none/1:1/4:5/5:4/3:4/4:3/16:9/9:16) and outputs a binary mask ready for VAE Encode (Inpaint). Padding filled with neutral gray (0.5). Integer cross-multiply comparison avoids float errors.📐 BBox Multiple Fix
Inserts after Mask Bounding Box (ComfyUI Essentials). Rounds the crop to a chosen multiple (×8 / ×32 / ×64) and optionally upscales to a target resolution (512 / 768 / 1024 / 1536 / 2048) using Lanczos. Upscale target uses an irreducible ratio so crop and upscale share the exact same ratio — mask alignment and ImageCompositeMasked reconstruction are pixel-perfect. Outputs
orig_width/orig_heightfor the resize-back step after VAE Decode.Dependencies
math(stdlib),torch,Pillow— all already present in ComfyUI. No extra pip installs required.Checklist
pyproject.tomlwith[tool.comfy]sectionNODE_CLASS_MAPPINGSandNODE_DISPLAY_NAME_MAPPINGSexported from__init__.py🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.