ComfyUI Extension: ComfyUI-Apt_Preset

Authored by cardenluo

Created

Updated

19 stars

ComfyUI Preset Manager, supporting various preset templates and workflow management

Custom Nodes (0)

    README

    image

    一些资源和工作流放在Some resources and workflows are placed in ComfyUI-Apt_Collect_

    <font color="#000000"> 一、Update record更新记录</font>

    2025.5.3 Update to V 2.0 and add a large number of basic nodes.

    2025.5.17 Now the system supports switching to Chinese.支持系统切换中文

    2025.5.24 增加新的节点 Sum_load_adv比 Sum_load 更好用,免去选择模式,采用自适应 Adding a new node, Sum_load_adv is more user - friendly than Sum_load. It eliminates the need to select a mode and adopts self - adaptation.

    2025.5.31 Sum_load_adv 的Unet支持GGUF模型加载 ;The Unet supports the loading of GGUF models

    <font color="#000000">二、Usage Guide使用指南</font>

    1、预设加载器 Load:Sum_load_adv 组合各种流程需要的模型加载,Unet还支持GGUF模型

    Load the models required for combining various processes,Unet also supports GGUF models

    1)选择模型: checkpoint or Unet 或者 over model

    2)按顺序添加 clip:clip1, clip2, clip3, clip4 ,会根据 clip 的数量自动适应模式,是 flux还是 sd 3.5 等

    3)全部参数的设置都可以自己保存为预设

    1)Select model: checkpoint or Unet or over model.

    2)Add clips in sequence: clip 1, clip 2, clip 3, clip 4. The mode will be automatically adapted according to the number of clips, such as flux or sd 3.5, etc.

    3)All parameter settings can be saved as presets by yourself.

    | <font color="#ff0000">run_Mode</font> | <font color="#ff0000">composition </font> | <font color="#ff0000">Pattern represents </font> | | ------------------------------------- | ----------------------------------------- | ------------------------------------------------ | | ckpt | checkpoint or Unet | XL, sd 1.5 | | clip 1 | clip 1+checkpoint or unet | Wan 2.1、LTX | | clip 2 | clip 1+clip 2 + unet | Flux | | clip 3 | clip 1+clip 2+clip 3 + unet | SD 3.5 | | clip 4 | clip 1+clip 2+clip 3 +clip 4+ unet | Hidream | | over model | replace checkpoint or Unet | nunchaku-flux | | over clip | replace all clip | |

    image

    或者你可以使用 load create_chx 创建一个自定义的加载器,就像下面 Nunchaku一样,也会让工作流变的非常简单 Or you can use load create_chx to create a custom loader. Just like Nunchaku below, it will also make the workflow very simple.

    image

    或者使用具体类型加载器,像load_FLUX,load_basic,load_SD35,

    2、采样器 Sampler:丰富的采样样式Rich sampling styles

    | 名称nodes | 描述 | Description | |---------------------------|-----------|------------------------------| | Basic_Ksampler_simple | 精简参数采样器 | Simplified Parameter Sampler | | Basic_Ksampler_mid | 半参数采样器 | Semi-parametric Sampler | | Basic_Ksampler_full | 完整参数采样器 | Full Parameter Sampler | | Basic_Ksampler_custom | 自定义基础采样 | Custom Base Sampling | | Basic_Ksampler_adv | 高级采样 | Advanced Sampling | | Basic_Ksampler_batch | 调度批次采样器 | Batch Scheduler Sampler | | Chx_Ksampler_refine | 基础放大采样 | Basic Amplified Sampling | | Chx_ksampler_tile | tile 放大采样 | Tile Amplified Sampling | | Chx_Ksampler_mix | 混合采样器 | Hybrid Sampler | | Chx_Ksampler_texture | 纹理采样器 | Texture Sampler | | Chx_Ksampler_dual_paint | 双区重绘 | Dual Zone Redraw | | Chx_Ksampler_dual_area | 双区采样 | Dual Zone Sampling | | Chx_Ksampler_inpaint | 重绘采样器 | Redraw Sampler | | Chx_Ksampler_VisualStyle | 风格一致性采样 | Style Consistency Sampling | | Chx_ksampler_Deforum_math | 数学公式驱动 | Driven by Formulas | | Chx_ksampler_Deforum_sch | 调度数据驱动 | Driven by Scheduling Data |

    集成好的采样器能快速实现常用功能,一般的工作流要实现生成图,修复、放大全流程,需要大量的节点配合,像下面会变的非常简单 The integrated sampler can quickly implement common functions. To achieve the full process of generating images, repairing, and enlarging in a general workflow, a large number of nodes are required. For example, it will become very simple as follows. image

    3、控制器 controller:总控设计 Overall control design 采用sum 汇总控制节点,特别是 stack 集中化控制 Adopt the sum to summarize the control nodes, especially the stack centralized control

    | sum_stack_image | 图像生成控制堆 | | ------------------- | ----------------------- | | sum_stack_AD | 动画生成控制堆 AnimateDiff | | sum_stack_Wan | 视频生成控制堆 Wan 2.1 | | sum_editor | 可以编辑所有的基础参数 | | sum_latent | 各种 latent 接入方式 | | sum_lora | 批量 lora | | sum_controlnet | 批量 controlnet | | sum_text | 功能齐全的文本编辑 |

    image

    4、基础节点 Basic nodes:系统分类,完整规划 System classification, complete planning

    一些节点还在调试中,会不断更新Some of these nodes are still under debugging and will be updated continuously.

    | <font color="#ff0000">mask</font> | <font color="#ff0000">math</font> | <font color="#ff0000">image</font> | <font color="#ff0000">imgEffect</font> | | ------------------------------------- | ------------------------------------- | -------------------------------------- | ------------------------------------------ | | Mask_AD_generate | list_num_range | pad_uv_fill | img_Loadeffect | | Mask_inpaint_Grey | list_cycler_Value | pad_color_fill | img_Upscaletile | | Mask_math | list_input_text | Image_LightShape | img_Remove_bg | | Mask_Detect_label | list_input_Value | Image_Normal_light | img_CircleWarp | | Mask_mulcolor_img | ListGetByIndex | Image_keep_OneColorr | img_Stretch | | Mask_mulcolor_mask | ListSlice | Image_transform | img_WaveWarp | | Mask_Outline | MergeList | Image_cutResize | img_Liquify | | Mask_Smooth | batch_cycler_Prompt | Image_Resize | img_Seam_adjust_size | | Mask_Offset | batch_cycler_Value | Image_scale_adjust | img_texture_Offset | | Mask_cut_mask | batch_cycler_text | image_sumTransform | img_White_balance | | Mask_image2mask | batch_cycler_split_text | Image_overlay | img_HDR | | Mask_mask2mask | batch_cycler_image | Image_overlay_mask | color_adjust | | Mask_mask2img | batch_cycler_mask | Image_overlay_composite | color_Match | | Mask_splitMask | Remap_basic_data | Image_overlay_transform | color_match_adv | | | Remap_mask | Image_overlay_sum | color_input | | | math_BinaryOperation | Image_Extract_Channel | color_color2hex | | | math_BinaryCondition | Image_Apply_Channel | color_hex2color | | | math_UnaryOperation | Image_RemoveAlpha | color_image_Replace | | | math_UnaryCondition | image_selct_batch | color_pure_img | | | math_Exec | Image_scale_match | color_Gradient | | | | | color_RadialGradient |

    | <font color="#ff0000">View_IO</font> | <font color="#ff0000">prompt</font> | <font color="#ff0000">type</font> | <font color="#ff0000">layout</font> | | ------------------------------------ | ----------------------------------- | --------------------------------- | ----------------------------------- | | IO_inputbasic | text_CSV_load | Pack | lay_ImageGrid | | IO_load_anyimage | text_SuperPrompter | Unpack | lay_MaskGrid | | IO_clip_vision | text_mul_replace | creat_mask_batch | lay_match_W_or_H | | IO_clear_cache | text_mul_remove | creat_mask_batch_input | lay_match_W_and_H | | view_Data | text_free_wildcards | creat_image_batch | lay_edge_cut | | view_bridge_image | text_stack_wildcards | creat_image_batch_input | lay_text | | view_bridge_Text | | creat_any_List | | | view_mask | | AnyCast | | | view_LatentAdvanced | | type_Anyswitch | | | view_combo | | type_BasiPIPE | | | view_node_Script | | type_Image_List2Batch | | | view_GetLength | | type_Image_Batch2List | | | view_GetShape | | type_Mask_Batch2List | | | view_GetWidgetsValues | | type_Mask_List2Batch | | | | | type_text_list2batch | | | | | type_text_2_UTF8 | |

    <font color="#000000"> 三 、Installation</font>

    Clone the repository to the custom_nodes directory and install dependencies

    
    #1. git下载
    git clone https://github.com/cardenluo/ComfyUI-Apt_Preset.git
    
    #2. 安装依赖
    双击install.bat安装依赖
    
    

    注意Note:

    要使用AD简化的功能,请先安装 To use the simplified functions of AD, you need to install it first.

    Kosinkadink/ComfyUI-AnimateDiff-Evolved

    要使用功能controlNet schdule控制,请先安装To use the function of controlNet schdule control, please install it first.

    ComfyUI-Advanced-ControlNet

    要加载GGUF模型,请先安装To load the GGUF model, please install it first.

    ComfyUI-GGUF

    <font color="#000000">四、Reference Node Packages参考节点包</font>

    The code of this open-source project has referred to the following code during the development process. We express our sincere gratitude for their contributions in the relevant fields.

    | ComfyUI | ComfyUI_VisualStylePrompting | Comfyroll_CustomNodes | | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | ComfyUI-EasyDeforum   | ComfyUI-Advanced-ControlNet | ComfyUI-Inspire-Pack | | rgthree-comfy | ComfyUI_mittimiLoadPreset2 | ComfyUI-Impact-Pack | | ComfyUI_IPAdapter_plus | ComfyUI-AnimateDiff-Evolved | ComfyUI-Easy-Use | | ComfyUI_essentials | Comfyui__Flux_Style_Adjust | ComfyUI_LayerStyle_ | | ComfyUI-KJNodes | ComfyUI_-Easy_Deforum_ | ComfyUI-AudioScheduler | | ComfyUI-IC-Light | ComfyUI-Inspyrenet-Rembg | ComfyUI-GGUF |

    Disclaimer免责声明

    This open-source project and its contents are provided "AS IS" without any express or implied warranties, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement. 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.

    Users are responsible for ensuring compliance with all applicable laws and regulations in their respective jurisdictions when using this software or publishing content generated by it. The authors and copyright holders are not responsible for any violations of laws or regulations by users in their respective locations.

    关注我,持续分享插件的使用方法,轻松搭建各种工作流

    image