This is a versatile and ever-expanding toolkit for ComfyUI, offering powerful node functionalities such as “Custom Save Image,” “Professional Color Adjustment,” and “Prompt Enhancer.” Its features include precise image saving with support for ICC color profiles (sRGB/Adobe RGB), metadata embedding, advanced image adjustments (exposure, contrast, color temperature, hue, saturation), professional filter previews, dynamic prompt editing, and high-quality Baidu AI translation.
这是一个为 ComfyUI 开发的自定义节点实用工具包,起初只是为了自己用方便,在未来我会陆续为它增加功能。
This is a custom node utility package developed for ComfyUI. Initially created for personal convenience, I will continue adding features in the future.
KayTool/json/strong_prompt.json
Control the nullification of negative prompts with the Flux + K Sampler combination.
Offer preset styles for professional outputs.
Include predefined ID groups and group switches for persistent usage.
Easy-to-edit and import presets for professional prompt enhancement.
Edit Path: KayTool/json/strong_prompt.json
Support translation of two separate texts. Support auto-detection, Simplified/Traditional Chinese, and English. Quick enable/disable of translation. Configure Baidu API Link Automatically save API credentials to avoid repeated input. High-quality AI translation accessible in China.
a
, b
, c
进行数学表达式的计算a + b
a - b
a * b
a / b
a ** b
a % b
a == b
a != b
a < b
a <= b
a > b
a >= b
a and b
a or b
not a
min(a, b)
max(a, b)
round(a)
sum([a, b, c])
(接受列表参数)len([a, b, c])
(接受列表参数)value = "a + b"
value = "max(a, b, c)"
value = "a > b and a < c"
允许通过字符串形式的数学表达式进行复杂运算。用户可以利用提供的变量 (a
, b
, c
) 和一系列操作符以及内置函数构建表达式。
Allow complex calculations by entering mathematical expressions in string form. Use provided variables (a
, b
, c
) along with operators and built-in functions.
Accept any data type input and display converted text for inspection. Return a string output for subsequent processing. Ideal for debugging or checking workflow outputs.
Adjust exposure, contrast, color temperature, hue, and saturation of images within specified ranges.
output/Custom_Save_Image
用于保存图片Select image save format and customize JPG quality. Support two color profiles with automatic conversion for Adobe RGB. Choose whether to save metadata including workflow, author, copyright, and custom prompts. Automatically generate unique filenames and create an output folder. To save as "JPG", set "metadata" to "False". If saving "metadata", format switches to "PNG".
ComfyUI/custom_nodes
目录下,并确保将色彩配置文件放在 resources 目录中Install via ComfyUI Manager by searching for KayTool.
Clone this project into your ComfyUI/custom_nodes
directory, ensuring color profile files are placed in the resources directory.