diff --git a/custom_nodes/z-power-nodes-old/.github/FUNDING.yml b/custom_nodes/z-power-nodes-old/.github/FUNDING.yml deleted file mode 100644 index f07ea1971a96c5fddf11794c95adbd2cd6ba6500..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/.github/FUNDING.yml +++ /dev/null @@ -1,15 +0,0 @@ -# These are supported funding model platforms - -# github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -# patreon: # Replace with a single Patreon username -# open_collective: # Replace with a single Open Collective username -ko_fi: martinrizzo -# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -# liberapay: # Replace with a single Liberapay username -# issuehunt: # Replace with a single IssueHunt username -# lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry -# polar: # Replace with a single Polar username -# buy_me_a_coffee: # Replace with a single Buy Me a Coffee username -# thanks_dev: # Replace with a single thanks.dev username -# custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/custom_nodes/z-power-nodes-old/.github/workflows/publish.yml b/custom_nodes/z-power-nodes-old/.github/workflows/publish.yml deleted file mode 100644 index 9d5d9cf3be3f484b358400b50a9022889857ff36..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/.github/workflows/publish.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Publish Nodes to Comfy registry -on: - workflow_dispatch: - push: - branches: - - main - - master - paths: - - "pyproject.toml" - -permissions: - issues: write - -jobs: - publish-node: - name: Publish Custom Node to registry - runs-on: ubuntu-latest - if: ${{ github.repository_owner == 'martin-rizzo' }} - steps: - - name: Check out code - uses: actions/checkout@v4 - with: - submodules: true - - name: Publish Custom Node - uses: Comfy-Org/publish-node-action@v1 - with: - personal_access_token: ${{ secrets.COMFY_REGISTRY_ACCESS_KEY }} diff --git a/custom_nodes/z-power-nodes-old/.gitignore b/custom_nodes/z-power-nodes-old/.gitignore deleted file mode 100644 index c86853171f8d54501fb4b840d61e2a95c27d9e3c..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/.gitignore +++ /dev/null @@ -1,43 +0,0 @@ - -# OS system files -# -.DS_Store -.profile -Thumbs.db - -# Editors' backup and temporary files -# -*.bak -*.tmp -*.kate-swp - -# IDEs and editors -# -Xcodeproj/ -.xcuserdata/ -.vscode/ -*.sublime-project -*.sublime-workspace - -# Python -# -__pycache__/ -venv/ - -# Node.js -# -node_modules/ - -# Style Galery thumbnail generator -# -/styles/src -/styles/samples_wf/*.png - -# Images generated by the bulkgen script -/scripts/*.png - -# User-specific files and folders -# -*~.* -*~/ - diff --git a/custom_nodes/z-power-nodes-old/LICENSE b/custom_nodes/z-power-nodes-old/LICENSE deleted file mode 100644 index 14bc0b73f32d6cb57bb9b0d78bf2b99d2653d7b2..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024-2025 Martin Rizzo - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/custom_nodes/z-power-nodes-old/README.md b/custom_nodes/z-power-nodes-old/README.md deleted file mode 100644 index a07562b892acaa784dcdbceaa3266592d2b413ad..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/README.md +++ /dev/null @@ -1,148 +0,0 @@ -
- -# Z Power Nodes OLD
Pushing the best image generation model to its limits! -[![Last](https://img.shields.io/badge/CivitAI%3A-Z--Image%3APower%3ANodes-EEE?labelColor=1971C2&logo=c%2B%2B&logoColor=white)](https://civitai.com/models/2322533/z-image-power-nodes) -[![Platform](https://img.shields.io/badge/platform%3A-ComfyUI-007BFF)](#) -[![License](https://img.shields.io/github/license/yourname/z-power-nodes-old?label=license%3A&color=28A745)](#) -[![Version](https://img.shields.io/github/v/tag/yourname/z-power-nodes-old?label=version%3A&color=D07250)](#) -[![Last](https://img.shields.io/github/last-commit/yourname/z-power-nodes-old?label=last%20commit%3A)](#) - - -
- -**Z Power Nodes OLD** is a collection of nodes designed specifically for the [Z-Image / Z-Image Turbo model](https://github.com/Tongyi-MAI/Z-Image). They are based on some ideas and discoveries I made while developing the [Amazing Z-Image Workflow](https://github.com/martin-rizzo/AmazingZImageWorkflow). - -❤️ If you find these nodes useful or they’ve helped you in your projects, please consider supporting my work. -Your support allows me to continue researching and creating new developments within the open source community. -There are several ways to do so: - - **Give the repository a star:** if we reach 500 stars, big things could happen! - - **Ko-fi:** [https://ko-fi.com/martinrizzo](https://ko-fi.com/martinrizzo) - -*Every contribution, no matter how small, is greatly appreciated! Thank you.* - - -## Table of Contents -1. [Nodes](#nodes) -2. [Examples](#examples) -3. [Installation](#installation) -4. [Recommended Checkpoints](#recommended-checkpoints) -5. [License](#license) - -## Nodes - -* __[⚡Z-Sampler Turbo](docs/zsampler_turbo.md)__ -A specialized sampler designed to Z-Image Turbo that achieves sufficient quality to eliminate the need for further post-processing. -* __[⚡Style Prompt Encoder](docs/style_prompt_encoder.md)__ -Applies a selected visual styles to your prompt and encodes both of them using a text-encoder model (clip). -* __[⚡Style String Injector](docs/style_string_injector.md)__ -Seamlessly integrates a chosen style into your prompt text. It accepts a string as input and modifies it based on the selected style. -* __[⚡My Top-10 Styles](docs/my_top_10_styles.md)__ -Allows you to create a list of favorite styles for quick selection of your most used ones. -* __[⚡VAE Encode (for Soft Inpainting)](docs/vae_encode_for_soft_inpainting.md)__ -Encodes images into a latent representation, embedding the mask that indicates where inpainting will be applied. -* __[⚡Save Image](docs/save_image.md)__ -Saves generated images with the option to embed CivitAI-compatible metadata, making it easy to share generation parameters through that platform. -* __[⚡Empty Z-Image Latent Image](docs/empty_zimage_latent_image.md)__ -Creates an empty latent image of the appropriate size for Z-Image, selecting aspect ratio, scale, and orientation. - - -## Examples - -[__/workflows__](/workflows) -This folder contains reference workflows demonstrating the use of the Power Nodes across various tasks. -These are simple yet powerful examples that serve as an excellent resource for understanding how to utilize -each node. - -[__/styles/samples_wf__](/styles/samples_wf) -This folder includes all the workflows used to generate the thumbnail images in the styles gallery. - -[__Z-Image Power Nodes on CivitAI__](https://civitai.com/models/2322533) -This page contains hundreds of images created using the Z-Image model and the Power Nodes. -Images posted by me always include the prompt and complete workflow (*), which you can use as a -starting point for your own generation. Many users share their amazing creations in this community. - -How to extract CivitAI workflow into ComfyUI -(*) On CivitAI, each image includes a sidebar panel with metadata. To easily extract the workflow, -click the "COMFY: N Nodes" button in the Other Metadata section and paste it (CTRL+V) directly into ComfyUI. - - -## Installation -_Ensure you have the latest version of [ComfyUi](https://github.com/comfyanonymous/ComfyUI)._ - -### Installation via ComfyUI Manager (Recommended) - -The easiest way to install the nodes is through [ComfyUI-Manager](https://github.com/Comfy-Org/ComfyUI-Manager): - - 1. Open ComfyUI and click on the "Manager" button to launch the "ComfyUI Manager Menu". - 2. Within the ComfyUI Manager, locate and click on the "Custom Nodes Manager" button. - 3. In the search bar, type "Z Power Nodes OLD". - 4. Select the option from the search results and click the "Install" button. - 5. Restart ComfyUI to ensure the changes take effect. - -### Manual Installation - -
-🛠️ Manual installation instructions. (expand for details) -. - -1. Open your preferred terminal application. -2. Navigate to your ComfyUI directory: - ```bash - cd - ``` -3. Move into the **custom_nodes** folder and clone the repository: - ```bash - cd custom_nodes - git clone https://github.com/yourname/z-power-nodes-old.git - ``` -
- -### Windows Portable Installation - -
-🛠️ Windows portable installation instructions. (expand for details) -. - -1. Go to where you unpacked **ComfyUI_windows_portable**, - you'll find your `run_nvidia_gpu.bat` file here, confirming the correct location. -3. Press **CTRL + SHIFT + RightClick** in an empty space and select "Open PowerShell window here". -4. Clone the repository into your custom nodes folder using: - ``` - git clone https://github.com/yourname/z-power-nodes-old .\ComfyUI\custom_nodes\ComfyUI-ZImagePowerNodes - ``` -
- - -## Recommended Checkpoints - -### GGUF Format - -GGUF checkpoints tend to run slightly slower in ComfyUI. However, if you are building a complex workflow that involves other models or using heavy LLMs with ollama, GGUF files can help prevent system freezes and OOM errors during generation, especially when VRAM is limited. For simple image generation workflows, a safetensors file (though heavier) might be preferable. When working with GGUF in Z-Image, from my experience, using the Q5_K_S quantization typically offers the best balance between file size and prompt response. - -Note: ComfyUI does not natively support GGUF format, so you need to install the [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF) nodes. - - - __[z_image_turbo-Q5_K_S.gguf](https://huggingface.co/jayn7/Z-Image-Turbo-GGUF/blob/main/z_image_turbo-Q5_K_S.gguf)__ [5.19 GB]\ - Local Directory: __`ComfyUI/models/diffusion_models/`__ - - __[Qwen3-4B.i1-Q5_K_S.gguf](https://huggingface.co/mradermacher/Qwen3-4B-i1-GGUF/blob/main/Qwen3-4B.i1-Q5_K_S.gguf)__ [2.82 GB]\ - Local Directory: __`ComfyUI/models/text_encoders/`__ - - __[ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/blob/main/split_files/vae/ae.safetensors)__ [335 MB]\ - Local Directory: __`ComfyUI/models/vae/`__ - -### Safetensors Format - -Safetensors files are generally larger, but ComfyUI includes several built-in optimizations to speed up generation even with limited VRAM. It's always a good idea to test the original safetensors checkpoints on your system to see how they perform. However, using safetensors in fp8 format is strongly discouraged as it can significantly reduce quality. If you have an RTX 50 series GPU based on Blackwell architecture, NVFP4 quantized safetensors could be a better choice. - - - __[z_image_turbo_bf16.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/blob/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors)__ (12.3 GB)\ - Local Directory: __`ComfyUI/models/diffusion_models/`__ - - __[qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/blob/main/split_files/text_encoders/qwen_3_4b.safetensors)__ (8.04 GB)\ - Local Directory: __`ComfyUI/models/text_encoders/`__ - - __[ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/blob/main/split_files/vae/ae.safetensors)__ (335 MB)\ - Local Directory: __`ComfyUI/models/vae/`__ - - -## License - -Copyright (c) 2026 Martin Rizzo -This project is licensed under the MIT license. -See the ["LICENSE"](LICENSE) file for details. - diff --git a/custom_nodes/z-power-nodes-old/__init__.py b/custom_nodes/z-power-nodes-old/__init__.py deleted file mode 100644 index d7c242417e7dc3ea42b023052606edb4819a1796..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/__init__.py +++ /dev/null @@ -1,190 +0,0 @@ -""" -File : __init__.py -Purpose : Register the "Z Power Nodes OLD". -Author : Martin Rizzo | -Date : Jan 16, 2026 -Repo : https://github.com/yourname/z-power-nodes-old -License : MIT -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ZPowerNodesOLD - ComfyUI nodes designed specifically for the "Z-Image" model. - - Copyright (c) 2026 Martin Rizzo - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY - CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE - SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -""" -import os -from comfy_api.latest import ComfyExtension, io -from .nodes.server import * -from .nodes.lib.helpers import get_project_version -from .styles.predefined_styles import number_of_predefined_styles -__PROJECT_EMOJI = "⚡" #< emoji that identifies the project -__PROJECT_MENU = "Z Power Nodes OLD" #< name of the menu where all the nodes will be -__PROJECT_ID = "//ZPowerNodesOLD" #< used to identify the project in the ComfyUI node registry. - - -#================================= LOGGER ==================================# - -# initialize the project logger -from comfy.cli_args import args -from .nodes.lib.system import setup_logger -if os.getenv('ZIMAGE_NODES_DEBUG'): - setup_logger(log_level="DEBUG", emoji=__PROJECT_EMOJI, name="ZI_POWER", use_stdout=args.log_stdout) -else: - setup_logger(log_level=args.verbose, emoji=__PROJECT_EMOJI, name="ZI_POWER", use_stdout=args.log_stdout) - -# import the newly initialized project logger -from .nodes.lib.system import logger - - -#============================ HELPER FUNCTIONS =============================# - -def _register_node(node_class : type, - node_class_list : list[type], - node_subcategory: str, - deprecated : bool | None = None - ): - """ - Registers a node in the given `node_class_list` with appropriate title based on its category and status. - - After registering all the nodes, the `node_class_list` can be sent to comfy - in the function `get_node_list(self)` of a ComfyExtension. - - Args: - node_class : The class of the node to be registered. - node_class_list : List where the node will be appended after registration. - node_subcategory : The subcategory for the node (used for menu grouping). - deprecated (optional): Indicates if the node is deprecated. If not provided, - it's automatically determined based on the subcategory. - """ - - # if `deprecated`` is not provided, it will be automatically - # determined based on the subcategory where it's being registered - if deprecated == None: - deprecated = "deprecated" in node_subcategory.lower() - - # add a '/' to the beginning of node_subcategory if it doesn't already start with one - if node_subcategory and not node_subcategory.startswith("/"): - node_subcategory = "/" + node_subcategory - - class_name = node_class.__name__ - title = node_class.xTITLE - category = f"{__PROJECT_EMOJI}{__PROJECT_MENU}{node_subcategory}" - comfy_node_id = f"{class_name} {__PROJECT_ID}" - - if deprecated: - title = f"❌ OLD | {title} [Deprecated]" - else: - title = f"{__PROJECT_EMOJI}| OLD | {title}" - - node_class.xTITLE = title - node_class.xCATEGORY = category - node_class.xCOMFY_NODE_ID = comfy_node_id - node_class.xDEPRECATED = deprecated - node_class_list.append( node_class ) - - -#======================= COMFY EXTENSION (V3 schema) =======================# - -class ZPowerNodesOLDExtension(ComfyExtension): - - # must be declared as async - async def get_node_list(self) -> list[type[io.ComfyNode]]: - _PROJECT_MENU= "ZiNodes" - nodes = [] - - - #-- ROOT -------------------------------- - subcategory = "" - - from .nodes.empty_zimage_latent_image import EmptyZImageLatentImage - _register_node( EmptyZImageLatentImage, nodes, subcategory ) - - from .nodes.style_prompt_encoder_2 import StylePromptEncoder2 - _register_node( StylePromptEncoder2, nodes, subcategory ) - - from .nodes.style_string_injector_2 import StyleStringInjector2 - _register_node( StyleStringInjector2, nodes, subcategory ) - - from .nodes.zsampler_turbo_1 import ZSamplerTurbo - _register_node( ZSamplerTurbo, nodes, subcategory ) - - from .nodes.zsampler_turbo_1_advanced import ZSamplerTurboAdvanced - _register_node( ZSamplerTurboAdvanced, nodes, subcategory ) - - from .nodes.zsampler_turbo_2 import ZSamplerTurbo2 - _register_node( ZSamplerTurbo2, nodes, subcategory ) - - from .nodes.zsampler_turbo_2_advanced import ZSamplerTurbo2Advanced - _register_node( ZSamplerTurbo2Advanced, nodes, subcategory ) - - from .nodes.zsampler_turbo_2_laboratory import ZSamplerTurbo2Laboratory - _register_node( ZSamplerTurbo2Laboratory, nodes, subcategory ) - - from .nodes.my_top_10_styles import MyTop10Styles - _register_node( MyTop10Styles, nodes, subcategory ) - - from .nodes.my_top_10_styles_editor import MyTop10StylesEditor - _register_node( MyTop10StylesEditor, nodes, subcategory ) - - from .nodes.vae_encode_soft_inpainting import VAEEncodeSoftInpainting - _register_node( VAEEncodeSoftInpainting, nodes, subcategory ) - - from .nodes.save_image import SaveImage - _register_node( SaveImage, nodes, subcategory ) - - - #--[ __deprecated ]---------------------- - subcategory = "__deprecated" - - # this is where nodes that were deprecated and - # maintained only for compatibility go - - from .nodes.deprecated_nodes.photo_style_prompt_encoder import PhotoStylePromptEncoder - _register_node( PhotoStylePromptEncoder, nodes, subcategory ) - - from .nodes.deprecated_nodes.illustration_style_prompt_encoder import IllustrationStylePromptEncoder - _register_node( IllustrationStylePromptEncoder, nodes, subcategory ) - - from .nodes.deprecated_nodes.style_prompt_encoder import StylePromptEncoder - _register_node( StylePromptEncoder, nodes, subcategory ) - - from .nodes.deprecated_nodes.style_string_injector import StyleStringInjector - _register_node( StyleStringInjector, nodes, subcategory ) - - # report version and the number of nodes added by this extension - version = get_project_version() - num_of_deprecated = sum(node_class.xDEPRECATED for node_class in nodes) - num_of_nodes = len(nodes) - num_of_deprecated - and_deprecated = f" and {num_of_deprecated} deprecated ones" if num_of_deprecated>0 else "" - - logger.info(f"Version: {version}") - logger.info(f"This package includes {num_of_nodes} nodes{and_deprecated}.") - logger.info(f"It also features {number_of_predefined_styles()} predefined styles.") - return nodes - - -async def comfy_entrypoint() -> ZPowerNodesOLDExtension: - return ZPowerNodesOLDExtension() - - -WEB_DIRECTORY = "./js" -__all__ = ["WEB_DIRECTORY"] diff --git a/custom_nodes/z-power-nodes-old/__pycache__/__init__.cpython-313.pyc b/custom_nodes/z-power-nodes-old/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 9e70451b7fd77e4cbc2cf192cd3b07d56b15fcbd..0000000000000000000000000000000000000000 Binary files a/custom_nodes/z-power-nodes-old/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/custom_nodes/z-power-nodes-old/banner_readme.jpg b/custom_nodes/z-power-nodes-old/banner_readme.jpg deleted file mode 100644 index 1b6d79877156735549ddeae094f7b595d8d16f2a..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/banner_readme.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:845c3171d30611aa163a80b11f90d572a76ae8380ccc0f1ff0cf583fb3b3c803 -size 177023 diff --git a/custom_nodes/z-power-nodes-old/docs/calibration_examples/illustration.jpg b/custom_nodes/z-power-nodes-old/docs/calibration_examples/illustration.jpg deleted file mode 100644 index 939e7f19b4506715448ba0c8ad00232bf55db513..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/docs/calibration_examples/illustration.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:40e191a14b782d4377815e8e04e8ec7e9e1feb612eccc129d93bbf1c621cc513 -size 111941 diff --git a/custom_nodes/z-power-nodes-old/docs/calibration_examples/illustration.json b/custom_nodes/z-power-nodes-old/docs/calibration_examples/illustration.json deleted file mode 100644 index 6232ca147e0372090679c20c6cd95330d04d2c26..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/docs/calibration_examples/illustration.json +++ /dev/null @@ -1,658 +0,0 @@ -{ - "id": "f14c6566-993e-4413-bd11-9c7f2ca07fd1", - "revision": 0, - "last_node_id": 61, - "last_link_id": 81, - "nodes": [ - { - "id": 8, - "type": "VAEDecode", - "pos": [ - 1426.5001954197278, - 155.66666029751312 - ], - "size": [ - 187.5, - 46 - ], - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 75 - }, - { - "name": "vae", - "type": "VAE", - "link": 25 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 47 - ] - } - ], - "properties": { - "Node name for S&R": "VAEDecode", - "cnr_id": "comfy-core", - "ver": "0.7.0" - }, - "widgets_values": [] - }, - { - "id": 31, - "type": "SaveImage //ZPowerNodesOLD", - "pos": [ - 1629.0000113262572, - 159.27775418691726 - ], - "size": [ - 540, - 870.390625 - ], - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 47 - } - ], - "outputs": [], - "properties": { - "Node name for S&R": "SaveImage //ZPowerNodesOLD" - }, - "widgets_values": [ - "ZImage/%date:yyyy_MM_dd%/ZI", - true - ] - }, - { - "id": 39, - "type": "Reroute", - "pos": [ - 110, - 160 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 79 - } - ], - "outputs": [ - { - "name": "", - "type": "MODEL", - "links": [ - 73 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 20, - "type": "Reroute", - "pos": [ - 1180, - 800 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 24 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 25 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 19, - "type": "Reroute", - "pos": [ - 230, - 800 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 59 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 24 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 32, - "type": "EmptyZImageLatentImage //ZPowerNodesOLD", - "pos": [ - 736.5000260003749, - 25.666678410876642 - ], - "size": [ - 316.92708333333337, - 130 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - 72 - ] - } - ], - "properties": { - "Node name for S&R": "EmptyZImageLatentImage //ZPowerNodesOLD" - }, - "widgets_values": [ - false, - "3:2 (photo)", - "medium (recommended)", - 1 - ] - }, - { - "id": 59, - "type": "UnetLoaderGGUF", - "pos": [ - -310, - 160 - ], - "size": [ - 380, - 90 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 79 - ] - } - ], - "properties": { - "Node name for S&R": "UnetLoaderGGUF", - "cnr_id": "comfyui-gguf", - "aux_id": "city96/ComfyUI-GGUF", - "ver": "1.1.8" - }, - "widgets_values": [ - "z_image_turbo-Q5_K_S.gguf" - ], - "color": "#322", - "bgcolor": "#533", - "shape": 1 - }, - { - "id": 60, - "type": "CLIPLoaderGGUF", - "pos": [ - -310, - 300 - ], - "size": [ - 380, - 100 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 80 - ] - } - ], - "properties": { - "Node name for S&R": "CLIPLoaderGGUF", - "cnr_id": "comfyui-gguf", - "aux_id": "city96/ComfyUI-GGUF", - "ver": "1.1.8" - }, - "widgets_values": [ - "Qwen3-4B.i1-Q5_K_S.gguf", - "lumina2" - ], - "color": "#322", - "bgcolor": "#533", - "shape": 1 - }, - { - "id": 61, - "type": "VAELoader", - "pos": [ - -310, - 450 - ], - "size": [ - 380, - 90 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "VAE", - "type": "VAE", - "links": [ - 81 - ] - } - ], - "properties": { - "Node name for S&R": "VAELoader", - "cnr_id": "comfy-core", - "ver": "0.3.75" - }, - "widgets_values": [ - "ae.safetensors" - ], - "color": "#322", - "bgcolor": "#533", - "shape": 1 - }, - { - "id": 38, - "type": "Reroute", - "pos": [ - 110, - 300 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 80 - } - ], - "outputs": [ - { - "name": "", - "type": "CLIP", - "links": [ - 62 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 40, - "type": "Reroute", - "pos": [ - 110, - 450 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 81 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 59 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 55, - "type": "Note", - "pos": [ - -1200, - 120 - ], - "size": [ - 870, - 550 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [], - "title": "REQUIREMENTS", - "properties": {}, - "widgets_values": [ - "Z-Image Power Nodes\n\n## Workflow Prerequisites ##\n\nThis workflow requires the following custom nodes, which can be obtained via ComfyUI-Manager:\n\n * Z-Image Power Nodes: https://github.com/yourname/z-power-nodes-old\n * ComfyUI-GGUF : https://github.com/city96/ComfyUI-GGUF\n\n Additionally, ensure you have the following 3 models downloaded and placed in their respective\n directories within your ComfyUI installation:\n\n z_image_turbo-Q5_K_S.gguf\n * Download: https://huggingface.co/jayn7/Z-Image-Turbo-GGUF/blob/main/z_image_turbo-Q5_K_S.gguf\n * Local Directory: `ComfyUI/models/diffusion_models/`\n\n Qwen3-4B.i1-Q5_K_S.gguf\n * Download: https://huggingface.co/mradermacher/Qwen3-4B-i1-GGUF/blob/main/Qwen3-4B.i1-Q5_K_S.gguf\n * Local Directory: `ComfyUI/models/text_encoders/`\n\n ae.safetensors\n * Download: https://huggingface.co/Comfy-Org/z_image_turbo/blob/main/split_files/vae/ae.safetensors\n * Local Directory: `Comfyui/models/vae/`\n\n## More Info ##\n\n- https://github.com/yourname/z-power-nodes-old\n- https://civitai.com/models/2322533/z-image-power-nodes\n\nCreated by Martin Rizzo\n GitHub : https://github.com/martin-rizzo\n CivitAI: https://civitai.com/user/Photographer\n Reddit : https://www.reddit.com/user/FotografoVirtual\n" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 43, - "type": "StylePromptEncoder2 //ZPowerNodesOLD", - "pos": [ - 396.5000216648407, - 215.66666596705838 - ], - "size": [ - 670, - 570 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 62 - }, - { - "name": "customization", - "shape": 7, - "type": "STRING", - "link": null - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 74 - ] - }, - { - "name": "STRING", - "type": "STRING", - "links": null - } - ], - "properties": { - "Node name for S&R": "StylePromptEncoder2 //ZPowerNodesOLD" - }, - "widgets_values": [ - "\"Neon Rampage Illustration\"", - null, - null, - "The woman stands against a deep red wall on the left side of the image, casting a pronounced shadow on the wall. She leans against the wall with her arms crossed, maintaining a rigid, upright posture. She is dressed in a black sailor‑style school uniform with crisp white lines, featuring a black belt wrapped snugly around her waist, fastened with a metallic buckle, though it appears slightly loose, allowing a small portion of the uniform’s fabric to peek beneath. Her skirt is a very short, structured miniskirt extending just above her knees, with a subtle slit on the left side revealing a portion of her leg. The skirt has a defined, slightly flared hem with a crisp, clean finish. Her short, straight black hair is neatly styled with straight bangs framing her face, and the rest of her hair is combed back evenly. The hilt of a katana protrudes from behind his shoulder on the left side of his head, held by a wide leather sash that crosses diagonally from her shoulder to encircle her waist. Behind her, to the right of the red wall, there is an open space revealing a single swing set with two wooden swings suspended by chains from a metal frame, positioned on a flat, grassy area. Above this, a stormy sky is visible, filled with dark, heavy clouds and hints of rain or lightning." - ], - "color": "#232", - "bgcolor": "#353", - "shape": 1 - }, - { - "id": 54, - "type": "ZSamplerTurbo //ZPowerNodesOLD", - "pos": [ - 1080, - 160 - ], - "size": [ - 330, - 630 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 73 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 74 - }, - { - "name": "latent_input", - "type": "LATENT", - "link": 72 - } - ], - "outputs": [ - { - "name": "latent_output", - "type": "LATENT", - "links": [ - 75 - ] - } - ], - "properties": { - "Node name for S&R": "ZSamplerTurbo //ZPowerNodesOLD" - }, - "widgets_values": [ - 1, - "fixed", - 9, - 1, - null, - "100%", - false - ] - } - ], - "links": [ - [ - 24, - 19, - 0, - 20, - 0, - "VAE" - ], - [ - 25, - 20, - 0, - 8, - 1, - "VAE" - ], - [ - 47, - 8, - 0, - 31, - 0, - "IMAGE" - ], - [ - 59, - 40, - 0, - 19, - 0, - "VAE" - ], - [ - 62, - 38, - 0, - 43, - 0, - "CLIP" - ], - [ - 72, - 32, - 0, - 54, - 2, - "LATENT" - ], - [ - 73, - 39, - 0, - 54, - 0, - "MODEL" - ], - [ - 74, - 43, - 0, - 54, - 1, - "CONDITIONING" - ], - [ - 75, - 54, - 0, - 8, - 0, - "LATENT" - ], - [ - 79, - 59, - 0, - 39, - 0, - "MODEL" - ], - [ - 80, - 60, - 0, - 38, - 0, - "CLIP" - ], - [ - 81, - 61, - 0, - 40, - 0, - "VAE" - ] - ], - "groups": [ - { - "id": 3, - "title": "GGUF MODELS", - "bounding": [ - -320, - 90, - 400, - 580 - ], - "color": "#b58b2a", - "font_size": 24, - "flags": {} - } - ], - "config": {}, - "extra": { - "ds": { - "scale": 0.7513148009015777, - "offset": [ - -238.30517454307707, - 151.11873470512978 - ] - }, - "frontendVersion": "1.37.11", - "workflowRendererVersion": "LG" - }, - "version": 0.4 -} \ No newline at end of file diff --git a/custom_nodes/z-power-nodes-old/docs/calibration_examples/photo.jpg b/custom_nodes/z-power-nodes-old/docs/calibration_examples/photo.jpg deleted file mode 100644 index e3eaffe4eeba94b6401e26136237e8a1d548b7c1..0000000000000000000000000000000000000000 Binary files a/custom_nodes/z-power-nodes-old/docs/calibration_examples/photo.jpg and /dev/null differ diff --git a/custom_nodes/z-power-nodes-old/docs/calibration_examples/photo.json b/custom_nodes/z-power-nodes-old/docs/calibration_examples/photo.json deleted file mode 100644 index 4f3ad9a8fb7ed23ad0efdaf6823bc715ebf5a114..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/docs/calibration_examples/photo.json +++ /dev/null @@ -1,658 +0,0 @@ -{ - "id": "f14c6566-993e-4413-bd11-9c7f2ca07fd1", - "revision": 0, - "last_node_id": 61, - "last_link_id": 81, - "nodes": [ - { - "id": 8, - "type": "VAEDecode", - "pos": [ - 1426.5001954197278, - 155.66666029751312 - ], - "size": [ - 187.5, - 46 - ], - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 75 - }, - { - "name": "vae", - "type": "VAE", - "link": 25 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 47 - ] - } - ], - "properties": { - "Node name for S&R": "VAEDecode", - "cnr_id": "comfy-core", - "ver": "0.7.0" - }, - "widgets_values": [] - }, - { - "id": 31, - "type": "SaveImage //ZPowerNodesOLD", - "pos": [ - 1629.0000113262572, - 159.27775418691726 - ], - "size": [ - 540, - 870.390625 - ], - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 47 - } - ], - "outputs": [], - "properties": { - "Node name for S&R": "SaveImage //ZPowerNodesOLD" - }, - "widgets_values": [ - "ZImage/%date:yyyy_MM_dd%/ZI", - true - ] - }, - { - "id": 39, - "type": "Reroute", - "pos": [ - 110, - 160 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 79 - } - ], - "outputs": [ - { - "name": "", - "type": "MODEL", - "links": [ - 73 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 20, - "type": "Reroute", - "pos": [ - 1180, - 800 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 24 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 25 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 19, - "type": "Reroute", - "pos": [ - 230, - 800 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 59 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 24 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 32, - "type": "EmptyZImageLatentImage //ZPowerNodesOLD", - "pos": [ - 736.5000260003749, - 25.666678410876642 - ], - "size": [ - 316.92708333333337, - 130 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - 72 - ] - } - ], - "properties": { - "Node name for S&R": "EmptyZImageLatentImage //ZPowerNodesOLD" - }, - "widgets_values": [ - false, - "3:2 (photo)", - "medium (recommended)", - 1 - ] - }, - { - "id": 59, - "type": "UnetLoaderGGUF", - "pos": [ - -310, - 160 - ], - "size": [ - 380, - 90 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 79 - ] - } - ], - "properties": { - "Node name for S&R": "UnetLoaderGGUF", - "cnr_id": "comfyui-gguf", - "aux_id": "city96/ComfyUI-GGUF", - "ver": "1.1.8" - }, - "widgets_values": [ - "z_image_turbo-Q5_K_S.gguf" - ], - "color": "#322", - "bgcolor": "#533", - "shape": 1 - }, - { - "id": 60, - "type": "CLIPLoaderGGUF", - "pos": [ - -310, - 300 - ], - "size": [ - 380, - 100 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 80 - ] - } - ], - "properties": { - "Node name for S&R": "CLIPLoaderGGUF", - "cnr_id": "comfyui-gguf", - "aux_id": "city96/ComfyUI-GGUF", - "ver": "1.1.8" - }, - "widgets_values": [ - "Qwen3-4B.i1-Q5_K_S.gguf", - "lumina2" - ], - "color": "#322", - "bgcolor": "#533", - "shape": 1 - }, - { - "id": 61, - "type": "VAELoader", - "pos": [ - -310, - 450 - ], - "size": [ - 380, - 90 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "VAE", - "type": "VAE", - "links": [ - 81 - ] - } - ], - "properties": { - "Node name for S&R": "VAELoader", - "cnr_id": "comfy-core", - "ver": "0.3.75" - }, - "widgets_values": [ - "ae.safetensors" - ], - "color": "#322", - "bgcolor": "#533", - "shape": 1 - }, - { - "id": 38, - "type": "Reroute", - "pos": [ - 110, - 300 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 80 - } - ], - "outputs": [ - { - "name": "", - "type": "CLIP", - "links": [ - 62 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 40, - "type": "Reroute", - "pos": [ - 110, - 450 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 81 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 59 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 55, - "type": "Note", - "pos": [ - -1200, - 120 - ], - "size": [ - 870, - 550 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [], - "title": "REQUIREMENTS", - "properties": {}, - "widgets_values": [ - "Z-Image Power Nodes\n\n## Workflow Prerequisites ##\n\nThis workflow requires the following custom nodes, which can be obtained via ComfyUI-Manager:\n\n * Z-Image Power Nodes: https://github.com/yourname/z-power-nodes-old\n * ComfyUI-GGUF : https://github.com/city96/ComfyUI-GGUF\n\n Additionally, ensure you have the following 3 models downloaded and placed in their respective\n directories within your ComfyUI installation:\n\n z_image_turbo-Q5_K_S.gguf\n * Download: https://huggingface.co/jayn7/Z-Image-Turbo-GGUF/blob/main/z_image_turbo-Q5_K_S.gguf\n * Local Directory: `ComfyUI/models/diffusion_models/`\n\n Qwen3-4B.i1-Q5_K_S.gguf\n * Download: https://huggingface.co/mradermacher/Qwen3-4B-i1-GGUF/blob/main/Qwen3-4B.i1-Q5_K_S.gguf\n * Local Directory: `ComfyUI/models/text_encoders/`\n\n ae.safetensors\n * Download: https://huggingface.co/Comfy-Org/z_image_turbo/blob/main/split_files/vae/ae.safetensors\n * Local Directory: `Comfyui/models/vae/`\n\n## More Info ##\n\n- https://github.com/yourname/z-power-nodes-old\n- https://civitai.com/models/2322533/z-image-power-nodes\n\nCreated by Martin Rizzo\n GitHub : https://github.com/martin-rizzo\n CivitAI: https://civitai.com/user/Photographer\n Reddit : https://www.reddit.com/user/FotografoVirtual\n" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 43, - "type": "StylePromptEncoder2 //ZPowerNodesOLD", - "pos": [ - 396.5000216648407, - 215.66666596705838 - ], - "size": [ - 670, - 570 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 62 - }, - { - "name": "customization", - "shape": 7, - "type": "STRING", - "link": null - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 74 - ] - }, - { - "name": "STRING", - "type": "STRING", - "links": null - } - ], - "properties": { - "Node name for S&R": "StylePromptEncoder2 //ZPowerNodesOLD" - }, - "widgets_values": [ - "\"Noir Photo\"", - null, - null, - "The woman stands against a deep red wall on the left side of the image, casting a pronounced shadow on the wall. She leans against the wall with her arms crossed, maintaining a rigid, upright posture. She is dressed in a black sailor‑style school uniform with crisp white lines, featuring a black belt wrapped snugly around her waist, fastened with a metallic buckle, though it appears slightly loose, allowing a small portion of the uniform’s fabric to peek beneath. Her skirt is a very short, structured miniskirt extending just above her knees, with a subtle slit on the left side revealing a portion of her leg. The skirt has a defined, slightly flared hem with a crisp, clean finish. Her short, straight black hair is neatly styled with straight bangs framing her face, and the rest of her hair is combed back evenly. The hilt of a katana protrudes from behind his shoulder on the left side of his head, held by a wide leather sash that crosses diagonally from her shoulder to encircle her waist. Behind her, to the right of the red wall, there is an open space revealing a single swing set with two wooden swings suspended by chains from a metal frame, positioned on a flat, grassy area. Above this, a stormy sky is visible, filled with dark, heavy clouds and hints of rain or lightning." - ], - "color": "#232", - "bgcolor": "#353", - "shape": 1 - }, - { - "id": 54, - "type": "ZSamplerTurbo //ZPowerNodesOLD", - "pos": [ - 1080, - 160 - ], - "size": [ - 330, - 630 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 73 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 74 - }, - { - "name": "latent_input", - "type": "LATENT", - "link": 72 - } - ], - "outputs": [ - { - "name": "latent_output", - "type": "LATENT", - "links": [ - 75 - ] - } - ], - "properties": { - "Node name for S&R": "ZSamplerTurbo //ZPowerNodesOLD" - }, - "widgets_values": [ - 2, - "fixed", - 9, - 1, - null, - "100%", - false - ] - } - ], - "links": [ - [ - 24, - 19, - 0, - 20, - 0, - "VAE" - ], - [ - 25, - 20, - 0, - 8, - 1, - "VAE" - ], - [ - 47, - 8, - 0, - 31, - 0, - "IMAGE" - ], - [ - 59, - 40, - 0, - 19, - 0, - "VAE" - ], - [ - 62, - 38, - 0, - 43, - 0, - "CLIP" - ], - [ - 72, - 32, - 0, - 54, - 2, - "LATENT" - ], - [ - 73, - 39, - 0, - 54, - 0, - "MODEL" - ], - [ - 74, - 43, - 0, - 54, - 1, - "CONDITIONING" - ], - [ - 75, - 54, - 0, - 8, - 0, - "LATENT" - ], - [ - 79, - 59, - 0, - 39, - 0, - "MODEL" - ], - [ - 80, - 60, - 0, - 38, - 0, - "CLIP" - ], - [ - 81, - 61, - 0, - 40, - 0, - "VAE" - ] - ], - "groups": [ - { - "id": 3, - "title": "GGUF MODELS", - "bounding": [ - -320, - 90, - 400, - 580 - ], - "color": "#b58b2a", - "font_size": 24, - "flags": {} - } - ], - "config": {}, - "extra": { - "ds": { - "scale": 0.7513148009015777, - "offset": [ - -238.30517454307707, - 151.11873470512978 - ] - }, - "frontendVersion": "1.37.11", - "workflowRendererVersion": "LG" - }, - "version": 0.4 -} \ No newline at end of file diff --git a/custom_nodes/z-power-nodes-old/docs/calibration_examples/stamp.jpg b/custom_nodes/z-power-nodes-old/docs/calibration_examples/stamp.jpg deleted file mode 100644 index 1eebc7fdb7718a354eade540a338013046cf1cca..0000000000000000000000000000000000000000 Binary files a/custom_nodes/z-power-nodes-old/docs/calibration_examples/stamp.jpg and /dev/null differ diff --git a/custom_nodes/z-power-nodes-old/docs/calibration_examples/stamp.json b/custom_nodes/z-power-nodes-old/docs/calibration_examples/stamp.json deleted file mode 100644 index 8935209e3c4e60c0603412976a26eefb1e3fe058..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/docs/calibration_examples/stamp.json +++ /dev/null @@ -1,658 +0,0 @@ -{ - "id": "f14c6566-993e-4413-bd11-9c7f2ca07fd1", - "revision": 0, - "last_node_id": 61, - "last_link_id": 81, - "nodes": [ - { - "id": 8, - "type": "VAEDecode", - "pos": [ - 1426.5001954197278, - 155.66666029751312 - ], - "size": [ - 187.5, - 46 - ], - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "samples", - "type": "LATENT", - "link": 75 - }, - { - "name": "vae", - "type": "VAE", - "link": 25 - } - ], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "slot_index": 0, - "links": [ - 47 - ] - } - ], - "properties": { - "Node name for S&R": "VAEDecode", - "cnr_id": "comfy-core", - "ver": "0.7.0" - }, - "widgets_values": [] - }, - { - "id": 31, - "type": "SaveImage //ZPowerNodesOLD", - "pos": [ - 1629.0000113262572, - 159.27775418691726 - ], - "size": [ - 540, - 870.390625 - ], - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 47 - } - ], - "outputs": [], - "properties": { - "Node name for S&R": "SaveImage //ZPowerNodesOLD" - }, - "widgets_values": [ - "ZImage/%date:yyyy_MM_dd%/ZI", - true - ] - }, - { - "id": 39, - "type": "Reroute", - "pos": [ - 110, - 160 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 79 - } - ], - "outputs": [ - { - "name": "", - "type": "MODEL", - "links": [ - 73 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 20, - "type": "Reroute", - "pos": [ - 1180, - 800 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 24 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 25 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 19, - "type": "Reroute", - "pos": [ - 230, - 800 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 59 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 24 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 32, - "type": "EmptyZImageLatentImage //ZPowerNodesOLD", - "pos": [ - 736.5000260003749, - 25.666678410876642 - ], - "size": [ - 316.92708333333337, - 130 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "LATENT", - "type": "LATENT", - "links": [ - 72 - ] - } - ], - "properties": { - "Node name for S&R": "EmptyZImageLatentImage //ZPowerNodesOLD" - }, - "widgets_values": [ - false, - "3:2 (photo)", - "medium (recommended)", - 1 - ] - }, - { - "id": 59, - "type": "UnetLoaderGGUF", - "pos": [ - -310, - 160 - ], - "size": [ - 380, - 90 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "MODEL", - "type": "MODEL", - "links": [ - 79 - ] - } - ], - "properties": { - "Node name for S&R": "UnetLoaderGGUF", - "cnr_id": "comfyui-gguf", - "aux_id": "city96/ComfyUI-GGUF", - "ver": "1.1.8" - }, - "widgets_values": [ - "z_image_turbo-Q5_K_S.gguf" - ], - "color": "#322", - "bgcolor": "#533", - "shape": 1 - }, - { - "id": 60, - "type": "CLIPLoaderGGUF", - "pos": [ - -310, - 300 - ], - "size": [ - 380, - 100 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "CLIP", - "type": "CLIP", - "links": [ - 80 - ] - } - ], - "properties": { - "Node name for S&R": "CLIPLoaderGGUF", - "cnr_id": "comfyui-gguf", - "aux_id": "city96/ComfyUI-GGUF", - "ver": "1.1.8" - }, - "widgets_values": [ - "Qwen3-4B.i1-Q5_K_S.gguf", - "lumina2" - ], - "color": "#322", - "bgcolor": "#533", - "shape": 1 - }, - { - "id": 61, - "type": "VAELoader", - "pos": [ - -310, - 450 - ], - "size": [ - 380, - 90 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "VAE", - "type": "VAE", - "links": [ - 81 - ] - } - ], - "properties": { - "Node name for S&R": "VAELoader", - "cnr_id": "comfy-core", - "ver": "0.3.75" - }, - "widgets_values": [ - "ae.safetensors" - ], - "color": "#322", - "bgcolor": "#533", - "shape": 1 - }, - { - "id": 38, - "type": "Reroute", - "pos": [ - 110, - 300 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 80 - } - ], - "outputs": [ - { - "name": "", - "type": "CLIP", - "links": [ - 62 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 40, - "type": "Reroute", - "pos": [ - 110, - 450 - ], - "size": [ - 75, - 26 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [ - { - "name": "", - "type": "*", - "link": 81 - } - ], - "outputs": [ - { - "name": "", - "type": "VAE", - "links": [ - 59 - ] - } - ], - "properties": { - "showOutputText": false, - "horizontal": false - } - }, - { - "id": 55, - "type": "Note", - "pos": [ - -1200, - 120 - ], - "size": [ - 870, - 550 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [], - "title": "REQUIREMENTS", - "properties": {}, - "widgets_values": [ - "Z-Image Power Nodes\n\n## Workflow Prerequisites ##\n\nThis workflow requires the following custom nodes, which can be obtained via ComfyUI-Manager:\n\n * Z-Image Power Nodes: https://github.com/yourname/z-power-nodes-old\n * ComfyUI-GGUF : https://github.com/city96/ComfyUI-GGUF\n\n Additionally, ensure you have the following 3 models downloaded and placed in their respective\n directories within your ComfyUI installation:\n\n z_image_turbo-Q5_K_S.gguf\n * Download: https://huggingface.co/jayn7/Z-Image-Turbo-GGUF/blob/main/z_image_turbo-Q5_K_S.gguf\n * Local Directory: `ComfyUI/models/diffusion_models/`\n\n Qwen3-4B.i1-Q5_K_S.gguf\n * Download: https://huggingface.co/mradermacher/Qwen3-4B-i1-GGUF/blob/main/Qwen3-4B.i1-Q5_K_S.gguf\n * Local Directory: `ComfyUI/models/text_encoders/`\n\n ae.safetensors\n * Download: https://huggingface.co/Comfy-Org/z_image_turbo/blob/main/split_files/vae/ae.safetensors\n * Local Directory: `Comfyui/models/vae/`\n\n## More Info ##\n\n- https://github.com/yourname/z-power-nodes-old\n- https://civitai.com/models/2322533/z-image-power-nodes\n\nCreated by Martin Rizzo\n GitHub : https://github.com/martin-rizzo\n CivitAI: https://civitai.com/user/Photographer\n Reddit : https://www.reddit.com/user/FotografoVirtual\n" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 43, - "type": "StylePromptEncoder2 //ZPowerNodesOLD", - "pos": [ - 396.5000216648407, - 215.66666596705838 - ], - "size": [ - 670, - 570 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "CLIP", - "link": 62 - }, - { - "name": "customization", - "shape": 7, - "type": "STRING", - "link": null - } - ], - "outputs": [ - { - "name": "CONDITIONING", - "type": "CONDITIONING", - "links": [ - 74 - ] - }, - { - "name": "STRING", - "type": "STRING", - "links": null - } - ], - "properties": { - "Node name for S&R": "StylePromptEncoder2 //ZPowerNodesOLD" - }, - "widgets_values": [ - "\"Stamp\"", - null, - null, - "The woman stands against a deep red wall on the left side of the image, casting a pronounced shadow on the wall. She leans against the wall with her arms crossed, maintaining a rigid, upright posture. She is dressed in a black sailor‑style school uniform with crisp white lines, featuring a black belt wrapped snugly around her waist, fastened with a metallic buckle, though it appears slightly loose, allowing a small portion of the uniform’s fabric to peek beneath. Her skirt is a very short, structured miniskirt extending just above her knees, with a subtle slit on the left side revealing a portion of her leg. The skirt has a defined, slightly flared hem with a crisp, clean finish. Her short, straight black hair is neatly styled with straight bangs framing her face, and the rest of her hair is combed back evenly. The hilt of a katana protrudes from behind his shoulder on the left side of his head, held by a wide leather sash that crosses diagonally from her shoulder to encircle her waist. Behind her, to the right of the red wall, there is an open space revealing a single swing set with two wooden swings suspended by chains from a metal frame, positioned on a flat, grassy area. Above this, a stormy sky is visible, filled with dark, heavy clouds and hints of rain or lightning." - ], - "color": "#232", - "bgcolor": "#353", - "shape": 1 - }, - { - "id": 54, - "type": "ZSamplerTurbo //ZPowerNodesOLD", - "pos": [ - 1080, - 160 - ], - "size": [ - 330, - 630 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "MODEL", - "link": 73 - }, - { - "name": "positive", - "type": "CONDITIONING", - "link": 74 - }, - { - "name": "latent_input", - "type": "LATENT", - "link": 72 - } - ], - "outputs": [ - { - "name": "latent_output", - "type": "LATENT", - "links": [ - 75 - ] - } - ], - "properties": { - "Node name for S&R": "ZSamplerTurbo //ZPowerNodesOLD" - }, - "widgets_values": [ - 1, - "fixed", - 9, - 1, - null, - "off", - false - ] - } - ], - "links": [ - [ - 24, - 19, - 0, - 20, - 0, - "VAE" - ], - [ - 25, - 20, - 0, - 8, - 1, - "VAE" - ], - [ - 47, - 8, - 0, - 31, - 0, - "IMAGE" - ], - [ - 59, - 40, - 0, - 19, - 0, - "VAE" - ], - [ - 62, - 38, - 0, - 43, - 0, - "CLIP" - ], - [ - 72, - 32, - 0, - 54, - 2, - "LATENT" - ], - [ - 73, - 39, - 0, - 54, - 0, - "MODEL" - ], - [ - 74, - 43, - 0, - 54, - 1, - "CONDITIONING" - ], - [ - 75, - 54, - 0, - 8, - 0, - "LATENT" - ], - [ - 79, - 59, - 0, - 39, - 0, - "MODEL" - ], - [ - 80, - 60, - 0, - 38, - 0, - "CLIP" - ], - [ - 81, - 61, - 0, - 40, - 0, - "VAE" - ] - ], - "groups": [ - { - "id": 3, - "title": "GGUF MODELS", - "bounding": [ - -320, - 90, - 400, - 580 - ], - "color": "#b58b2a", - "font_size": 24, - "flags": {} - } - ], - "config": {}, - "extra": { - "ds": { - "scale": 0.7513148009015777, - "offset": [ - -238.30517454307707, - 151.11873470512978 - ] - }, - "frontendVersion": "1.37.11", - "workflowRendererVersion": "LG" - }, - "version": 0.4 -} \ No newline at end of file diff --git a/custom_nodes/z-power-nodes-old/docs/empty_zimage_latent_image.jpg b/custom_nodes/z-power-nodes-old/docs/empty_zimage_latent_image.jpg deleted file mode 100644 index 232ea9f9c936a2c8cbc1bb776b3e338e6ce3bed6..0000000000000000000000000000000000000000 Binary files a/custom_nodes/z-power-nodes-old/docs/empty_zimage_latent_image.jpg and /dev/null differ diff --git a/custom_nodes/z-power-nodes-old/docs/empty_zimage_latent_image.md b/custom_nodes/z-power-nodes-old/docs/empty_zimage_latent_image.md deleted file mode 100644 index 8d94cd1a8ab1d45aa8868600ae3433dbb384de6c..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/docs/empty_zimage_latent_image.md +++ /dev/null @@ -1,40 +0,0 @@ -# Empty Z-Image Latent Image -![Node](/docs/empty_zimage_latent_image.jpg) - -This node generates an empty latent image specifically formatted for use in Z-Image workflows. It allows users to define key parameters such as orientation, aspect ratio, scale, and batch size, providing a customizable starting point for image generation. - -## Inputs - -### landscape - * __true__: Sets the orientation to landscape (horizontal). - * __false__: Sets the orientation to portrait (vertical). - -### ratio -Determines the desired aspect ratio of the image: - * __1:1 (square)__: Social media posts and profile pictures - * __4:3 (retro tv)__: Legacy television and older computer monitors - * __3:2 (photo)__: DSLR cameras and standard 35mm film - * __16:10 (monitor)__: Common in MacBooks and productivity laptops - * __16:9 (widescreen)__: Current universal standard for video and TV - * __2:1 (univisium)__: Modern streaming series and smartphone screens - * __21:9 (ultrawide)__: Wide cinema format and ultrawide monitors - * __12:5 (anamorphic)__: Standard theatrical widescreen cinema release - * __70:27 (cinerama)__: Extreme panoramic cinema format - * __32:9 (super wide)__: Dual-monitor width for ultra-wide displays - -**Note:** As the aspect ratio becomes more extreme, there is a higher likelihood of visual inconsistencies in the generated image. - -### size -Controls the scale of the latent image: - * __small__: Lower resolution, ideal for quick previews or low-resource operations. - * __medium (recommended)__: Higher visual consistency compared to other sizes. - * __large__: Highest detail level, though may occasionally exhibit slightly reduced coherence. - -### batch_size -The number of identical empty latent images to generate simultaneously. This option is useful for parallel processing tasks or creating multiple image variations at once. - -## Outputs - -### latent -The generated empty latent image ready to be used as the initial canvas in your Z-Image diffusion processes. - diff --git a/custom_nodes/z-power-nodes-old/docs/my_top_10_styles.jpg b/custom_nodes/z-power-nodes-old/docs/my_top_10_styles.jpg deleted file mode 100644 index 5d625b9b6e1bd2171ec5c96d84f7c5f071f374bd..0000000000000000000000000000000000000000 Binary files a/custom_nodes/z-power-nodes-old/docs/my_top_10_styles.jpg and /dev/null differ diff --git a/custom_nodes/z-power-nodes-old/docs/my_top_10_styles.md b/custom_nodes/z-power-nodes-old/docs/my_top_10_styles.md deleted file mode 100644 index 61f314a9122ce170ce4197e9e2a05b8ec650804e..0000000000000000000000000000000000000000 --- a/custom_nodes/z-power-nodes-old/docs/my_top_10_styles.md +++ /dev/null @@ -1,32 +0,0 @@ -# My Top-10 Styles & Editor - - -The "My Top-10 Styles" and "My Top-10 Styles (Editor)" nodes work together to create a list of favorite styles, allowing for quick selection from this list. If you frequently use a couple of specific styles, these nodes enable you to set up a workflow where those styles are just one click away. - -The editor node is straightforward: it lets you specify which style occupies each of the 10 available positions in the list. It must always be connected to the primary "My Top-10 Styles" node via the "top_styles" input. - - -## Inputs - -### input -Optional input that enables concatenation with other "My Top-10 Styles" nodes, expanding the style list beyond 10 entries. - -### top_styles -The list of selected 10 styles, which should always be connected to a "My Top-10 Styles (Editor)" node. - -### \