### LoadConditionFromLoras_EditUtils Source: https://github.com/lrzjason/comfyui-editutils/blob/main/nodes_doc.md A utility node that lists files from the loras directory and loads matching `.ckpt` condition files from the `models/conditions/` directory. It offers a dropdown selection of available lora filenames. ```APIDOC ## LoadConditionFromLoras_EditUtils ### Description Utility node that lists files from the loras directory and loads matching `.ckpt` condition files. ### Inputs - **filename** (string) - Dropdown selection of available lora filenames ### Outputs - **conditioning** (tensor) - The loaded conditioning tensor ### Behavior - Lists files from loras directory as dropdown options - Attempts to load matching `.ckpt` from `models/conditions/` directory - Returns empty list on error as fallback ``` -------------------------------- ### QwenEditOutputExtractor_EditUtils Source: https://github.com/lrzjason/comfyui-editutils/blob/main/nodes_doc.md A helper node designed to extract specific outputs from the custom_output dictionary generated by Qwen-based nodes. It provides access to various components like padding information, conditioning tensors, reference images, and processed prompts. ```APIDOC ## QwenEditOutputExtractor_EditUtils ### Description Helper node to extract specific outputs from the custom_output dictionary produced by Qwen-based nodes. ### Inputs - **custom_output** (dict) - The custom output dictionary from the custom node ### Outputs - **pad_info** (dict) - Padding information dictionary - **full_refs_cond** (tensor) - Conditioning with all reference latents - **main_ref_cond** (tensor) - Conditioning with only the main reference latent - **main_image** (image) - The main reference image - **vae_images** (list[image]) - List of all processed VAE images - **ref_latents** (list[tensor]) - List of all reference latents - **vl_images** (list[image]) - List of all processed VL images - **full_prompt** (string) - The complete prompt with image descriptions - **llama_template** (string) - The applied system prompt template - **no_refs_cond** (tensor) - Conditioning without any reference latents - **mask** (image) - The processed mask used for region of interest ### Behavior - Extracts individual components from the complex output dictionary - Provides access to all intermediate results from the custom node - Enables modular processing of different output components ``` -------------------------------- ### LoadCondition_EditUtils Source: https://github.com/lrzjason/comfyui-editutils/blob/main/nodes_doc.md A utility node that loads a conditioning tensor from a `.ckpt` file. It provides a dropdown selection of available condition files in the designated directory. ```APIDOC ## LoadCondition_EditUtils ### Description Utility node to load a conditioning tensor from a `.ckpt` file. ### Inputs - **filename** (string) - Dropdown selection of available `.ckpt` files in the conditions directory ### Outputs - **conditioning** (tensor) - The loaded conditioning tensor ### Behavior - Loads conditioning from `models/conditions/` directory - Provides dropdown of available files - Returns empty list on error as fallback ``` -------------------------------- ### SaveCondition_EditUtils Source: https://github.com/lrzjason/comfyui-editutils/blob/main/nodes_doc.md A utility node that saves a given conditioning tensor to a `.ckpt` file in the `models/conditions/` directory. It automatically handles filename sanitization and directory creation. ```APIDOC ## SaveCondition_EditUtils ### Description Utility node to save a conditioning tensor to a `.ckpt` file. ### Inputs - **condition** (tensor) - The conditioning tensor to save - **filename** (string) - Output filename (default: "condition_tensor", automatically adds .ckpt extension) ### Outputs - None (output node) ### Behavior - Saves conditioning to `models/conditions/` directory - Creates the directory if it doesn't exist - Sanitizes filename to prevent path traversal ``` -------------------------------- ### LongestEdgeImageProcess_EditUtils Source: https://github.com/lrzjason/comfyui-editutils/blob/main/nodes_doc.md A utility node that processes an image by scaling its longest edge and applying padding, mirroring the logic of EditTextEncode. It allows for customizable scaling, cropping, and padding alignment. ```APIDOC ## LongestEdgeImageProcess_EditUtils ### Description Utility node to process an image with longest edge scaling and padding, using the same logic as EditTextEncode without CLIP/VAE encoding. ### Inputs - **image** (image) - The input image to process - **ref_longest_edge** (int) - Target longest edge size (default: 1024, range: 8-4096) - **ref_crop** (string) - Crop method - "pad", "center", or "disabled" (default: "pad") - **ref_upscale** (string) - Upscale method - "lanczos", "bicubic", or "area" (default: "lanczos") - **vae_unit** (int) - VAE unit size for padding alignment (default: 8, range: 8-64, step: 8) ### Outputs - **processed_image** (image) - The resized and padded image - **pad_info** (dict) - Padding information dictionary (compatible with CropWithPadInfo) - **scale_by** (float) - The scale factor for later use with CropWithPadInfo ### Behavior - Extracts the same longest-edge scaling and padding logic from EditTextEncode - When ref_crop is "pad", pads the image to the nearest vae_unit multiple - When ref_crop is "center" or "disabled", rounds dimensions to nearest vae_unit multiple - Returns pad_info for use with CropWithPadInfo to restore original dimensions ``` -------------------------------- ### Flux2KleinOutputExtractor_EditUtils Source: https://github.com/lrzjason/comfyui-editutils/blob/main/nodes_doc.md A helper node for extracting specific outputs from the custom_output dictionary generated by Flux2Klein-based nodes. It focuses on outputs relevant to Flux2Klein, excluding VL-specific data. ```APIDOC ## Flux2KleinOutputExtractor_EditUtils ### Description Helper node to extract specific outputs from the custom_output dictionary produced by Flux2Klein-based nodes. ### Inputs - **custom_output** (dict) - The custom output dictionary from the custom node ### Outputs - **pad_info** (dict) - Padding information dictionary - **main_image** (image) - The main reference image - **vae_images** (list[image]) - List of all processed VAE images - **ref_latents** (list[tensor]) - List of all reference latents - **full_prompt** (string) - The complete prompt with image descriptions - **llama_template** (string) - The applied system prompt template - **no_refs_cond** (tensor) - Conditioning without any reference latents - **mask** (image) - The processed mask used for region of interest ### Behavior - Extracts individual components from the complex output dictionary - Excludes VL-specific outputs not applicable to Flux2Klein - Provides access to all relevant intermediate results from the custom node ``` -------------------------------- ### ClearRefLatents_EditUtils Source: https://github.com/lrzjason/comfyui-editutils/blob/main/nodes_doc.md A utility node that removes reference latents from a conditioning tensor, preserving other conditioning properties. This is useful for reusing text encodings without image references. ```APIDOC ## ClearRefLatents_EditUtils ### Description Utility node to strip reference latents from a conditioning tensor. ### Inputs - **conditioning** (tensor) - The conditioning tensor with reference latents ### Outputs - **conditioning** (tensor) - The same conditioning with reference latents cleared ### Behavior - Removes all reference latents from the conditioning - Preserves all other conditioning properties - Useful for reusing text encoding without image references ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.