ComfyUI Extension

SBL

Utility custom nodes for ComfyUI, including prompt, resolution, math, seed/noise, and model-specific resolution helpers.

By SoftByteLabs·Created 18 days ago·Updated 18 days ago· 0
SoftByteLabs/SBL
Nodes
On cloudLocal install
Stars0
Updated18 days ago
Readme

SBL

SBL is a collection of utility custom nodes for ComfyUI.

Included nodes

Global Prompt (Pos/Neg)

Outputs reusable positive and negative prompt strings.

Global Prompt node

Resolution

Provides resolution presets, aspect-ratio groups, custom dimensions, and multiple-of snapping.

Resolution node

Math Evaluator

Evaluates mathematical expressions and small multi-line math programs with float and integer outputs.

Math Evaluator node

Seed

Outputs a seed and ComfyUI noise object, with a frontend randomize button.

Seed node

Qwen 2512 t2i resolutions

Provides preset image resolutions for Qwen 2512 image generation workflows.

Qwen 2512 resolutions node

ZiT t2i resolutions

Provides preset image resolutions for ZiT image generation workflows.

ZiT resolutions node

Math Scratchpad

Interactive multi-line mathematical scratchpad with variables, functions, loops, comprehensions, and displayed output.

Math Scratchpad node

All nodes appear under the SBL category in ComfyUI.

Installation

ComfyUI Manager

Install SBL through ComfyUI Manager.

Manual installation

Clone the repository into your ComfyUI custom_nodes directory:

git clone https://github.com/SoftByteLabs/SBL

Restart ComfyUI after installation.

Dependencies

SBL has no additional third-party Python dependencies beyond the packages included with ComfyUI.

Math safety

The Math Evaluator and Math Scratchpad use a restricted AST-based interpreter rather than Python exec() or eval().

They support a broad range of mathematical Python-style syntax while blocking arbitrary code execution, unrestricted imports, filesystem access, subprocess execution, object introspection, and other unsafe operations.

License

Copyright © 2026 SoftByteLabs

SBL is free software licensed under the GNU General Public License v3.0 or later.

You may use, study, modify, and redistribute SBL under the terms of the GPL. Redistributed copies and modified versions must preserve the applicable copyright and license notices and remain available under the GPL terms.

See the LICENSE file for the full license text.