ComfyUI Extension: apw_nodes

Authored by alessandroperilli

Created

Updated

4 stars

A custom node suite to augment the capabilities of the a/AP Workflows for ComfyUI

Custom Nodes (0)

    README

    APW Nodes for ComfyUI

    A custom node suite to augment the capabilities of the AP Workflows for ComfyUI

    Nodes

    Image Size (Local Models) v1

    This node offers a list of preset resolutions for all local image generation models supported by APW for ComfyUI: Black Forest Labs FLUX.1, Stability AI Stable Diffusion 3.5, XL, and 1.5.

    The resolutions are organized by number of megapixels rather than by model as FLUX and SD3.5 are capable of generating both 1MP and 2MP images.

    The user can also set a custom resolution.

    <img width="412" alt="Image Size (Local Models) v1" src="/Images/Local_Image_Size_v1.png" /> <img width="412" alt="Image Size (Local Models) Menu v1" src="/Images/Local_Image_Size_Menu_v1.png" />

    Image Size (Cloud Models) v1

    This node offers a list of preset resolutions for all hosted image generation models supported by APW for ComfyUI: OpenAI GPT-Image-1.

    <img width="412" alt="`Image Size (Cloud Models) v1 `" src="/Images/Cloud_Image_Size_v1.png" /> <img width="412" alt="`Image Size (Cloud Models) Menu v1 `" src="/Images/Cloud_Image_Size_Menu_v1.png" />

    Video Size (Local Models) v1

    This node offers a list of preset resolutions for all local video generation models supported by APW for ComfyUI: WanVideo 2.1, Hunyuan Video, CogVideoX 1.5 and 1.0.

    The user can also set a custom resolution.

    <img width="412" alt="`Video Size (Local Models) v1 `" src="/Images/Local_Video_Size_v1.png" /> <img width="412" alt="`Video Size (Local Models) Menu v1 `" src="/Images/Local_Video_Size_Menu_v1.png" />

    Image List Filter v1

    This node takes an image list as input, filters out images smaller than either width or height, and outputs a new image list without the excluded images.

    If no input image remains after the filtering, the node outputs a new image list with the optional fallback image input.

    <img width="412" alt="Image List Filter v1" src="/Images/Image_List_Filter_v1.png" />

    Notice: This code is based on Kijai's Image Batch Filter, available here. All credit to him.

    Installation

    Install from ComfyUI Manager:

    <img width="1378" alt="APW Nodes ComfyUI Manager" src="https://github.com/user-attachments/assets/0893fccf-3a5e-4726-a6e6-0e32c60d28b8" />

    or clone this repo into the /comfyui/custom_nodes folder.