ComfyUI nodes for experimenting with the capabilities of the TinyBreaker model.
Python
43
349 commits
updated Aug 29, 2025
ComfyUI-TinyBreaker is a collection of custom nodes specifically designed to generate images using the TinyBreaker model. It's actively developed with ongoing improvements. Although still in progress, these nodes are functional and let you experiment with the model and squeeze out all its potential.
You need to have these two models copied into your ComfyUI application:
'ComfyUI/models/checkpoints' folder.'ComfyUI/models/clip' folder (or 'ComfyUI/models/text_encoders').To utilize all features of version v0.3, including the tiny upscaler, you need the 'prototype1' version of TinyBreaker.
Ensure you have the latest version of ComfyUi.
The easiest way to install the nodes is through ComfyUI Manager:
cd <your_comfyui_directory>
cd custom_nodes
git clone https://github.com/martin-rizzo/ComfyUI-TinyBreaker
run_nvidia_gpu.bat file here, confirming the correct location.git clone https://github.com/martin-rizzo/ComfyUI-TinyBreaker .\ComfyUI\custom_nodes\ComfyUI-TinyBreaker
|
The image contains a reference workflow for using and testing the TinyBreaker model. - to load this workflow, simply drag and drop the image into ComfyUI. - other workflows are available in the workflows directory. |
The "Unified Prompt" node allows you to edit both your prompt and parameters within a single text area, accelerating the process of refining the generated image. This even eliminates the need to lift your hands from the keyboard.
When using the Unified Prompt node:
--).| Minor image adjustments | Description |
|---|---|
--no <text> | Specifies elements that should not appear in the image. (negative prompt) |
--refine <text> | Specifies elements that should be refined. |
--cfg-shift <number> | Modifies the value of the Classifier-Free Guidance (CFG) scale. |
--image-shift <number> | Modifies minor image details without altering the overall composition. |
--upscale [on|off] | Enables the application of the upscaling process to the final image. |
| Major image changes | Description |
|---|---|
--seed <number> | random | Defines a number for initializing the noise generator. |
--aspect <ratio> | Specifies the aspect ratio of the image (e.g., 16:9, 4:3). |
--landscape | Forces landscape orientation, (ratio 3:2 by default). |
--portrait | Forces portrait orientation, (ratio 2:3 by default). |
--medium | Generates medium-sized images instead of the default large size. |
| Advanced parameters | Description |
|---|---|
--batch-size <number> | Specifies the number of images to generate in a single batch. |
--detail-level <number> | <level> | Controls the level of detail applied during image refinement. |
--upscale-noise <number> | <level> | Adjusts the extra noise level injected during upscaling. |
<level> = none, minimal, low, normal, high, veryhigh, maximum
--no trees, clouds --refine cats ears --cfg-shift -1 --image_shift +2
--seed random --aspect 16:9 --portrait --medium
--detail-level normal --batch-size 4
For more details on these parameters, see ... [ ! documentation in preparation ! ]
The "Unified Prompt" node includes specialized control keys to streamline parameter editing:
--de'). Pressing CTRL+RIGHT automatically completes the full parameter name (e.g. '--detail-level').--' alone, pressing CTRL+LEFT or CTRL+RIGHT cycles through available parameters, moving backward or forward respectively.--seed 20', pressing CTRL+UP changes it to '--seed 21'.The "Select Style" node allows you to choose an image style. This node injects text into the prompt and adjusts sampler parameters to influence the image generation, refinement, and upscaling process.
These styles are currently in development as I continuously refine them through experimentation with parameter combinations. As a result, they may not always function perfectly or produce results that exactly match the descriptions provided here.
| Style Name | Description |
|---|---|
| PHOTO | Fast photorealistic images with beautiful design. |
| ULTRAPHOTO | Realistic images with exceptional detail and clarity. |
| DARKFAN80 | Dark fantasy images with an 80s cinematic style. |
| LITTLE_TOY | Minimalist images inspired by small toy aesthetics. |
| PAINTING | Evocative, textured artworks in the style of classic paintings. |
| COMIC | Comic art style emphasizing bold lines and expressive figures. |
| PIXEL_ART | Pixel art images with retro, blocky details. |
| COLOR_INK | Vibrant, colorful ink-style drawings. |
| REALISTIC_WAIFU_X | Realistic images where a woman is the main subject. |
| REALISTIC_WAIFU_Y | Realistic images where a woman is the main subject (alternative1). |
| REALISTIC_WAIFU_Z | Realistic images where a woman is the main subject (alternative2). |
| CUSTOM1,... | Reserved for user-defined style. |
A reference workflow for editing and testing custom styles is available in the workflows directory.
The "Tiny Upscaler" node enables upscaling and improving the resolution of images, allowing for the correction of minor imperfections during the process. This node performs upscaling operations quickly while minimizing resource consumption.
Tiny Upscaler utilizes bilinear scaling combined with the embedded refiner in TinyBreaker, a method similar to the "Hires Fix" technique. Additionally, the node incorporates cross-tiling to optimize VRAM usage while almost completely eliminating visible grid artifacts typically generated during the tiling process.
Currently, Tiny Upscaler is experimental and is configured with minimal creativity. It subtly modifies the image to produce a result that looks as though it were originally generated at a higher resolution, while simultaneously attempting to make minimal visual alterations.
The upscaler is available since version v0.3.0 of the nodes and due to the way VEAs are stored, it requires "prototype1" version of TinyBreaker model to function.
The "Save Image" node embeds standard ComfyUI workflow metadata into the generated image. More importantly, it also embeds prompt and parameter data in a format compatible with CivitAI and A1111 platforms.
This enables:
I would like to express my sincere gratitude to the developers of PixArt-Σ for their outstanding model. Their contributions have been instrumental in shaping this project and pushing the boundaries of high-quality image generation with minimal resources.
Additional thanks to Ollin Boer Bohan for the Tiny AutoEncoder models. These models have proven invaluable for their efficient latent image encoding, decoding and transcoding capabilities.
Copyright (c) 2024-2025 Martin Rizzo
This project is licensed under the MIT license.
See the "LICENSE" file for details.
347 commits
2 commits
Python
95.1%
JavaScript
4.9%
ComfyUI nodes for experimenting with the capabilities of the TinyBreaker model.
Python
43
349 commits
updated Aug 29, 2025
ComfyUI-TinyBreaker is a collection of custom nodes specifically designed to generate images using the TinyBreaker model. It's actively developed with ongoing improvements. Although still in progress, these nodes are functional and let you experiment with the model and squeeze out all its potential.
You need to have these two models copied into your ComfyUI application:
'ComfyUI/models/checkpoints' folder.'ComfyUI/models/clip' folder (or 'ComfyUI/models/text_encoders').To utilize all features of version v0.3, including the tiny upscaler, you need the 'prototype1' version of TinyBreaker.
Ensure you have the latest version of ComfyUi.
The easiest way to install the nodes is through ComfyUI Manager:
cd <your_comfyui_directory>
cd custom_nodes
git clone https://github.com/martin-rizzo/ComfyUI-TinyBreaker
run_nvidia_gpu.bat file here, confirming the correct location.git clone https://github.com/martin-rizzo/ComfyUI-TinyBreaker .\ComfyUI\custom_nodes\ComfyUI-TinyBreaker
|
The image contains a reference workflow for using and testing the TinyBreaker model. - to load this workflow, simply drag and drop the image into ComfyUI. - other workflows are available in the workflows directory. |
The "Unified Prompt" node allows you to edit both your prompt and parameters within a single text area, accelerating the process of refining the generated image. This even eliminates the need to lift your hands from the keyboard.
When using the Unified Prompt node:
--).| Minor image adjustments | Description |
|---|---|
--no <text> | Specifies elements that should not appear in the image. (negative prompt) |
--refine <text> | Specifies elements that should be refined. |
--cfg-shift <number> | Modifies the value of the Classifier-Free Guidance (CFG) scale. |
--image-shift <number> | Modifies minor image details without altering the overall composition. |
--upscale [on|off] | Enables the application of the upscaling process to the final image. |
| Major image changes | Description |
|---|---|
--seed <number> | random | Defines a number for initializing the noise generator. |
--aspect <ratio> | Specifies the aspect ratio of the image (e.g., 16:9, 4:3). |
--landscape | Forces landscape orientation, (ratio 3:2 by default). |
--portrait | Forces portrait orientation, (ratio 2:3 by default). |
--medium | Generates medium-sized images instead of the default large size. |
| Advanced parameters | Description |
|---|---|
--batch-size <number> | Specifies the number of images to generate in a single batch. |
--detail-level <number> | <level> | Controls the level of detail applied during image refinement. |
--upscale-noise <number> | <level> | Adjusts the extra noise level injected during upscaling. |
<level> = none, minimal, low, normal, high, veryhigh, maximum
--no trees, clouds --refine cats ears --cfg-shift -1 --image_shift +2
--seed random --aspect 16:9 --portrait --medium
--detail-level normal --batch-size 4
For more details on these parameters, see ... [ ! documentation in preparation ! ]
The "Unified Prompt" node includes specialized control keys to streamline parameter editing:
--de'). Pressing CTRL+RIGHT automatically completes the full parameter name (e.g. '--detail-level').--' alone, pressing CTRL+LEFT or CTRL+RIGHT cycles through available parameters, moving backward or forward respectively.--seed 20', pressing CTRL+UP changes it to '--seed 21'.The "Select Style" node allows you to choose an image style. This node injects text into the prompt and adjusts sampler parameters to influence the image generation, refinement, and upscaling process.
These styles are currently in development as I continuously refine them through experimentation with parameter combinations. As a result, they may not always function perfectly or produce results that exactly match the descriptions provided here.
| Style Name | Description |
|---|---|
| PHOTO | Fast photorealistic images with beautiful design. |
| ULTRAPHOTO | Realistic images with exceptional detail and clarity. |
| DARKFAN80 | Dark fantasy images with an 80s cinematic style. |
| LITTLE_TOY | Minimalist images inspired by small toy aesthetics. |
| PAINTING | Evocative, textured artworks in the style of classic paintings. |
| COMIC | Comic art style emphasizing bold lines and expressive figures. |
| PIXEL_ART | Pixel art images with retro, blocky details. |
| COLOR_INK | Vibrant, colorful ink-style drawings. |
| REALISTIC_WAIFU_X | Realistic images where a woman is the main subject. |
| REALISTIC_WAIFU_Y | Realistic images where a woman is the main subject (alternative1). |
| REALISTIC_WAIFU_Z | Realistic images where a woman is the main subject (alternative2). |
| CUSTOM1,... | Reserved for user-defined style. |
A reference workflow for editing and testing custom styles is available in the workflows directory.
The "Tiny Upscaler" node enables upscaling and improving the resolution of images, allowing for the correction of minor imperfections during the process. This node performs upscaling operations quickly while minimizing resource consumption.
Tiny Upscaler utilizes bilinear scaling combined with the embedded refiner in TinyBreaker, a method similar to the "Hires Fix" technique. Additionally, the node incorporates cross-tiling to optimize VRAM usage while almost completely eliminating visible grid artifacts typically generated during the tiling process.
Currently, Tiny Upscaler is experimental and is configured with minimal creativity. It subtly modifies the image to produce a result that looks as though it were originally generated at a higher resolution, while simultaneously attempting to make minimal visual alterations.
The upscaler is available since version v0.3.0 of the nodes and due to the way VEAs are stored, it requires "prototype1" version of TinyBreaker model to function.
The "Save Image" node embeds standard ComfyUI workflow metadata into the generated image. More importantly, it also embeds prompt and parameter data in a format compatible with CivitAI and A1111 platforms.
This enables:
I would like to express my sincere gratitude to the developers of PixArt-Σ for their outstanding model. Their contributions have been instrumental in shaping this project and pushing the boundaries of high-quality image generation with minimal resources.
Additional thanks to Ollin Boer Bohan for the Tiny AutoEncoder models. These models have proven invaluable for their efficient latent image encoding, decoding and transcoding capabilities.
Copyright (c) 2024-2025 Martin Rizzo
This project is licensed under the MIT license.
See the "LICENSE" file for details.
347 commits
2 commits
Python
95.1%
JavaScript
4.9%