Skip to content

alessandroperilli/APW_Nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APW Nodes for ComfyUI

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

Nodes

Image Saver v1

This node allows you to save the input image/s in various formats: .png, .jpg/.jpeg, and .webp.

For each supported format, the node allows you to save a string of your preference in the EXIF tag UserComment (tag ID: 0x9286).

The UserComment tag can then be displayed by any image manipulation software supporting EXIF. Here's an example with XnView MP:

EXIF UserComment in XnView MP

If you choose the .png format, the node also allows you to embed the ComfyUI workflow in the extra section of the image metadata.

You can customize the filename with the following variables: %seed%, %date%, and %time%.

Image Saver v1

Credit: This code is based on receyuki's SD Prompt Saver, available here, and willmiao's Save Image (LoraManager), available here. All credit to them.

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.

Image Size (Local Models) v1

Image Size (Local Models) Menu v1

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.

Image Size (Cloud Models) v1

Image Size (Cloud Models) Menu v1

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.

Video Size (Local Models) v1

Video Size (Local Models) Menu v1

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.

Image List Filter v1

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

Installation

Install from ComfyUI Manager:

APW Nodes ComfyUI Manager

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages