This commit updates the `custom_styles.json` workflow to incorporate
recent modifications in the nodes. This workflow enables users to
configure their own custom styles.
This commit updates the primary example workflow "z-image_turbo_main_workflow"
to incorporate recent enhancements and new functionalities added to the nodes.
This ensures that the workflow remains current and benefits from the latest
improvements.
This commit includes an example workflow for mask inpainting, located in the
'workflows/inpainting_example.json' file. The addition leverages the recent
enhancements to the "Z-Sampler Turbo" node, which now supports mask inpainting
and adjustable denoising levels, providing users with a practical demonstration
of these features.
This commit standardizes parameter and variable names across the
"Z-Sampler Turbo" and "Z-Sampler Turbo (Advanced)" nodes. For example,
in the advanced node, parameters previously named 'offset' are now
consistently referred to as 'bias', ensuring uniformity and clarity
throughout both implementations.
This commit introduces the new "Z-Sampler Turbo (Advanced)" node,
an enhanced version offering improved functionality compared to the
existing sampler. The advanced sampler includes adjustable initial
noise parameters, which may address previous issues of low contrast
and saturation. Although still under testing, preliminary results
indicate significant improvement in performance.
This commit revises three example workflows, originally designed for older
versions, to incorporate the latest nodes that feature style selection through
the style gallery, showcasing the enhanced functionality in practical scenarios.
This commit significantly improves the code quality of the ComfyUI frontend
extension related to the "My Top-10 Styles" listing and editing nodes. Changes
include adding documentation, removing dead code, and moving helper functions
to common.js, resulting in a more maintainable and cleaner codebase.
The node displaying the user's top 10 styles is now named "My Top-10 Styles",
while the node allowing users to edit their preferred styles is titled
"My Top-10 Style Editor". These changes aim to make the functionality more
intuitive and easier for users to understand within ComfyUI's interface.
This commit represents a preliminary success in automatically renaming the
widgets that display each style when the user modifies them through the
configuration node. While full compatibility with Nodes 2.0 has not been
achieved yet, there has been significant progress towards ensuring dynamic
and responsive updates to the UI elements based on user changes.
This commit introduces a preliminary version of the "MyTop10Styles" node
as a placeholder. Currently, it features ten toggle switches to allow users
to select from their top ten preferred styles. Although the functionality is
very limited at this stage, this implementation sets the foundation for
enhancing user experience by enabling quick access to frequently used visual
styles.
This commit updates the primary example workflows for both GGUF and
SafeTensors checkpoints by modifying the sample prompt to be less
specific about colors and styles. This adjustment allows users to
test various styles without being constrained by a fixed set of
attributes, making the examples more versatile and adaptable.
This commit updates the `evaluate_styles.json` workflow, which is used
internally to test new styles. The update incorporates the latest node
structure and includes a revised version of one of the five built-in
test prompts.
This commit revises the README file within the /workflows directory, updating folder and file names to reflect recent changes. It provides a concise overview of primary directories and files, offering brief descriptions to help users navigate the folder.
This commit updates the example workflows located in the `/workflows`
directory while continuing to include their SafeTensors versions in
the existing `/workflows/safetensors_versions` folder.
This commit updates the names of several workflows located in the
`/workflows` directory to be more descriptive. These changes enhance
the clarity and user-friendliness of the published content on CivitAI.
This commit renames the "development" subfolder within the /workflows
directory to "__dev__". The use of underscores aims to clearly indicate
that this folder contains internal workflows for developmental purposes,
distinguishing it from user-facing content.
This commit marks the "Photo-Style Prompt Encoder" and "Illustration-Style Prompt Encoder"
nodes as deprecated. Users are encouraged to utilize the new "Style Prompt Encoder" node
instead, which includes all styles previously available in these two nodes and more.
This commit modifies the internal `style_tester.json` workflow used during
development. The workflow evaluetes a given style by generating four images
with different prompts, all using the same style for testing. An enhancement
is made to allow the last prompt to have two variants, selectable by changing
a node connection. This adjustment facilitates more versatile testing scenarios
during development.
This commit introduces the `style_tester.json` workflow located in the
"/workflows/development" folder. This workflow is designed to facilitate
the testing of different styles by allowing users to input a style and
evaluate it against four distinct prompts simultaneously, generating
four images. It also provides an easy configuration for setting the
number of steps and image size across all four generations uniformly.
This commit modifies the `define_custom_styles` example workflow by including
style names in different cases (lowercase, uppercase, and camelCase) within
the multiline string used for customizing styles.
This demonstration showcases to users that they can use any case when
specifying a style name to be customized, thanks to recent improvements
in case-insensitive handling.
This commit introduces a new example workflow in the `/workflows` directory,
demonstrating how to define custom styles. This addition provides users with
a clear guide on configuring personalized styles to enhance their image
generation processes.
This commit addresses a minor error in the "Save Image" node by ensuring
that "steps", "sampler_name", and "scheduler" parameters are correctly
extracted from nodes marked with ">>C".
Additionally, it reorganizes the main code for parameter extraction and
injection to improve readability and maintainability.
This commit refactors the core functionality of the "Save Image" node to
increase its robustness and ease future expansion. Internal methods that
were previously classmethods within the SaveImage class have been relocated
to a new `node_helpers.py` file, allowing for potential reuse across other
parts of the codebase and improving overall cleanliness.
Additionally, the refactor includes basic console logging to provide users
with simple feedback on the injection process's outcome, such as confirming
successful execution.
This commit introduces the "Style String Injector" node, which takes an
input string (typically a prompt) and generates an output string by injecting
the selected style into the input text.
Additionally, it refactors and generalizes the front-end extension code used
for dynamic category-based style selection, making it reusable across multiple
nodes without duplicating code.
This commit introduces the "Style & Prompt Encoder" node, which allows users
to generate embeddings by combining prompts with visual styles for conditioning
image outputs. Unlike previous nodes that handled specific style types individually,
this new implementation aggregates all available styles into one node. Users can
first select a category (Illustration, Photo, or Other), and upon selection, the
style list dynamically updates to display only relevant styles within that chosen
category.
This feature required a thorough review and recoding of the style-related codebase
to accommodate dynamic selection functionality.
This commit enhances the `README.md` file in the "/workflows" directory by adding brief descriptions of its subfolders, specifically "safetensors_versions" and "development".
This commit enhances the formatting of the `README.md` file located in the "/workflows" directory. The changes ensure that the document is easily readable whether viewed as plain text or formatted Markdown, catering to users who might access it through a .zip package on CivitAI.
This commit reorganizes the `/workflows` directory to improve clarity. The folder
now contains only the workflows that utilize GGUF format checkpoints, while SAFETENSORS
versions of these workflows are relocated to a subdirectory named "safetensors_versions".
Additionally, a "development" subfolder is created for storing workflow files
used during testing and development. The directory's readme file has been
renamed to "README.md" for consistency.
This commit updates the existing example workflows to work with checkpoints
in the SAFETENSORS format, previously configured for GGUF. Additionally, it
includes a README file providing guidance on what is required to run these
workflows successfully.
This commit updates the parameter name from "style_name" to "style_to_apply"
in both the "Photo-Style Prompt Encoder" and "Illustration-Style Prompt Encoder"
nodes. This change aims to enhance clarity and intuitiveness.
This commit updates the project name from "ComfyUI-ZImageNodes" to
"ComfyUI-ZImagePowerNodes". It involves renaming occurrences of the
previous project name across various files and directories to ensure
consistency with the new name.
This commit enhances the "Photo-Style Prompt Encoder" and "Illustration-Style Prompt Encoder"
nodes by introducing a new 'customization' input. Users can now provide an optional multi-line
string to modify existing styles, allowing for greater flexibility in use of styles.
This commit enhances the "Photo-Style Prompt Encoder" and "Illustration-Style Prompt Encoder"
nodes by adding an extra string output in addition to the existing embedding output. The new
string output represents the prompt after applying the respective stylistic modifications,
providing users with a clear textual representation of how styles are integrated into prompts.
This commit introduces two example workflows into the new `/workflows` directory.
These workflows provide users with practical demonstrations of how to utilize the
nodes effectively, serving as valuable starting points and references.