mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-04-20 23:32:43 +08:00
UI improvement
This commit is contained in:
parent
e71e68e298
commit
149b015810
@ -150,6 +150,7 @@ In `ComfyUI-Manager` V3.0 and later, configuration files and dynamically generat
|
||||
* Configurable channel lists: `<USER_DIRECTORY>/default/ComfyUI-Manager/channels.ini`
|
||||
* Configurable pip overrides: `<USER_DIRECTORY>/default/ComfyUI-Manager/pip_overrides.json`
|
||||
* Configurable pip blacklist: `<USER_DIRECTORY>/default/ComfyUI-Manager/pip_blacklist.list`
|
||||
* Configurable pip auto fix: `<USER_DIRECTORY>/default/ComfyUI-Manager/pip_auto_fix.list`
|
||||
* Saved snapshot files: `<USER_DIRECTORY>/default/ComfyUI-Manager/snapshots`
|
||||
* Startup script files: `<USER_DIRECTORY>/default/ComfyUI-Manager/startup-scripts`
|
||||
* Component files: `<USER_DIRECTORY>/default/ComfyUI-Manager/components`
|
||||
@ -306,6 +307,10 @@ The following settings are applied based on the section marked as `is_default`.
|
||||
* Prevent the installation of specific pip packages
|
||||
* List the package names one per line in the `pip_blacklist.list` file.
|
||||
|
||||
* Automatically Restoring pip Installation
|
||||
* If you list pip spec requirements in `pip_auto_fix.list`, similar to `requirements.txt`, it will automatically restore the specified versions when starting ComfyUI or when versions get mismatched during various custom node installations.
|
||||
* `--index-url` can be used.
|
||||
|
||||
* Use `aria2` as downloader
|
||||
* [howto](docs/en/use_aria2.md)
|
||||
|
||||
|
||||
41
cm-cli.py
41
cm-cli.py
@ -61,13 +61,17 @@ if os.path.exists(os.path.join(manager_util.comfyui_manager_path, "pip_blacklist
|
||||
|
||||
|
||||
def check_comfyui_hash():
|
||||
repo = git.Repo(comfy_path)
|
||||
core.comfy_ui_revision = len(list(repo.iter_commits('HEAD')))
|
||||
try:
|
||||
repo = git.Repo(comfy_path)
|
||||
core.comfy_ui_revision = len(list(repo.iter_commits('HEAD')))
|
||||
core.comfy_ui_commit_datetime = repo.head.commit.committed_datetime
|
||||
except:
|
||||
print('[bold yellow]INFO: Frozen ComfyUI mode.[/bold yellow]')
|
||||
core.comfy_ui_revision = 0
|
||||
core.comfy_ui_commit_datetime = 0
|
||||
|
||||
cm_global.variables['comfyui.revision'] = core.comfy_ui_revision
|
||||
|
||||
core.comfy_ui_commit_datetime = repo.head.commit.committed_datetime
|
||||
|
||||
|
||||
check_comfyui_hash() # This is a preparation step for manager_core
|
||||
core.check_invalid_nodes()
|
||||
@ -250,7 +254,7 @@ def fix_node(node_spec_str, is_all=False, cnt_msg=''):
|
||||
res = unified_manager.unified_fix(node_name, version_spec, no_deps=cmd_ctx.no_deps)
|
||||
|
||||
if not res.result:
|
||||
print(f"ERROR: f{res.msg}")
|
||||
print(f"[bold red]ERROR: f{res.msg}[/bold red]")
|
||||
|
||||
|
||||
def uninstall_node(node_spec_str: str, is_all: bool = False, cnt_msg: str = ''):
|
||||
@ -643,7 +647,7 @@ def install(
|
||||
cmd_ctx.set_channel_mode(channel, mode)
|
||||
cmd_ctx.set_no_deps(no_deps)
|
||||
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, core.manager_files_path)
|
||||
for_each_nodes(nodes, act=install_node)
|
||||
pip_fixer.fix_broken()
|
||||
|
||||
@ -681,7 +685,7 @@ def reinstall(
|
||||
cmd_ctx.set_channel_mode(channel, mode)
|
||||
cmd_ctx.set_no_deps(no_deps)
|
||||
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, core.manager_files_path)
|
||||
for_each_nodes(nodes, act=reinstall_node)
|
||||
pip_fixer.fix_broken()
|
||||
|
||||
@ -707,7 +711,7 @@ def uninstall(
|
||||
for_each_nodes(nodes, act=uninstall_node)
|
||||
|
||||
|
||||
@app.command(help="Disable custom nodes")
|
||||
@app.command(help="Update custom nodes")
|
||||
def update(
|
||||
nodes: List[str] = typer.Argument(
|
||||
...,
|
||||
@ -735,7 +739,7 @@ def update(
|
||||
if 'all' in nodes:
|
||||
asyncio.run(auto_save_snapshot())
|
||||
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, core.manager_files_path)
|
||||
|
||||
for x in nodes:
|
||||
if x.lower() in ['comfyui', 'comfy', 'all']:
|
||||
@ -836,7 +840,7 @@ def fix(
|
||||
if 'all' in nodes:
|
||||
asyncio.run(auto_save_snapshot())
|
||||
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, core.manager_files_path)
|
||||
for_each_nodes(nodes, fix_node, allow_all=True)
|
||||
pip_fixer.fix_broken()
|
||||
|
||||
@ -1043,13 +1047,17 @@ def save_snapshot(
|
||||
):
|
||||
cmd_ctx.set_user_directory(user_directory)
|
||||
|
||||
if output is None:
|
||||
print("[bold red]ERROR: missing output path[/bold red]")
|
||||
raise typer.Exit(code=1)
|
||||
|
||||
if(not output.endswith('.json') and not output.endswith('.yaml')):
|
||||
print("ERROR: output path should be either '.json' or '.yaml' file.")
|
||||
print("[bold red]ERROR: output path should be either '.json' or '.yaml' file.[/bold red]")
|
||||
raise typer.Exit(code=1)
|
||||
|
||||
dir_path = os.path.dirname(output)
|
||||
if(dir_path != '' and not os.path.exists(dir_path)):
|
||||
print(f"ERROR: {output} path not exists.")
|
||||
print(f"[bold red]ERROR: {output} path not exists.[/bold red]")
|
||||
raise typer.Exit(code=1)
|
||||
|
||||
path = asyncio.run(core.save_snapshot_with_postfix('snapshot', output, not full_snapshot))
|
||||
@ -1111,7 +1119,7 @@ def restore_snapshot(
|
||||
print(f"[bold red]ERROR: `{snapshot_path}` is not exists.[/bold red]")
|
||||
exit(1)
|
||||
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, core.manager_files_path)
|
||||
try:
|
||||
asyncio.run(core.restore_snapshot(snapshot_path, extras))
|
||||
except Exception:
|
||||
@ -1143,7 +1151,7 @@ def restore_dependencies(
|
||||
total = len(node_paths)
|
||||
i = 1
|
||||
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, core.manager_files_path)
|
||||
for x in node_paths:
|
||||
print("----------------------------------------------------------------------------------------------------")
|
||||
print(f"Restoring [{i}/{total}]: {x}")
|
||||
@ -1162,7 +1170,7 @@ def post_install(
|
||||
):
|
||||
path = os.path.expanduser(path)
|
||||
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, core.manager_files_path)
|
||||
unified_manager.execute_install_script('', path, instant_execution=True)
|
||||
pip_fixer.fix_broken()
|
||||
|
||||
@ -1206,8 +1214,7 @@ def install_deps(
|
||||
print(f"[bold red]Invalid json file: {deps}[/bold red]")
|
||||
exit(1)
|
||||
|
||||
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, core.manager_files_path)
|
||||
for k in json_obj['custom_nodes'].keys():
|
||||
state = core.simple_check_custom_node(k)
|
||||
if state == 'installed':
|
||||
|
||||
@ -3575,6 +3575,16 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "Unofficial implementation of [a/deepseek-ai/Janus](https://github.com/deepseek-ai/Janus) in ComfyUI."
|
||||
},
|
||||
{
|
||||
"author": "chflame163",
|
||||
"title": "ComfyUI_CogView4_Wrapper",
|
||||
"reference": "https://github.com/chflame163/ComfyUI_CogView4_Wrapper",
|
||||
"files": [
|
||||
"https://github.com/chflame163/ComfyUI_CogView4_Wrapper"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "The unofficial implementation of CogView4 project in ComfyUI."
|
||||
},
|
||||
{
|
||||
"author": "drustan-hawk",
|
||||
"title": "primitive-types",
|
||||
@ -7214,14 +7224,25 @@
|
||||
},
|
||||
{
|
||||
"author": "nosiu",
|
||||
"title": "ComfyUI InstantID Faceswapper",
|
||||
"id": "instantid-faceswapper",
|
||||
"title": "comfyui-instantId-faceswap",
|
||||
"id": "comfyui-instantid-faceswap",
|
||||
"reference": "https://github.com/nosiu/comfyui-instantId-faceswap",
|
||||
"files": [
|
||||
"https://github.com/nosiu/comfyui-instantId-faceswap"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Implementation of [a/faceswap](https://github.com/nosiu/InstantID-faceswap/tree/main) based on [a/InstantID](https://github.com/InstantID/InstantID) for ComfyUI. Allows usage of [a/LCM Lora](https://huggingface.co/latent-consistency/lcm-lora-sdxl) which can produce good results in only a few generation steps.\nNOTE:Works ONLY with SDXL checkpoints."
|
||||
"description": "Implementation of [a/faceswap](https://github.com/nosiu/InstantID-faceswap/tree/main) based on [a/InstantID](https://github.com/InstantID/InstantID) for ComfyUI."
|
||||
},
|
||||
{
|
||||
"author": "nosiu",
|
||||
"title": "comfyui-text-randomizer",
|
||||
"id": "comfyui-text-randomizer",
|
||||
"reference": "https://github.com/nosiu/comfyui-text-randomizer",
|
||||
"files": [
|
||||
"https://github.com/nosiu/comfyui-text-randomizer"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A simple text randomizer for ComfyUI that can generate random and surprising results"
|
||||
},
|
||||
{
|
||||
"author": "LyazS",
|
||||
@ -7306,13 +7327,13 @@
|
||||
},
|
||||
{
|
||||
"author": "dfl",
|
||||
"title": "CLIP with BREAK syntax",
|
||||
"title": "comfyui-clip-with-break",
|
||||
"reference": "https://github.com/dfl/comfyui-clip-with-break",
|
||||
"files": [
|
||||
"https://github.com/dfl/comfyui-clip-with-break"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Clip text encoder with BREAK formatting like A1111 (uses conditioning concat)"
|
||||
"description": "CLIP text encoder with BREAK formatting like A1111 (uses chained ComfyUI conditioning concat)."
|
||||
},
|
||||
{
|
||||
"author": "dfl",
|
||||
@ -7787,6 +7808,16 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI-EdgeTTS is a powerful text-to-speech node for ComfyUI, leveraging Microsoft's Edge TTS capabilities. It enables seamless conversion of text into natural-sounding speech, supporting multiple languages and voices. Ideal for enhancing user interactions, this node is easy to integrate and customize, making it perfect for various applications."
|
||||
},
|
||||
{
|
||||
"author": "1038lab",
|
||||
"title": "ComfyUI-Pollinations",
|
||||
"reference": "https://github.com/1038lab/ComfyUI-Pollinations",
|
||||
"files": [
|
||||
"https://github.com/1038lab/ComfyUI-Pollinations"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI integration for Pollinations API - Generate images and text based on user prompts"
|
||||
},
|
||||
{
|
||||
"author": "Klinter",
|
||||
"title": "Klinter_nodes",
|
||||
@ -8000,16 +8031,6 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI nodes to edit videos using Genmo Mochi"
|
||||
},
|
||||
{
|
||||
"author": "logtd",
|
||||
"title": "ComfyUI-LTXTricks",
|
||||
"reference": "https://github.com/logtd/ComfyUI-LTXTricks",
|
||||
"files": [
|
||||
"https://github.com/logtd/ComfyUI-LTXTricks"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A set of nodes that provide additional controls for the LTX Video model"
|
||||
},
|
||||
{
|
||||
"author": "Big-Idea-Technology",
|
||||
"title": "ComfyUI-Book-Tools Nodes for ComfyUI",
|
||||
@ -11396,7 +11417,7 @@
|
||||
"id": "Comfyui-LoopLoader",
|
||||
"reference": "https://github.com/alessandrozonta/Comfyui-LoopLoader",
|
||||
"files": [
|
||||
"hhttps://github.com/alessandrozonta/Comfyui-LoopLoader"
|
||||
"https://github.com/alessandrozonta/Comfyui-LoopLoader"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A ComfyUI custom node for loading images sequentially from a directory. Loops back to the first image when reaching the end"
|
||||
@ -14435,6 +14456,16 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "GeekyRemB is a powerful and versatile image processing node for ComfyUI, designed to remove backgrounds from images with advanced customization options. This node leverages the rembg library and offers a wide range of features for fine-tuning the background removal process and enhancing the resulting images."
|
||||
},
|
||||
{
|
||||
"author": "GeekyGhost",
|
||||
"title": "ComfyUI-Geeky-Kokoro-TTS",
|
||||
"reference": "https://github.com/GeekyGhost/ComfyUI-Geeky-Kokoro-TTS",
|
||||
"files": [
|
||||
"https://github.com/GeekyGhost/ComfyUI-Geeky-Kokoro-TTS"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A powerful and feature-rich custom node collection for ComfyUI that integrates the Kokoro TTS (Text-to-Speech) system with advanced voice modification capabilities. This package allows you to generate natural-sounding speech and apply various voice effects within ComfyUI workflows."
|
||||
},
|
||||
{
|
||||
"author": "Dobidop",
|
||||
"title": "Dobidop ComfyStereo",
|
||||
@ -14577,6 +14608,16 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "The attention mask in the T5 part of flux and SD3 utilizes the text-side attention mask to make the model focus more on text embeddings during image generation, thereby enhancing semantic alignment with the text."
|
||||
},
|
||||
{
|
||||
"author": "leeguandong",
|
||||
"title": "ComfyUI_Cogview4",
|
||||
"reference": "https://github.com/leeguandong/ComfyUI_Cogview4",
|
||||
"files": [
|
||||
"https://github.com/leeguandong/ComfyUI_Cogview4"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "The latest DIT architecture-based image generation model from Zhipu that supports Chinese text generation."
|
||||
},
|
||||
{
|
||||
"author": "lenskikh",
|
||||
"title": "Propmt Worker",
|
||||
@ -15332,26 +15373,6 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI custom node for directly downloading generated images to your local PC with customizable filenames and formats (PNG/JPEG)."
|
||||
},
|
||||
{
|
||||
"author": "Rvage0815",
|
||||
"title": "ComfyUI-RvTools",
|
||||
"reference": "https://github.com/Rvage0815/ComfyUI-RvTools",
|
||||
"files": [
|
||||
"https://github.com/Rvage0815/ComfyUI-RvTools"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "this node contains a lot of small little helpers like switches, passers and selectors that i use a lot to build my workflows."
|
||||
},
|
||||
{
|
||||
"author": "Rvage0815",
|
||||
"title": "RvTComfyUI-RvTools_v2",
|
||||
"reference": "https://github.com/Rvage0815/ComfyUI-RvTools_v2",
|
||||
"files": [
|
||||
"https://github.com/Rvage0815/ComfyUI-RvTools_v2"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "this node contains a lot of small little helpers like switches, passers and selectors that i use a lot to build my workflows."
|
||||
},
|
||||
{
|
||||
"author": "erosDiffusion",
|
||||
"title": "Compositor Node",
|
||||
@ -16656,16 +16677,6 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "Nodes to interact with the mrv2 player"
|
||||
},
|
||||
{
|
||||
"author": "JichaoLiang",
|
||||
"title": "Immortal_comfyUI",
|
||||
"reference": "https://github.com/JichaoLiang/Immortal_comfyUI",
|
||||
"files": [
|
||||
"https://github.com/JichaoLiang/Immortal_comfyUI"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES:ImNewNode, ImAppendNode, MergeNode, SetProperties, SaveToDirectory, batchNodes, redirectToNode, SetEvent, ..."
|
||||
},
|
||||
{
|
||||
"author": "SSsnap",
|
||||
"title": "Snap Processing for Comfyui",
|
||||
@ -17045,7 +17056,7 @@
|
||||
"https://github.com/kk8bit/KayTool"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "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."
|
||||
"description": "KayTool nodes is designed to enhance the efficiency of building ComfyUI workflows. It includes a variety of practical nodes: support for efficient models like BiRefNet and RemBG for background removal and mask post-processing, wireless data transfer (Set & Get ), AI translation (Tencent and Baidu), dynamic mathematical operations, image processing (size extraction, color adjustment, background removal, mask blurring and expansion), flexible text handling, precision sliders, advanced image saving with metadata support, and more."
|
||||
},
|
||||
{
|
||||
"author": "sousakujikken",
|
||||
@ -17864,6 +17875,16 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "Another comfy implementation for the short video generation project PKU-YuanGroup/Open-Sora-Plan, supporting latest 1.3.0 and 1.2.0 and image to video feature, etc."
|
||||
},
|
||||
{
|
||||
"author": "bombax-xiaoice",
|
||||
"title": "ComfyUI-DisPose",
|
||||
"reference": "https://github.com/bombax-xiaoice/ComfyUI-DisPose",
|
||||
"files": [
|
||||
"https://github.com/bombax-xiaoice/ComfyUI-DisPose"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI supports over lihxxx/DisPose, which generates a new video with a reference video as poses and a reference image as everything else."
|
||||
},
|
||||
{
|
||||
"author": "chenbaiyujason",
|
||||
"title": "ComfyUI-SCStepFun",
|
||||
@ -18591,7 +18612,7 @@
|
||||
"https://github.com/StableDiffusionVN/SDVN_Comfy_node"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Smart Node Set, Supporting Easier and More Convenient Ways to Use Comfyui.Support Translate, Dynamic Prompt, Wildcard in most nodes.Support API with popular models (Gemini, Dall-E, Chat GPT).Support to download and use models directly at Comfyui.Support sub-folder with input folders.Support Merger Model more intelligently.Support smart, higher customization node and neat, more beautiful.And many other complementary nodes ..."
|
||||
"description": "Update IC Lora Layout Support Node"
|
||||
},
|
||||
{
|
||||
"author": "Eugene (JEONG-JIWOO)",
|
||||
@ -19106,7 +19127,7 @@
|
||||
},
|
||||
{
|
||||
"author": "kazeyori",
|
||||
"title": "Quick Image Sequence Process",
|
||||
"title": "ComfyUI-QuickImageSequenceProcess",
|
||||
"reference": "https://github.com/kazeyori/ComfyUI-QuickImageSequenceProcess",
|
||||
"files": [
|
||||
"https://github.com/kazeyori/ComfyUI-QuickImageSequenceProcess"
|
||||
@ -19146,6 +19167,16 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "A collection of specialized image processing nodes for ComfyUI, focused on dataset preparation and pixel art manipulation."
|
||||
},
|
||||
{
|
||||
"author": "marcoc2",
|
||||
"title": "ComfyUI-Cog",
|
||||
"reference": "https://github.com/marcoc2/ComfyUI_CogView4-6B_diffusers",
|
||||
"files": [
|
||||
"https://github.com/marcoc2/ComfyUI_CogView4-6B_diffusers"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This is a custom node aiming to run CogView4 on diffusers while there is no official implementation on ComfyUI.\nNOTE: You will need a updated version of diffusers and I don't know if updating it my break other stuff, so I advise you to make in a new instance of ComfyUI"
|
||||
},
|
||||
{
|
||||
"author": "BIMer-99",
|
||||
"title": "ComfyUI_FishSpeech_EX",
|
||||
@ -19698,6 +19729,16 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "A Text To Speech node using Step-Audio-TTS in ComfyUI. Can speak, rap, sing, or clone voice."
|
||||
},
|
||||
{
|
||||
"author": "billwuhao",
|
||||
"title": "ComfyUI_KokoroTTS_MW",
|
||||
"reference": "https://github.com/billwuhao/ComfyUI_KokoroTTS_MW",
|
||||
"files": [
|
||||
"https://github.com/billwuhao/ComfyUI_KokoroTTS_MW"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A Text To Speech node using Kokoro TTS in ComfyUI. Supports 8 languages and 150 voices"
|
||||
},
|
||||
{
|
||||
"author": "pandaer119",
|
||||
"title": "ComfyUI_pandai",
|
||||
@ -20573,6 +20614,16 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "A ComfyUI plugin library based on [a/https://github.com/stavsap/comfyui-ollama](https://github.com/stavsap/comfyui-ollama), with the Ollama cluster provided by Huixingyun."
|
||||
},
|
||||
{
|
||||
"author": "huixingyun",
|
||||
"title": "ComfyUI-HX-Pimg",
|
||||
"reference": "https://github.com/huixingyun/ComfyUI-HX-Pimg",
|
||||
"files": [
|
||||
"https://github.com/huixingyun/ComfyUI-HX-Pimg"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Some custom nodes used for pimg (a comfyui controller deployed in huixingyun)."
|
||||
},
|
||||
{
|
||||
"author": "bradsec",
|
||||
"title": "ComfyUI_StringEssentials",
|
||||
@ -21613,6 +21664,16 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "Adaptation of Fooocus Prompt Expansion for ComfyUI\nForked from [a/ComfyUI-Prompt-Expansion](https://github.com/meap158/ComfyUI-Prompt-Expansion) with some updates and changes based on original Fooocus, to be more specific [a/expansion.py](https://github.com/lllyasviel/Fooocus/blob/main/extras/expansion.py) and [a/LykosAI - GPT-Prompt-Expansion-Fooocus-v2](https://huggingface.co/LykosAI/GPT-Prompt-Expansion-Fooocus-v2)"
|
||||
},
|
||||
{
|
||||
"author": "panic-titan",
|
||||
"title": "ComfyUI-Gallery",
|
||||
"reference": "https://github.com/PanicTitan/ComfyUI-Gallery",
|
||||
"files": [
|
||||
"https://github.com/PanicTitan/ComfyUI-Gallery"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Real-time Output Gallery for ComfyUI with image metadata inspection."
|
||||
},
|
||||
{
|
||||
"author": "maximclouser",
|
||||
"title": "ComfyUI-InferenceTimeScaling",
|
||||
@ -21726,6 +21787,92 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "This package provides a custom node to ComfyUI to send a message and image by means of a webhook"
|
||||
},
|
||||
{
|
||||
"author": "mr7thing",
|
||||
"title": "Circle Pattern Processor for ComfyUI",
|
||||
"reference": "https://github.com/mr7thing/circle_pattern_processor",
|
||||
"files": [
|
||||
"https://github.com/mr7thing/circle_pattern_processor"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This is a custom node for ComfyUI that can detect circular patterns in an image and generate a standardized circular output."
|
||||
},
|
||||
{
|
||||
"author": "TheWhykiki",
|
||||
"title": "Whykiki ComfyUI Toolset",
|
||||
"reference": "https://github.com/TheWhykiki/Whykiki-ComfyUIToolset",
|
||||
"files": [
|
||||
"https://github.com/TheWhykiki/Whykiki-ComfyUIToolset"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A collection of useful nodes for ComfyUI that provide various workflow enhancements."
|
||||
},
|
||||
{
|
||||
"author": "Samulebotin",
|
||||
"title": "ComfyUI-FreeVC_wrapper",
|
||||
"reference": "https://github.com/Samulebotin/ComfyUI-FreeVC_wrapper",
|
||||
"files": [
|
||||
"https://github.com/Samulebotin/ComfyUI-FreeVC_wrapper"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A voice conversion extension node for ComfyUI based on FreeVC, enabling high-quality voice conversion capabilities within the ComfyUI framework."
|
||||
},
|
||||
{
|
||||
"author": "justin-vt",
|
||||
"title": "ComfyUI-brushstrokes",
|
||||
"reference": "https://github.com/justin-vt/ComfyUI-brushstrokes",
|
||||
"files": [
|
||||
"https://github.com/justin-vt/ComfyUI-brushstrokes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A ComfyUI node that applies painterly/brush-stroke effects to images, using either ImageMagick (Wand) or G'MIC (gmic-py) under the hood."
|
||||
},
|
||||
{
|
||||
"author": "pxl-pshr",
|
||||
"title": "GlitchNodes",
|
||||
"reference": "https://github.com/pxl-pshr/GlitchNodes",
|
||||
"files": [
|
||||
"https://github.com/pxl-pshr/GlitchNodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "GlitchNodes is a collection of image processing nodes designed for ComfyUI that specializes in creating glitch art and retro effects."
|
||||
},
|
||||
{
|
||||
"author": "S4MUEL404",
|
||||
"title": "Image Position Blend",
|
||||
"id": "ComfyUI-Image-Position-Blend",
|
||||
"reference": "https://github.com/S4MUEL-404/ComfyUI-Image-Position-Blend",
|
||||
"files": [
|
||||
"https://github.com/S4MUEL-404/ComfyUI-Image-Position-Blend"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A custom node for conveniently adjusting the overlay position of two images."
|
||||
},
|
||||
{
|
||||
"author": "ZYK-AI",
|
||||
"title": "ComfyUI-YK Line loading",
|
||||
"id": "ComfyUI-YK_Line loading",
|
||||
"reference": "https://github.com/sittere/ComfyUI-YK_Line-loading",
|
||||
"files": [
|
||||
"https://github.com/sittere/ComfyUI-YK_Line-loading"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Plugin that implements world automatic typesetting and outputs only one paragraph of text"
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -433,6 +433,7 @@
|
||||
],
|
||||
"https://github.com/807502278/ComfyUI-WJNodes": [
|
||||
[
|
||||
"Accurate_mask_clipping",
|
||||
"Any_Pipe",
|
||||
"ApplyEasyOCR_batch",
|
||||
"Bilateral_Filter",
|
||||
@ -442,14 +443,15 @@
|
||||
"ComfyUI_Path_Out",
|
||||
"Determine_Type",
|
||||
"ImageChannelBus",
|
||||
"ListMerger",
|
||||
"Load_Image_Adv",
|
||||
"Load_Image_From_Path",
|
||||
"Mask_Detection",
|
||||
"MergeImageList",
|
||||
"PrimitiveNode",
|
||||
"Random_Select_Prompt",
|
||||
"Run_BEN_v2",
|
||||
"Run_Similarity",
|
||||
"Run_torchvision_model",
|
||||
"Sam2AutoSegmentation_data",
|
||||
"Save_Image_Out",
|
||||
"Save_Image_To_Path",
|
||||
@ -464,6 +466,8 @@
|
||||
"WAS_Mask_Fill_Region_batch",
|
||||
"adv_crop",
|
||||
"any_data",
|
||||
"any_math",
|
||||
"any_math_v2",
|
||||
"array_count",
|
||||
"bbox_restore_mask",
|
||||
"color_segmentation",
|
||||
@ -473,9 +477,6 @@
|
||||
"get_image_data",
|
||||
"image_math",
|
||||
"image_math_value",
|
||||
"image_math_value_v1",
|
||||
"image_math_value_v2",
|
||||
"image_math_value_x10",
|
||||
"invert_channel_adv",
|
||||
"load_BEN_model",
|
||||
"load_ColorName_config",
|
||||
@ -483,6 +484,7 @@
|
||||
"load_Similarity",
|
||||
"load_color_config",
|
||||
"load_model_value",
|
||||
"load_torchvision_model",
|
||||
"mask_and_mask_math",
|
||||
"mask_line_mapping",
|
||||
"mask_select_mask",
|
||||
@ -1699,10 +1701,12 @@
|
||||
"https://github.com/ArtHommage/HommageTools": [
|
||||
[
|
||||
"HTBaseShiftNode",
|
||||
"HTConsoleLoggerNode",
|
||||
"HTConversionNode",
|
||||
"HTDiffusionLoaderMulti",
|
||||
"HTDimensionAnalyzerNode",
|
||||
"HTDimensionFormatterNode",
|
||||
"HTDownsampleNode",
|
||||
"HTFlexibleNode",
|
||||
"HTInspectorNode",
|
||||
"HTLayerCollectorNode",
|
||||
@ -1721,6 +1725,7 @@
|
||||
"HTResolutionDownsampleNode",
|
||||
"HTResolutionNode",
|
||||
"HTSamplerBridgeNode",
|
||||
"HTSaveImagePlus",
|
||||
"HTSchedulerBridgeNode",
|
||||
"HTSplitterNode",
|
||||
"HTStatusIndicatorNode",
|
||||
@ -1730,8 +1735,7 @@
|
||||
"HTTextCleanupNode",
|
||||
"HTTrainingSizeNode",
|
||||
"HTValueMapperNode",
|
||||
"HTWidgetControlNode",
|
||||
"ImageMaskResize"
|
||||
"HTWidgetControlNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "HommageTools for ComfyUI"
|
||||
@ -2542,7 +2546,8 @@
|
||||
"AdvancedNoise",
|
||||
"Base64ToConditioning",
|
||||
"CLIPTextEncodeFluxUnguided",
|
||||
"ClownRegionalConditioningFlux",
|
||||
"ClownRegionalConditioning",
|
||||
"ClownRegionalConditioning3",
|
||||
"Conditioning Recast FP64",
|
||||
"ConditioningAdd",
|
||||
"ConditioningAverageScheduler",
|
||||
@ -2558,8 +2563,6 @@
|
||||
"FluxGuidanceDisable",
|
||||
"FluxLoader",
|
||||
"FluxOrthoCFGPatcher",
|
||||
"FluxRegionalConditioning",
|
||||
"FluxRegionalPrompt",
|
||||
"Frequency Separation Hard Light",
|
||||
"Frequency Separation Hard Light LAB",
|
||||
"Frequency Separation Linear Light",
|
||||
@ -2592,7 +2595,11 @@
|
||||
"ModelSamplingAdvancedResolution",
|
||||
"ModelTimestepPatcher",
|
||||
"PrepForUnsampling",
|
||||
"ReAuraPatcher",
|
||||
"ReFluxPatcher",
|
||||
"ReSD35Patcher",
|
||||
"RectifiedFlow_RegionalConditioning",
|
||||
"RectifiedFlow_RegionalPrompt",
|
||||
"SD35Loader",
|
||||
"SeedGenerator",
|
||||
"Set Precision",
|
||||
@ -4145,6 +4152,15 @@
|
||||
"title_aux": "ComfyUI-SD3LatentSelectRes"
|
||||
}
|
||||
],
|
||||
"https://github.com/GeekyGhost/ComfyUI-Geeky-Kokoro-TTS": [
|
||||
[
|
||||
"GeekyKokoroAdvancedVoice",
|
||||
"GeekyKokoroTTS"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Geeky-Kokoro-TTS"
|
||||
}
|
||||
],
|
||||
"https://github.com/GeekyGhost/ComfyUI-GeekyRemB": [
|
||||
[
|
||||
"GeekyRemB"
|
||||
@ -5142,44 +5158,6 @@
|
||||
"title_aux": "ComfyUI-TD"
|
||||
}
|
||||
],
|
||||
"https://github.com/JichaoLiang/Immortal_comfyUI": [
|
||||
[
|
||||
"AppendNode",
|
||||
"CombineVideos",
|
||||
"ImAppendFreeChatAction",
|
||||
"ImAppendImageActionNode",
|
||||
"ImAppendNodeHub",
|
||||
"ImAppendQuickbackNode",
|
||||
"ImAppendQuickbackVideoNode",
|
||||
"ImAppendVideoNode",
|
||||
"ImDumpEntity",
|
||||
"ImDumpNode",
|
||||
"ImLoadPackage",
|
||||
"ImNodeTitleOverride",
|
||||
"ImSetActionKeywordMapping",
|
||||
"MergeNode",
|
||||
"Molmo7BDbnbBatch",
|
||||
"MuteNode",
|
||||
"NewNode",
|
||||
"Node2String",
|
||||
"OllamaChat",
|
||||
"SaveImagePath",
|
||||
"SaveToDirectory",
|
||||
"SetEvent",
|
||||
"SetNodeMapping",
|
||||
"SetProperties",
|
||||
"String2Node",
|
||||
"TurnOnOffNodeOnEnter",
|
||||
"batchNodes",
|
||||
"grepNodeByText",
|
||||
"imageList",
|
||||
"mergeEntityAndPointer",
|
||||
"redirectToNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "Immortal_comfyUI"
|
||||
}
|
||||
],
|
||||
"https://github.com/JohanK66/ComfyUI-WebhookImage": [
|
||||
[
|
||||
"Notif-Webhook"
|
||||
@ -6002,6 +5980,27 @@
|
||||
"title_aux": "ComfyUI-LivePortraitNode (Replicate API)"
|
||||
}
|
||||
],
|
||||
"https://github.com/Lightricks/ComfyUI-LTXVideo": [
|
||||
[
|
||||
"AddLatentGuide",
|
||||
"LTXAttentioOverride",
|
||||
"LTXAttentionBank",
|
||||
"LTXAttnOverride",
|
||||
"LTXFetaEnhance",
|
||||
"LTXFlowEditCFGGuider",
|
||||
"LTXFlowEditSampler",
|
||||
"LTXForwardModelSamplingPred",
|
||||
"LTXPerturbedAttention",
|
||||
"LTXPrepareAttnInjections",
|
||||
"LTXRFForwardODESampler",
|
||||
"LTXRFReverseODESampler",
|
||||
"LTXReverseModelSamplingPred",
|
||||
"ModifyLTXModel"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-LTXVideo"
|
||||
}
|
||||
],
|
||||
"https://github.com/Limitex/ComfyUI-Calculation": [
|
||||
[
|
||||
"CenterCalculation",
|
||||
@ -7368,6 +7367,14 @@
|
||||
"title_aux": "ComfyUI-Fooocus-V2-Expansion"
|
||||
}
|
||||
],
|
||||
"https://github.com/PanicTitan/ComfyUI-Gallery": [
|
||||
[
|
||||
"GalleryNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Gallery"
|
||||
}
|
||||
],
|
||||
"https://github.com/Parameshvadivel/ComfyUI-SVGview": [
|
||||
[
|
||||
"SVGPreview"
|
||||
@ -7886,6 +7893,14 @@
|
||||
"title_aux": "comfyui_io_helpers"
|
||||
}
|
||||
],
|
||||
"https://github.com/S4MUEL-404/ComfyUI-Image-Position-Blend": [
|
||||
[
|
||||
"ImagePositionBlend"
|
||||
],
|
||||
{
|
||||
"title_aux": "Image Position Blend"
|
||||
}
|
||||
],
|
||||
"https://github.com/SEkINVR/ComfyUI-SaveAs": [
|
||||
[
|
||||
"ComfyUISaveAs"
|
||||
@ -7992,6 +8007,14 @@
|
||||
"title_aux": "DeepFuze"
|
||||
}
|
||||
],
|
||||
"https://github.com/Samulebotin/ComfyUI-FreeVC_wrapper": [
|
||||
[
|
||||
"FreeVC Voice Conversion"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-FreeVC_wrapper"
|
||||
}
|
||||
],
|
||||
"https://github.com/SayanoAI/Comfy-RVC": [
|
||||
[
|
||||
"Any2ListNode",
|
||||
@ -8522,14 +8545,6 @@
|
||||
"title_aux": "ComfyUI-FreeMemory"
|
||||
}
|
||||
],
|
||||
"https://github.com/ShmuelRonen/ComfyUI-FreeVC_wrapper": [
|
||||
[
|
||||
"FreeVC Voice Conversion"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-FreeVC_wrapper"
|
||||
}
|
||||
],
|
||||
"https://github.com/ShmuelRonen/ComfyUI-Gemini_Flash_2.0_Exp": [
|
||||
[
|
||||
"AudioRecorder",
|
||||
@ -8848,6 +8863,7 @@
|
||||
],
|
||||
"https://github.com/SozeInc/ComfyUI_Soze": [
|
||||
[
|
||||
"Alpha Crop and Position Image",
|
||||
"CSV Reader",
|
||||
"CSV Writer",
|
||||
"Empty Images",
|
||||
@ -8859,6 +8875,7 @@
|
||||
"Load Image",
|
||||
"Load Image From URL",
|
||||
"Load Images From Folder",
|
||||
"Lora File Loader",
|
||||
"Multiline Concatenate Strings",
|
||||
"Output Filename",
|
||||
"Prompt Cache",
|
||||
@ -8867,6 +8884,7 @@
|
||||
"Range(Num Steps) - Int",
|
||||
"Range(Step) - Float",
|
||||
"Range(Step) - Int",
|
||||
"Shrink Image",
|
||||
"String Replacer",
|
||||
"Text Contains (Return Bool)",
|
||||
"Text Contains (Return String)",
|
||||
@ -9758,6 +9776,8 @@
|
||||
],
|
||||
"https://github.com/Taremin/comfyui-prompt-extranetworks": [
|
||||
[
|
||||
"PromptControlNetApply",
|
||||
"PromptControlNetPrepare",
|
||||
"PromptExtraNetworks"
|
||||
],
|
||||
{
|
||||
@ -9887,6 +9907,14 @@
|
||||
"title_aux": "Anyline"
|
||||
}
|
||||
],
|
||||
"https://github.com/TheWhykiki/Whykiki-ComfyUIToolset": [
|
||||
[
|
||||
"SequentialImageLoaderV8"
|
||||
],
|
||||
{
|
||||
"title_aux": "Whykiki ComfyUI Toolset"
|
||||
}
|
||||
],
|
||||
"https://github.com/ThepExcel/aiangelgallery-comfyui": [
|
||||
[
|
||||
"ThepExcel_AiAngel_MultilineTextChoiceNode"
|
||||
@ -11453,7 +11481,8 @@
|
||||
"https://github.com/aidenli/ComfyUI_NYJY": [
|
||||
[
|
||||
"CivitaiPrompt",
|
||||
"ConverAnyToString",
|
||||
"ConvertAnyToString",
|
||||
"ConvertStringToNumber",
|
||||
"CustomLatentImage-NYJY",
|
||||
"CustomLatentImageSimple",
|
||||
"FloatSlider-NYJY",
|
||||
@ -11740,6 +11769,14 @@
|
||||
"title_aux": "OpenPose Node"
|
||||
}
|
||||
],
|
||||
"https://github.com/alessandrozonta/Comfyui-LoopLoader": [
|
||||
[
|
||||
"LoadLoopImagesFromDir"
|
||||
],
|
||||
{
|
||||
"title_aux": "Comfyui-LoopLoader"
|
||||
}
|
||||
],
|
||||
"https://github.com/alexcong/ComfyUI_QwenVL": [
|
||||
[
|
||||
"Qwen2.5",
|
||||
@ -12616,6 +12653,15 @@
|
||||
"title_aux": "ComfyUI_TextAssets"
|
||||
}
|
||||
],
|
||||
"https://github.com/billwuhao/ComfyUI_KokoroTTS_MW": [
|
||||
[
|
||||
"Kokoro Run",
|
||||
"Kokoro ZH Run"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_KokoroTTS_MW"
|
||||
}
|
||||
],
|
||||
"https://github.com/billwuhao/ComfyUI_OneButtonPrompt_Flux": [
|
||||
[
|
||||
"DeepseekRun",
|
||||
@ -12889,6 +12935,16 @@
|
||||
"title_aux": "ComfyUI-Allegro"
|
||||
}
|
||||
],
|
||||
"https://github.com/bombax-xiaoice/ComfyUI-DisPose": [
|
||||
[
|
||||
"DisPoseDecoder",
|
||||
"DisPoseLoader",
|
||||
"DisPoseSampler"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-DisPose"
|
||||
}
|
||||
],
|
||||
"https://github.com/bombax-xiaoice/ComfyUI-MagicDance": [
|
||||
[
|
||||
"LoadMagicDanceModel",
|
||||
@ -13899,6 +13955,14 @@
|
||||
"title_aux": "ComfyUI_CatVTON_Wrapper"
|
||||
}
|
||||
],
|
||||
"https://github.com/chflame163/ComfyUI_CogView4_Wrapper": [
|
||||
[
|
||||
"CogView4"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_CogView4_Wrapper"
|
||||
}
|
||||
],
|
||||
"https://github.com/chflame163/ComfyUI_FaceSimilarity": [
|
||||
[
|
||||
"Face Similarity"
|
||||
@ -14647,6 +14711,7 @@
|
||||
"ConditioningConcat",
|
||||
"ConditioningSetArea",
|
||||
"ConditioningSetAreaPercentage",
|
||||
"ConditioningSetAreaPercentageVideo",
|
||||
"ConditioningSetAreaStrength",
|
||||
"ConditioningSetMask",
|
||||
"ConditioningSetTimestepRange",
|
||||
@ -14684,6 +14749,7 @@
|
||||
"GLIGENLoader",
|
||||
"GLIGENTextBoxApply",
|
||||
"GrowMask",
|
||||
"HunyuanImageToVideo",
|
||||
"HyperTile",
|
||||
"HypernetworkLoader",
|
||||
"ImageBatch",
|
||||
@ -14712,8 +14778,11 @@
|
||||
"KSamplerAdvanced",
|
||||
"KSamplerSelect",
|
||||
"KarrasScheduler",
|
||||
"LTXVAddGuide",
|
||||
"LTXVConditioning",
|
||||
"LTXVCropGuides",
|
||||
"LTXVImgToVideo",
|
||||
"LTXVPreprocess",
|
||||
"LTXVScheduler",
|
||||
"LaplaceScheduler",
|
||||
"LatentAdd",
|
||||
@ -14870,6 +14939,7 @@
|
||||
"TestVariadicAverage",
|
||||
"TestWhileLoopClose",
|
||||
"TestWhileLoopOpen",
|
||||
"TextEncodeHunyuanVideo_ImageToVideo",
|
||||
"ThresholdMask",
|
||||
"TomePatchModel",
|
||||
"TorchCompileModel",
|
||||
@ -15787,7 +15857,7 @@
|
||||
"description": "CLIP text encoder that does BREAK prompting like A1111",
|
||||
"nickname": "CLIP with BREAK",
|
||||
"title": "CLIP with BREAK syntax",
|
||||
"title_aux": "CLIP with BREAK syntax"
|
||||
"title_aux": "comfyui-clip-with-break"
|
||||
}
|
||||
],
|
||||
"https://github.com/dfl/comfyui-tcd-scheduler": [
|
||||
@ -16462,10 +16532,12 @@
|
||||
"https://github.com/fablestudio/ComfyUI-Showrunner-Utils": [
|
||||
[
|
||||
"AlignFace",
|
||||
"Alpha Crop and Position Image",
|
||||
"GenerateTimestamp",
|
||||
"GetMostCommonColors",
|
||||
"ReadImage",
|
||||
"RenderOpenStreetMapTile"
|
||||
"RenderOpenStreetMapTile",
|
||||
"Shrink Image"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Showrunner-Utils"
|
||||
@ -17577,6 +17649,7 @@
|
||||
"Griptape Combine: Merge Texts",
|
||||
"Griptape Combine: RAG Module List",
|
||||
"Griptape Combine: Rules List",
|
||||
"Griptape Combine: String List",
|
||||
"Griptape Combine: Tool List",
|
||||
"Griptape Config: Environment Variables",
|
||||
"Griptape Convert: Agent to Tool",
|
||||
@ -17652,6 +17725,7 @@
|
||||
"Griptape Run: Cloud Assistant",
|
||||
"Griptape Run: Image Description",
|
||||
"Griptape Run: Parallel Image Description",
|
||||
"Griptape Run: Parallel Prompt Task",
|
||||
"Griptape Run: Prompt Task",
|
||||
"Griptape Run: Task",
|
||||
"Griptape Run: Text Extraction",
|
||||
@ -18348,6 +18422,14 @@
|
||||
"title_aux": "ComfyUI-HX-Captioner"
|
||||
}
|
||||
],
|
||||
"https://github.com/huixingyun/ComfyUI-HX-Pimg": [
|
||||
[
|
||||
"SaveImageWithPromptsWebsocket"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-HX-Pimg"
|
||||
}
|
||||
],
|
||||
"https://github.com/hustille/ComfyUI_Fooocus_KSampler": [
|
||||
[
|
||||
"KSampler With Refiner (Fooocus)"
|
||||
@ -18540,6 +18622,7 @@
|
||||
"Light-Tool: MaskContourExtractor",
|
||||
"Light-Tool: MaskImageToTransparent",
|
||||
"Light-Tool: MaskToImage",
|
||||
"Light-Tool: MorphologicalTF",
|
||||
"Light-Tool: PhantomTankEffect",
|
||||
"Light-Tool: PreviewVideo",
|
||||
"Light-Tool: RGB2RGBA",
|
||||
@ -19744,6 +19827,16 @@
|
||||
"title_aux": "Bjornulf_custom_nodes"
|
||||
}
|
||||
],
|
||||
"https://github.com/justin-vt/ComfyUI-brushstrokes": [
|
||||
[
|
||||
"OpenCVBrushStrokesNode",
|
||||
"PILBrushStrokesNode",
|
||||
"WandBrushStrokesNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-brushstrokes"
|
||||
}
|
||||
],
|
||||
"https://github.com/k-komarov/comfyui-bunny-cdn-storage": [
|
||||
[
|
||||
"Save Image to BunnyStorage"
|
||||
@ -19963,7 +20056,7 @@
|
||||
"description": "A ComfyUI plugin for efficient image sequence processing. Features frame insertion, duplication, and removal with intuitive controls.",
|
||||
"nickname": "QuickSeq",
|
||||
"title": "Quick Image Sequence Process",
|
||||
"title_aux": "Quick Image Sequence Process"
|
||||
"title_aux": "ComfyUI-QuickImageSequenceProcess"
|
||||
}
|
||||
],
|
||||
"https://github.com/kealiu/ComfyUI-S3-Tools": [
|
||||
@ -19996,8 +20089,10 @@
|
||||
[
|
||||
"AntialiasingImage",
|
||||
"BinarizeImage",
|
||||
"BinarizeImageUsingOtsu",
|
||||
"BrightnessTransparency",
|
||||
"GrayscaleImage"
|
||||
"GrayscaleImage",
|
||||
"RemoveWhiteBackgroundNoise"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Image-Toolkit"
|
||||
@ -20296,6 +20391,8 @@
|
||||
"HyVideoEmptyTextEmbeds",
|
||||
"HyVideoEncode",
|
||||
"HyVideoEnhanceAVideo",
|
||||
"HyVideoGetClosestBucketSize",
|
||||
"HyVideoI2VEncode",
|
||||
"HyVideoInverseSampler",
|
||||
"HyVideoLatentPreview",
|
||||
"HyVideoLoraBlockEdit",
|
||||
@ -20486,6 +20583,7 @@
|
||||
"StringConstantMultiline",
|
||||
"StyleModelApplyAdvanced",
|
||||
"Superprompt",
|
||||
"TimerNodeKJ",
|
||||
"TorchCompileControlNet",
|
||||
"TorchCompileCosmosModel",
|
||||
"TorchCompileLTXModel",
|
||||
@ -20497,6 +20595,7 @@
|
||||
"TransitionImagesMulti",
|
||||
"VAELoaderKJ",
|
||||
"VRAM_Debug",
|
||||
"WanVideoTeaCacheKJ",
|
||||
"WebcamCaptureCV2",
|
||||
"WeightScheduleConvert",
|
||||
"WeightScheduleExtend",
|
||||
@ -20768,6 +20867,7 @@
|
||||
],
|
||||
"https://github.com/kk8bit/KayTool": [
|
||||
[
|
||||
"AB_Images",
|
||||
"AIO_Translater",
|
||||
"Abc_Math",
|
||||
"Baidu_Translater",
|
||||
@ -21092,6 +21192,15 @@
|
||||
"title_aux": "Google Photos Loader - by PabloGFX"
|
||||
}
|
||||
],
|
||||
"https://github.com/leeguandong/ComfyUI_Cogview4": [
|
||||
[
|
||||
"CogView4ImageGenerator",
|
||||
"CogView4ModelLoader"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_Cogview4"
|
||||
}
|
||||
],
|
||||
"https://github.com/leeguandong/ComfyUI_CompareModelWeights": [
|
||||
[
|
||||
"CheckPointLoader_Compare",
|
||||
@ -21364,6 +21473,7 @@
|
||||
"JsonUnpack",
|
||||
"LoadImageFromFolder",
|
||||
"LoadLoraFromFolder",
|
||||
"LoadPromptsFromFolder",
|
||||
"PresetSizeLatent",
|
||||
"SamplerSettings",
|
||||
"ShowTranslateString",
|
||||
@ -21751,27 +21861,6 @@
|
||||
"title_aux": "ComfyUI-InversedNoise"
|
||||
}
|
||||
],
|
||||
"https://github.com/logtd/ComfyUI-LTXTricks": [
|
||||
[
|
||||
"AddLatentGuide",
|
||||
"LTXAttentioOverride",
|
||||
"LTXAttentionBank",
|
||||
"LTXAttnOverride",
|
||||
"LTXFetaEnhance",
|
||||
"LTXFlowEditCFGGuider",
|
||||
"LTXFlowEditSampler",
|
||||
"LTXForwardModelSamplingPred",
|
||||
"LTXPerturbedAttention",
|
||||
"LTXPrepareAttnInjections",
|
||||
"LTXRFForwardODESampler",
|
||||
"LTXRFReverseODESampler",
|
||||
"LTXReverseModelSamplingPred",
|
||||
"ModifyLTXModel"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-LTXTricks"
|
||||
}
|
||||
],
|
||||
"https://github.com/logtd/ComfyUI-MochiEdit": [
|
||||
[
|
||||
"MochiPrepareSigmas",
|
||||
@ -22536,9 +22625,7 @@
|
||||
"https://github.com/lum3on/comfyui_LLM_Polymath": [
|
||||
[
|
||||
"ConceptEraserNode",
|
||||
"UCEEraserNode",
|
||||
"polymath_SaveAbsolute",
|
||||
"polymath_UCE_concept_eraser",
|
||||
"polymath_chat",
|
||||
"polymath_concept_eraser",
|
||||
"polymath_helper",
|
||||
@ -22681,6 +22768,14 @@
|
||||
"title_aux": "Image Processing Suite for ComfyUI"
|
||||
}
|
||||
],
|
||||
"https://github.com/marcoc2/ComfyUI_CogView4-6B_diffusers": [
|
||||
[
|
||||
"CogView4Generator"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Cog"
|
||||
}
|
||||
],
|
||||
"https://github.com/marduk191/ComfyUI-Fluxpromptenhancer": [
|
||||
[
|
||||
"FluxPromptEnhance"
|
||||
@ -23235,7 +23330,7 @@
|
||||
"SingleBooleanTrigger",
|
||||
"SixBooleanTrigger",
|
||||
"StepsAndCfg",
|
||||
"TextBox",
|
||||
"TextBoxMira",
|
||||
"TextCombinerSix",
|
||||
"TextCombinerTwo",
|
||||
"TextLoopCombiner",
|
||||
@ -23380,6 +23475,16 @@
|
||||
"title_aux": "ComfyUI_Seamless_Patten"
|
||||
}
|
||||
],
|
||||
"https://github.com/mr7thing/circle_pattern_processor": [
|
||||
[
|
||||
"CirclePatternProcessor",
|
||||
"CirclePatternSVGExporter",
|
||||
"ImageBinarizer"
|
||||
],
|
||||
{
|
||||
"title_aux": "Circle Pattern Processor for ComfyUI"
|
||||
}
|
||||
],
|
||||
"https://github.com/mrchipset/ComfyUI-SaveImageS3": [
|
||||
[
|
||||
"SaveImageS3"
|
||||
@ -23966,21 +24071,43 @@
|
||||
"https://github.com/nosiu/comfyui-instantId-faceswap": [
|
||||
[
|
||||
"AngleFromFace",
|
||||
"AngleFromKps",
|
||||
"ComposeRotated",
|
||||
"ControlNetInstantIdApply",
|
||||
"FaceEmbed",
|
||||
"FaceEmbedCombine",
|
||||
"InstantIdAdapterApply",
|
||||
"InstantIdAndControlnetApply",
|
||||
"Kps2dRandomizer",
|
||||
"Kps3dFromImage",
|
||||
"Kps3dRandomizer",
|
||||
"KpsCrop",
|
||||
"KpsDraw",
|
||||
"KpsMaker",
|
||||
"KpsRotate",
|
||||
"KpsScale",
|
||||
"KpsScaleBy",
|
||||
"LoadInsightface",
|
||||
"LoadInstantIdAdapter",
|
||||
"MaskFromKps",
|
||||
"PreprocessImage",
|
||||
"PreprocessImageAdvanced",
|
||||
"RotateImage"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI InstantID Faceswapper"
|
||||
"title_aux": "comfyui-instantId-faceswap"
|
||||
}
|
||||
],
|
||||
"https://github.com/nosiu/comfyui-text-randomizer": [
|
||||
[
|
||||
"ConcatText",
|
||||
"RandomTextChoice",
|
||||
"RandomizeText",
|
||||
"RandomizeTextWithCheck",
|
||||
"ShowText"
|
||||
],
|
||||
{
|
||||
"title_aux": "comfyui-text-randomizer"
|
||||
}
|
||||
],
|
||||
"https://github.com/noxinias/ComfyUI_NoxinNodes": [
|
||||
@ -24714,6 +24841,28 @@
|
||||
"title_aux": "ComfyUI-ImageTagger"
|
||||
}
|
||||
],
|
||||
"https://github.com/pxl-pshr/GlitchNodes": [
|
||||
[
|
||||
"Corruptor",
|
||||
"DataBend",
|
||||
"FrequencyModulation",
|
||||
"GlitchIT",
|
||||
"LineScreen",
|
||||
"LuminousFlow",
|
||||
"PixelFloat",
|
||||
"PixelRedistribution",
|
||||
"Rekked",
|
||||
"Scanz",
|
||||
"TvGlitch",
|
||||
"VHSonAcid",
|
||||
"VaporWave",
|
||||
"VideoModulation",
|
||||
"interference"
|
||||
],
|
||||
{
|
||||
"title_aux": "GlitchNodes"
|
||||
}
|
||||
],
|
||||
"https://github.com/pythongosssss/ComfyUI-Custom-Scripts": [
|
||||
[
|
||||
"CheckpointLoader|pysssss",
|
||||
@ -25902,13 +26051,13 @@
|
||||
"https://github.com/shahkoorosh/ComfyUI-KGnodes": [
|
||||
[
|
||||
"CustomResolutionLatentNode",
|
||||
"ImageScaleToSide",
|
||||
"OverlayRGBAonRGB",
|
||||
"StyleSelector",
|
||||
"TextBehindImage"
|
||||
"StyleSelector"
|
||||
],
|
||||
{
|
||||
"author": "ShahKoorosh",
|
||||
"description": "This Custom node offers various experimental nodes to make it easier to use ComfyUI.",
|
||||
"description": "This Custom node pack offers various nodes to make it easier to use ComfyUI.",
|
||||
"nickname": "KGnodes",
|
||||
"title": "ComfyUI-KGnodes",
|
||||
"title_aux": "ComfyUI-KGnodes"
|
||||
@ -26210,6 +26359,14 @@
|
||||
"title_aux": "ComfyUI-PuLID-Flux-Enhanced"
|
||||
}
|
||||
],
|
||||
"https://github.com/sittere/ComfyUI-YK_Line-loading": [
|
||||
[
|
||||
"MultiTextLoader"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-YK Line loading"
|
||||
}
|
||||
],
|
||||
"https://github.com/skfoo/ComfyUI-Coziness": [
|
||||
[
|
||||
"LoraTextExtractor-b1f83aa2",
|
||||
@ -27072,7 +27229,10 @@
|
||||
],
|
||||
"https://github.com/sugarkwork/comfyui_tag_fillter": [
|
||||
[
|
||||
"TagCategory",
|
||||
"TagCategoryEnhance",
|
||||
"TagComparator",
|
||||
"TagEnhance",
|
||||
"TagFilter",
|
||||
"TagIf",
|
||||
"TagMerger",
|
||||
@ -28835,6 +28995,7 @@
|
||||
"https://github.com/yichengup/ComfyUI-YCNodes": [
|
||||
[
|
||||
"DynamicThreshold",
|
||||
"ImageBatchSelector",
|
||||
"ImageBlendResize",
|
||||
"ImageIC",
|
||||
"ImageICAdvanced",
|
||||
@ -28842,6 +29003,7 @@
|
||||
"ImageMirror",
|
||||
"ImageMosaic",
|
||||
"ImageRotate",
|
||||
"ImageSelector",
|
||||
"ImageUpscaleTiled",
|
||||
"MaskBatchComposite",
|
||||
"MaskBatchCopy",
|
||||
@ -29369,6 +29531,7 @@
|
||||
],
|
||||
"https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt": [
|
||||
[
|
||||
"LoadUpscalerTensorrtModel",
|
||||
"UpscalerTensorrt"
|
||||
],
|
||||
{
|
||||
|
||||
5412
github-stats.json
5412
github-stats.json
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,15 @@
|
||||
import requests
|
||||
from dataclasses import dataclass
|
||||
from typing import List
|
||||
import manager_util
|
||||
import toml
|
||||
import os
|
||||
import asyncio
|
||||
import json
|
||||
import os
|
||||
import platform
|
||||
import time
|
||||
from dataclasses import dataclass
|
||||
from typing import List
|
||||
|
||||
import manager_core
|
||||
import manager_util
|
||||
import requests
|
||||
import toml
|
||||
|
||||
base_url = "https://api.comfy.org"
|
||||
|
||||
@ -32,9 +35,40 @@ async def _get_cnr_data(cache_mode=True, dont_wait=True):
|
||||
page = 1
|
||||
|
||||
full_nodes = {}
|
||||
|
||||
|
||||
# Determine form factor based on environment and platform
|
||||
is_desktop = bool(os.environ.get('__COMFYUI_DESKTOP_VERSION__'))
|
||||
system = platform.system().lower()
|
||||
is_windows = system == 'windows'
|
||||
is_mac = system == 'darwin'
|
||||
|
||||
# Get ComfyUI version tag
|
||||
if is_desktop:
|
||||
# extract version from pyproject.toml instead of git tag
|
||||
comfyui_ver = manager_core.get_current_comfyui_ver() or 'unknown'
|
||||
else:
|
||||
comfyui_ver = manager_core.get_comfyui_tag() or 'unknown'
|
||||
|
||||
if is_desktop:
|
||||
if is_windows:
|
||||
form_factor = 'desktop-win'
|
||||
elif is_mac:
|
||||
form_factor = 'desktop-mac'
|
||||
else:
|
||||
form_factor = 'other'
|
||||
else:
|
||||
if is_windows:
|
||||
form_factor = 'git-windows'
|
||||
elif is_mac:
|
||||
form_factor = 'git-mac'
|
||||
else:
|
||||
form_factor = 'other'
|
||||
|
||||
while remained:
|
||||
sub_uri = f'{base_url}/nodes?page={page}&limit=30'
|
||||
sub_json_obj = await asyncio.wait_for(manager_util.get_data_with_cache(sub_uri, cache_mode=False, silent=True), timeout=30)
|
||||
# Add comfyui_version and form_factor to the API request
|
||||
sub_uri = f'{base_url}/nodes?page={page}&limit=30&comfyui_version={comfyui_ver}&form_factor={form_factor}'
|
||||
sub_json_obj = await asyncio.wait_for(manager_util.get_data_with_cache(sub_uri, cache_mode=False, silent=True, dont_cache=True), timeout=30)
|
||||
remained = page < sub_json_obj['totalPages']
|
||||
|
||||
for x in sub_json_obj['nodes']:
|
||||
|
||||
@ -23,6 +23,7 @@ import yaml
|
||||
import zipfile
|
||||
import traceback
|
||||
from concurrent.futures import ThreadPoolExecutor, as_completed
|
||||
import toml
|
||||
|
||||
orig_print = print
|
||||
|
||||
@ -42,7 +43,7 @@ import manager_downloader
|
||||
from node_package import InstalledNodePackage
|
||||
|
||||
|
||||
version_code = [3, 27, 6]
|
||||
version_code = [3, 30, 3]
|
||||
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
|
||||
|
||||
|
||||
@ -74,13 +75,31 @@ def get_custom_nodes_paths():
|
||||
|
||||
|
||||
def get_comfyui_tag():
|
||||
repo = git.Repo(comfy_path)
|
||||
try:
|
||||
repo = git.Repo(comfy_path)
|
||||
return repo.git.describe('--tags')
|
||||
except:
|
||||
return None
|
||||
|
||||
|
||||
def get_current_comfyui_ver():
|
||||
"""
|
||||
Extract version from pyproject.toml
|
||||
"""
|
||||
toml_path = os.path.join(comfy_path, 'pyproject.toml')
|
||||
if not os.path.exists(toml_path):
|
||||
return None
|
||||
else:
|
||||
try:
|
||||
with open(toml_path, "r", encoding="utf-8") as f:
|
||||
data = toml.load(f)
|
||||
|
||||
project = data.get('project', {})
|
||||
return project.get('version')
|
||||
except:
|
||||
return None
|
||||
|
||||
|
||||
def get_script_env():
|
||||
new_env = os.environ.copy()
|
||||
git_exe = get_config().get('git_exe')
|
||||
@ -154,7 +173,7 @@ def check_invalid_nodes():
|
||||
|
||||
|
||||
# read env vars
|
||||
comfy_path = os.environ.get('COMFYUI_PATH')
|
||||
comfy_path: str = os.environ.get('COMFYUI_PATH')
|
||||
comfy_base_path = os.environ.get('COMFYUI_FOLDERS_BASE_PATH')
|
||||
|
||||
if comfy_path is None:
|
||||
@ -828,7 +847,7 @@ class UnifiedManager:
|
||||
else:
|
||||
if os.path.exists(requirements_path) and not no_deps:
|
||||
print("Install: pip packages")
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, manager_files_path)
|
||||
res = True
|
||||
lines = manager_util.robust_readlines(requirements_path)
|
||||
for line in lines:
|
||||
@ -1173,14 +1192,14 @@ class UnifiedManager:
|
||||
ver_and_path = self.active_nodes.get(node_id)
|
||||
|
||||
if ver_and_path is not None and os.path.exists(ver_and_path[1]):
|
||||
shutil.rmtree(ver_and_path[1])
|
||||
try_rmtree(node_id, ver_and_path[1])
|
||||
result.items.append(ver_and_path)
|
||||
del self.active_nodes[node_id]
|
||||
|
||||
# remove from nightly inactives
|
||||
fullpath = self.nightly_inactive_nodes.get(node_id)
|
||||
if fullpath is not None and os.path.exists(fullpath):
|
||||
shutil.rmtree(fullpath)
|
||||
try_rmtree(node_id, fullpath)
|
||||
result.items.append(('nightly', fullpath))
|
||||
del self.nightly_inactive_nodes[node_id]
|
||||
|
||||
@ -1188,7 +1207,7 @@ class UnifiedManager:
|
||||
ver_map = self.cnr_inactive_nodes.get(node_id)
|
||||
if ver_map is not None:
|
||||
for key, fullpath in ver_map.items():
|
||||
shutil.rmtree(fullpath)
|
||||
try_rmtree(node_id, fullpath)
|
||||
result.items.append((key, fullpath))
|
||||
del self.cnr_inactive_nodes[node_id]
|
||||
|
||||
@ -1750,18 +1769,29 @@ def switch_to_default_branch(repo):
|
||||
return False
|
||||
|
||||
|
||||
def reserve_script(repo_path, install_cmds):
|
||||
if not os.path.exists(manager_startup_script_path):
|
||||
os.makedirs(manager_startup_script_path)
|
||||
|
||||
script_path = os.path.join(manager_startup_script_path, "install-scripts.txt")
|
||||
with open(script_path, "a") as file:
|
||||
obj = [repo_path] + install_cmds
|
||||
file.write(f"{obj}\n")
|
||||
|
||||
|
||||
def try_rmtree(title, fullpath):
|
||||
try:
|
||||
shutil.rmtree(fullpath)
|
||||
except Exception as e:
|
||||
logging.warning(f"[ComfyUI-Manager] An error occurred while deleting '{fullpath}', so it has been scheduled for deletion upon restart.\nEXCEPTION: {e}")
|
||||
reserve_script(title, ["#LAZY-DELETE-NODEPACK", fullpath])
|
||||
|
||||
|
||||
def try_install_script(url, repo_path, install_cmd, instant_execution=False):
|
||||
if not instant_execution and (
|
||||
(len(install_cmd) > 0 and install_cmd[0].startswith('#')) or platform.system() == "Windows" or get_config()['always_lazy_install']
|
||||
):
|
||||
if not os.path.exists(manager_startup_script_path):
|
||||
os.makedirs(manager_startup_script_path)
|
||||
|
||||
script_path = os.path.join(manager_startup_script_path, "install-scripts.txt")
|
||||
with open(script_path, "a") as file:
|
||||
obj = [repo_path] + install_cmd
|
||||
file.write(f"{obj}\n")
|
||||
|
||||
reserve_script(repo_path, install_cmd)
|
||||
return True
|
||||
else:
|
||||
if len(install_cmd) == 5 and install_cmd[2:4] == ['pip', 'install']:
|
||||
@ -1872,7 +1902,7 @@ def execute_install_script(url, repo_path, lazy_mode=False, instant_execution=Fa
|
||||
else:
|
||||
if os.path.exists(requirements_path) and not no_deps:
|
||||
print("Install: pip packages")
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, manager_files_path)
|
||||
with open(requirements_path, "r") as requirements_file:
|
||||
for line in requirements_file:
|
||||
#handle comments
|
||||
@ -2579,15 +2609,12 @@ async def get_current_snapshot(custom_nodes_only = False):
|
||||
# Get ComfyUI hash
|
||||
repo_path = comfy_path
|
||||
|
||||
if not os.path.exists(os.path.join(repo_path, '.git')):
|
||||
print("ComfyUI update fail: The installed ComfyUI does not have a Git repository.")
|
||||
return {}
|
||||
|
||||
comfyui_commit_hash = None
|
||||
if not custom_nodes_only:
|
||||
repo = git.Repo(repo_path)
|
||||
comfyui_commit_hash = repo.head.commit.hexsha
|
||||
|
||||
if os.path.exists(os.path.join(repo_path, '.git')):
|
||||
repo = git.Repo(repo_path)
|
||||
comfyui_commit_hash = repo.head.commit.hexsha
|
||||
|
||||
git_custom_nodes = {}
|
||||
cnr_custom_nodes = {}
|
||||
file_custom_nodes = []
|
||||
|
||||
@ -450,7 +450,7 @@ async def task_worker():
|
||||
return base_res
|
||||
|
||||
base_res['msg'] = f"An error occurred while updating '{node_name}'."
|
||||
logging.error(f"\nERROR: An error occurred while updating '{node_name}'.")
|
||||
logging.error(f"\nERROR: An error occurred while updating '{node_name}'. (res.result={res.result}, res.action={res.action})")
|
||||
return base_res
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
@ -1545,26 +1545,27 @@ async def get_notice(request):
|
||||
|
||||
if match:
|
||||
markdown_content = match.group(1)
|
||||
version_tag = core.get_comfyui_tag()
|
||||
if version_tag is None:
|
||||
version_tag = os.environ.get('__COMFYUI_DESKTOP_VERSION__')
|
||||
if version_tag is not None:
|
||||
markdown_content += f"<HR>ComfyUI: {version_tag} [Desktop]"
|
||||
else:
|
||||
markdown_content += f"<HR>ComfyUI: {core.comfy_ui_revision}[{comfy_ui_hash[:6]}]({core.comfy_ui_commit_datetime.date()})"
|
||||
version_tag = os.environ.get('__COMFYUI_DESKTOP_VERSION__')
|
||||
if version_tag is not None:
|
||||
markdown_content += f"<HR>ComfyUI: {version_tag} [Desktop]"
|
||||
else:
|
||||
markdown_content += (f"<HR>ComfyUI: {version_tag}<BR>"
|
||||
f" ({core.comfy_ui_commit_datetime.date()})")
|
||||
version_tag = core.get_comfyui_tag()
|
||||
if version_tag is None:
|
||||
markdown_content += f"<HR>ComfyUI: {core.comfy_ui_revision}[{comfy_ui_hash[:6]}]({core.comfy_ui_commit_datetime.date()})"
|
||||
else:
|
||||
markdown_content += (f"<HR>ComfyUI: {version_tag}<BR>"
|
||||
f" ({core.comfy_ui_commit_datetime.date()})")
|
||||
# markdown_content += f"<BR> ()"
|
||||
markdown_content += f"<BR>Manager: {core.version_str}"
|
||||
|
||||
markdown_content = add_target_blank(markdown_content)
|
||||
|
||||
try:
|
||||
if core.comfy_ui_commit_datetime == datetime(1900, 1, 1, 0, 0, 0):
|
||||
markdown_content = '<P style="text-align: center; color:red; background-color:white; font-weight:bold">Your ComfyUI isn\'t git repo.</P>' + markdown_content
|
||||
elif core.comfy_ui_required_commit_datetime.date() > core.comfy_ui_commit_datetime.date():
|
||||
markdown_content = '<P style="text-align: center; color:red; background-color:white; font-weight:bold">Your ComfyUI is too OUTDATED!!!</P>' + markdown_content
|
||||
if '__COMFYUI_DESKTOP_VERSION__' not in os.environ:
|
||||
if core.comfy_ui_commit_datetime == datetime(1900, 1, 1, 0, 0, 0):
|
||||
markdown_content = '<P style="text-align: center; color:red; background-color:white; font-weight:bold">Your ComfyUI isn\'t git repo.</P>' + markdown_content
|
||||
elif core.comfy_ui_required_commit_datetime.date() > core.comfy_ui_commit_datetime.date():
|
||||
markdown_content = '<P style="text-align: center; color:red; background-color:white; font-weight:bold">Your ComfyUI is too OUTDATED!!!</P>' + markdown_content
|
||||
except:
|
||||
pass
|
||||
|
||||
@ -1599,11 +1600,11 @@ def restart(self):
|
||||
if '--windows-standalone-build' in sys_argv:
|
||||
sys_argv.remove('--windows-standalone-build')
|
||||
|
||||
if sys.platform.startswith('win32'):
|
||||
cmds = ['"' + sys.executable + '"', '"' + sys_argv[0] + '"'] + sys_argv[1:]
|
||||
elif sys_argv[0].endswith("__main__.py"): # this is a python module
|
||||
if sys_argv[0].endswith("__main__.py"): # this is a python module
|
||||
module_name = os.path.basename(os.path.dirname(sys_argv[0]))
|
||||
cmds = [sys.executable, '-m', module_name] + sys_argv[1:]
|
||||
elif sys.platform.startswith('win32'):
|
||||
cmds = ['"' + sys.executable + '"', '"' + sys_argv[0] + '"'] + sys_argv[1:]
|
||||
else:
|
||||
cmds = [sys.executable] + sys_argv
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
description:
|
||||
`manager_util` is the lightest module shared across the prestartup_script, main code, and cm-cli of ComfyUI-Manager.
|
||||
"""
|
||||
import traceback
|
||||
|
||||
import aiohttp
|
||||
import json
|
||||
@ -13,6 +14,7 @@ import sys
|
||||
import re
|
||||
import logging
|
||||
import platform
|
||||
import shlex
|
||||
|
||||
|
||||
cache_lock = threading.Lock()
|
||||
@ -180,7 +182,7 @@ def save_to_cache(uri, json_obj, silent=False):
|
||||
logging.info(f"[ComfyUI-Manager] default cache updated: {uri}")
|
||||
|
||||
|
||||
async def get_data_with_cache(uri, silent=False, cache_mode=True, dont_wait=False):
|
||||
async def get_data_with_cache(uri, silent=False, cache_mode=True, dont_wait=False, dont_cache=False):
|
||||
cache_uri = get_cache_path(uri)
|
||||
|
||||
if cache_mode and dont_wait:
|
||||
@ -199,11 +201,12 @@ async def get_data_with_cache(uri, silent=False, cache_mode=True, dont_wait=Fals
|
||||
json_obj = await get_data(cache_uri, silent=silent)
|
||||
else:
|
||||
json_obj = await get_data(uri, silent=silent)
|
||||
with cache_lock:
|
||||
with open(cache_uri, "w", encoding='utf-8') as file:
|
||||
json.dump(json_obj, file, indent=4, sort_keys=True)
|
||||
if not silent:
|
||||
logging.info(f"[ComfyUI-Manager] default cache updated: {uri}")
|
||||
if not dont_cache:
|
||||
with cache_lock:
|
||||
with open(cache_uri, "w", encoding='utf-8') as file:
|
||||
json.dump(json_obj, file, indent=4, sort_keys=True)
|
||||
if not silent:
|
||||
logging.info(f"[ComfyUI-Manager] default cache updated: {uri}")
|
||||
|
||||
return json_obj
|
||||
|
||||
@ -243,7 +246,8 @@ def get_installed_packages(renew=False):
|
||||
if y[0] == 'Package' or y[0].startswith('-'):
|
||||
continue
|
||||
|
||||
pip_map[y[0]] = y[1]
|
||||
normalized_name = y[0].lower().replace('-', '_')
|
||||
pip_map[normalized_name] = y[1]
|
||||
except subprocess.CalledProcessError:
|
||||
logging.error("[ComfyUI-Manager] Failed to retrieve the information of installed pip packages.")
|
||||
return set()
|
||||
@ -256,6 +260,46 @@ def clear_pip_cache():
|
||||
pip_map = None
|
||||
|
||||
|
||||
def parse_requirement_line(line):
|
||||
tokens = shlex.split(line)
|
||||
if not tokens:
|
||||
return None
|
||||
|
||||
package_spec = tokens[0]
|
||||
|
||||
pattern = re.compile(
|
||||
r'^(?P<package>[A-Za-z0-9_.+-]+)'
|
||||
r'(?P<operator>==|>=|<=|!=|~=|>|<)?'
|
||||
r'(?P<version>[A-Za-z0-9_.+-]*)$'
|
||||
)
|
||||
m = pattern.match(package_spec)
|
||||
if not m:
|
||||
return None
|
||||
|
||||
package = m.group('package')
|
||||
operator = m.group('operator') or None
|
||||
version = m.group('version') or None
|
||||
|
||||
index_url = None
|
||||
if '--index-url' in tokens:
|
||||
idx = tokens.index('--index-url')
|
||||
if idx + 1 < len(tokens):
|
||||
index_url = tokens[idx + 1]
|
||||
|
||||
res = {'package': package}
|
||||
|
||||
if operator is not None:
|
||||
res['operator'] = operator
|
||||
|
||||
if version is not None:
|
||||
res['version'] = StrictVersion(version)
|
||||
|
||||
if index_url is not None:
|
||||
res['index_url'] = index_url
|
||||
|
||||
return res
|
||||
|
||||
|
||||
torch_torchvision_torchaudio_version_map = {
|
||||
'2.6.0': ('0.21.0', '2.6.0'),
|
||||
'2.5.1': ('0.20.0', '2.5.0'),
|
||||
@ -275,9 +319,12 @@ torch_torchvision_torchaudio_version_map = {
|
||||
}
|
||||
|
||||
|
||||
|
||||
class PIPFixer:
|
||||
def __init__(self, prev_pip_versions):
|
||||
def __init__(self, prev_pip_versions, comfyui_path, manager_files_path):
|
||||
self.prev_pip_versions = { **prev_pip_versions }
|
||||
self.comfyui_path = comfyui_path
|
||||
self.manager_files_path = manager_files_path
|
||||
|
||||
def torch_rollback(self):
|
||||
spec = self.prev_pip_versions['torch'].split('+')
|
||||
@ -357,7 +404,7 @@ class PIPFixer:
|
||||
|
||||
if len(targets) > 0:
|
||||
for x in targets:
|
||||
cmd = make_pip_cmd(['install', f"{x}=={versions[0].version_string}"])
|
||||
cmd = make_pip_cmd(['install', f"{x}=={versions[0].version_string}", "numpy<2"])
|
||||
subprocess.check_output(cmd, universal_newlines=True)
|
||||
|
||||
logging.info(f"[ComfyUI-Manager] 'opencv' dependencies were fixed: {targets}")
|
||||
@ -372,10 +419,81 @@ class PIPFixer:
|
||||
if StrictVersion(np) >= StrictVersion('2'):
|
||||
cmd = make_pip_cmd(['install', "numpy<2"])
|
||||
subprocess.check_output(cmd , universal_newlines=True)
|
||||
|
||||
logging.info("[ComfyUI-Manager] 'numpy' dependency were fixed")
|
||||
except Exception as e:
|
||||
logging.error("[ComfyUI-Manager] Failed to restore numpy")
|
||||
logging.error(e)
|
||||
|
||||
# fix missing frontend
|
||||
try:
|
||||
# NOTE: package name in requirements is 'comfyui-frontend-package'
|
||||
# but, package name from `pip freeze` is 'comfyui_frontend_package'
|
||||
# but, package name from `uv pip freeze` is 'comfyui-frontend-package'
|
||||
#
|
||||
# get_installed_packages returns normalized name (i.e. comfyui_frontend_package)
|
||||
if 'comfyui_frontend_package' not in new_pip_versions:
|
||||
requirements_path = os.path.join(self.comfyui_path, 'requirements.txt')
|
||||
|
||||
with open(requirements_path, 'r') as file:
|
||||
lines = file.readlines()
|
||||
|
||||
front_line = next((line.strip() for line in lines if line.startswith('comfyui-frontend-package')), None)
|
||||
cmd = make_pip_cmd(['install', front_line])
|
||||
subprocess.check_output(cmd , universal_newlines=True)
|
||||
|
||||
logging.info("[ComfyUI-Manager] 'comfyui-frontend-package' dependency were fixed")
|
||||
except Exception as e:
|
||||
logging.error("[ComfyUI-Manager] Failed to restore comfyui-frontend-package")
|
||||
logging.error(e)
|
||||
|
||||
# restore based on custom list
|
||||
pip_auto_fix_path = os.path.join(self.manager_files_path, "pip_auto_fix.list")
|
||||
if os.path.exists(pip_auto_fix_path):
|
||||
with open(pip_auto_fix_path, 'r', encoding="UTF-8", errors="ignore") as f:
|
||||
fixed_list = []
|
||||
|
||||
for x in f.readlines():
|
||||
try:
|
||||
parsed = parse_requirement_line(x)
|
||||
need_to_reinstall = True
|
||||
|
||||
normalized_name = parsed['package'].lower().replace('-', '_')
|
||||
if normalized_name in new_pip_versions:
|
||||
if 'version' in parsed and 'operator' in parsed:
|
||||
cur = StrictVersion(new_pip_versions[parsed['package']])
|
||||
dest = parsed['version']
|
||||
op = parsed['operator']
|
||||
if cur == dest:
|
||||
if op in ['==', '>=', '<=']:
|
||||
need_to_reinstall = False
|
||||
elif cur < dest:
|
||||
if op in ['<=', '<', '~=', '!=']:
|
||||
need_to_reinstall = False
|
||||
elif cur > dest:
|
||||
if op in ['>=', '>', '~=', '!=']:
|
||||
need_to_reinstall = False
|
||||
|
||||
if need_to_reinstall:
|
||||
cmd_args = ['install']
|
||||
if 'version' in parsed and 'operator' in parsed:
|
||||
cmd_args.append(parsed['package']+parsed['operator']+parsed['version'].version_string)
|
||||
|
||||
if 'index_url' in parsed:
|
||||
cmd_args.append('--index-url')
|
||||
cmd_args.append(parsed['index_url'])
|
||||
|
||||
cmd = make_pip_cmd(cmd_args)
|
||||
subprocess.check_output(cmd, universal_newlines=True)
|
||||
|
||||
fixed_list.append(parsed['package'])
|
||||
except Exception as e:
|
||||
traceback.print_exc()
|
||||
logging.error(f"[ComfyUI-Manager] Failed to restore '{x}'")
|
||||
logging.error(e)
|
||||
|
||||
if len(fixed_list) > 0:
|
||||
logging.info(f"[ComfyUI-Manager] dependencies in pip_auto_fix.json were fixed: {fixed_list}")
|
||||
|
||||
def sanitize(data):
|
||||
return data.replace("<", "<").replace(">", ">")
|
||||
|
||||
170
js/common.js
170
js/common.js
@ -1,6 +1,7 @@
|
||||
import { app } from "../../scripts/app.js";
|
||||
import { api } from "../../scripts/api.js";
|
||||
import { $el, ComfyDialog } from "../../scripts/ui.js";
|
||||
import { getBestPosition, getPositionStyle, getRect } from './popover-helper.js';
|
||||
|
||||
|
||||
function internalCustomConfirm(message, confirmMessage, cancelMessage) {
|
||||
@ -404,12 +405,14 @@ export async function fetchData(route, options) {
|
||||
}
|
||||
}
|
||||
|
||||
// https://cenfun.github.io/open-icons/
|
||||
export const icons = {
|
||||
search: '<svg viewBox="0 0 24 24" width="100%" height="100%" pointer-events="none" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m21 21-4.486-4.494M19 10.5a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0"/></svg>',
|
||||
extensions: '<svg viewBox="64 64 896 896" width="100%" height="100%" pointer-events="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4S189.7 168 180.5 243.8s40 146.3 114.2 163.9 149.9-23.3 175.7-95.1c9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6M329.1 345.2a83.3 83.3 0 1 1 .01-166.61 83.3 83.3 0 0 1-.01 166.61M695.6 845a83.3 83.3 0 1 1 .01-166.61A83.3 83.3 0 0 1 695.6 845"/></svg>',
|
||||
conflicts: '<svg viewBox="0 0 400 400" width="100%" height="100%" pointer-events="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="m397.2 350.4.2-.2-180-320-.2.2C213.8 24.2 207.4 20 200 20s-13.8 4.2-17.2 10.4l-.2-.2-180 320 .2.2c-1.6 2.8-2.8 6-2.8 9.6 0 11 9 20 20 20h360c11 0 20-9 20-20 0-3.6-1.2-6.8-2.8-9.6M220 340h-40v-40h40zm0-60h-40V120h40z"/></svg>',
|
||||
passed: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 426.667 426.667"><path fill="#6AC259" d="M213.333,0C95.518,0,0,95.514,0,213.333s95.518,213.333,213.333,213.333c117.828,0,213.333-95.514,213.333-213.333S331.157,0,213.333,0z M174.199,322.918l-93.935-93.931l31.309-31.309l62.626,62.622l140.894-140.898l31.309,31.309L174.199,322.918z"/></svg>',
|
||||
download: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" width="100%" height="100%" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg>'
|
||||
download: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" width="100%" height="100%" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg>',
|
||||
close: '<svg xmlns="http://www.w3.org/2000/svg" pointer-events="none" width="100%" height="100%" viewBox="0 0 16 16"><g fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="m7.116 8-4.558 4.558.884.884L8 8.884l4.558 4.558.884-.884L8.884 8l4.558-4.558-.884-.884L8 7.116 3.442 2.558l-.884.884L7.116 8z"/></g></svg>',
|
||||
arrowRight: '<svg xmlns="http://www.w3.org/2000/svg" pointer-events="none" width="100%" height="100%" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="m2.542 2.154 7.254 7.26c.136.14.204.302.204.483a.73.73 0 0 1-.204.5l-7.575 7.398c-.383.317-.724.317-1.022 0-.299-.317-.299-.643 0-.98l7.08-6.918-6.754-6.763c-.237-.343-.215-.654.066-.935.281-.28.598-.295.951-.045Zm9 0 7.254 7.26c.136.14.204.302.204.483a.73.73 0 0 1-.204.5l-7.575 7.398c-.383.317-.724.317-1.022 0-.299-.317-.299-.643 0-.98l7.08-6.918-6.754-6.763c-.237-.343-.215-.654.066-.935.281-.28.598-.295.951-.045Z"/></svg>'
|
||||
}
|
||||
|
||||
export function sanitizeHTML(str) {
|
||||
@ -503,3 +506,166 @@ export function restoreColumnWidth(gridId, columns) {
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
export function getTimeAgo(dateStr) {
|
||||
const date = new Date(dateStr);
|
||||
|
||||
if (!date || !(date instanceof Date) || isNaN(date.getTime())) {
|
||||
return "";
|
||||
}
|
||||
|
||||
const units = [
|
||||
{ max: 2760000, value: 60000, name: 'minute', past: 'a minute ago', future: 'in a minute' },
|
||||
{ max: 72000000, value: 3600000, name: 'hour', past: 'an hour ago', future: 'in an hour' },
|
||||
{ max: 518400000, value: 86400000, name: 'day', past: 'yesterday', future: 'tomorrow' },
|
||||
{ max: 2419200000, value: 604800000, name: 'week', past: 'last week', future: 'in a week' },
|
||||
{ max: 28512000000, value: 2592000000, name: 'month', past: 'last month', future: 'in a month' }
|
||||
];
|
||||
const diff = Date.now() - date.getTime();
|
||||
// less than a minute
|
||||
if (Math.abs(diff) < 60000)
|
||||
return 'just now';
|
||||
for (let i = 0; i < units.length; i++) {
|
||||
if (Math.abs(diff) < units[i].max) {
|
||||
return format(diff, units[i].value, units[i].name, units[i].past, units[i].future, diff < 0);
|
||||
}
|
||||
}
|
||||
function format(diff, divisor, unit, past, future, isInTheFuture) {
|
||||
const val = Math.round(Math.abs(diff) / divisor);
|
||||
if (isInTheFuture)
|
||||
return val <= 1 ? future : 'in ' + val + ' ' + unit + 's';
|
||||
return val <= 1 ? past : val + ' ' + unit + 's ago';
|
||||
}
|
||||
return format(diff, 31536000000, 'year', 'last year', 'in a year', diff < 0);
|
||||
};
|
||||
|
||||
export const loadCss = (cssFile) => {
|
||||
const cssPath = import.meta.resolve(cssFile);
|
||||
//console.log(cssPath);
|
||||
const $link = document.createElement("link");
|
||||
$link.setAttribute("rel", 'stylesheet');
|
||||
$link.setAttribute("href", cssPath);
|
||||
document.head.appendChild($link);
|
||||
};
|
||||
|
||||
export const copyText = (text) => {
|
||||
return new Promise((resolve) => {
|
||||
let err;
|
||||
try {
|
||||
navigator.clipboard.writeText(text);
|
||||
} catch (e) {
|
||||
err = e;
|
||||
}
|
||||
if (err) {
|
||||
resolve(false);
|
||||
} else {
|
||||
resolve(true);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
function renderPopover($elem, target, options = {}) {
|
||||
// async microtask
|
||||
queueMicrotask(() => {
|
||||
|
||||
const containerRect = getRect(window);
|
||||
const targetRect = getRect(target);
|
||||
const elemRect = getRect($elem);
|
||||
|
||||
const positionInfo = getBestPosition(
|
||||
containerRect,
|
||||
targetRect,
|
||||
elemRect,
|
||||
options.positions
|
||||
);
|
||||
const style = getPositionStyle(positionInfo, {
|
||||
bgColor: options.bgColor,
|
||||
borderColor: options.borderColor,
|
||||
borderRadius: options.borderRadius
|
||||
});
|
||||
|
||||
$elem.style.top = positionInfo.top + "px";
|
||||
$elem.style.left = positionInfo.left + "px";
|
||||
$elem.style.background = style.background;
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
let $popover;
|
||||
export function hidePopover() {
|
||||
if ($popover) {
|
||||
$popover.remove();
|
||||
$popover = null;
|
||||
}
|
||||
}
|
||||
export function showPopover(target, text, className, options) {
|
||||
hidePopover();
|
||||
$popover = document.createElement("div");
|
||||
$popover.className = ['cn-popover', className].filter(it => it).join(" ");
|
||||
document.body.appendChild($popover);
|
||||
$popover.innerHTML = text;
|
||||
$popover.style.display = "block";
|
||||
renderPopover($popover, target, {
|
||||
borderRadius: 10,
|
||||
... options
|
||||
});
|
||||
}
|
||||
|
||||
let $tooltip;
|
||||
export function hideTooltip(target) {
|
||||
if ($tooltip) {
|
||||
$tooltip.style.display = "none";
|
||||
$tooltip.innerHTML = "";
|
||||
$tooltip.style.top = "0px";
|
||||
$tooltip.style.left = "0px";
|
||||
}
|
||||
}
|
||||
export function showTooltip(target, text, className = 'cn-tooltip', styleMap = {}) {
|
||||
if (!$tooltip) {
|
||||
$tooltip = document.createElement("div");
|
||||
$tooltip.className = className;
|
||||
$tooltip.style.cssText = `
|
||||
pointer-events: none;
|
||||
position: fixed;
|
||||
z-index: 10001;
|
||||
padding: 20px;
|
||||
color: #1e1e1e;
|
||||
max-width: 350px;
|
||||
filter: drop-shadow(1px 5px 5px rgb(0 0 0 / 30%));
|
||||
${Object.keys(styleMap).map(k=>k+":"+styleMap[k]+";").join("")}
|
||||
`;
|
||||
document.body.appendChild($tooltip);
|
||||
}
|
||||
|
||||
$tooltip.innerHTML = text;
|
||||
$tooltip.style.display = "block";
|
||||
renderPopover($tooltip, target, {
|
||||
positions: ['top', 'bottom', 'right', 'center'],
|
||||
bgColor: "#ffffff",
|
||||
borderColor: "#cccccc",
|
||||
borderRadius: 5
|
||||
});
|
||||
}
|
||||
|
||||
function initTooltip () {
|
||||
const mouseenterHandler = (e) => {
|
||||
const target = e.target;
|
||||
const text = target.getAttribute('tooltip');
|
||||
if (text) {
|
||||
showTooltip(target, text);
|
||||
}
|
||||
};
|
||||
const mouseleaveHandler = (e) => {
|
||||
const target = e.target;
|
||||
const text = target.getAttribute('tooltip');
|
||||
if (text) {
|
||||
hideTooltip(target);
|
||||
}
|
||||
};
|
||||
document.body.removeEventListener('mouseenter', mouseenterHandler, true);
|
||||
document.body.removeEventListener('mouseleave', mouseleaveHandler, true);
|
||||
document.body.addEventListener('mouseenter', mouseenterHandler, true);
|
||||
document.body.addEventListener('mouseleave', mouseleaveHandler, true);
|
||||
}
|
||||
|
||||
initTooltip();
|
||||
699
js/custom-nodes-manager.css
Normal file
699
js/custom-nodes-manager.css
Normal file
@ -0,0 +1,699 @@
|
||||
.cn-manager {
|
||||
--grid-font: -apple-system, BlinkMacSystemFont, "Segue UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
||||
z-index: 1099;
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
color: var(--fg-color);
|
||||
font-family: arial, sans-serif;
|
||||
text-underline-offset: 3px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.cn-manager .cn-flex-auto {
|
||||
flex: auto;
|
||||
}
|
||||
|
||||
.cn-manager button {
|
||||
font-size: 16px;
|
||||
color: var(--input-text);
|
||||
background-color: var(--comfy-input-bg);
|
||||
border-radius: 8px;
|
||||
border-color: var(--border-color);
|
||||
border-style: solid;
|
||||
margin: 0;
|
||||
padding: 4px 8px;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
.cn-manager button:disabled,
|
||||
.cn-manager input:disabled,
|
||||
.cn-manager select:disabled {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.cn-manager button:disabled {
|
||||
background-color: var(--comfy-input-bg);
|
||||
}
|
||||
|
||||
.cn-manager .cn-manager-restart {
|
||||
display: none;
|
||||
background-color: #500000;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-manager-stop {
|
||||
display: none;
|
||||
background-color: #500000;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-manager-back {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.arrow-icon {
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
margin-right: 5px;
|
||||
transform: translateY(2px);
|
||||
}
|
||||
|
||||
.cn-icon {
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.cn-icon svg {
|
||||
display: block;
|
||||
margin: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.cn-manager-header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.cn-manager-header label {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cn-manager-filter {
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.cn-manager-keywords {
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
padding: 0 5px 0 26px;
|
||||
background-size: 16px;
|
||||
background-position: 5px center;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20pointer-events%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23888%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m21%2021-4.486-4.494M19%2010.5a8.5%208.5%200%201%201-17%200%208.5%208.5%200%200%201%2017%200%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
.cn-manager-status {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.cn-manager-grid {
|
||||
flex: auto;
|
||||
border: 1px solid var(--border-color);
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.cn-manager-selection {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cn-manager-message {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.cn-manager-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cn-manager-grid .tg-turbogrid {
|
||||
font-family: var(--grid-font);
|
||||
font-size: 15px;
|
||||
background: var(--bg-color);
|
||||
}
|
||||
|
||||
.cn-manager-grid .tg-turbogrid .tg-highlight::after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: "";
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
background-color: #80bdff11;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.cn-manager-grid .cn-pack-name a {
|
||||
color: skyblue;
|
||||
text-decoration: none;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.cn-manager-grid .cn-pack-desc a {
|
||||
color: #5555FF;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.cn-manager-grid .tg-cell a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.cn-manager-grid .cn-pack-version {
|
||||
line-height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.cn-manager-grid .cn-pack-nodes {
|
||||
line-height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 5px;
|
||||
cursor: pointer;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.cn-manager-grid .cn-pack-nodes:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.cn-manager-grid .cn-pack-conflicts {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.cn-popover {
|
||||
position: fixed;
|
||||
z-index: 10000;
|
||||
padding: 20px;
|
||||
color: #1e1e1e;
|
||||
filter: drop-shadow(1px 5px 5px rgb(0 0 0 / 30%));
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.cn-flyover {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 1000;
|
||||
display: none;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
background-color: var(--comfy-menu-bg);
|
||||
animation-duration: 0.2s;
|
||||
animation-fill-mode: both;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.cn-flyover::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
content: "";
|
||||
z-index: 10;
|
||||
display: block;
|
||||
width: 10px;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
left: -10px;
|
||||
background-image: linear-gradient(to left, rgb(0 0 0 / 20%), rgb(0 0 0 / 0%));
|
||||
}
|
||||
|
||||
.cn-flyover-header {
|
||||
height: 45px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.cn-flyover-close {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 10px;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
opacity: 0.8;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.cn-flyover-close:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.cn-flyover-close svg {
|
||||
display: block;
|
||||
margin: 0;
|
||||
pointer-events: none;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.cn-flyover-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-weight: bold;
|
||||
gap: 10px;
|
||||
flex: auto;
|
||||
}
|
||||
|
||||
.cn-flyover-body {
|
||||
height: calc(100% - 45px);
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
background-color: var(--comfy-menu-secondary-bg);
|
||||
}
|
||||
|
||||
@keyframes cn-slide-in-right {
|
||||
from {
|
||||
visibility: visible;
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.cn-slide-in-right {
|
||||
animation-name: cn-slide-in-right;
|
||||
}
|
||||
|
||||
@keyframes cn-slide-out-right {
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
visibility: hidden;
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.cn-slide-out-right {
|
||||
animation-name: cn-slide-out-right;
|
||||
}
|
||||
|
||||
.cn-nodes-list {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cn-nodes-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.cn-nodes-row:nth-child(odd) {
|
||||
background-color: rgb(0 0 0 / 5%);
|
||||
}
|
||||
|
||||
.cn-nodes-row:hover {
|
||||
background-color: rgb(0 0 0 / 10%);
|
||||
}
|
||||
|
||||
.cn-nodes-sn {
|
||||
text-align: right;
|
||||
min-width: 35px;
|
||||
color: var(--drag-text);
|
||||
flex-shrink: 0;
|
||||
font-size: 12px;
|
||||
padding: 8px 5px;
|
||||
}
|
||||
|
||||
.cn-nodes-name {
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
padding: 8px 5px;
|
||||
}
|
||||
|
||||
.cn-nodes-name::after {
|
||||
content: attr(action);
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
top: 50%;
|
||||
left: 100%;
|
||||
transform: translate(5px, -50%);
|
||||
font-size: 12px;
|
||||
color: var(--drag-text);
|
||||
background-color: var(--comfy-input-bg);
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--border-color);
|
||||
padding: 3px 8px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cn-nodes-name.action::after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.cn-nodes-name:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.cn-nodes-conflict .cn-nodes-name,
|
||||
.cn-nodes-conflict .cn-icon {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.cn-conflicts-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.cn-conflicts-list b {
|
||||
font-weight: normal;
|
||||
color: var(--descrip-text);
|
||||
}
|
||||
|
||||
.cn-nodes-pack {
|
||||
cursor: pointer;
|
||||
color: skyblue;
|
||||
}
|
||||
|
||||
.cn-nodes-pack:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.cn-pack-badge {
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
background-color: var(--comfy-input-bg);
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--border-color);
|
||||
padding: 3px 8px;
|
||||
color: var(--error-text);
|
||||
}
|
||||
|
||||
.cn-preview {
|
||||
min-width: 300px;
|
||||
max-width: 500px;
|
||||
min-height: 120px;
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
pointer-events: none;
|
||||
padding: 12px;
|
||||
color: var(--fg-color);
|
||||
}
|
||||
|
||||
.cn-preview-header {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid var(--comfy-input-bg);
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.cn-preview-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background-color: grey;
|
||||
position: relative;
|
||||
filter: drop-shadow(1px 2px 3px rgb(0 0 0 / 30%));
|
||||
}
|
||||
|
||||
.cn-preview-dot.cn-preview-optional::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background-color: var(--comfy-input-bg);
|
||||
border-radius: 50%;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
.cn-preview-dot.cn-preview-grid {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.cn-preview-dot.cn-preview-grid::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
border-left: 1px solid var(--comfy-input-bg);
|
||||
border-right: 1px solid var(--comfy-input-bg);
|
||||
width: 4px;
|
||||
height: 100%;
|
||||
left: 2px;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.cn-preview-dot.cn-preview-grid::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
border-top: 1px solid var(--comfy-input-bg);
|
||||
border-bottom: 1px solid var(--comfy-input-bg);
|
||||
width: 100%;
|
||||
height: 4px;
|
||||
left: 0;
|
||||
top: 2px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.cn-preview-name {
|
||||
flex: auto;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.cn-preview-io {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 10px 10px;
|
||||
}
|
||||
|
||||
.cn-preview-column > div {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
height: 18px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.cn-preview-input {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.cn-preview-output {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.cn-preview-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
padding: 0 10px 10px 10px;
|
||||
}
|
||||
|
||||
.cn-preview-switch {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background: var(--bg-color);
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: 10px;
|
||||
text-wrap: nowrap;
|
||||
padding: 2px 20px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.cn-preview-switch::before,
|
||||
.cn-preview-switch::after {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
top: 50%;
|
||||
transform: translate(0, -50%);
|
||||
color: var(--fg-color);
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.cn-preview-switch::before {
|
||||
content: "◀";
|
||||
left: 5px;
|
||||
}
|
||||
|
||||
.cn-preview-switch::after {
|
||||
content: "▶";
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
.cn-preview-value {
|
||||
color: var(--descrip-text);
|
||||
}
|
||||
|
||||
.cn-preview-string {
|
||||
min-height: 30px;
|
||||
max-height: 300px;
|
||||
background: var(--bg-color);
|
||||
color: var(--descrip-text);
|
||||
border-radius: 3px;
|
||||
padding: 3px 5px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.cn-preview-description {
|
||||
margin: 0px 10px 10px 10px;
|
||||
padding: 6px;
|
||||
background: var(--border-color);
|
||||
color: var(--descrip-text);
|
||||
border-radius: 5px;
|
||||
font-style: italic;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.cn-tag-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.cn-tag-list > div {
|
||||
background-color: var(--border-color);
|
||||
border-radius: 5px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.cn-install-buttons {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
padding: 3px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.cn-selected-buttons {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-enable {
|
||||
background-color: #333399;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-disable {
|
||||
background-color: #442277;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-update {
|
||||
background-color: #1155AA;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-try-update {
|
||||
background-color: Gray;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-try-fix {
|
||||
background-color: #6495ED;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-import-failed {
|
||||
background-color: #AA1111;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-install {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-try-install {
|
||||
background-color: Gray;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-uninstall {
|
||||
background-color: #993333;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-reinstall {
|
||||
background-color: #993333;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cn-manager .cn-btn-switch {
|
||||
background-color: #448833;
|
||||
color: white;
|
||||
|
||||
}
|
||||
|
||||
@keyframes cn-btn-loading-bg {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
100% {
|
||||
left: -105px;
|
||||
}
|
||||
}
|
||||
|
||||
.cn-manager button.cn-btn-loading {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-color: rgb(0 119 207 / 80%);
|
||||
background-color: var(--comfy-input-bg);
|
||||
}
|
||||
|
||||
.cn-manager button.cn-btn-loading::after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: "";
|
||||
width: 500px;
|
||||
height: 100%;
|
||||
background-image: repeating-linear-gradient(
|
||||
-45deg,
|
||||
rgb(0 119 207 / 30%),
|
||||
rgb(0 119 207 / 30%) 10px,
|
||||
transparent 10px,
|
||||
transparent 15px
|
||||
);
|
||||
animation: cn-btn-loading-bg 2s linear infinite;
|
||||
}
|
||||
|
||||
.cn-manager-light .cn-pack-name a {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.cn-manager-light .cm-warn-note {
|
||||
background-color: #ccc !important;
|
||||
}
|
||||
|
||||
.cn-manager-light .cn-btn-install {
|
||||
background-color: #333;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
213
js/model-manager.css
Normal file
213
js/model-manager.css
Normal file
@ -0,0 +1,213 @@
|
||||
.cmm-manager {
|
||||
--grid-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
||||
z-index: 1099;
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
color: var(--fg-color);
|
||||
font-family: arial, sans-serif;
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-flex-auto {
|
||||
flex: auto;
|
||||
}
|
||||
|
||||
.cmm-manager button {
|
||||
font-size: 16px;
|
||||
color: var(--input-text);
|
||||
background-color: var(--comfy-input-bg);
|
||||
border-radius: 8px;
|
||||
border-color: var(--border-color);
|
||||
border-style: solid;
|
||||
margin: 0;
|
||||
padding: 4px 8px;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
.cmm-manager button:disabled,
|
||||
.cmm-manager input:disabled,
|
||||
.cmm-manager select:disabled {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.cmm-manager button:disabled {
|
||||
background-color: var(--comfy-input-bg);
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-manager-refresh {
|
||||
display: none;
|
||||
background-color: #000080;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-manager-stop {
|
||||
display: none;
|
||||
background-color: #500000;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cmm-manager-header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.cmm-manager-header label {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cmm-manager-type,
|
||||
.cmm-manager-base,
|
||||
.cmm-manager-filter {
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.cmm-manager-keywords {
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
padding: 0 5px 0 26px;
|
||||
background-size: 16px;
|
||||
background-position: 5px center;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20pointer-events%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23888%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m21%2021-4.486-4.494M19%2010.5a8.5%208.5%200%201%201-17%200%208.5%208.5%200%200%201%2017%200%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
.cmm-manager-status {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.cmm-manager-grid {
|
||||
flex: auto;
|
||||
border: 1px solid var(--border-color);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.cmm-manager-selection {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cmm-manager-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cmm-manager-grid .tg-turbogrid {
|
||||
font-family: var(--grid-font);
|
||||
font-size: 15px;
|
||||
background: var(--bg-color);
|
||||
}
|
||||
|
||||
.cmm-manager-grid .cmm-node-name a {
|
||||
color: skyblue;
|
||||
text-decoration: none;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.cmm-manager-grid .cmm-node-desc a {
|
||||
color: #5555FF;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.cmm-manager-grid .tg-cell a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.cmm-icon-passed {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
left: calc(50% - 10px);
|
||||
top: calc(50% - 10px);
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-btn-enable {
|
||||
background-color: blue;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-btn-disable {
|
||||
background-color: MediumSlateBlue;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-btn-install {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cmm-btn-download {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
position: absolute;
|
||||
left: calc(50% - 10px);
|
||||
top: calc(50% - 10px);
|
||||
cursor: pointer;
|
||||
opacity: 0.8;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.cmm-btn-download:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.cmm-manager-light .cmm-btn-download {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
@keyframes cmm-btn-loading-bg {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
100% {
|
||||
left: -105px;
|
||||
}
|
||||
}
|
||||
|
||||
.cmm-manager button.cmm-btn-loading {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-color: rgb(0 119 207 / 80%);
|
||||
background-color: var(--comfy-input-bg);
|
||||
}
|
||||
|
||||
.cmm-manager button.cmm-btn-loading::after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: "";
|
||||
width: 500px;
|
||||
height: 100%;
|
||||
background-image: repeating-linear-gradient(
|
||||
-45deg,
|
||||
rgb(0 119 207 / 30%),
|
||||
rgb(0 119 207 / 30%) 10px,
|
||||
transparent 10px,
|
||||
transparent 15px
|
||||
);
|
||||
animation: cmm-btn-loading-bg 2s linear infinite;
|
||||
}
|
||||
|
||||
.cmm-manager-light .cmm-node-name a {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.cmm-manager-light .cm-warn-note {
|
||||
background-color: #ccc !important;
|
||||
}
|
||||
|
||||
.cmm-manager-light .cmm-btn-install {
|
||||
background-color: #333;
|
||||
}
|
||||
@ -3,236 +3,17 @@ import { $el } from "../../scripts/ui.js";
|
||||
import {
|
||||
manager_instance, rebootAPI,
|
||||
fetchData, md5, icons, show_message, customAlert, infoToast, showTerminal,
|
||||
storeColumnWidth, restoreColumnWidth
|
||||
storeColumnWidth, restoreColumnWidth, loadCss
|
||||
} from "./common.js";
|
||||
import { api } from "../../scripts/api.js";
|
||||
|
||||
// https://cenfun.github.io/turbogrid/api.html
|
||||
import TG from "./turbogrid.esm.js";
|
||||
|
||||
loadCss("./model-manager.css");
|
||||
|
||||
const gridId = "model";
|
||||
|
||||
const pageCss = `
|
||||
.cmm-manager {
|
||||
--grid-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
||||
z-index: 1099;
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
color: var(--fg-color);
|
||||
font-family: arial, sans-serif;
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-flex-auto {
|
||||
flex: auto;
|
||||
}
|
||||
|
||||
.cmm-manager button {
|
||||
font-size: 16px;
|
||||
color: var(--input-text);
|
||||
background-color: var(--comfy-input-bg);
|
||||
border-radius: 8px;
|
||||
border-color: var(--border-color);
|
||||
border-style: solid;
|
||||
margin: 0;
|
||||
padding: 4px 8px;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
.cmm-manager button:disabled,
|
||||
.cmm-manager input:disabled,
|
||||
.cmm-manager select:disabled {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.cmm-manager button:disabled {
|
||||
background-color: var(--comfy-input-bg);
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-manager-refresh {
|
||||
display: none;
|
||||
background-color: #000080;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-manager-stop {
|
||||
display: none;
|
||||
background-color: #500000;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cmm-manager-header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.cmm-manager-header label {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cmm-manager-type,
|
||||
.cmm-manager-base,
|
||||
.cmm-manager-filter {
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.cmm-manager-keywords {
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
padding: 0 5px 0 26px;
|
||||
background-size: 16px;
|
||||
background-position: 5px center;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url("data:image/svg+xml;charset=utf8,${encodeURIComponent(icons.search.replace("currentColor", "#888"))}");
|
||||
}
|
||||
|
||||
.cmm-manager-status {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.cmm-manager-grid {
|
||||
flex: auto;
|
||||
border: 1px solid var(--border-color);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.cmm-manager-selection {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cmm-manager-message {
|
||||
|
||||
}
|
||||
|
||||
.cmm-manager-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cmm-manager-grid .tg-turbogrid {
|
||||
font-family: var(--grid-font);
|
||||
font-size: 15px;
|
||||
background: var(--bg-color);
|
||||
}
|
||||
|
||||
.cmm-manager-grid .cmm-node-name a {
|
||||
color: skyblue;
|
||||
text-decoration: none;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.cmm-manager-grid .cmm-node-desc a {
|
||||
color: #5555FF;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.cmm-manager-grid .tg-cell a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.cmm-icon-passed {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
left: calc(50% - 10px);
|
||||
top: calc(50% - 10px);
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-btn-enable {
|
||||
background-color: blue;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-btn-disable {
|
||||
background-color: MediumSlateBlue;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cmm-manager .cmm-btn-install {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.cmm-btn-download {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
position: absolute;
|
||||
left: calc(50% - 10px);
|
||||
top: calc(50% - 10px);
|
||||
cursor: pointer;
|
||||
opacity: 0.8;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.cmm-btn-download:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.cmm-manager-light .cmm-btn-download {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
@keyframes cmm-btn-loading-bg {
|
||||
0% {
|
||||
left: 0;
|
||||
}
|
||||
100% {
|
||||
left: -105px;
|
||||
}
|
||||
}
|
||||
|
||||
.cmm-manager button.cmm-btn-loading {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-color: rgb(0 119 207 / 80%);
|
||||
background-color: var(--comfy-input-bg);
|
||||
}
|
||||
|
||||
.cmm-manager button.cmm-btn-loading::after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: "";
|
||||
width: 500px;
|
||||
height: 100%;
|
||||
background-image: repeating-linear-gradient(
|
||||
-45deg,
|
||||
rgb(0 119 207 / 30%),
|
||||
rgb(0 119 207 / 30%) 10px,
|
||||
transparent 10px,
|
||||
transparent 15px
|
||||
);
|
||||
animation: cmm-btn-loading-bg 2s linear infinite;
|
||||
}
|
||||
|
||||
.cmm-manager-light .cmm-node-name a {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.cmm-manager-light .cm-warn-note {
|
||||
background-color: #ccc !important;
|
||||
}
|
||||
|
||||
.cmm-manager-light .cmm-btn-install {
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
`;
|
||||
|
||||
const pageHtml = `
|
||||
<div class="cmm-manager-header">
|
||||
<label>Filter
|
||||
@ -283,14 +64,6 @@ export class ModelManager {
|
||||
}
|
||||
|
||||
init() {
|
||||
|
||||
if (!document.querySelector(`style[context="${this.id}"]`)) {
|
||||
const $style = document.createElement("style");
|
||||
$style.setAttribute("context", this.id);
|
||||
$style.innerHTML = pageCss;
|
||||
document.head.appendChild($style);
|
||||
}
|
||||
|
||||
this.element = $el("div", {
|
||||
parent: document.body,
|
||||
className: "comfy-modal cmm-manager"
|
||||
@ -561,7 +334,7 @@ export class ModelManager {
|
||||
sortable: false,
|
||||
align: 'center',
|
||||
formatter: (url, rowItem, columnItem) => {
|
||||
return `<a class="cmm-btn-download" title="Download file" href="${url}" target="_blank">${icons.download}</a>`;
|
||||
return `<a class="cmm-btn-download" tooltip="Download file" href="${url}" target="_blank">${icons.download}</a>`;
|
||||
}
|
||||
}, {
|
||||
id: 'size',
|
||||
|
||||
619
js/popover-helper.js
Normal file
619
js/popover-helper.js
Normal file
@ -0,0 +1,619 @@
|
||||
const hasOwn = function(obj, key) {
|
||||
return Object.prototype.hasOwnProperty.call(obj, key);
|
||||
};
|
||||
|
||||
const isNum = function(num) {
|
||||
if (typeof num !== 'number' || isNaN(num)) {
|
||||
return false;
|
||||
}
|
||||
const isInvalid = function(n) {
|
||||
if (n === Number.MAX_VALUE || n === Number.MIN_VALUE || n === Number.NEGATIVE_INFINITY || n === Number.POSITIVE_INFINITY) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
if (isInvalid(num)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
const toNum = (num) => {
|
||||
if (typeof (num) !== 'number') {
|
||||
num = parseFloat(num);
|
||||
}
|
||||
if (isNaN(num)) {
|
||||
num = 0;
|
||||
}
|
||||
num = Math.round(num);
|
||||
return num;
|
||||
};
|
||||
|
||||
const clamp = function(value, min, max) {
|
||||
return Math.max(min, Math.min(max, value));
|
||||
};
|
||||
|
||||
const isWindow = (obj) => {
|
||||
return Boolean(obj && obj === obj.window);
|
||||
};
|
||||
|
||||
const isDocument = (obj) => {
|
||||
return Boolean(obj && obj.nodeType === 9);
|
||||
};
|
||||
|
||||
const isElement = (obj) => {
|
||||
return Boolean(obj && obj.nodeType === 1);
|
||||
};
|
||||
|
||||
// ===========================================================================================
|
||||
|
||||
export const toRect = (obj) => {
|
||||
if (obj) {
|
||||
return {
|
||||
left: toNum(obj.left || obj.x),
|
||||
top: toNum(obj.top || obj.y),
|
||||
width: toNum(obj.width),
|
||||
height: toNum(obj.height)
|
||||
};
|
||||
}
|
||||
return {
|
||||
left: 0,
|
||||
top: 0,
|
||||
width: 0,
|
||||
height: 0
|
||||
};
|
||||
};
|
||||
|
||||
export const getElement = (selector) => {
|
||||
if (typeof selector === 'string' && selector) {
|
||||
if (selector.startsWith('#')) {
|
||||
return document.getElementById(selector.slice(1));
|
||||
}
|
||||
return document.querySelector(selector);
|
||||
}
|
||||
|
||||
if (isDocument(selector)) {
|
||||
return selector.body;
|
||||
}
|
||||
if (isElement(selector)) {
|
||||
return selector;
|
||||
}
|
||||
};
|
||||
|
||||
export const getRect = (target, fixed) => {
|
||||
if (!target) {
|
||||
return toRect();
|
||||
}
|
||||
|
||||
if (isWindow(target)) {
|
||||
return {
|
||||
left: 0,
|
||||
top: 0,
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight
|
||||
};
|
||||
}
|
||||
|
||||
const elem = getElement(target);
|
||||
if (!elem) {
|
||||
return toRect(target);
|
||||
}
|
||||
|
||||
const br = elem.getBoundingClientRect();
|
||||
const rect = toRect(br);
|
||||
|
||||
// fix offset
|
||||
if (!fixed) {
|
||||
rect.left += window.scrollX;
|
||||
rect.top += window.scrollY;
|
||||
}
|
||||
|
||||
rect.width = elem.offsetWidth;
|
||||
rect.height = elem.offsetHeight;
|
||||
|
||||
return rect;
|
||||
};
|
||||
|
||||
// ===========================================================================================
|
||||
|
||||
const calculators = {
|
||||
|
||||
bottom: (info, containerRect, targetRect) => {
|
||||
info.space = containerRect.top + containerRect.height - targetRect.top - targetRect.height - info.height;
|
||||
info.top = targetRect.top + targetRect.height;
|
||||
info.left = Math.round(targetRect.left + targetRect.width * 0.5 - info.width * 0.5);
|
||||
},
|
||||
|
||||
top: (info, containerRect, targetRect) => {
|
||||
info.space = targetRect.top - info.height - containerRect.top;
|
||||
info.top = targetRect.top - info.height;
|
||||
info.left = Math.round(targetRect.left + targetRect.width * 0.5 - info.width * 0.5);
|
||||
},
|
||||
|
||||
right: (info, containerRect, targetRect) => {
|
||||
info.space = containerRect.left + containerRect.width - targetRect.left - targetRect.width - info.width;
|
||||
info.top = Math.round(targetRect.top + targetRect.height * 0.5 - info.height * 0.5);
|
||||
info.left = targetRect.left + targetRect.width;
|
||||
},
|
||||
|
||||
left: (info, containerRect, targetRect) => {
|
||||
info.space = targetRect.left - info.width - containerRect.left;
|
||||
info.top = Math.round(targetRect.top + targetRect.height * 0.5 - info.height * 0.5);
|
||||
info.left = targetRect.left - info.width;
|
||||
}
|
||||
};
|
||||
|
||||
// with order
|
||||
export const getDefaultPositions = () => {
|
||||
return Object.keys(calculators);
|
||||
};
|
||||
|
||||
const calculateSpace = (info, containerRect, targetRect) => {
|
||||
const calculator = calculators[info.position];
|
||||
calculator(info, containerRect, targetRect);
|
||||
if (info.space >= 0) {
|
||||
info.passed += 1;
|
||||
}
|
||||
};
|
||||
|
||||
// ===========================================================================================
|
||||
|
||||
const calculateAlignOffset = (info, containerRect, targetRect, alignType, sizeType) => {
|
||||
|
||||
const popoverStart = info[alignType];
|
||||
const popoverSize = info[sizeType];
|
||||
|
||||
const containerStart = containerRect[alignType];
|
||||
const containerSize = containerRect[sizeType];
|
||||
|
||||
const targetStart = targetRect[alignType];
|
||||
const targetSize = targetRect[sizeType];
|
||||
|
||||
const targetCenter = targetStart + targetSize * 0.5;
|
||||
|
||||
// size overflow
|
||||
if (popoverSize > containerSize) {
|
||||
const overflow = (popoverSize - containerSize) * 0.5;
|
||||
info[alignType] = containerStart - overflow;
|
||||
info.offset = targetCenter - containerStart + overflow;
|
||||
return;
|
||||
}
|
||||
|
||||
const space1 = popoverStart - containerStart;
|
||||
const space2 = (containerStart + containerSize) - (popoverStart + popoverSize);
|
||||
|
||||
// both side passed, default to center
|
||||
if (space1 >= 0 && space2 >= 0) {
|
||||
if (info.passed) {
|
||||
info.passed += 2;
|
||||
}
|
||||
info.offset = popoverSize * 0.5;
|
||||
return;
|
||||
}
|
||||
|
||||
// one side passed
|
||||
if (info.passed) {
|
||||
info.passed += 1;
|
||||
}
|
||||
|
||||
if (space1 < 0) {
|
||||
const min = containerStart;
|
||||
info[alignType] = min;
|
||||
info.offset = targetCenter - min;
|
||||
return;
|
||||
}
|
||||
|
||||
// space2 < 0
|
||||
const max = containerStart + containerSize - popoverSize;
|
||||
info[alignType] = max;
|
||||
info.offset = targetCenter - max;
|
||||
|
||||
};
|
||||
|
||||
const calculateHV = (info, containerRect) => {
|
||||
if (['top', 'bottom'].includes(info.position)) {
|
||||
info.top = clamp(info.top, containerRect.top, containerRect.top + containerRect.height - info.height);
|
||||
return ['left', 'width'];
|
||||
}
|
||||
info.left = clamp(info.left, containerRect.left, containerRect.left + containerRect.width - info.width);
|
||||
return ['top', 'height'];
|
||||
};
|
||||
|
||||
const calculateOffset = (info, containerRect, targetRect) => {
|
||||
|
||||
const [alignType, sizeType] = calculateHV(info, containerRect);
|
||||
|
||||
calculateAlignOffset(info, containerRect, targetRect, alignType, sizeType);
|
||||
|
||||
info.offset = clamp(info.offset, 0, info[sizeType]);
|
||||
|
||||
};
|
||||
|
||||
// ===========================================================================================
|
||||
|
||||
const calculateDistance = (info, previousPositionInfo) => {
|
||||
if (!previousPositionInfo) {
|
||||
return;
|
||||
}
|
||||
// no change if position no change with previous
|
||||
if (info.position === previousPositionInfo.position) {
|
||||
return;
|
||||
}
|
||||
const ax = info.left + info.width * 0.5;
|
||||
const ay = info.top + info.height * 0.5;
|
||||
const bx = previousPositionInfo.left + previousPositionInfo.width * 0.5;
|
||||
const by = previousPositionInfo.top + previousPositionInfo.height * 0.5;
|
||||
const dx = Math.abs(ax - bx);
|
||||
const dy = Math.abs(ay - by);
|
||||
info.distance = Math.round(Math.sqrt(dx * dx + dy * dy));
|
||||
};
|
||||
|
||||
// ===========================================================================================
|
||||
|
||||
const calculatePositionInfo = (info, containerRect, targetRect, previousPositionInfo) => {
|
||||
calculateSpace(info, containerRect, targetRect);
|
||||
calculateOffset(info, containerRect, targetRect);
|
||||
calculateDistance(info, previousPositionInfo);
|
||||
};
|
||||
|
||||
// ===========================================================================================
|
||||
|
||||
const calculateBestPosition = (containerRect, targetRect, infoMap, withOrder, previousPositionInfo) => {
|
||||
|
||||
// position space: +1
|
||||
// align space:
|
||||
// two side passed: +2
|
||||
// one side passed: +1
|
||||
|
||||
const safePassed = 3;
|
||||
|
||||
if (previousPositionInfo) {
|
||||
const prevInfo = infoMap[previousPositionInfo.position];
|
||||
if (prevInfo) {
|
||||
calculatePositionInfo(prevInfo, containerRect, targetRect);
|
||||
if (prevInfo.passed >= safePassed) {
|
||||
return prevInfo;
|
||||
}
|
||||
prevInfo.calculated = true;
|
||||
}
|
||||
}
|
||||
|
||||
const positionList = [];
|
||||
Object.values(infoMap).forEach((info) => {
|
||||
if (!info.calculated) {
|
||||
calculatePositionInfo(info, containerRect, targetRect, previousPositionInfo);
|
||||
}
|
||||
positionList.push(info);
|
||||
});
|
||||
|
||||
positionList.sort((a, b) => {
|
||||
if (a.passed !== b.passed) {
|
||||
return b.passed - a.passed;
|
||||
}
|
||||
|
||||
if (withOrder && a.passed >= safePassed && b.passed >= safePassed) {
|
||||
return a.index - b.index;
|
||||
}
|
||||
|
||||
if (a.space !== b.space) {
|
||||
return b.space - a.space;
|
||||
}
|
||||
|
||||
return a.index - b.index;
|
||||
});
|
||||
|
||||
// logTable(positionList);
|
||||
|
||||
return positionList[0];
|
||||
};
|
||||
|
||||
// const logTable = (() => {
|
||||
// let time_id;
|
||||
// return (info) => {
|
||||
// clearTimeout(time_id);
|
||||
// time_id = setTimeout(() => {
|
||||
// console.table(info);
|
||||
// }, 10);
|
||||
// };
|
||||
// })();
|
||||
|
||||
// ===========================================================================================
|
||||
|
||||
const getAllowPositions = (positions, defaultAllowPositions) => {
|
||||
if (!positions) {
|
||||
return;
|
||||
}
|
||||
if (Array.isArray(positions)) {
|
||||
positions = positions.join(',');
|
||||
}
|
||||
positions = String(positions).split(',').map((it) => it.trim().toLowerCase()).filter((it) => it);
|
||||
positions = positions.filter((it) => defaultAllowPositions.includes(it));
|
||||
if (!positions.length) {
|
||||
return;
|
||||
}
|
||||
return positions;
|
||||
};
|
||||
|
||||
const isPositionChanged = (info, previousPositionInfo) => {
|
||||
if (!previousPositionInfo) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (info.left !== previousPositionInfo.left) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (info.top !== previousPositionInfo.top) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
// ===========================================================================================
|
||||
|
||||
// const log = (name, time) => {
|
||||
// if (time > 0.1) {
|
||||
// console.log(name, time);
|
||||
// }
|
||||
// };
|
||||
|
||||
export const getBestPosition = (containerRect, targetRect, popoverRect, positions, previousPositionInfo) => {
|
||||
|
||||
const defaultAllowPositions = getDefaultPositions();
|
||||
let withOrder = true;
|
||||
let allowPositions = getAllowPositions(positions, defaultAllowPositions);
|
||||
if (!allowPositions) {
|
||||
allowPositions = defaultAllowPositions;
|
||||
withOrder = false;
|
||||
}
|
||||
|
||||
// console.log('withOrder', withOrder);
|
||||
|
||||
// const start_time = performance.now();
|
||||
|
||||
const infoMap = {};
|
||||
allowPositions.forEach((k, i) => {
|
||||
infoMap[k] = {
|
||||
position: k,
|
||||
index: i,
|
||||
|
||||
top: 0,
|
||||
left: 0,
|
||||
width: popoverRect.width,
|
||||
height: popoverRect.height,
|
||||
|
||||
space: 0,
|
||||
|
||||
offset: 0,
|
||||
passed: 0,
|
||||
|
||||
distance: 0
|
||||
};
|
||||
});
|
||||
|
||||
// log('infoMap', performance.now() - start_time);
|
||||
|
||||
|
||||
const bestPosition = calculateBestPosition(containerRect, targetRect, infoMap, withOrder, previousPositionInfo);
|
||||
|
||||
// check left/top
|
||||
bestPosition.changed = isPositionChanged(bestPosition, previousPositionInfo);
|
||||
|
||||
return bestPosition;
|
||||
};
|
||||
|
||||
// ===========================================================================================
|
||||
|
||||
const getTemplatePath = (width, height, arrowOffset, arrowSize, borderRadius) => {
|
||||
const p = (px, py) => {
|
||||
return [px, py].join(',');
|
||||
};
|
||||
|
||||
const px = function(num, alignEnd) {
|
||||
const floor = Math.floor(num);
|
||||
let n = num < floor + 0.5 ? floor + 0.5 : floor + 1.5;
|
||||
if (alignEnd) {
|
||||
n -= 1;
|
||||
}
|
||||
return n;
|
||||
};
|
||||
|
||||
const pxe = function(num) {
|
||||
return px(num, true);
|
||||
};
|
||||
|
||||
const ls = [];
|
||||
|
||||
const innerLeft = px(arrowSize);
|
||||
const innerRight = pxe(width - arrowSize);
|
||||
arrowOffset = clamp(arrowOffset, innerLeft, innerRight);
|
||||
|
||||
const innerTop = px(arrowSize);
|
||||
const innerBottom = pxe(height - arrowSize);
|
||||
|
||||
const startPoint = p(innerLeft, innerTop + borderRadius);
|
||||
const arrowPoint = p(arrowOffset, 1);
|
||||
|
||||
const LT = p(innerLeft, innerTop);
|
||||
const RT = p(innerRight, innerTop);
|
||||
|
||||
const AOT = p(arrowOffset - arrowSize, innerTop);
|
||||
const RRT = p(innerRight - borderRadius, innerTop);
|
||||
|
||||
ls.push(`M${startPoint}`);
|
||||
ls.push(`V${innerBottom - borderRadius}`);
|
||||
ls.push(`Q${p(innerLeft, innerBottom)} ${p(innerLeft + borderRadius, innerBottom)}`);
|
||||
ls.push(`H${innerRight - borderRadius}`);
|
||||
ls.push(`Q${p(innerRight, innerBottom)} ${p(innerRight, innerBottom - borderRadius)}`);
|
||||
ls.push(`V${innerTop + borderRadius}`);
|
||||
|
||||
if (arrowOffset < innerLeft + arrowSize + borderRadius) {
|
||||
ls.push(`Q${RT} ${RRT}`);
|
||||
ls.push(`H${arrowOffset + arrowSize}`);
|
||||
ls.push(`L${arrowPoint}`);
|
||||
if (arrowOffset < innerLeft + arrowSize) {
|
||||
ls.push(`L${LT}`);
|
||||
ls.push(`L${startPoint}`);
|
||||
} else {
|
||||
ls.push(`L${AOT}`);
|
||||
ls.push(`Q${LT} ${startPoint}`);
|
||||
}
|
||||
} else if (arrowOffset > innerRight - arrowSize - borderRadius) {
|
||||
if (arrowOffset > innerRight - arrowSize) {
|
||||
ls.push(`L${RT}`);
|
||||
} else {
|
||||
ls.push(`Q${RT} ${p(arrowOffset + arrowSize, innerTop)}`);
|
||||
}
|
||||
ls.push(`L${arrowPoint}`);
|
||||
ls.push(`L${AOT}`);
|
||||
ls.push(`H${innerLeft + borderRadius}`);
|
||||
ls.push(`Q${LT} ${startPoint}`);
|
||||
} else {
|
||||
ls.push(`Q${RT} ${RRT}`);
|
||||
ls.push(`H${arrowOffset + arrowSize}`);
|
||||
ls.push(`L${arrowPoint}`);
|
||||
ls.push(`L${AOT}`);
|
||||
ls.push(`H${innerLeft + borderRadius}`);
|
||||
ls.push(`Q${LT} ${startPoint}`);
|
||||
}
|
||||
return ls.join('');
|
||||
};
|
||||
|
||||
const getPathData = function(position, width, height, arrowOffset, arrowSize, borderRadius) {
|
||||
|
||||
const handlers = {
|
||||
|
||||
bottom: () => {
|
||||
const d = getTemplatePath(width, height, arrowOffset, arrowSize, borderRadius);
|
||||
return {
|
||||
d,
|
||||
transform: ''
|
||||
};
|
||||
},
|
||||
|
||||
top: () => {
|
||||
const d = getTemplatePath(width, height, width - arrowOffset, arrowSize, borderRadius);
|
||||
return {
|
||||
d,
|
||||
transform: `rotate(180,${width * 0.5},${height * 0.5})`
|
||||
};
|
||||
},
|
||||
|
||||
left: () => {
|
||||
const d = getTemplatePath(height, width, arrowOffset, arrowSize, borderRadius);
|
||||
const x = (width - height) * 0.5;
|
||||
const y = (height - width) * 0.5;
|
||||
return {
|
||||
d,
|
||||
transform: `translate(${x} ${y}) rotate(90,${height * 0.5},${width * 0.5})`
|
||||
};
|
||||
},
|
||||
|
||||
right: () => {
|
||||
const d = getTemplatePath(height, width, height - arrowOffset, arrowSize, borderRadius);
|
||||
const x = (width - height) * 0.5;
|
||||
const y = (height - width) * 0.5;
|
||||
return {
|
||||
d,
|
||||
transform: `translate(${x} ${y}) rotate(-90,${height * 0.5},${width * 0.5})`
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
return handlers[position]();
|
||||
};
|
||||
|
||||
// ===========================================================================================
|
||||
|
||||
// position style cache
|
||||
const styleCache = {
|
||||
// position: '',
|
||||
// top: {},
|
||||
// bottom: {},
|
||||
// left: {},
|
||||
// right: {}
|
||||
};
|
||||
|
||||
export const getPositionStyle = (info, options = {}) => {
|
||||
|
||||
const o = {
|
||||
bgColor: '#fff',
|
||||
borderColor: '#ccc',
|
||||
borderRadius: 5,
|
||||
arrowSize: 10
|
||||
};
|
||||
Object.keys(o).forEach((k) => {
|
||||
|
||||
if (hasOwn(options, k)) {
|
||||
const d = o[k];
|
||||
const v = options[k];
|
||||
|
||||
if (typeof d === 'string') {
|
||||
// string
|
||||
if (typeof v === 'string' && v) {
|
||||
o[k] = v;
|
||||
}
|
||||
} else {
|
||||
// number
|
||||
if (isNum(v) && v >= 0) {
|
||||
o[k] = v;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
const key = [
|
||||
info.width,
|
||||
info.height,
|
||||
info.offset,
|
||||
o.arrowSize,
|
||||
o.borderRadius,
|
||||
o.bgColor,
|
||||
o.borderColor
|
||||
].join('-');
|
||||
|
||||
const positionCache = styleCache[info.position];
|
||||
if (positionCache && key === positionCache.key) {
|
||||
const st = positionCache.style;
|
||||
st.changed = styleCache.position !== info.position;
|
||||
styleCache.position = info.position;
|
||||
return st;
|
||||
}
|
||||
|
||||
// console.log(options);
|
||||
|
||||
const data = getPathData(info.position, info.width, info.height, info.offset, o.arrowSize, o.borderRadius);
|
||||
// console.log(data);
|
||||
|
||||
const viewBox = [0, 0, info.width, info.height].join(' ');
|
||||
const svg = [
|
||||
`<svg viewBox="${viewBox}" xmlns="http://www.w3.org/2000/svg">`,
|
||||
`<path d="${data.d}" fill="${o.bgColor}" stroke="${o.borderColor}" transform="${data.transform}" />`,
|
||||
'</svg>'
|
||||
].join('');
|
||||
|
||||
// console.log(svg);
|
||||
const backgroundImage = `url("data:image/svg+xml;charset=utf8,${encodeURIComponent(svg)}")`;
|
||||
|
||||
const background = `${backgroundImage} center no-repeat`;
|
||||
|
||||
const padding = `${o.arrowSize + o.borderRadius}px`;
|
||||
|
||||
const style = {
|
||||
background,
|
||||
backgroundImage,
|
||||
padding,
|
||||
changed: true
|
||||
};
|
||||
|
||||
styleCache.position = info.position;
|
||||
styleCache[info.position] = {
|
||||
key,
|
||||
style
|
||||
};
|
||||
|
||||
return style;
|
||||
};
|
||||
@ -1068,18 +1068,28 @@
|
||||
"size": "19.1GB"
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"name": "comfyanonymous/clip_l",
|
||||
"name": "Comfy-Org/clip_l",
|
||||
"type": "clip",
|
||||
"base": "clip",
|
||||
"save_path": "default",
|
||||
"description": "clip_l model",
|
||||
"reference": "https://huggingface.co/comfyanonymous/flux_text_encoders/tree/main",
|
||||
"description": "clip_l model (for SD1.x, SD2.x, SDXL, SD3.5, FLUX.1, HunyuanVideo, ...) ",
|
||||
"reference": "https://huggingface.co/Comfy-Org/stable-diffusion-3.5-fp8",
|
||||
"filename": "clip_l.safetensors",
|
||||
"url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors",
|
||||
"url": "https://huggingface.co/Comfy-Org/stable-diffusion-3.5-fp8/resolve/main/text_encoders/clip_l.safetensors",
|
||||
"size": "246MB"
|
||||
},
|
||||
{
|
||||
"name": "Comfy-Org/clip_g",
|
||||
"type": "clip",
|
||||
"base": "clip",
|
||||
"save_path": "default",
|
||||
"description": "clip_g model (for SDXL, SD3.5)",
|
||||
"reference": "https://huggingface.co/Comfy-Org/stable-diffusion-3.5-fp8",
|
||||
"filename": "clip_g.safetensors",
|
||||
"url": "https://huggingface.co/Comfy-Org/stable-diffusion-3.5-fp8/resolve/main/text_encoders/clip_g.safetensors",
|
||||
"size": "1.39GB"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "v1-5-pruned-emaonly.ckpt",
|
||||
@ -3950,6 +3960,17 @@
|
||||
"url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/vae/hunyuan_video_vae_bf16.safetensors",
|
||||
"size": "493MB"
|
||||
},
|
||||
{
|
||||
"name": "Comfy-Org/hunyuan_video_image_to_video_720p_bf16.safetensors",
|
||||
"type": "diffusion_model",
|
||||
"base": "Hunyuan Video",
|
||||
"save_path": "diffusion_models/hunyuan_video",
|
||||
"description": "Huyuan Video Image2Video diffusion model. repackaged version.",
|
||||
"reference": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged",
|
||||
"filename": "hunyuan_video_image_to_video_720p_bf16.safetensors",
|
||||
"url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/diffusion_models/hunyuan_video_image_to_video_720p_bf16.safetensors",
|
||||
"size": "25.6GB"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "Comfy-Org/llava_llama3_fp8_scaled.safetensors",
|
||||
@ -3973,6 +3994,17 @@
|
||||
"url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/text_encoders/llava_llama3_fp16.safetensors",
|
||||
"size": "16.1GB"
|
||||
},
|
||||
{
|
||||
"name": "Comfy-Org/llava_llama3_vision.safetensors",
|
||||
"type": "clip_vision",
|
||||
"base": "LLaVA-Llama-3",
|
||||
"save_path": "text_encoders",
|
||||
"description": "llava_llama3_vision clip vison model. This is required for using Hunyuan Video Image2Video.",
|
||||
"reference": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged",
|
||||
"filename": "llava_llama3_vision.safetensors",
|
||||
"url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/clip_vision/llava_llama3_vision.safetensors",
|
||||
"size": "649MB"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "FLUX.1 [Schnell] Diffusion model",
|
||||
@ -4537,6 +4569,17 @@
|
||||
"url": "https://huggingface.co/Lightricks/LTX-Video/resolve/main/ltx-video-2b-v0.9.1.safetensors",
|
||||
"size": "5.72GB"
|
||||
},
|
||||
{
|
||||
"name": "LTX-Video 2B v0.9.5 Checkpoint",
|
||||
"type": "checkpoint",
|
||||
"base": "LTX-Video",
|
||||
"save_path": "checkpoints/LTXV",
|
||||
"description": "LTX-Video is the first DiT-based video generation model capable of generating high-quality videos in real-time. It produces 24 FPS videos at a 768x512 resolution faster than they can be watched. Trained on a large-scale dataset of diverse videos, the model generates high-resolution videos with realistic and varied content.",
|
||||
"reference": "https://huggingface.co/Lightricks/LTX-Video",
|
||||
"filename": "ltx-video-2b-v0.9.5.safetensors",
|
||||
"url": "https://huggingface.co/Lightricks/LTX-Video/resolve/main/ltx-video-2b-v0.9.5.safetensors",
|
||||
"size": "6.34GB"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "XLabs-AI/flux-canny-controlnet-v3.safetensors",
|
||||
|
||||
@ -12,6 +12,96 @@
|
||||
|
||||
|
||||
|
||||
{
|
||||
"author": "aria1th",
|
||||
"title": "ComfyUI-camietagger-onnx",
|
||||
"reference": "https://github.com/aria1th/ComfyUI-camietagger-onnx",
|
||||
"files": [
|
||||
"https://github.com/aria1th/ComfyUI-camietagger-onnx"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Camie Tagger"
|
||||
},
|
||||
{
|
||||
"author": "zjkhurry",
|
||||
"title": "comfyui_MetalFX [WIP]",
|
||||
"reference": "https://github.com/zjkhurry/comfyui_MetalFX",
|
||||
"files": [
|
||||
"https://github.com/zjkhurry/comfyui_MetalFX"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A custom node for ComfyUI that enables high-quality image and video upscaling using Apple MetalFX technology.\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "IfnotFr",
|
||||
"title": "ComfyUI-Connect [WIP]",
|
||||
"reference": "https://github.com/IfnotFr/ComfyUI-Connect",
|
||||
"files": [
|
||||
"https://github.com/IfnotFr/ComfyUI-Connect"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Transform your ComfyUI into a powerful API, exposing all your saved workflows as ready-to-use HTTP endpoints."
|
||||
},
|
||||
{
|
||||
"author": "RoyKillington",
|
||||
"title": "Miscomfy Nodes [WIP]",
|
||||
"reference": "https://github.com/RoyKillington/miscomfy-nodes",
|
||||
"files": [
|
||||
"https://github.com/RoyKillington/miscomfy-nodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A repo of custom nodes for ComfyUI, from interacting with certain APIs to whatever other miscellanea I end up making"
|
||||
},
|
||||
{
|
||||
"author": "xmarked-ai",
|
||||
"title": "ComfyUI_misc",
|
||||
"reference": "https://github.com/xmarked-ai/ComfyUI_misc",
|
||||
"files": [
|
||||
"https://github.com/xmarked-ai/ComfyUI_misc"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: Ace IntegerX, Ace FloatX, Ace Color FixX, White Balance X, Depth Displace X, Empty Latent X, KSampler Combo X, ..."
|
||||
},
|
||||
{
|
||||
"author": "Elypha",
|
||||
"title": "ComfyUI-Prompt-Helper [WIP]",
|
||||
"reference": "https://github.com/Elypha/ComfyUI-Prompt-Helper",
|
||||
"files": [
|
||||
"https://github.com/Elypha/ComfyUI-Prompt-Helper"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Concat conditions and prompts for ComfyUI"
|
||||
},
|
||||
{
|
||||
"author": "StoryWalker",
|
||||
"title": "comfyui_flux_collection_advanced [WIP]",
|
||||
"reference": "https://github.com/StoryWalker/comfyui_flux_collection_advanced",
|
||||
"files": [
|
||||
"https://github.com/StoryWalker/comfyui_flux_collection_advanced"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This is a collection focused in give a little more flexibility in the use of Flux models."
|
||||
},
|
||||
{
|
||||
"author": "KurtHokke",
|
||||
"title": "ComfyUI_KurtHokke-Nodes",
|
||||
"reference": "https://github.com/KurtHokke/ComfyUI_KurtHokke-Nodes",
|
||||
"files": [
|
||||
"https://github.com/KurtHokke/ComfyUI_KurtHokke-Nodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI_KurtHokke-Nodes"
|
||||
},
|
||||
{
|
||||
"author": "OSAnimate",
|
||||
"title": "ComfyUI-SpriteSheetMaker [WIP]",
|
||||
"reference": "https://github.com/OSAnimate/ComfyUI-SpriteSheetMaker",
|
||||
"files": [
|
||||
"https://github.com/OSAnimate/ComfyUI-SpriteSheetMaker"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "The sprite sheet maker node is a simple way to create sprite sheets and image grids.\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "BuffMcBigHuge",
|
||||
"title": "ComfyUI-Buff-Nodes [WIP]",
|
||||
@ -764,16 +854,6 @@
|
||||
"install_type": "git-clone",
|
||||
"description": "nodes for deepseek api\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "807502278",
|
||||
"title": "ComfyUI_TensorRT_Merge [WIP]",
|
||||
"reference": "https://github.com/807502278/ComfyUI_TensorRT_Merge",
|
||||
"files": [
|
||||
"https://github.com/807502278/ComfyUI_TensorRT_Merge"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Non diffusion models supported by TensorRT, merged Comfyui plugin, added onnx automatic download and trt model conversion nodes."
|
||||
},
|
||||
{
|
||||
"author": "IfnotFr",
|
||||
"title": "ComfyUI-Ifnot-Pack",
|
||||
@ -1939,7 +2019,7 @@
|
||||
"https://github.com/aria1th/ComfyUI-SkipCFGSigmas"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES:CFGControl_SKIPCFG"
|
||||
"description": "NODES: CFGControl_SKIPCFG"
|
||||
},
|
||||
{
|
||||
"author": "Clelstyn",
|
||||
@ -1989,7 +2069,7 @@
|
||||
"https://github.com/oshtz/ComfyUI-oshtz-nodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Custom nodes for ComfyUI created for some of my workflows.\nLLM All-in-One Node, String Splitter Node, LoRA Switcher Node, Image Overlay Node"
|
||||
"description": "Custom nodes for ComfyUI created for some of my workflows.\nLLM All-in-One Node, String Splitter Node, LoRA Switcher Node, Image Overlay Node\nNOTE: The files in the repo are not organized."
|
||||
},
|
||||
{
|
||||
"author": "m-ai-studio",
|
||||
@ -2159,7 +2239,7 @@
|
||||
"https://github.com/fablestudio/ComfyUI-Showrunner-Utils"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES:Align Face, Generate Timestamp"
|
||||
"description": "NODES: Align Face, Generate Timestamp, GetMostCommonColors, Alpha Crop and Position Image, Shrink Image"
|
||||
},
|
||||
{
|
||||
"author": "monate0615",
|
||||
@ -2827,13 +2907,14 @@
|
||||
},
|
||||
{
|
||||
"author": "chrisdreid",
|
||||
"title": "ComfyUI_EnvAutopsyAPI [UNSAFE]",
|
||||
"title": "ComfyUI_EnvAutopsyAPI Debugger [UNSAFE]",
|
||||
"id": "chrisdreid",
|
||||
"reference": "https://github.com/chrisdreid/ComfyUI_EnvAutopsyAPI",
|
||||
"files": [
|
||||
"https://github.com/chrisdreid/ComfyUI_EnvAutopsyAPI"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI_EnvAutopsyAPI is a powerful debugging tool designed for ComfyUI that provides in-depth analysis of your environment and dependencies through an API interface. This tool allows you to inspect environment variables, pip packages, and dependency trees, making it easier to diagnose and resolve issues in your ComfyUI setup.[w/This tool may expose sensitive system information if used on a public server. MUST READ [a/THIS](https://github.com/chrisdreid/ComfyUI_EnvAutopsyAPI#%EF%B8%8F-warning-security-risk-%EF%B8%8F) before install.]"
|
||||
"description": "A powerful debugging tool designed to provide in-depth analysis of your environment and dependencies by exposing API endpoints. This tool allows you to inspect environment variables, pip packages, python info and dependency trees, making it easier to diagnose and resolve issues in your ComfyUI setup.[w/This tool may expose sensitive system information if used on a public server]"
|
||||
},
|
||||
{
|
||||
"author": "Futureversecom",
|
||||
@ -2948,16 +3029,6 @@
|
||||
"install_type":"git-clone",
|
||||
"description":"The ComfyUI code is under review in the official repository. Meanwhile, a temporary version is available below for immediate community use. We welcome users to try our workflow and appreciate any inquiries or suggestions."
|
||||
},
|
||||
{
|
||||
"author": "JichaoLiang",
|
||||
"title": "Immortal_comfyUI",
|
||||
"reference": "https://github.com/JichaoLiang/Immortal_comfyUI",
|
||||
"files":[
|
||||
"https://github.com/JichaoLiang/Immortal_comfyUI"
|
||||
],
|
||||
"install_type":"git-clone",
|
||||
"description":"Nodes: NewNode, AppendNode, MergeNode, SetProperties, SaveToDirectory, ..."
|
||||
},
|
||||
{
|
||||
"author": "melMass",
|
||||
"title": "ComfyUI-Lygia",
|
||||
|
||||
@ -176,27 +176,6 @@
|
||||
"title_aux": "comfyui-promptbymood [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/807502278/ComfyUI_TensorRT_Merge": [
|
||||
[
|
||||
"BiRefNet2_tensort",
|
||||
"BiRefNet_TRT",
|
||||
"Building_TRT",
|
||||
"Custom_Building_TRT",
|
||||
"DepthAnything_Tensorrt",
|
||||
"Dwpose_Tensorrt",
|
||||
"FaceRestoreTensorrt",
|
||||
"RifeTensorrt",
|
||||
"UpscalerTensorrt",
|
||||
"YoloNasPoseTensorrt",
|
||||
"load_BiRefNet2_tensort",
|
||||
"load_BiRefNet_TRT",
|
||||
"load_DepthAnything_Tensorrt",
|
||||
"load_Dwpos_Tensorrt"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_TensorRT_Merge [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/A4P7J1N7M05OT/ComfyUI-ManualSigma": [
|
||||
[
|
||||
"ManualSigma"
|
||||
@ -602,6 +581,7 @@
|
||||
"VTS Create Character Mask",
|
||||
"VTS Images Crop From Masks",
|
||||
"VTS Images Scale",
|
||||
"VTS Images Scale To Min",
|
||||
"VTS Merge Delimited Text",
|
||||
"VTS Reduce Batch Size",
|
||||
"VTS Render People Kps",
|
||||
@ -655,6 +635,7 @@
|
||||
"DevToolsNodeWithOnlyOptionalInput",
|
||||
"DevToolsNodeWithOptionalComboInput",
|
||||
"DevToolsNodeWithOptionalInput",
|
||||
"DevToolsNodeWithOutputCombo",
|
||||
"DevToolsNodeWithOutputList",
|
||||
"DevToolsNodeWithSeedInput",
|
||||
"DevToolsNodeWithStringInput",
|
||||
@ -821,6 +802,23 @@
|
||||
"title_aux": "ComfyUI-MusicGen [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/Elypha/ComfyUI-Prompt-Helper": [
|
||||
[
|
||||
"PromptHelper_CombineConditioning",
|
||||
"PromptHelper_ConcatConditioning",
|
||||
"PromptHelper_ConcatString",
|
||||
"PromptHelper_EncodeMultiStringCombine",
|
||||
"PromptHelper_FormatString",
|
||||
"PromptHelper_LoadPreset",
|
||||
"PromptHelper_LoadPresetAdvanced",
|
||||
"PromptHelper_String",
|
||||
"PromptHelper_StringMultiLine",
|
||||
"PromptHelper_WeightedPrompt"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Prompt-Helper [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/EmanueleUniroma2/ComfyUI-FLAC-to-WAV": [
|
||||
[
|
||||
"AudioToWavConverter"
|
||||
@ -968,7 +966,6 @@
|
||||
"DeepSeekImageAnalyst",
|
||||
"DeepSeekImageGeneration",
|
||||
"DeepSeekModelLoader",
|
||||
"GoogleDriveUpload",
|
||||
"ImagePreprocessor",
|
||||
"LLM_Loader",
|
||||
"OpenAICompatibleLoader",
|
||||
@ -1025,44 +1022,6 @@
|
||||
"title_aux": "comfyui-terminal-command [UNSAFE]"
|
||||
}
|
||||
],
|
||||
"https://github.com/JichaoLiang/Immortal_comfyUI": [
|
||||
[
|
||||
"AppendNode",
|
||||
"CombineVideos",
|
||||
"ImAppendFreeChatAction",
|
||||
"ImAppendImageActionNode",
|
||||
"ImAppendNodeHub",
|
||||
"ImAppendQuickbackNode",
|
||||
"ImAppendQuickbackVideoNode",
|
||||
"ImAppendVideoNode",
|
||||
"ImDumpEntity",
|
||||
"ImDumpNode",
|
||||
"ImLoadPackage",
|
||||
"ImNodeTitleOverride",
|
||||
"ImSetActionKeywordMapping",
|
||||
"MergeNode",
|
||||
"Molmo7BDbnbBatch",
|
||||
"MuteNode",
|
||||
"NewNode",
|
||||
"Node2String",
|
||||
"OllamaChat",
|
||||
"SaveImagePath",
|
||||
"SaveToDirectory",
|
||||
"SetEvent",
|
||||
"SetNodeMapping",
|
||||
"SetProperties",
|
||||
"String2Node",
|
||||
"TurnOnOffNodeOnEnter",
|
||||
"batchNodes",
|
||||
"grepNodeByText",
|
||||
"imageList",
|
||||
"mergeEntityAndPointer",
|
||||
"redirectToNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "Immortal_comfyUI"
|
||||
}
|
||||
],
|
||||
"https://github.com/Jiffies-64/ComfyUI-SaveImagePlus": [
|
||||
[
|
||||
"SaveImagePlus"
|
||||
@ -1395,22 +1354,28 @@
|
||||
[
|
||||
"A1111_FLUX_DATA_NODE",
|
||||
"CategorizeNode",
|
||||
"Data_handle_Node",
|
||||
"DeepSeek_Node",
|
||||
"Delay_node",
|
||||
"DongShowTextNode",
|
||||
"Dong_Pixelate_Node",
|
||||
"Dong_Text_Node",
|
||||
"Downloader",
|
||||
"FileMoveNode",
|
||||
"FolderIteratorNODE",
|
||||
"Get_cookies_Node",
|
||||
"Get_json_value_Node",
|
||||
"Get_video_Node",
|
||||
"HashCalculationsNode",
|
||||
"HuggingFaceUploadNode",
|
||||
"IMG2URLNode",
|
||||
"Image2GIFNode",
|
||||
"ImageDownloader",
|
||||
"InputDetectionNode",
|
||||
"LLM_Node",
|
||||
"ImageResizeNode",
|
||||
"LibLib_upload_Node",
|
||||
"LogicToolsNode",
|
||||
"LoraIterator",
|
||||
"PromptConcatNode",
|
||||
"RandomNumbersNode",
|
||||
"RenameNode",
|
||||
"ResolutionNode",
|
||||
@ -1420,6 +1385,7 @@
|
||||
"TranslateAPINode",
|
||||
"ZIPwith7zNode",
|
||||
"img_understanding_Node",
|
||||
"klingai_video_Node",
|
||||
"path_join_Node",
|
||||
"save_img_NODE",
|
||||
"set_api_Node"
|
||||
@ -1436,6 +1402,14 @@
|
||||
"title_aux": "ComfyUI_North_Noise [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/OSAnimate/ComfyUI-SpriteSheetMaker": [
|
||||
[
|
||||
"SpriteSheetMaker"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-SpriteSheetMaker [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/PATATAJEC/Patatajec-Nodes": [
|
||||
[
|
||||
"FilePrefixSwitcher",
|
||||
@ -1549,6 +1523,14 @@
|
||||
"title_aux": "Comfy UI Robe Nodes [UNSAFE]"
|
||||
}
|
||||
],
|
||||
"https://github.com/RoyKillington/miscomfy-nodes": [
|
||||
[
|
||||
"VeniceUpscale"
|
||||
],
|
||||
{
|
||||
"title_aux": "Miscomfy Nodes [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/SS-snap/ComfyUI-Snap_Processing": [
|
||||
[
|
||||
"AreaCalculator",
|
||||
@ -1775,6 +1757,16 @@
|
||||
"title_aux": "Comfyui_leffa"
|
||||
}
|
||||
],
|
||||
"https://github.com/StoryWalker/comfyui_flux_collection_advanced": [
|
||||
[
|
||||
"Example",
|
||||
"FluxImageUpscaler",
|
||||
"FluxLoader"
|
||||
],
|
||||
{
|
||||
"title_aux": "comfyui_flux_collection_advanced [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/TSFSean/ComfyUI-TSFNodes": [
|
||||
[
|
||||
"GyroOSC"
|
||||
@ -2098,6 +2090,14 @@
|
||||
"title_aux": "ComfyUI-SkipCFGSigmas"
|
||||
}
|
||||
],
|
||||
"https://github.com/aria1th/ComfyUI-camietagger-onnx": [
|
||||
[
|
||||
"CamieTagger"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-camietagger-onnx"
|
||||
}
|
||||
],
|
||||
"https://github.com/artem-konevskikh/comfyui-split-merge-video": [
|
||||
[
|
||||
"VideoMerger",
|
||||
@ -2541,6 +2541,7 @@
|
||||
"ConditioningConcat",
|
||||
"ConditioningSetArea",
|
||||
"ConditioningSetAreaPercentage",
|
||||
"ConditioningSetAreaPercentageVideo",
|
||||
"ConditioningSetAreaStrength",
|
||||
"ConditioningSetMask",
|
||||
"ConditioningSetTimestepRange",
|
||||
@ -2578,6 +2579,7 @@
|
||||
"GLIGENLoader",
|
||||
"GLIGENTextBoxApply",
|
||||
"GrowMask",
|
||||
"HunyuanImageToVideo",
|
||||
"HyperTile",
|
||||
"HypernetworkLoader",
|
||||
"ImageBatch",
|
||||
@ -2606,8 +2608,11 @@
|
||||
"KSamplerAdvanced",
|
||||
"KSamplerSelect",
|
||||
"KarrasScheduler",
|
||||
"LTXVAddGuide",
|
||||
"LTXVConditioning",
|
||||
"LTXVCropGuides",
|
||||
"LTXVImgToVideo",
|
||||
"LTXVPreprocess",
|
||||
"LTXVScheduler",
|
||||
"LaplaceScheduler",
|
||||
"LatentAdd",
|
||||
@ -2764,6 +2769,7 @@
|
||||
"TestVariadicAverage",
|
||||
"TestWhileLoopClose",
|
||||
"TestWhileLoopOpen",
|
||||
"TextEncodeHunyuanVideo_ImageToVideo",
|
||||
"ThresholdMask",
|
||||
"TomePatchModel",
|
||||
"TorchCompileModel",
|
||||
@ -3054,10 +3060,12 @@
|
||||
"https://github.com/fablestudio/ComfyUI-Showrunner-Utils": [
|
||||
[
|
||||
"AlignFace",
|
||||
"Alpha Crop and Position Image",
|
||||
"GenerateTimestamp",
|
||||
"GetMostCommonColors",
|
||||
"ReadImage",
|
||||
"RenderOpenStreetMapTile"
|
||||
"RenderOpenStreetMapTile",
|
||||
"Shrink Image"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Showrunner-Utils"
|
||||
@ -3212,8 +3220,12 @@
|
||||
"XIS_FromListGet1Model",
|
||||
"XIS_FromListGet1String",
|
||||
"XIS_INT_Slider",
|
||||
"XIS_ImageMaskMirror",
|
||||
"XIS_InvertMask",
|
||||
"XIS_IsThereAnyData",
|
||||
"XIS_PromptsWithSwitches",
|
||||
"XIS_ResizeImageOrMask"
|
||||
"XIS_ResizeImageOrMask",
|
||||
"XIS_ResizeToDivisible"
|
||||
],
|
||||
{
|
||||
"title_aux": "Xiser_Nodes [WIP]"
|
||||
@ -3893,6 +3905,8 @@
|
||||
"HyVideoEmptyTextEmbeds",
|
||||
"HyVideoEncode",
|
||||
"HyVideoEnhanceAVideo",
|
||||
"HyVideoGetClosestBucketSize",
|
||||
"HyVideoI2VEncode",
|
||||
"HyVideoInverseSampler",
|
||||
"HyVideoLatentPreview",
|
||||
"HyVideoLoraBlockEdit",
|
||||
@ -3976,6 +3990,7 @@
|
||||
"WanVideoEmptyEmbeds",
|
||||
"WanVideoEncode",
|
||||
"WanVideoEnhanceAVideo",
|
||||
"WanVideoFlowEdit",
|
||||
"WanVideoImageClipEncode",
|
||||
"WanVideoLatentPreview",
|
||||
"WanVideoLoraBlockEdit",
|
||||
@ -3983,9 +3998,11 @@
|
||||
"WanVideoModelLoader",
|
||||
"WanVideoSampler",
|
||||
"WanVideoTeaCache",
|
||||
"WanVideoTextEmbedBridge",
|
||||
"WanVideoTextEncode",
|
||||
"WanVideoTorchCompileSettings",
|
||||
"WanVideoVAELoader"
|
||||
"WanVideoVAELoader",
|
||||
"WanVideoVRAMManagement"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-WanVideoWrapper [WIP]"
|
||||
@ -4010,6 +4027,7 @@
|
||||
],
|
||||
"https://github.com/kk8bit/KayTool": [
|
||||
[
|
||||
"AB_Images",
|
||||
"AIO_Translater",
|
||||
"Abc_Math",
|
||||
"Baidu_Translater",
|
||||
@ -4340,9 +4358,7 @@
|
||||
"https://github.com/lum3on/comfyui_LLM_Polymath": [
|
||||
[
|
||||
"ConceptEraserNode",
|
||||
"UCEEraserNode",
|
||||
"polymath_SaveAbsolute",
|
||||
"polymath_UCE_concept_eraser",
|
||||
"polymath_chat",
|
||||
"polymath_concept_eraser",
|
||||
"polymath_helper",
|
||||
@ -4766,6 +4782,7 @@
|
||||
],
|
||||
"https://github.com/oshtz/ComfyUI-oshtz-nodes": [
|
||||
[
|
||||
"EasyAspectRatioNode",
|
||||
"ImageOverlayNode",
|
||||
"LLMAIONode",
|
||||
"LoRASwitcherNode",
|
||||
@ -5583,6 +5600,31 @@
|
||||
"title_aux": "CombineMasksNode"
|
||||
}
|
||||
],
|
||||
"https://github.com/xmarked-ai/ComfyUI_misc": [
|
||||
[
|
||||
"AceColorFixX",
|
||||
"AceFloatX",
|
||||
"AceIntegerX",
|
||||
"CheckpointLoaderBNB_X",
|
||||
"CheckpointLoaderNF4_X",
|
||||
"DepthDisplaceX",
|
||||
"EmptyLatentX",
|
||||
"IfConditionX",
|
||||
"ImageTileSquare",
|
||||
"ImageUntileSquare",
|
||||
"KSamplerComboX",
|
||||
"LoopCloseX",
|
||||
"LoopOpenX",
|
||||
"LoraBatchSamplerX",
|
||||
"RelightX",
|
||||
"RemoveBackgroundX",
|
||||
"UnetLoaderBNB_X",
|
||||
"WhiteBalanceX"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_misc"
|
||||
}
|
||||
],
|
||||
"https://github.com/yanhuifair/ComfyUI-FairLab": [
|
||||
[
|
||||
"CLIPTranslatedNode",
|
||||
@ -5666,6 +5708,14 @@
|
||||
"title_aux": "Comfyui_image2prompt"
|
||||
}
|
||||
],
|
||||
"https://github.com/zjkhurry/comfyui_MetalFX": [
|
||||
[
|
||||
"metalFXImg"
|
||||
],
|
||||
{
|
||||
"title_aux": "comfyui_MetalFX [WIP]"
|
||||
}
|
||||
],
|
||||
"https://github.com/zyd232/ComfyUI-zyd232-Nodes": [
|
||||
[
|
||||
"zyd232 ImagesPixelsCompare",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -11,6 +11,56 @@
|
||||
|
||||
|
||||
|
||||
{
|
||||
"author": "807502278",
|
||||
"title": "ComfyUI_TensorRT_Merge [REMOVED]",
|
||||
"reference": "https://github.com/807502278/ComfyUI_TensorRT_Merge",
|
||||
"files": [
|
||||
"https://github.com/807502278/ComfyUI_TensorRT_Merge"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Non diffusion models supported by TensorRT, merged Comfyui plugin, added onnx automatic download and trt model conversion nodes."
|
||||
},
|
||||
{
|
||||
"author": "logtd",
|
||||
"title": "ComfyUI-LTXTricks [DEPRECATED]",
|
||||
"reference": "https://github.com/logtd/ComfyUI-LTXTricks",
|
||||
"files": [
|
||||
"https://github.com/logtd/ComfyUI-LTXTricks"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A set of nodes that provide additional controls for the LTX Video model"
|
||||
},
|
||||
{
|
||||
"author": "JichaoLiang",
|
||||
"title": "Immortal_comfyUI [REMOVED]",
|
||||
"reference": "https://github.com/JichaoLiang/Immortal_comfyUI",
|
||||
"files": [
|
||||
"https://github.com/JichaoLiang/Immortal_comfyUI"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES:ImNewNode, ImAppendNode, MergeNode, SetProperties, SaveToDirectory, batchNodes, redirectToNode, SetEvent, ..."
|
||||
},
|
||||
{
|
||||
"author": "Rvage0815",
|
||||
"title": "ComfyUI-RvTools [REMOVED]",
|
||||
"reference": "https://github.com/Rvage0815/ComfyUI-RvTools",
|
||||
"files": [
|
||||
"https://github.com/Rvage0815/ComfyUI-RvTools"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "this node contains a lot of small little helpers like switches, passers and selectors that i use a lot to build my workflows."
|
||||
},
|
||||
{
|
||||
"author": "Rvage0815",
|
||||
"title": "RvTComfyUI-RvTools_v2 [REMOVED]",
|
||||
"reference": "https://github.com/Rvage0815/ComfyUI-RvTools_v2",
|
||||
"files": [
|
||||
"https://github.com/Rvage0815/ComfyUI-RvTools_v2"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "this node contains a lot of small little helpers like switches, passers and selectors that i use a lot to build my workflows."
|
||||
},
|
||||
{
|
||||
"author": "scottmudge",
|
||||
"title": "ComfyUI_BiscuitNodes [REMOVED]",
|
||||
@ -125,7 +175,7 @@
|
||||
},
|
||||
{
|
||||
"author": "myAiLemon",
|
||||
"title": "MagicGetPromptAutomatically",
|
||||
"title": "MagicGetPromptAutomatically [REMOVED]",
|
||||
"reference": "https://github.com/myAiLemon/MagicGetPromptAutomatically",
|
||||
"files": [
|
||||
"https://github.com/myAiLemon/MagicGetPromptAutomatically"
|
||||
|
||||
@ -10,7 +10,180 @@
|
||||
|
||||
|
||||
|
||||
|
||||
{
|
||||
"author": "GeekyGhost",
|
||||
"title": "ComfyUI-Geeky-Kokoro-TTS",
|
||||
"reference": "https://github.com/GeekyGhost/ComfyUI-Geeky-Kokoro-TTS",
|
||||
"files": [
|
||||
"https://github.com/GeekyGhost/ComfyUI-Geeky-Kokoro-TTS"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A powerful and feature-rich custom node collection for ComfyUI that integrates the Kokoro TTS (Text-to-Speech) system with advanced voice modification capabilities. This package allows you to generate natural-sounding speech and apply various voice effects within ComfyUI workflows."
|
||||
},
|
||||
{
|
||||
"author": "billwuhao",
|
||||
"title": "ComfyUI_KokoroTTS_MW",
|
||||
"reference": "https://github.com/billwuhao/ComfyUI_KokoroTTS_MW",
|
||||
"files": [
|
||||
"https://github.com/billwuhao/ComfyUI_KokoroTTS_MW"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A Text To Speech node using Kokoro TTS in ComfyUI. Supports 8 languages and 150 voices"
|
||||
},
|
||||
{
|
||||
"author": "S4MUEL404",
|
||||
"title": "Image Position Blend",
|
||||
"id": "ComfyUI-Image-Position-Blend",
|
||||
"reference": "https://github.com/S4MUEL-404/ComfyUI-Image-Position-Blend",
|
||||
"files": [
|
||||
"https://github.com/S4MUEL-404/ComfyUI-Image-Position-Blend"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A custom node for conveniently adjusting the overlay position of two images."
|
||||
},
|
||||
{
|
||||
"author": "ZYK-AI",
|
||||
"title": "ComfyUI-YK Line loading",
|
||||
"id": "ComfyUI-YK_Line loading",
|
||||
"reference": "https://github.com/sittere/ComfyUI-YK_Line-loading",
|
||||
"files": [
|
||||
"https://github.com/sittere/ComfyUI-YK_Line-loading"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Plugin that implements world automatic typesetting and outputs only one paragraph of text"
|
||||
},
|
||||
{
|
||||
"author": "pxl-pshr",
|
||||
"title": "GlitchNodes",
|
||||
"reference": "https://github.com/pxl-pshr/GlitchNodes",
|
||||
"files": [
|
||||
"https://github.com/pxl-pshr/GlitchNodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "GlitchNodes is a collection of image processing nodes designed for ComfyUI that specializes in creating glitch art and retro effects."
|
||||
},
|
||||
{
|
||||
"author": "panic-titan",
|
||||
"title": "ComfyUI-Gallery",
|
||||
"reference": "https://github.com/PanicTitan/ComfyUI-Gallery",
|
||||
"files": [
|
||||
"https://github.com/PanicTitan/ComfyUI-Gallery"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Real-time Output Gallery for ComfyUI with image metadata inspection."
|
||||
},
|
||||
{
|
||||
"author": "leeguandong",
|
||||
"title": "ComfyUI_Cogview4",
|
||||
"reference": "https://github.com/leeguandong/ComfyUI_Cogview4",
|
||||
"files": [
|
||||
"https://github.com/leeguandong/ComfyUI_Cogview4"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "The latest DIT architecture-based image generation model from Zhipu that supports Chinese text generation."
|
||||
},
|
||||
{
|
||||
"author": "marcoc2",
|
||||
"title": "ComfyUI-Cog",
|
||||
"reference": "https://github.com/marcoc2/ComfyUI_CogView4-6B_diffusers",
|
||||
"files": [
|
||||
"https://github.com/marcoc2/ComfyUI_CogView4-6B_diffusers"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This is a custom node aiming to run CogView4 on diffusers while there is no official implementation on ComfyUI.\nNOTE: You will need a updated version of diffusers and I don't know if updating it my break other stuff, so I advise you to make in a new instance of ComfyUI"
|
||||
},
|
||||
|
||||
{
|
||||
"author": "1038lab",
|
||||
"title": "ComfyUI-Pollinations",
|
||||
"reference": "https://github.com/1038lab/ComfyUI-Pollinations",
|
||||
"files": [
|
||||
"https://github.com/1038lab/ComfyUI-Pollinations"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI integration for Pollinations API - Generate images and text based on user prompts"
|
||||
},
|
||||
{
|
||||
"author": "Samulebotin",
|
||||
"title": "ComfyUI-FreeVC_wrapper",
|
||||
"reference": "https://github.com/Samulebotin/ComfyUI-FreeVC_wrapper",
|
||||
"files": [
|
||||
"https://github.com/Samulebotin/ComfyUI-FreeVC_wrapper"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A voice conversion extension node for ComfyUI based on FreeVC, enabling high-quality voice conversion capabilities within the ComfyUI framework."
|
||||
},
|
||||
{
|
||||
"author": "chflame163",
|
||||
"title": "ComfyUI_CogView4_Wrapper",
|
||||
"reference": "https://github.com/chflame163/ComfyUI_CogView4_Wrapper",
|
||||
"files": [
|
||||
"https://github.com/chflame163/ComfyUI_CogView4_Wrapper"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "The unofficial implementation of CogView4 project in ComfyUI."
|
||||
},
|
||||
{
|
||||
"author": "justin-vt",
|
||||
"title": "ComfyUI-brushstrokes",
|
||||
"reference": "https://github.com/justin-vt/ComfyUI-brushstrokes",
|
||||
"files": [
|
||||
"https://github.com/justin-vt/ComfyUI-brushstrokes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A ComfyUI node that applies painterly/brush-stroke effects to images, using either ImageMagick (Wand) or G'MIC (gmic-py) under the hood."
|
||||
},
|
||||
{
|
||||
"author": "huixingyun",
|
||||
"title": "ComfyUI-HX-Pimg",
|
||||
"reference": "https://github.com/huixingyun/ComfyUI-HX-Pimg",
|
||||
"files": [
|
||||
"https://github.com/huixingyun/ComfyUI-HX-Pimg"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Some custom nodes used for pimg (a comfyui controller deployed in huixingyun)."
|
||||
},
|
||||
{
|
||||
"author": "bombax-xiaoice",
|
||||
"title": "ComfyUI-DisPose",
|
||||
"reference": "https://github.com/bombax-xiaoice/ComfyUI-DisPose",
|
||||
"files": [
|
||||
"https://github.com/bombax-xiaoice/ComfyUI-DisPose"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI supports over lihxxx/DisPose, which generates a new video with a reference video as poses and a reference image as everything else."
|
||||
},
|
||||
{
|
||||
"author": "TheWhykiki",
|
||||
"title": "Whykiki ComfyUI Toolset",
|
||||
"reference": "https://github.com/TheWhykiki/Whykiki-ComfyUIToolset",
|
||||
"files": [
|
||||
"https://github.com/TheWhykiki/Whykiki-ComfyUIToolset"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A collection of useful nodes for ComfyUI that provide various workflow enhancements."
|
||||
},
|
||||
{
|
||||
"author": "nosiu",
|
||||
"title": "comfyui-text-randomizer",
|
||||
"id": "comfyui-text-randomizer",
|
||||
"reference": "https://github.com/nosiu/comfyui-text-randomizer",
|
||||
"files": [
|
||||
"https://github.com/nosiu/comfyui-text-randomizer"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A simple text randomizer for ComfyUI that can generate random and surprising results"
|
||||
},
|
||||
{
|
||||
"author": "mr7thing",
|
||||
"title": "Circle Pattern Processor for ComfyUI",
|
||||
"reference": "https://github.com/mr7thing/circle_pattern_processor",
|
||||
"files": [
|
||||
"https://github.com/mr7thing/circle_pattern_processor"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This is a custom node for ComfyUI that can detect circular patterns in an image and generate a standardized circular output."
|
||||
},
|
||||
{
|
||||
"author": "keit",
|
||||
"title": "ComfyUI-Image-Toolkit",
|
||||
@ -519,273 +692,6 @@
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI Spectral is a ComfyUI custom nodes library based on the spectral, mainly used for visual processing of spectral files"
|
||||
},
|
||||
{
|
||||
"author": "Chengym2023",
|
||||
"title": "ComfyUI-DeepSeek_Online",
|
||||
"reference": "https://github.com/Chengym2023/ComfyUI-DeepSeek_Online",
|
||||
"files": [
|
||||
"https://github.com/Chengym2023/ComfyUI-DeepSeek_Online"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "NODES: SiliconCloudReasoning, DeepSeekOnline"
|
||||
},
|
||||
{
|
||||
"author": "gitmylo",
|
||||
"title": "Audio nodes",
|
||||
"reference": "https://github.com/gitmylo/ComfyUI-audio-nodes",
|
||||
"files": [
|
||||
"https://github.com/gitmylo/ComfyUI-audio-nodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Various nodes related to audio."
|
||||
},
|
||||
{
|
||||
"author": "billwuhao",
|
||||
"title": "ComfyUI_StepAudioTTS",
|
||||
"reference": "https://github.com/billwuhao/ComfyUI_StepAudioTTS",
|
||||
"files": [
|
||||
"https://github.com/billwuhao/ComfyUI_StepAudioTTS"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A Text To Speech node using Step-Audio-TTS in ComfyUI. Can speak, rap, sing, or clone voice."
|
||||
},
|
||||
{
|
||||
"author": "greengerong",
|
||||
"title": "ComfyUI-Lumina-Video",
|
||||
"reference": "https://github.com/greengerong/ComfyUI-Lumina-Video",
|
||||
"files": [
|
||||
"https://github.com/greengerong/ComfyUI-Lumina-Video"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This is a video generation plugin implementation for ComfyUI based on the Lumina Video model."
|
||||
},
|
||||
{
|
||||
"author": "morgan55555",
|
||||
"title": "ComfyUI Lock Mode",
|
||||
"reference": "https://github.com/morgan55555/comfyui-lock-mode",
|
||||
"files": [
|
||||
"https://github.com/morgan55555/comfyui-lock-mode"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Lock Mode feature for ComfyUI. Make simple no-code UI easily."
|
||||
},
|
||||
{
|
||||
"author": "aicuai",
|
||||
"title": "aicu-comfyui-stability-ai-api",
|
||||
"reference": "https://github.com/aicuai/aicu-comfyui-stability-ai-api",
|
||||
"files": [
|
||||
"https://github.com/aicuai/aicu-comfyui-stability-ai-api"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This repository contains custom nodes for Stability AI API which supports SD3.0 and 3.5."
|
||||
},
|
||||
{
|
||||
"author": "benda1989",
|
||||
"title": "CosyVoice2 for ComfyUI",
|
||||
"reference": "https://github.com/benda1989/CosyVoice2_ComfyUI",
|
||||
"files": [
|
||||
"https://github.com/benda1989/CosyVoice2_ComfyUI"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A plugin of ComfyUI for CosyVoice2, one component for text to Sonic Video"
|
||||
},
|
||||
{
|
||||
"author": "alessandrozonta",
|
||||
"title": "Comfyui-LoopLoader",
|
||||
"id": "Comfyui-LoopLoader",
|
||||
"reference": "https://github.com/alessandrozonta/Comfyui-LoopLoader",
|
||||
"files": [
|
||||
"hhttps://github.com/alessandrozonta/Comfyui-LoopLoader"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A ComfyUI custom node for loading images sequentially from a directory. Loops back to the first image when reaching the end"
|
||||
},
|
||||
{
|
||||
"author": "AEmotionStudio",
|
||||
"title": "ComfyUI-EnhancedLinksandNodes 🎨✨",
|
||||
"reference": "https://github.com/AEmotionStudio/ComfyUI-EnhancedLinksandNodes",
|
||||
"files": [
|
||||
"https://github.com/AEmotionStudio/ComfyUI-EnhancedLinksandNodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A visually stunning extension for ComfyUI that adds beautiful, customizable animations to both links and nodes in your workflow, with a focus on performance and customization. Includes an end-of-render animation and a text visibility tool for nodes. No extra packages are required, works with the latest version of ComfyUI, and should be compatible with most workflows. Larger workflows may experience performance issues, especially if you have a lot of nodes and are using a lower end system."
|
||||
},
|
||||
{
|
||||
"author": "pathway8-sudo",
|
||||
"title": "ComfyUI-Pathway-CutPNG-Node",
|
||||
"reference": "https://github.com/pathway8-sudo/ComfyUI-Pathway-CutPNG-Node",
|
||||
"files": [
|
||||
"https://github.com/pathway8-sudo/ComfyUI-Pathway-CutPNG-Node"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Custom ComfyUI node that uses BRIA RMBG v1.4 for background removal and PNG cutting."
|
||||
},
|
||||
{
|
||||
"author": "quadmoon",
|
||||
"title": "ComfyUI-UltimateSDUpscale-GGUF",
|
||||
"reference": "https://github.com/traugdor/ComfyUI-UltimateSDUpscale-GGUF",
|
||||
"files": [
|
||||
"https://github.com/traugdor/ComfyUI-UltimateSDUpscale-GGUF"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "GGUF implementation for the ComfyUI Ultimate SD Upscale node."
|
||||
},
|
||||
{
|
||||
"author": "dasilva333",
|
||||
"title": "ComfyUI_MarkdownImage",
|
||||
"reference": "https://github.com/dasilva333/ComfyUI_MarkdownImage",
|
||||
"files": [
|
||||
"https://github.com/dasilva333/ComfyUI_MarkdownImage"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This project generates an image from Markdown text using imgkit and wkhtmltoimage. It automatically scales the text to fit within the specified image dimensions."
|
||||
},
|
||||
{
|
||||
"author": "GamingDaveUk",
|
||||
"title": "Daves Nodes",
|
||||
"id": "davesnodes",
|
||||
"reference": "https://github.com/GamingDaveUk/daves_nodes",
|
||||
"files": [
|
||||
"https://github.com/GamingDaveUk/daves_nodes"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Nodes that I needed but couldnt find, so ended up making."
|
||||
},
|
||||
|
||||
{
|
||||
"author": "AIFSH",
|
||||
"title": "SemiChat-ComfyUI",
|
||||
"reference": "https://github.com/AIFSH/SemiChat-ComfyUI",
|
||||
"files": [
|
||||
"https://github.com/AIFSH/SemiChat-ComfyUI"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A ComfyUI chat node based on SemiUI."
|
||||
},
|
||||
{
|
||||
"author": "AIDC-AI",
|
||||
"title": "ComfyUI-Copilot",
|
||||
"id": "ComfyUI-Copilot",
|
||||
"reference": "https://github.com/AIDC-AI/ComfyUI-Copilot",
|
||||
"files": [
|
||||
"https://github.com/AIDC-AI/ComfyUI-Copilot"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Your Intelligent Assistant for Comfy-UI."
|
||||
},
|
||||
{
|
||||
"author": "RodrigoSKohl",
|
||||
"title": "Interior Design for Comfyui",
|
||||
"reference": "https://github.com/RodrigoSKohl/StableDesign-for-ComfyUI",
|
||||
"files": [
|
||||
"https://github.com/RodrigoSKohl/StableDesign-for-ComfyUI"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "This node is based on MykolaL/StableDesign"
|
||||
},
|
||||
{
|
||||
"author": "attashe",
|
||||
"title": "ComfyUI-FluxRegionAttention",
|
||||
"reference": "https://github.com/attashe/ComfyUI-FluxRegionAttention",
|
||||
"files": [
|
||||
"https://github.com/attashe/ComfyUI-FluxRegionAttention"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Implement Region Attention for Flux model. Add node RegionAttention that takes a regions - mask + condition, mask could be set from comfyui masks or bbox in FluxRegionBBOX node.\nThis code is not optimized and has a memory leak. If you caught a OOM just try run a query againg - works on my RTX3080. For generation it uses a usual prompt that have influence to all picture and a regions that have their own prompts.\nBase prompt good for setup background and style of image. This is train-free technique and results not always stable - sometimes need to try several seeds or change prompt."
|
||||
},
|
||||
{
|
||||
"author": "yas-ponotech",
|
||||
"title": "ComfyUI-Stability-AI-API",
|
||||
"reference": "https://github.com/yhayano-ponotech/comfyui-stability-ai-api",
|
||||
"files": [
|
||||
"https://github.com/yhayano-ponotech/comfyui-stability-ai-api"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A collection of custom nodes for using the Stability AI API in ComfyUI."
|
||||
},
|
||||
{
|
||||
"author": "HJH-AILab",
|
||||
"title": "ComfyUI_StableAnimator",
|
||||
"reference": "https://github.com/HJH-AILab/ComfyUI_StableAnimator",
|
||||
"files": [
|
||||
"https://github.com/HJH-AILab/ComfyUI_StableAnimator"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "ComfyUI nodes for StableAnimator"
|
||||
},
|
||||
{
|
||||
"author": "kevinmcmahondev",
|
||||
"title": "KMCDev Nodes",
|
||||
"reference": "https://github.com/kevinmcmahondev/comfyui-kmcdev-image-filter-adjustments",
|
||||
"files": [
|
||||
"https://github.com/kevinmcmahondev/comfyui-kmcdev-image-filter-adjustments"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A ComfyUI node that provides advanced image adjustment filters and controls for image manipulation"
|
||||
},
|
||||
{
|
||||
"author": "lunarring",
|
||||
"title": "bitalino_comfy",
|
||||
"reference": "https://github.com/lunarring/bitalino_comfy",
|
||||
"files": [
|
||||
"https://github.com/lunarring/bitalino_comfy"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A package implementing a Bitalino device ComfyUI custom node."
|
||||
},
|
||||
{
|
||||
"author": "Hellfiredragon",
|
||||
"title": "comfyui-image-manipulation",
|
||||
"reference": "https://github.com/Hellfiredragon/comfyui-image-manipulation",
|
||||
"files": [
|
||||
"https://github.com/Hellfiredragon/comfyui-image-manipulation"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Custom nodes to manipulate images in ComfyUI"
|
||||
},
|
||||
{
|
||||
"author": "Mohammadreza Mohseni",
|
||||
"title": "ComfyUI Mohseni Kit",
|
||||
"id": "mohseni-kit",
|
||||
"reference": "https://github.com/mohseni-mr/ComfyUI-Mohseni-Kit",
|
||||
"files": [
|
||||
"https://github.com/mohseni-mr/ComfyUI-Mohseni-Kit"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "A collection of useful nodes for ComfyUI, including Float Preview for live image visualization."
|
||||
},
|
||||
{
|
||||
"author": "TheAIDoctor",
|
||||
"title": "The AI Doctors Clinical Tools",
|
||||
"id": "AIDocCT",
|
||||
"reference": "https://github.com/BlueprintCoding/ComfyUI_AIDocsClinicalTools",
|
||||
"files": [
|
||||
"https://github.com/BlueprintCoding/ComfyUI_AIDocsClinicalTools"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "Nodes: Multi Int and Multi Text; allows for the creation of multiple int and multiple string storage and output from a single node. Multi Float coming soon."
|
||||
},
|
||||
{
|
||||
"author": "CY-CHENYUE",
|
||||
"title": "ComfyUI-Free-GPU",
|
||||
"id": "ComfyUI-Free-GPU",
|
||||
"reference": "https://github.com/CY-CHENYUE/ComfyUI-Free-GPU",
|
||||
"files": [
|
||||
"https://github.com/CY-CHENYUE/ComfyUI-Free-GPU"
|
||||
],
|
||||
"description": "ComfyUI-Free-GPU provides a node for releasing RAM and VRAM in ComfyUI.",
|
||||
"install_type": "git-clone"
|
||||
},
|
||||
{
|
||||
"author": "BuffMcBigHuge",
|
||||
"title": "ComfyUI-Zonos",
|
||||
"reference": "https://github.com/BuffMcBigHuge/ComfyUI-Zonos",
|
||||
"files": [
|
||||
"https://github.com/BuffMcBigHuge/ComfyUI-Zonos"
|
||||
],
|
||||
"install_type": "git-clone",
|
||||
"description": "TTS with Zyphra Zonos"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -433,6 +433,7 @@
|
||||
],
|
||||
"https://github.com/807502278/ComfyUI-WJNodes": [
|
||||
[
|
||||
"Accurate_mask_clipping",
|
||||
"Any_Pipe",
|
||||
"ApplyEasyOCR_batch",
|
||||
"Bilateral_Filter",
|
||||
@ -442,14 +443,15 @@
|
||||
"ComfyUI_Path_Out",
|
||||
"Determine_Type",
|
||||
"ImageChannelBus",
|
||||
"ListMerger",
|
||||
"Load_Image_Adv",
|
||||
"Load_Image_From_Path",
|
||||
"Mask_Detection",
|
||||
"MergeImageList",
|
||||
"PrimitiveNode",
|
||||
"Random_Select_Prompt",
|
||||
"Run_BEN_v2",
|
||||
"Run_Similarity",
|
||||
"Run_torchvision_model",
|
||||
"Sam2AutoSegmentation_data",
|
||||
"Save_Image_Out",
|
||||
"Save_Image_To_Path",
|
||||
@ -464,6 +466,8 @@
|
||||
"WAS_Mask_Fill_Region_batch",
|
||||
"adv_crop",
|
||||
"any_data",
|
||||
"any_math",
|
||||
"any_math_v2",
|
||||
"array_count",
|
||||
"bbox_restore_mask",
|
||||
"color_segmentation",
|
||||
@ -473,9 +477,6 @@
|
||||
"get_image_data",
|
||||
"image_math",
|
||||
"image_math_value",
|
||||
"image_math_value_v1",
|
||||
"image_math_value_v2",
|
||||
"image_math_value_x10",
|
||||
"invert_channel_adv",
|
||||
"load_BEN_model",
|
||||
"load_ColorName_config",
|
||||
@ -483,6 +484,7 @@
|
||||
"load_Similarity",
|
||||
"load_color_config",
|
||||
"load_model_value",
|
||||
"load_torchvision_model",
|
||||
"mask_and_mask_math",
|
||||
"mask_line_mapping",
|
||||
"mask_select_mask",
|
||||
@ -1699,10 +1701,12 @@
|
||||
"https://github.com/ArtHommage/HommageTools": [
|
||||
[
|
||||
"HTBaseShiftNode",
|
||||
"HTConsoleLoggerNode",
|
||||
"HTConversionNode",
|
||||
"HTDiffusionLoaderMulti",
|
||||
"HTDimensionAnalyzerNode",
|
||||
"HTDimensionFormatterNode",
|
||||
"HTDownsampleNode",
|
||||
"HTFlexibleNode",
|
||||
"HTInspectorNode",
|
||||
"HTLayerCollectorNode",
|
||||
@ -1721,6 +1725,7 @@
|
||||
"HTResolutionDownsampleNode",
|
||||
"HTResolutionNode",
|
||||
"HTSamplerBridgeNode",
|
||||
"HTSaveImagePlus",
|
||||
"HTSchedulerBridgeNode",
|
||||
"HTSplitterNode",
|
||||
"HTStatusIndicatorNode",
|
||||
@ -1730,8 +1735,7 @@
|
||||
"HTTextCleanupNode",
|
||||
"HTTrainingSizeNode",
|
||||
"HTValueMapperNode",
|
||||
"HTWidgetControlNode",
|
||||
"ImageMaskResize"
|
||||
"HTWidgetControlNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "HommageTools for ComfyUI"
|
||||
@ -2542,7 +2546,8 @@
|
||||
"AdvancedNoise",
|
||||
"Base64ToConditioning",
|
||||
"CLIPTextEncodeFluxUnguided",
|
||||
"ClownRegionalConditioningFlux",
|
||||
"ClownRegionalConditioning",
|
||||
"ClownRegionalConditioning3",
|
||||
"Conditioning Recast FP64",
|
||||
"ConditioningAdd",
|
||||
"ConditioningAverageScheduler",
|
||||
@ -2558,8 +2563,6 @@
|
||||
"FluxGuidanceDisable",
|
||||
"FluxLoader",
|
||||
"FluxOrthoCFGPatcher",
|
||||
"FluxRegionalConditioning",
|
||||
"FluxRegionalPrompt",
|
||||
"Frequency Separation Hard Light",
|
||||
"Frequency Separation Hard Light LAB",
|
||||
"Frequency Separation Linear Light",
|
||||
@ -2592,7 +2595,11 @@
|
||||
"ModelSamplingAdvancedResolution",
|
||||
"ModelTimestepPatcher",
|
||||
"PrepForUnsampling",
|
||||
"ReAuraPatcher",
|
||||
"ReFluxPatcher",
|
||||
"ReSD35Patcher",
|
||||
"RectifiedFlow_RegionalConditioning",
|
||||
"RectifiedFlow_RegionalPrompt",
|
||||
"SD35Loader",
|
||||
"SeedGenerator",
|
||||
"Set Precision",
|
||||
@ -4145,6 +4152,15 @@
|
||||
"title_aux": "ComfyUI-SD3LatentSelectRes"
|
||||
}
|
||||
],
|
||||
"https://github.com/GeekyGhost/ComfyUI-Geeky-Kokoro-TTS": [
|
||||
[
|
||||
"GeekyKokoroAdvancedVoice",
|
||||
"GeekyKokoroTTS"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Geeky-Kokoro-TTS"
|
||||
}
|
||||
],
|
||||
"https://github.com/GeekyGhost/ComfyUI-GeekyRemB": [
|
||||
[
|
||||
"GeekyRemB"
|
||||
@ -5142,44 +5158,6 @@
|
||||
"title_aux": "ComfyUI-TD"
|
||||
}
|
||||
],
|
||||
"https://github.com/JichaoLiang/Immortal_comfyUI": [
|
||||
[
|
||||
"AppendNode",
|
||||
"CombineVideos",
|
||||
"ImAppendFreeChatAction",
|
||||
"ImAppendImageActionNode",
|
||||
"ImAppendNodeHub",
|
||||
"ImAppendQuickbackNode",
|
||||
"ImAppendQuickbackVideoNode",
|
||||
"ImAppendVideoNode",
|
||||
"ImDumpEntity",
|
||||
"ImDumpNode",
|
||||
"ImLoadPackage",
|
||||
"ImNodeTitleOverride",
|
||||
"ImSetActionKeywordMapping",
|
||||
"MergeNode",
|
||||
"Molmo7BDbnbBatch",
|
||||
"MuteNode",
|
||||
"NewNode",
|
||||
"Node2String",
|
||||
"OllamaChat",
|
||||
"SaveImagePath",
|
||||
"SaveToDirectory",
|
||||
"SetEvent",
|
||||
"SetNodeMapping",
|
||||
"SetProperties",
|
||||
"String2Node",
|
||||
"TurnOnOffNodeOnEnter",
|
||||
"batchNodes",
|
||||
"grepNodeByText",
|
||||
"imageList",
|
||||
"mergeEntityAndPointer",
|
||||
"redirectToNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "Immortal_comfyUI"
|
||||
}
|
||||
],
|
||||
"https://github.com/JohanK66/ComfyUI-WebhookImage": [
|
||||
[
|
||||
"Notif-Webhook"
|
||||
@ -6002,6 +5980,27 @@
|
||||
"title_aux": "ComfyUI-LivePortraitNode (Replicate API)"
|
||||
}
|
||||
],
|
||||
"https://github.com/Lightricks/ComfyUI-LTXVideo": [
|
||||
[
|
||||
"AddLatentGuide",
|
||||
"LTXAttentioOverride",
|
||||
"LTXAttentionBank",
|
||||
"LTXAttnOverride",
|
||||
"LTXFetaEnhance",
|
||||
"LTXFlowEditCFGGuider",
|
||||
"LTXFlowEditSampler",
|
||||
"LTXForwardModelSamplingPred",
|
||||
"LTXPerturbedAttention",
|
||||
"LTXPrepareAttnInjections",
|
||||
"LTXRFForwardODESampler",
|
||||
"LTXRFReverseODESampler",
|
||||
"LTXReverseModelSamplingPred",
|
||||
"ModifyLTXModel"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-LTXVideo"
|
||||
}
|
||||
],
|
||||
"https://github.com/Limitex/ComfyUI-Calculation": [
|
||||
[
|
||||
"CenterCalculation",
|
||||
@ -7368,6 +7367,14 @@
|
||||
"title_aux": "ComfyUI-Fooocus-V2-Expansion"
|
||||
}
|
||||
],
|
||||
"https://github.com/PanicTitan/ComfyUI-Gallery": [
|
||||
[
|
||||
"GalleryNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Gallery"
|
||||
}
|
||||
],
|
||||
"https://github.com/Parameshvadivel/ComfyUI-SVGview": [
|
||||
[
|
||||
"SVGPreview"
|
||||
@ -7886,6 +7893,14 @@
|
||||
"title_aux": "comfyui_io_helpers"
|
||||
}
|
||||
],
|
||||
"https://github.com/S4MUEL-404/ComfyUI-Image-Position-Blend": [
|
||||
[
|
||||
"ImagePositionBlend"
|
||||
],
|
||||
{
|
||||
"title_aux": "Image Position Blend"
|
||||
}
|
||||
],
|
||||
"https://github.com/SEkINVR/ComfyUI-SaveAs": [
|
||||
[
|
||||
"ComfyUISaveAs"
|
||||
@ -7992,6 +8007,14 @@
|
||||
"title_aux": "DeepFuze"
|
||||
}
|
||||
],
|
||||
"https://github.com/Samulebotin/ComfyUI-FreeVC_wrapper": [
|
||||
[
|
||||
"FreeVC Voice Conversion"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-FreeVC_wrapper"
|
||||
}
|
||||
],
|
||||
"https://github.com/SayanoAI/Comfy-RVC": [
|
||||
[
|
||||
"Any2ListNode",
|
||||
@ -8522,14 +8545,6 @@
|
||||
"title_aux": "ComfyUI-FreeMemory"
|
||||
}
|
||||
],
|
||||
"https://github.com/ShmuelRonen/ComfyUI-FreeVC_wrapper": [
|
||||
[
|
||||
"FreeVC Voice Conversion"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-FreeVC_wrapper"
|
||||
}
|
||||
],
|
||||
"https://github.com/ShmuelRonen/ComfyUI-Gemini_Flash_2.0_Exp": [
|
||||
[
|
||||
"AudioRecorder",
|
||||
@ -8848,6 +8863,7 @@
|
||||
],
|
||||
"https://github.com/SozeInc/ComfyUI_Soze": [
|
||||
[
|
||||
"Alpha Crop and Position Image",
|
||||
"CSV Reader",
|
||||
"CSV Writer",
|
||||
"Empty Images",
|
||||
@ -8859,6 +8875,7 @@
|
||||
"Load Image",
|
||||
"Load Image From URL",
|
||||
"Load Images From Folder",
|
||||
"Lora File Loader",
|
||||
"Multiline Concatenate Strings",
|
||||
"Output Filename",
|
||||
"Prompt Cache",
|
||||
@ -8867,6 +8884,7 @@
|
||||
"Range(Num Steps) - Int",
|
||||
"Range(Step) - Float",
|
||||
"Range(Step) - Int",
|
||||
"Shrink Image",
|
||||
"String Replacer",
|
||||
"Text Contains (Return Bool)",
|
||||
"Text Contains (Return String)",
|
||||
@ -9758,6 +9776,8 @@
|
||||
],
|
||||
"https://github.com/Taremin/comfyui-prompt-extranetworks": [
|
||||
[
|
||||
"PromptControlNetApply",
|
||||
"PromptControlNetPrepare",
|
||||
"PromptExtraNetworks"
|
||||
],
|
||||
{
|
||||
@ -9887,6 +9907,14 @@
|
||||
"title_aux": "Anyline"
|
||||
}
|
||||
],
|
||||
"https://github.com/TheWhykiki/Whykiki-ComfyUIToolset": [
|
||||
[
|
||||
"SequentialImageLoaderV8"
|
||||
],
|
||||
{
|
||||
"title_aux": "Whykiki ComfyUI Toolset"
|
||||
}
|
||||
],
|
||||
"https://github.com/ThepExcel/aiangelgallery-comfyui": [
|
||||
[
|
||||
"ThepExcel_AiAngel_MultilineTextChoiceNode"
|
||||
@ -11453,7 +11481,8 @@
|
||||
"https://github.com/aidenli/ComfyUI_NYJY": [
|
||||
[
|
||||
"CivitaiPrompt",
|
||||
"ConverAnyToString",
|
||||
"ConvertAnyToString",
|
||||
"ConvertStringToNumber",
|
||||
"CustomLatentImage-NYJY",
|
||||
"CustomLatentImageSimple",
|
||||
"FloatSlider-NYJY",
|
||||
@ -11740,6 +11769,14 @@
|
||||
"title_aux": "OpenPose Node"
|
||||
}
|
||||
],
|
||||
"https://github.com/alessandrozonta/Comfyui-LoopLoader": [
|
||||
[
|
||||
"LoadLoopImagesFromDir"
|
||||
],
|
||||
{
|
||||
"title_aux": "Comfyui-LoopLoader"
|
||||
}
|
||||
],
|
||||
"https://github.com/alexcong/ComfyUI_QwenVL": [
|
||||
[
|
||||
"Qwen2.5",
|
||||
@ -12616,6 +12653,15 @@
|
||||
"title_aux": "ComfyUI_TextAssets"
|
||||
}
|
||||
],
|
||||
"https://github.com/billwuhao/ComfyUI_KokoroTTS_MW": [
|
||||
[
|
||||
"Kokoro Run",
|
||||
"Kokoro ZH Run"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_KokoroTTS_MW"
|
||||
}
|
||||
],
|
||||
"https://github.com/billwuhao/ComfyUI_OneButtonPrompt_Flux": [
|
||||
[
|
||||
"DeepseekRun",
|
||||
@ -12889,6 +12935,16 @@
|
||||
"title_aux": "ComfyUI-Allegro"
|
||||
}
|
||||
],
|
||||
"https://github.com/bombax-xiaoice/ComfyUI-DisPose": [
|
||||
[
|
||||
"DisPoseDecoder",
|
||||
"DisPoseLoader",
|
||||
"DisPoseSampler"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-DisPose"
|
||||
}
|
||||
],
|
||||
"https://github.com/bombax-xiaoice/ComfyUI-MagicDance": [
|
||||
[
|
||||
"LoadMagicDanceModel",
|
||||
@ -13899,6 +13955,14 @@
|
||||
"title_aux": "ComfyUI_CatVTON_Wrapper"
|
||||
}
|
||||
],
|
||||
"https://github.com/chflame163/ComfyUI_CogView4_Wrapper": [
|
||||
[
|
||||
"CogView4"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_CogView4_Wrapper"
|
||||
}
|
||||
],
|
||||
"https://github.com/chflame163/ComfyUI_FaceSimilarity": [
|
||||
[
|
||||
"Face Similarity"
|
||||
@ -14647,6 +14711,7 @@
|
||||
"ConditioningConcat",
|
||||
"ConditioningSetArea",
|
||||
"ConditioningSetAreaPercentage",
|
||||
"ConditioningSetAreaPercentageVideo",
|
||||
"ConditioningSetAreaStrength",
|
||||
"ConditioningSetMask",
|
||||
"ConditioningSetTimestepRange",
|
||||
@ -14684,6 +14749,7 @@
|
||||
"GLIGENLoader",
|
||||
"GLIGENTextBoxApply",
|
||||
"GrowMask",
|
||||
"HunyuanImageToVideo",
|
||||
"HyperTile",
|
||||
"HypernetworkLoader",
|
||||
"ImageBatch",
|
||||
@ -14712,8 +14778,11 @@
|
||||
"KSamplerAdvanced",
|
||||
"KSamplerSelect",
|
||||
"KarrasScheduler",
|
||||
"LTXVAddGuide",
|
||||
"LTXVConditioning",
|
||||
"LTXVCropGuides",
|
||||
"LTXVImgToVideo",
|
||||
"LTXVPreprocess",
|
||||
"LTXVScheduler",
|
||||
"LaplaceScheduler",
|
||||
"LatentAdd",
|
||||
@ -14870,6 +14939,7 @@
|
||||
"TestVariadicAverage",
|
||||
"TestWhileLoopClose",
|
||||
"TestWhileLoopOpen",
|
||||
"TextEncodeHunyuanVideo_ImageToVideo",
|
||||
"ThresholdMask",
|
||||
"TomePatchModel",
|
||||
"TorchCompileModel",
|
||||
@ -15787,7 +15857,7 @@
|
||||
"description": "CLIP text encoder that does BREAK prompting like A1111",
|
||||
"nickname": "CLIP with BREAK",
|
||||
"title": "CLIP with BREAK syntax",
|
||||
"title_aux": "CLIP with BREAK syntax"
|
||||
"title_aux": "comfyui-clip-with-break"
|
||||
}
|
||||
],
|
||||
"https://github.com/dfl/comfyui-tcd-scheduler": [
|
||||
@ -16462,10 +16532,12 @@
|
||||
"https://github.com/fablestudio/ComfyUI-Showrunner-Utils": [
|
||||
[
|
||||
"AlignFace",
|
||||
"Alpha Crop and Position Image",
|
||||
"GenerateTimestamp",
|
||||
"GetMostCommonColors",
|
||||
"ReadImage",
|
||||
"RenderOpenStreetMapTile"
|
||||
"RenderOpenStreetMapTile",
|
||||
"Shrink Image"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Showrunner-Utils"
|
||||
@ -17577,6 +17649,7 @@
|
||||
"Griptape Combine: Merge Texts",
|
||||
"Griptape Combine: RAG Module List",
|
||||
"Griptape Combine: Rules List",
|
||||
"Griptape Combine: String List",
|
||||
"Griptape Combine: Tool List",
|
||||
"Griptape Config: Environment Variables",
|
||||
"Griptape Convert: Agent to Tool",
|
||||
@ -17652,6 +17725,7 @@
|
||||
"Griptape Run: Cloud Assistant",
|
||||
"Griptape Run: Image Description",
|
||||
"Griptape Run: Parallel Image Description",
|
||||
"Griptape Run: Parallel Prompt Task",
|
||||
"Griptape Run: Prompt Task",
|
||||
"Griptape Run: Task",
|
||||
"Griptape Run: Text Extraction",
|
||||
@ -18348,6 +18422,14 @@
|
||||
"title_aux": "ComfyUI-HX-Captioner"
|
||||
}
|
||||
],
|
||||
"https://github.com/huixingyun/ComfyUI-HX-Pimg": [
|
||||
[
|
||||
"SaveImageWithPromptsWebsocket"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-HX-Pimg"
|
||||
}
|
||||
],
|
||||
"https://github.com/hustille/ComfyUI_Fooocus_KSampler": [
|
||||
[
|
||||
"KSampler With Refiner (Fooocus)"
|
||||
@ -18540,6 +18622,7 @@
|
||||
"Light-Tool: MaskContourExtractor",
|
||||
"Light-Tool: MaskImageToTransparent",
|
||||
"Light-Tool: MaskToImage",
|
||||
"Light-Tool: MorphologicalTF",
|
||||
"Light-Tool: PhantomTankEffect",
|
||||
"Light-Tool: PreviewVideo",
|
||||
"Light-Tool: RGB2RGBA",
|
||||
@ -19744,6 +19827,16 @@
|
||||
"title_aux": "Bjornulf_custom_nodes"
|
||||
}
|
||||
],
|
||||
"https://github.com/justin-vt/ComfyUI-brushstrokes": [
|
||||
[
|
||||
"OpenCVBrushStrokesNode",
|
||||
"PILBrushStrokesNode",
|
||||
"WandBrushStrokesNode"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-brushstrokes"
|
||||
}
|
||||
],
|
||||
"https://github.com/k-komarov/comfyui-bunny-cdn-storage": [
|
||||
[
|
||||
"Save Image to BunnyStorage"
|
||||
@ -19963,7 +20056,7 @@
|
||||
"description": "A ComfyUI plugin for efficient image sequence processing. Features frame insertion, duplication, and removal with intuitive controls.",
|
||||
"nickname": "QuickSeq",
|
||||
"title": "Quick Image Sequence Process",
|
||||
"title_aux": "Quick Image Sequence Process"
|
||||
"title_aux": "ComfyUI-QuickImageSequenceProcess"
|
||||
}
|
||||
],
|
||||
"https://github.com/kealiu/ComfyUI-S3-Tools": [
|
||||
@ -19996,8 +20089,10 @@
|
||||
[
|
||||
"AntialiasingImage",
|
||||
"BinarizeImage",
|
||||
"BinarizeImageUsingOtsu",
|
||||
"BrightnessTransparency",
|
||||
"GrayscaleImage"
|
||||
"GrayscaleImage",
|
||||
"RemoveWhiteBackgroundNoise"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Image-Toolkit"
|
||||
@ -20296,6 +20391,8 @@
|
||||
"HyVideoEmptyTextEmbeds",
|
||||
"HyVideoEncode",
|
||||
"HyVideoEnhanceAVideo",
|
||||
"HyVideoGetClosestBucketSize",
|
||||
"HyVideoI2VEncode",
|
||||
"HyVideoInverseSampler",
|
||||
"HyVideoLatentPreview",
|
||||
"HyVideoLoraBlockEdit",
|
||||
@ -20486,6 +20583,7 @@
|
||||
"StringConstantMultiline",
|
||||
"StyleModelApplyAdvanced",
|
||||
"Superprompt",
|
||||
"TimerNodeKJ",
|
||||
"TorchCompileControlNet",
|
||||
"TorchCompileCosmosModel",
|
||||
"TorchCompileLTXModel",
|
||||
@ -20497,6 +20595,7 @@
|
||||
"TransitionImagesMulti",
|
||||
"VAELoaderKJ",
|
||||
"VRAM_Debug",
|
||||
"WanVideoTeaCacheKJ",
|
||||
"WebcamCaptureCV2",
|
||||
"WeightScheduleConvert",
|
||||
"WeightScheduleExtend",
|
||||
@ -20768,6 +20867,7 @@
|
||||
],
|
||||
"https://github.com/kk8bit/KayTool": [
|
||||
[
|
||||
"AB_Images",
|
||||
"AIO_Translater",
|
||||
"Abc_Math",
|
||||
"Baidu_Translater",
|
||||
@ -21092,6 +21192,15 @@
|
||||
"title_aux": "Google Photos Loader - by PabloGFX"
|
||||
}
|
||||
],
|
||||
"https://github.com/leeguandong/ComfyUI_Cogview4": [
|
||||
[
|
||||
"CogView4ImageGenerator",
|
||||
"CogView4ModelLoader"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI_Cogview4"
|
||||
}
|
||||
],
|
||||
"https://github.com/leeguandong/ComfyUI_CompareModelWeights": [
|
||||
[
|
||||
"CheckPointLoader_Compare",
|
||||
@ -21364,6 +21473,7 @@
|
||||
"JsonUnpack",
|
||||
"LoadImageFromFolder",
|
||||
"LoadLoraFromFolder",
|
||||
"LoadPromptsFromFolder",
|
||||
"PresetSizeLatent",
|
||||
"SamplerSettings",
|
||||
"ShowTranslateString",
|
||||
@ -21751,27 +21861,6 @@
|
||||
"title_aux": "ComfyUI-InversedNoise"
|
||||
}
|
||||
],
|
||||
"https://github.com/logtd/ComfyUI-LTXTricks": [
|
||||
[
|
||||
"AddLatentGuide",
|
||||
"LTXAttentioOverride",
|
||||
"LTXAttentionBank",
|
||||
"LTXAttnOverride",
|
||||
"LTXFetaEnhance",
|
||||
"LTXFlowEditCFGGuider",
|
||||
"LTXFlowEditSampler",
|
||||
"LTXForwardModelSamplingPred",
|
||||
"LTXPerturbedAttention",
|
||||
"LTXPrepareAttnInjections",
|
||||
"LTXRFForwardODESampler",
|
||||
"LTXRFReverseODESampler",
|
||||
"LTXReverseModelSamplingPred",
|
||||
"ModifyLTXModel"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-LTXTricks"
|
||||
}
|
||||
],
|
||||
"https://github.com/logtd/ComfyUI-MochiEdit": [
|
||||
[
|
||||
"MochiPrepareSigmas",
|
||||
@ -22536,9 +22625,7 @@
|
||||
"https://github.com/lum3on/comfyui_LLM_Polymath": [
|
||||
[
|
||||
"ConceptEraserNode",
|
||||
"UCEEraserNode",
|
||||
"polymath_SaveAbsolute",
|
||||
"polymath_UCE_concept_eraser",
|
||||
"polymath_chat",
|
||||
"polymath_concept_eraser",
|
||||
"polymath_helper",
|
||||
@ -22681,6 +22768,14 @@
|
||||
"title_aux": "Image Processing Suite for ComfyUI"
|
||||
}
|
||||
],
|
||||
"https://github.com/marcoc2/ComfyUI_CogView4-6B_diffusers": [
|
||||
[
|
||||
"CogView4Generator"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-Cog"
|
||||
}
|
||||
],
|
||||
"https://github.com/marduk191/ComfyUI-Fluxpromptenhancer": [
|
||||
[
|
||||
"FluxPromptEnhance"
|
||||
@ -23235,7 +23330,7 @@
|
||||
"SingleBooleanTrigger",
|
||||
"SixBooleanTrigger",
|
||||
"StepsAndCfg",
|
||||
"TextBox",
|
||||
"TextBoxMira",
|
||||
"TextCombinerSix",
|
||||
"TextCombinerTwo",
|
||||
"TextLoopCombiner",
|
||||
@ -23380,6 +23475,16 @@
|
||||
"title_aux": "ComfyUI_Seamless_Patten"
|
||||
}
|
||||
],
|
||||
"https://github.com/mr7thing/circle_pattern_processor": [
|
||||
[
|
||||
"CirclePatternProcessor",
|
||||
"CirclePatternSVGExporter",
|
||||
"ImageBinarizer"
|
||||
],
|
||||
{
|
||||
"title_aux": "Circle Pattern Processor for ComfyUI"
|
||||
}
|
||||
],
|
||||
"https://github.com/mrchipset/ComfyUI-SaveImageS3": [
|
||||
[
|
||||
"SaveImageS3"
|
||||
@ -23966,21 +24071,43 @@
|
||||
"https://github.com/nosiu/comfyui-instantId-faceswap": [
|
||||
[
|
||||
"AngleFromFace",
|
||||
"AngleFromKps",
|
||||
"ComposeRotated",
|
||||
"ControlNetInstantIdApply",
|
||||
"FaceEmbed",
|
||||
"FaceEmbedCombine",
|
||||
"InstantIdAdapterApply",
|
||||
"InstantIdAndControlnetApply",
|
||||
"Kps2dRandomizer",
|
||||
"Kps3dFromImage",
|
||||
"Kps3dRandomizer",
|
||||
"KpsCrop",
|
||||
"KpsDraw",
|
||||
"KpsMaker",
|
||||
"KpsRotate",
|
||||
"KpsScale",
|
||||
"KpsScaleBy",
|
||||
"LoadInsightface",
|
||||
"LoadInstantIdAdapter",
|
||||
"MaskFromKps",
|
||||
"PreprocessImage",
|
||||
"PreprocessImageAdvanced",
|
||||
"RotateImage"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI InstantID Faceswapper"
|
||||
"title_aux": "comfyui-instantId-faceswap"
|
||||
}
|
||||
],
|
||||
"https://github.com/nosiu/comfyui-text-randomizer": [
|
||||
[
|
||||
"ConcatText",
|
||||
"RandomTextChoice",
|
||||
"RandomizeText",
|
||||
"RandomizeTextWithCheck",
|
||||
"ShowText"
|
||||
],
|
||||
{
|
||||
"title_aux": "comfyui-text-randomizer"
|
||||
}
|
||||
],
|
||||
"https://github.com/noxinias/ComfyUI_NoxinNodes": [
|
||||
@ -24714,6 +24841,28 @@
|
||||
"title_aux": "ComfyUI-ImageTagger"
|
||||
}
|
||||
],
|
||||
"https://github.com/pxl-pshr/GlitchNodes": [
|
||||
[
|
||||
"Corruptor",
|
||||
"DataBend",
|
||||
"FrequencyModulation",
|
||||
"GlitchIT",
|
||||
"LineScreen",
|
||||
"LuminousFlow",
|
||||
"PixelFloat",
|
||||
"PixelRedistribution",
|
||||
"Rekked",
|
||||
"Scanz",
|
||||
"TvGlitch",
|
||||
"VHSonAcid",
|
||||
"VaporWave",
|
||||
"VideoModulation",
|
||||
"interference"
|
||||
],
|
||||
{
|
||||
"title_aux": "GlitchNodes"
|
||||
}
|
||||
],
|
||||
"https://github.com/pythongosssss/ComfyUI-Custom-Scripts": [
|
||||
[
|
||||
"CheckpointLoader|pysssss",
|
||||
@ -25902,13 +26051,13 @@
|
||||
"https://github.com/shahkoorosh/ComfyUI-KGnodes": [
|
||||
[
|
||||
"CustomResolutionLatentNode",
|
||||
"ImageScaleToSide",
|
||||
"OverlayRGBAonRGB",
|
||||
"StyleSelector",
|
||||
"TextBehindImage"
|
||||
"StyleSelector"
|
||||
],
|
||||
{
|
||||
"author": "ShahKoorosh",
|
||||
"description": "This Custom node offers various experimental nodes to make it easier to use ComfyUI.",
|
||||
"description": "This Custom node pack offers various nodes to make it easier to use ComfyUI.",
|
||||
"nickname": "KGnodes",
|
||||
"title": "ComfyUI-KGnodes",
|
||||
"title_aux": "ComfyUI-KGnodes"
|
||||
@ -26210,6 +26359,14 @@
|
||||
"title_aux": "ComfyUI-PuLID-Flux-Enhanced"
|
||||
}
|
||||
],
|
||||
"https://github.com/sittere/ComfyUI-YK_Line-loading": [
|
||||
[
|
||||
"MultiTextLoader"
|
||||
],
|
||||
{
|
||||
"title_aux": "ComfyUI-YK Line loading"
|
||||
}
|
||||
],
|
||||
"https://github.com/skfoo/ComfyUI-Coziness": [
|
||||
[
|
||||
"LoraTextExtractor-b1f83aa2",
|
||||
@ -27072,7 +27229,10 @@
|
||||
],
|
||||
"https://github.com/sugarkwork/comfyui_tag_fillter": [
|
||||
[
|
||||
"TagCategory",
|
||||
"TagCategoryEnhance",
|
||||
"TagComparator",
|
||||
"TagEnhance",
|
||||
"TagFilter",
|
||||
"TagIf",
|
||||
"TagMerger",
|
||||
@ -28835,6 +28995,7 @@
|
||||
"https://github.com/yichengup/ComfyUI-YCNodes": [
|
||||
[
|
||||
"DynamicThreshold",
|
||||
"ImageBatchSelector",
|
||||
"ImageBlendResize",
|
||||
"ImageIC",
|
||||
"ImageICAdvanced",
|
||||
@ -28842,6 +29003,7 @@
|
||||
"ImageMirror",
|
||||
"ImageMosaic",
|
||||
"ImageRotate",
|
||||
"ImageSelector",
|
||||
"ImageUpscaleTiled",
|
||||
"MaskBatchComposite",
|
||||
"MaskBatchCopy",
|
||||
@ -29369,6 +29531,7 @@
|
||||
],
|
||||
"https://github.com/yuvraj108c/ComfyUI-Upscaler-Tensorrt": [
|
||||
[
|
||||
"LoadUpscalerTensorrtModel",
|
||||
"UpscalerTensorrt"
|
||||
],
|
||||
{
|
||||
|
||||
@ -1,5 +1,39 @@
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"name": "Comfy-Org/hunyuan_video_image_to_video_720p_bf16.safetensors",
|
||||
"type": "diffusion_model",
|
||||
"base": "Hunyuan Video",
|
||||
"save_path": "diffusion_models/hunyuan_video",
|
||||
"description": "Huyuan Video Image2Video diffusion model. repackaged version.",
|
||||
"reference": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged",
|
||||
"filename": "hunyuan_video_image_to_video_720p_bf16.safetensors",
|
||||
"url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/diffusion_models/hunyuan_video_image_to_video_720p_bf16.safetensors",
|
||||
"size": "25.6GB"
|
||||
},
|
||||
{
|
||||
"name": "Comfy-Org/llava_llama3_vision.safetensors",
|
||||
"type": "clip_vision",
|
||||
"base": "LLaVA-Llama-3",
|
||||
"save_path": "text_encoders",
|
||||
"description": "llava_llama3_vision clip vison model. This is required for using Hunyuan Video Image2Video.",
|
||||
"reference": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged",
|
||||
"filename": "llava_llama3_vision.safetensors",
|
||||
"url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/clip_vision/llava_llama3_vision.safetensors",
|
||||
"size": "649MB"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "LTX-Video 2B v0.9.5 Checkpoint",
|
||||
"type": "checkpoint",
|
||||
"base": "LTX-Video",
|
||||
"save_path": "checkpoints/LTXV",
|
||||
"description": "LTX-Video is the first DiT-based video generation model capable of generating high-quality videos in real-time. It produces 24 FPS videos at a 768x512 resolution faster than they can be watched. Trained on a large-scale dataset of diverse videos, the model generates high-resolution videos with realistic and varied content.",
|
||||
"reference": "https://huggingface.co/Lightricks/LTX-Video",
|
||||
"filename": "ltx-video-2b-v0.9.5.safetensors",
|
||||
"url": "https://huggingface.co/Lightricks/LTX-Video/resolve/main/ltx-video-2b-v0.9.5.safetensors",
|
||||
"size": "6.34GB"
|
||||
},
|
||||
{
|
||||
"name": "kolors/vae/diffusion_pytorch_model.fp16.safetensors",
|
||||
"type": "VAE",
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import atexit
|
||||
@ -506,7 +507,7 @@ check_bypass_ssl()
|
||||
# Perform install
|
||||
processed_install = set()
|
||||
script_list_path = os.path.join(folder_paths.user_directory, "default", "ComfyUI-Manager", "startup-scripts", "install-scripts.txt")
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages())
|
||||
pip_fixer = manager_util.PIPFixer(manager_util.get_installed_packages(), comfy_path, manager_files_path)
|
||||
|
||||
|
||||
def is_installed(name):
|
||||
@ -695,13 +696,44 @@ def execute_migration(moves):
|
||||
shutil.move(x[0], x[1])
|
||||
print(f"[ComfyUI-Manager] MIGRATION: '{x[0]}' -> '{x[1]}'")
|
||||
|
||||
|
||||
script_executed = False
|
||||
|
||||
# Check if script_list_path exists
|
||||
if os.path.exists(script_list_path):
|
||||
def execute_startup_script():
|
||||
global script_executed
|
||||
print("\n#######################################################################")
|
||||
print("[ComfyUI-Manager] Starting dependency installation/(de)activation for the extension\n")
|
||||
|
||||
custom_nodelist_cache = None
|
||||
|
||||
def get_custom_node_paths():
|
||||
nonlocal custom_nodelist_cache
|
||||
if custom_nodelist_cache is None:
|
||||
custom_nodelist_cache = set()
|
||||
for base in folder_paths.get_folder_paths('custom_nodes'):
|
||||
for x in os.listdir(base):
|
||||
fullpath = os.path.join(base, x)
|
||||
if os.path.isdir(fullpath):
|
||||
custom_nodelist_cache.add(fullpath)
|
||||
|
||||
return custom_nodelist_cache
|
||||
|
||||
def execute_lazy_delete(path):
|
||||
# Validate to prevent arbitrary paths from being deleted
|
||||
if path not in get_custom_node_paths():
|
||||
logging.error(f"## ComfyUI-Manager: The scheduled '{path}' is not a custom node path, so the deletion has been canceled.")
|
||||
return
|
||||
|
||||
if not os.path.exists(path):
|
||||
logging.info(f"## ComfyUI-Manager: SKIP-DELETE => '{path}' (already deleted)")
|
||||
return
|
||||
|
||||
try:
|
||||
shutil.rmtree(path)
|
||||
logging.info(f"## ComfyUI-Manager: DELETE => '{path}'")
|
||||
except Exception as e:
|
||||
logging.error(f"## ComfyUI-Manager: Failed to delete '{path}' ({e})")
|
||||
|
||||
executed = set()
|
||||
# Read each line from the file and convert it to a list using eval
|
||||
with open(script_list_path, 'r', encoding="UTF-8", errors="ignore") as file:
|
||||
@ -725,6 +757,9 @@ if os.path.exists(script_list_path):
|
||||
elif script[1] == "#LAZY-MIGRATION":
|
||||
execute_migration(script[2])
|
||||
|
||||
elif script[1] == "#LAZY-DELETE-NODEPACK":
|
||||
execute_lazy_delete(script[2])
|
||||
|
||||
elif os.path.exists(script[0]):
|
||||
if script[1] == "#FORCE":
|
||||
del script[1]
|
||||
@ -733,7 +768,7 @@ if os.path.exists(script_list_path):
|
||||
continue
|
||||
|
||||
print(f"\n## ComfyUI-Manager: EXECUTE => {script[1:]}")
|
||||
print(f"\n## Execute install/(de)activation script for '{script[0]}'")
|
||||
print(f"\n## Execute management script for '{script[0]}'")
|
||||
|
||||
new_env = os.environ.copy()
|
||||
if 'COMFYUI_FOLDERS_BASE_PATH' not in new_env:
|
||||
@ -741,12 +776,12 @@ if os.path.exists(script_list_path):
|
||||
exit_code = process_wrap(script[1:], script[0], env=new_env)
|
||||
|
||||
if exit_code != 0:
|
||||
print(f"install/(de)activation script failed: {script[0]}")
|
||||
print(f"management script failed: {script[0]}")
|
||||
else:
|
||||
print(f"\n## ComfyUI-Manager: CANCELED => {script[1:]}")
|
||||
|
||||
except Exception as e:
|
||||
print(f"[ERROR] Failed to execute install/(de)activation script: {line} / {e}")
|
||||
print(f"[ERROR] Failed to execute management script: {line} / {e}")
|
||||
|
||||
# Remove the script_list_path file
|
||||
if os.path.exists(script_list_path):
|
||||
@ -756,6 +791,12 @@ if os.path.exists(script_list_path):
|
||||
print("\n[ComfyUI-Manager] Startup script completed.")
|
||||
print("#######################################################################\n")
|
||||
|
||||
|
||||
# Check if script_list_path exists
|
||||
if os.path.exists(script_list_path):
|
||||
execute_startup_script()
|
||||
|
||||
|
||||
pip_fixer.fix_broken()
|
||||
|
||||
del processed_install
|
||||
@ -775,7 +816,10 @@ if script_executed:
|
||||
else:
|
||||
sys_argv = sys.argv.copy()
|
||||
|
||||
if sys.platform.startswith('win32'):
|
||||
if sys_argv[0].endswith("__main__.py"): # this is a python module
|
||||
module_name = os.path.basename(os.path.dirname(sys_argv[0]))
|
||||
cmds = [sys.executable, '-m', module_name] + sys_argv[1:]
|
||||
elif sys.platform.startswith('win32'):
|
||||
cmds = ['"' + sys.executable + '"', '"' + sys_argv[0] + '"'] + sys_argv[1:]
|
||||
else:
|
||||
cmds = [sys.executable] + sys_argv
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "comfyui-manager"
|
||||
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
|
||||
version = "3.27.6"
|
||||
version = "3.30.3"
|
||||
license = { file = "LICENSE.txt" }
|
||||
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions", "toml", "uv", "chardet"]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user