[PR #2677] [CLOSED] Add Aioli Nodes — Ratio Outpaint Calc + BBox Multiple Fix #2683

Closed
opened 2026-10-28 21:11:46 +00:00 by bsakaguchi · 0 comments
Owner

📋 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)

  • 905bfc0 add 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_height for the resize-back step after VAE Decode.

Dependencies

math (stdlib), torch, Pillow — all already present in ComfyUI. No extra pip installs required.

Checklist

  • Public GitHub repository
  • pyproject.toml with [tool.comfy] section
  • NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS exported from __init__.py
  • No external pip dependencies beyond what ComfyUI already ships
  • Tested on ComfyUI with Flux / SDXL inpaint + outpaint workflows

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/ComfyUI-Manager/pull/2677 **Author:** [@aiolicollective](https://github.com/aiolicollective) **Created:** 3/8/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-aioli-nodes` --- ### 📝 Commits (1) - [`905bfc0`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/905bfc0858296c89648bea3ef46b535cc899f523) add aioli-nodes — Ratio Outpaint Calc + BBox Multiple Fix ### 📊 Changes **1 file changed** (+1 additions, -742 deletions) <details> <summary>View changed files</summary> 📝 `node_db/new/custom-node-list.json` (+1 -742) </details> ### 📄 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_height` for the resize-back step after VAE Decode. ### Dependencies `math` (stdlib), `torch`, `Pillow` — all already present in ComfyUI. No extra pip installs required. ### Checklist - [x] Public GitHub repository - [x] `pyproject.toml` with `[tool.comfy]` section - [x] `NODE_CLASS_MAPPINGS` and `NODE_DISPLAY_NAME_MAPPINGS` exported from `__init__.py` - [x] No external pip dependencies beyond what ComfyUI already ships - [x] Tested on ComfyUI with Flux / SDXL inpaint + outpaint workflows --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-28 21:11:46 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#2683
No description provided.