Merge branch 'main' into feat/cnr

This commit is contained in:
Dr.Lt.Data 2024-12-18 09:08:15 +09:00
commit b8f153e4eb
22 changed files with 11534 additions and 5273 deletions

View File

@ -394,7 +394,6 @@ When you run the `scan.sh` script:
* https://github.com/SimithWang/comfyui-renameImages
* https://github.com/Tcheko243/ComfyUI-Photographer-Alpha7-Nodes
* https://github.com/Limbicnation/ComfyUINodeToolbox
* https://github.com/chenpipi0807/pip_longsize
* https://github.com/APZmedia/ComfyUI-APZmedia-srtTools
## Roadmap

View File

@ -1,10 +1,12 @@
import os
import sys
cli_mode_flag = os.path.join(os.path.dirname(__file__), '.enable-cli-only-mode')
if not os.path.exists(cli_mode_flag):
from .glob import manager_server
from .glob import share_3rdparty
sys.path.append(os.path.join(os.path.dirname(__file__), "glob"))
import manager_server
import share_3rdparty
WEB_DIRECTORY = "js"
else:
print(f"\n[ComfyUI-Manager] !! cli-only-mode is enabled !!\n")

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -40,6 +40,36 @@ DEFAULT_CHANNEL = "https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/ma
custom_nodes_path = os.path.abspath(os.path.join(comfyui_manager_path, '..'))
default_custom_nodes_path = None
def get_default_custom_nodes_path():
global default_custom_nodes_path
if default_custom_nodes_path is None:
try:
import folder_paths
default_custom_nodes_path = folder_paths.get_folder_paths("custom_nodes")[0]
except:
default_custom_nodes_path = custom_nodes_path
return default_custom_nodes_path
def get_custom_nodes_paths():
try:
import folder_paths
return folder_paths.get_folder_paths("custom_nodes")
except:
return [custom_nodes_path]
def get_comfyui_tag():
repo = git.Repo(comfy_path)
try:
return repo.git.describe('--tags')
except:
return None
invalid_nodes = {}
@ -92,7 +122,11 @@ def check_invalid_nodes():
comfy_path = os.environ.get('COMFYUI_PATH')
if comfy_path is None:
comfy_path = os.path.abspath(os.path.join(custom_nodes_path, '..'))
try:
import folder_paths
comfy_path = os.path.join(os.path.dirname(folder_paths.__file__))
except:
comfy_path = os.path.abspath(os.path.join(custom_nodes_path, '..'))
channel_list_path = os.path.join(comfyui_manager_path, 'channels.list')
config_path = os.path.join(comfyui_manager_path, "config.ini")
@ -1548,7 +1582,7 @@ def __win_check_git_update(path, do_fetch=False, do_update=False):
new_env = os.environ.copy()
new_env["COMFYUI_PATH"] = comfy_path
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=custom_nodes_path)
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=get_default_custom_nodes_path())
output, _ = process.communicate()
output = output.decode('utf-8').strip()
@ -1602,7 +1636,7 @@ def __win_check_git_pull(path):
new_env = os.environ.copy()
new_env["COMFYUI_PATH"] = comfy_path
command = [sys.executable, git_script_path, "--pull", path]
process = subprocess.Popen(command, env=new_env, cwd=custom_nodes_path)
process = subprocess.Popen(command, env=new_env, cwd=get_default_custom_nodes_path())
process.wait()
@ -1617,6 +1651,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 = PIPFixer(get_installed_packages())
with open(requirements_path, "r") as requirements_file:
for line in requirements_file:
#handle comments
@ -1639,6 +1674,8 @@ def execute_install_script(url, repo_path, lazy_mode=False, instant_execution=Fa
if package_name.strip() != "" and not package_name.startswith('#'):
try_install_script(url, repo_path, install_cmd, instant_execution=instant_execution)
pip_fixer.fix_broken()
if os.path.exists(install_script_path):
print(f"Install: install script")
install_cmd = [sys.executable, "install.py"]
@ -1809,9 +1846,10 @@ async def gitclone_install(url, instant_execution=False, msg_prefix='', no_deps=
# node_dir = f"{repo_name}@unknown"
node_dir = repo_name
repo_path = os.path.join(custom_nodes_path, node_dir)
disabled_repo_path1 = os.path.join(custom_nodes_path, '.disabled', node_dir)
disabled_repo_path2 = os.path.join(custom_nodes_path, repo_name+'.disabled') # old style
custom_nodes_base = get_default_custom_nodes_path()
repo_path = os.path.join(custom_nodes_base, node_dir)
disabled_repo_path1 = os.path.join(custom_nodes_base, '.disabled', node_dir)
disabled_repo_path2 = os.path.join(custom_nodes_base, repo_name+'.disabled') # old style
if os.path.exists(repo_path):
return result.fail(f"Already exists: '{repo_path}'")
@ -1826,7 +1864,7 @@ async def gitclone_install(url, instant_execution=False, msg_prefix='', no_deps=
# Clone the repository from the remote URL
if not instant_execution and platform.system() == 'Windows':
res = manager_funcs.run_script([sys.executable, git_script_path, "--clone", custom_nodes_path, url, repo_path], cwd=custom_nodes_path)
res = manager_funcs.run_script([sys.executable, git_script_path, "--clone", custom_nodes_base, url, repo_path], cwd=custom_nodes_base)
if res != 0:
return result.fail(f"Failed to clone '{url}' into '{repo_path}'")
else:
@ -1912,6 +1950,23 @@ async def get_data_by_mode(mode, filename, channel_url=None):
return json_obj
def lookup_installed_custom_nodes(repo_name):
try:
import folder_paths
base_paths = folder_paths.get_folder_paths("custom_nodes")
except:
base_paths = [custom_nodes_path]
for base_path in base_paths:
repo_path = os.path.join(base_path, repo_name)
if os.path.exists(repo_path):
return True, repo_path
elif os.path.exists(repo_path+'.disabled'):
return False, repo_path
return None
def gitclone_fix(files, instant_execution=False, no_deps=False):
print(f"Try fixing: {files}")
for url in files:
@ -1923,13 +1978,15 @@ def gitclone_fix(files, instant_execution=False, no_deps=False):
url = url[:-1]
try:
repo_name = os.path.splitext(os.path.basename(url))[0]
repo_path = os.path.join(custom_nodes_path, repo_name)
repo_path = lookup_installed_custom_nodes(repo_name)
if os.path.exists(repo_path+'.disabled'):
repo_path = repo_path+'.disabled'
if repo_path is not None:
repo_path = repo_path[1]
if not execute_install_script(url, repo_path, instant_execution=instant_execution, no_deps=no_deps):
return False
if not execute_install_script(url, repo_path, instant_execution=instant_execution, no_deps=no_deps):
return False
else:
print(f"Custom node not found: {repo_name}")
except Exception as e:
print(f"Install(git-clone) error: {url} / {e}", file=sys.stderr)
@ -1976,12 +2033,12 @@ def gitclone_uninstall(files):
url = url[:-1]
try:
dir_name = os.path.splitext(os.path.basename(url))[0].replace(".git", "")
dir_path = os.path.join(custom_nodes_path, dir_name)
repo_path = lookup_installed_custom_nodes(dir_name)
# safety check
if dir_path == '/' or dir_path[1:] == ":/" or dir_path == '':
print(f"Uninstall(git-clone) error: invalid path '{dir_path}' for '{url}'")
return False
if repo_path is None:
continue
dir_path = repo_path[1]
install_script_path = os.path.join(dir_path, "uninstall.py")
disable_script_path = os.path.join(dir_path, "disable.py")
@ -1997,10 +2054,7 @@ def gitclone_uninstall(files):
if code != 0:
print(f"An error occurred during the execution of the disable.py script. Only the '{dir_path}' will be deleted.")
if os.path.exists(dir_path):
rmtree(dir_path)
elif os.path.exists(dir_path + ".disabled"):
rmtree(dir_path + ".disabled")
rmtree(dir_path)
except Exception as e:
print(f"Uninstall(git-clone) error: {url} / {e}", file=sys.stderr)
return False
@ -2023,12 +2077,12 @@ def gitclone_set_active(files, is_disable):
url = url[:-1]
try:
dir_name = os.path.splitext(os.path.basename(url))[0].replace(".git", "")
dir_path = os.path.join(custom_nodes_path, dir_name)
repo_path = lookup_installed_custom_nodes(dir_name)
# safety check
if dir_path == '/' or dir_path[1:] == ":/" or dir_path == '':
print(f"{action_name}(git-clone) error: invalid path '{dir_path}' for '{url}'")
return False
if repo_path is None:
continue
dir_path = repo_path[1]
if is_disable:
current_path = dir_path
@ -2065,10 +2119,12 @@ def gitclone_update(files, instant_execution=False, skip_script=False, msg_prefi
url = url[:-1]
try:
repo_name = os.path.splitext(os.path.basename(url))[0].replace(".git", "")
repo_path = os.path.join(custom_nodes_path, repo_name)
repo_path = lookup_installed_custom_nodes(repo_name)
if os.path.exists(repo_path+'.disabled'):
repo_path = repo_path+'.disabled'
if repo_path is None:
continue
repo_path = repo_path[1]
git_pull(repo_path)
@ -2139,10 +2195,14 @@ def lookup_customnode_by_url(data, target):
for x in data['custom_nodes']:
if target in x['files']:
dir_name = os.path.splitext(os.path.basename(target))[0].replace(".git", "")
dir_path = os.path.join(custom_nodes_path, dir_name)
if os.path.exists(dir_path):
repo_path = lookup_installed_custom_nodes(dir_name)
if repo_path is None:
continue
if repo_path[0]:
x['installed'] = 'True'
elif os.path.exists(dir_path + ".disabled"):
else:
x['installed'] = 'Disabled'
return x
@ -2151,13 +2211,15 @@ def lookup_customnode_by_url(data, target):
def simple_check_custom_node(url):
dir_name = os.path.splitext(os.path.basename(url))[0].replace(".git", "")
dir_path = os.path.join(custom_nodes_path, dir_name)
if os.path.exists(dir_path):
return 'installed'
elif os.path.exists(dir_path+'.disabled'):
return 'disabled'
repo_path = lookup_installed_custom_nodes(dir_name)
return 'not-installed'
if repo_path is None:
return 'not-installed'
if repo_path[0]:
return 'installed'
else:
return 'disabled'
def check_state_of_git_node_pack_single(item, do_fetch=False, do_update_check=True, do_update=False):

View File

@ -16,6 +16,7 @@ from server import PromptServer
import manager_core as core
import manager_util
import cm_global
from datetime import datetime
print(f"### Loading: ComfyUI-Manager ({core.version_str})")
@ -192,7 +193,7 @@ def print_comfyui_version():
try:
if core.comfy_ui_commit_datetime.date() < core.comfy_ui_required_commit_datetime.date():
print(f"\n\n## [WARN] ComfyUI-Manager: Your ComfyUI version ({core.comfy_ui_revision})[{core.comfy_ui_commit_datetime.date()}] is too old. Please update to the latest version. ##\n\n")
print(f"\n\n## [WARN] ComfyUI-Manager: Your ComfyUI version ({core.get_comfyui_tag()})[{core.comfy_ui_commit_datetime.date()}] is too old. Please update to the latest version. ##\n\n")
except:
pass
@ -211,10 +212,11 @@ def print_comfyui_version():
# <--
if current_branch == "master":
if comfyui_tag:
print(f"### ComfyUI Version: {comfyui_tag} | Released on '{core.comfy_ui_commit_datetime.date()}'")
else:
version_tag = core.get_comfyui_tag()
if version_tag is None:
print(f"### ComfyUI Revision: {core.comfy_ui_revision} [{comfy_ui_hash[:8]}] | Released on '{core.comfy_ui_commit_datetime.date()}'")
else:
print(f"### ComfyUI Version: {core.get_comfyui_tag()} | Released on '{core.comfy_ui_commit_datetime.date()}'")
else:
print(f"### ComfyUI Revision: {core.comfy_ui_revision} on '{current_branch}' [{comfy_ui_hash[:8]}] | Released on '{core.comfy_ui_commit_datetime.date()}'")
except:
@ -248,23 +250,45 @@ import urllib.request
def get_model_dir(data):
if 'download_model_base' in folder_paths.folder_names_and_paths:
models_base = folder_paths.folder_names_and_paths['download_model_base'][0][0]
else:
models_base = folder_paths.models_dir
def resolve_custom_node(save_path):
save_path = save_path[13:] # remove 'custom_nodes/'
repo_name = save_path.replace('\\','/').split('/')[0] # get custom node repo name
repo_path = core.lookup_installed_custom_nodes(repo_name)
if repo_path is not None and repo_path[0]:
# Returns the retargeted path based on the actually installed repository
return os.path.join(os.path.dirname(repo_path[1]), save_path)
else:
return None
if data['save_path'] != 'default':
if '..' in data['save_path'] or data['save_path'].startswith('/'):
print(f"[WARN] '{data['save_path']}' is not allowed path. So it will be saved into 'models/etc'.")
base_model = os.path.join(folder_paths.models_dir, "etc")
base_model = os.path.join(models_base, "etc")
else:
if data['save_path'].startswith("custom_nodes"):
base_model = os.path.join(core.comfy_path, data['save_path'])
base_model = resolve_custom_node(data['save_path'])
if base_model is None:
print(f"[ComfyUI-Manager] The target custom node for model download is not installed: {data['save_path']}")
return None
else:
base_model = os.path.join(folder_paths.models_dir, data['save_path'])
base_model = os.path.join(models_base, data['save_path'])
else:
model_type = data['type']
if model_type == "checkpoints" or model_type == "checkpoint":
base_model = folder_paths.folder_names_and_paths["checkpoints"][0][0]
elif model_type == "unclip":
base_model = folder_paths.folder_names_and_paths["checkpoints"][0][0]
elif model_type == "clip":
base_model = folder_paths.folder_names_and_paths["clip"][0][0]
elif model_type == "clip" or model_type == "text_encoders":
if folder_paths.folder_names_and_paths.get("text_encoders"):
base_model = folder_paths.folder_names_and_paths["text_encoders"][0][0]
else:
print(f"[ComfyUI-Manager] Your ComfyUI is outdated version.")
base_model = folder_paths.folder_names_and_paths["clip"][0][0] # outdated version
elif model_type == "VAE":
base_model = folder_paths.folder_names_and_paths["vae"][0][0]
elif model_type == "lora":
@ -290,14 +314,17 @@ def get_model_dir(data):
print(f"[ComfyUI-Manager] Your ComfyUI is outdated version.")
base_model = folder_paths.folder_names_and_paths["unet"][0][0] # outdated version
else:
base_model = os.path.join(folder_paths.models_dir, "etc")
base_model = os.path.join(models_base, "etc")
return base_model
def get_model_path(data):
base_model = get_model_dir(data)
return os.path.join(base_model, data['filename'])
if base_model is None:
return None
else:
return os.path.join(base_model, data['filename'])
def check_state_of_git_node_pack(node_packs, do_fetch=False, do_update_check=True, do_update=False):
@ -1228,17 +1255,21 @@ async def get_notice(request):
if match:
markdown_content = match.group(1)
if comfyui_tag:
markdown_content += f"<HR>ComfyUI: {comfyui_tag}<BR>Commit Date: {core.comfy_ui_commit_datetime.date()}"
else:
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"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;({core.comfy_ui_commit_datetime.date()})")
# markdown_content += f"<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;()"
markdown_content += f"<BR>Manager: {core.version_str}"
markdown_content = add_target_blank(markdown_content)
try:
if core.comfy_ui_required_commit_datetime.date() > core.comfy_ui_commit_datetime.date():
if core.comfy_ui_commit_datetime == datetime(1900, 1, 1, 0, 0, 0):
markdown_content = f'<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 = f'<P style="text-align: center; color:red; background-color:white; font-weight:bold">Your ComfyUI is too OUTDATED!!!</P>' + markdown_content
except:
pass
@ -1269,6 +1300,11 @@ def restart(self):
exit(0)
print(f"\nRestarting... [Legacy Mode]\n\n")
sys_argv = sys.argv.copy()
if '--windows-standalone-build' in sys_argv:
sys_argv.remove('--windows-standalone-build')
if sys.platform.startswith('win32'):
return os.execv(sys.executable, ['"' + sys.executable + '"', '"' + sys.argv[0] + '"'] + sys.argv[1:])
else:
@ -1332,13 +1368,6 @@ async def load_components(request):
return web.Response(status=400)
args.enable_cors_header = "*"
if hasattr(PromptServer.instance, "app"):
app = PromptServer.instance.app
cors_middleware = server.create_cors_middleware(args.enable_cors_header)
app.middlewares.append(cors_middleware)
def sanitize(data):
return data.replace("<", "&lt;").replace(">", "&gt;")

View File

@ -5,6 +5,8 @@ import json
import threading
import os
from datetime import datetime
import subprocess
import sys
cache_lock = threading.Lock()
@ -171,4 +173,150 @@ def extract_package_as_zip(file_path, extract_path):
return extracted_files
except zipfile.BadZipFile:
print(f"File '{file_path}' is not a zip or is corrupted.")
return None
return None
pip_map = None
def get_installed_packages(renew=False):
global pip_map
if renew or pip_map is None:
try:
result = subprocess.check_output([sys.executable, '-m', 'pip', 'list'], universal_newlines=True)
pip_map = {}
for line in result.split('\n'):
x = line.strip()
if x:
y = line.split()
if y[0] == 'Package' or y[0].startswith('-'):
continue
pip_map[y[0]] = y[1]
except subprocess.CalledProcessError as e:
print(f"[ComfyUI-Manager] Failed to retrieve the information of installed pip packages.")
return set()
return pip_map
def clear_pip_cache():
global pip_map
pip_map = None
torch_torchvision_version_map = {
'2.5.1': '0.20.1',
'2.5.0': '0.20.0',
'2.4.1': '0.19.1',
'2.4.0': '0.19.0',
'2.3.1': '0.18.1',
'2.3.0': '0.18.0',
'2.2.2': '0.17.2',
'2.2.1': '0.17.1',
'2.2.0': '0.17.0',
'2.1.2': '0.16.2',
'2.1.1': '0.16.1',
'2.1.0': '0.16.0',
'2.0.1': '0.15.2',
'2.0.0': '0.15.1',
}
class PIPFixer:
def __init__(self, prev_pip_versions):
self.prev_pip_versions = { **prev_pip_versions }
def torch_rollback(self):
spec = self.prev_pip_versions['torch'].split('+')
if len(spec) > 0:
platform = spec[1]
else:
cmd = [sys.executable, '-m', 'pip', 'install', '--force', 'torch', 'torchvision', 'torchaudio']
subprocess.check_output(cmd, universal_newlines=True)
print(cmd)
return
torch_ver = StrictVersion(spec[0])
torch_ver = f"{torch_ver.major}.{torch_ver.minor}.{torch_ver.patch}"
torchvision_ver = torch_torchvision_version_map.get(torch_ver)
if torchvision_ver is None:
cmd = [sys.executable, '-m', 'pip', 'install', '--pre',
'torch', 'torchvision', 'torchaudio',
'--index-url', f"https://download.pytorch.org/whl/nightly/{platform}"]
print("[manager-core] restore PyTorch to nightly version")
else:
cmd = [sys.executable, '-m', 'pip', 'install',
f'torch=={torch_ver}', f'torchvision=={torchvision_ver}', f"torchaudio=={torch_ver}",
'--index-url', f"https://download.pytorch.org/whl/{platform}"]
print(f"[manager-core] restore PyTorch to {torch_ver}+{platform}")
subprocess.check_output(cmd, universal_newlines=True)
def fix_broken(self):
new_pip_versions = get_installed_packages(True)
# remove `comfy` python package
try:
if 'comfy' in new_pip_versions:
cmd = [sys.executable, '-m', 'pip', 'uninstall', 'comfy']
subprocess.check_output(cmd, universal_newlines=True)
print(f"[manager-core] 'comfy' python package is uninstalled.\nWARN: The 'comfy' package is completely unrelated to ComfyUI and should never be installed as it causes conflicts with ComfyUI.")
except Exception as e:
print(f"[manager-core] Failed to uninstall `comfy` python package")
print(e)
# fix torch - reinstall torch packages if version is changed
try:
if self.prev_pip_versions['torch'] != new_pip_versions['torch'] \
or self.prev_pip_versions['torchvision'] != new_pip_versions['torchvision'] \
or self.prev_pip_versions['torchaudio'] != new_pip_versions['torchaudio']:
self.torch_rollback()
except Exception as e:
print(f"[manager-core] Failed to restore PyTorch")
print(e)
# fix opencv
try:
ocp = new_pip_versions.get('opencv-contrib-python')
ocph = new_pip_versions.get('opencv-contrib-python-headless')
op = new_pip_versions.get('opencv-python')
oph = new_pip_versions.get('opencv-python-headless')
versions = [ocp, ocph, op, oph]
versions = [StrictVersion(x) for x in versions if x is not None]
versions.sort(reverse=True)
if len(versions) > 0:
# upgrade to maximum version
targets = []
cur = versions[0]
if ocp is not None and StrictVersion(ocp) != cur:
targets.append('opencv-contrib-python')
if ocph is not None and StrictVersion(ocph) != cur:
targets.append('opencv-contrib-python-headless')
if op is not None and StrictVersion(op) != cur:
targets.append('opencv-python')
if oph is not None and StrictVersion(oph) != cur:
targets.append('opencv-python-headless')
if len(targets) > 0:
for x in targets:
cmd = [sys.executable, '-m', 'pip', 'install', f"{x}=={versions[0].version_string}"]
subprocess.check_output(cmd, universal_newlines=True)
print(f"[manager-core] 'opencv' dependencies were fixed: {targets}")
except Exception as e:
print(f"[manager-core] Failed to restore opencv")
print(e)
# fix numpy
try:
np = new_pip_versions.get('numpy')
if np is not None:
if StrictVersion(np) >= StrictVersion('2'):
subprocess.check_output([sys.executable, '-m', 'pip', 'install', f"numpy<2"], universal_newlines=True)
except Exception as e:
print(f"[manager-core] Failed to restore numpy")
print(e)

View File

@ -29,12 +29,37 @@ Detailed information: https://old.reddit.com/r/comfyui/comments/1dbls5n/psa_if_y
2. Remove files: lolMiner*, 4G_Ethash_Linux_Readme.txt, mine* in ComfyUI dir.
(Reinstall ComfyUI is recommended.)
""",
"ultralytics==8.3.41": f"""
Execute following commands:
{sys.executable} -m pip uninstall ultralytics
{sys.executable} -m pip install ultralytics==8.3.40
And kill and remove /tmp/ultralytics_runner
The version 8.3.41 to 8.3.42 of the Ultralytics package you installed is compromised. Please uninstall that version and reinstall the latest version.
https://blog.comfy.org/comfyui-statement-on-the-ultralytics-crypto-miner-situation/
""",
"ultralytics==8.3.42": f"""
Execute following commands:
{sys.executable} -m pip uninstall ultralytics
{sys.executable} -m pip install ultralytics==8.3.40
And kill and remove /tmp/ultralytics_runner
The version 8.3.41 to 8.3.42 of the Ultralytics package you installed is compromised. Please uninstall that version and reinstall the latest version.
https://blog.comfy.org/comfyui-statement-on-the-ultralytics-crypto-miner-situation/
"""
}
node_blacklist = {"ComfyUI_LLMVISION": "ComfyUI_LLMVISION"}
pip_blacklist = {"AppleBotzz": "ComfyUI_LLMVISION"}
pip_blacklist = {
"AppleBotzz": "ComfyUI_LLMVISION",
"ultralytics==8.3.41": "ultralytics==8.3.41"
}
file_blacklist = {
"ComfyUI_LLMVISION": ["%LocalAppData%\\rundll64.exe"],

View File

@ -1468,15 +1468,6 @@ class ManagerMenuDialog extends ComfyDialog {
modifyButtonStyle(url);
},
},
{
title: "Open 'flowt.ai'",
callback: () => {
const url = "https://flowt.ai/";
localStorage.setItem("wg_last_visited", url);
window.open(url, url);
modifyButtonStyle(url);
},
},
{
title: "Open 'esheep'",
callback: () => {

View File

@ -1437,19 +1437,6 @@ export class CustomNodesManager {
}
}
const resUnresolved = await fetchData(`/component/get_unresolved`);
const unresolved = resUnresolved.data;
if (unresolved && unresolved.nodes) {
unresolved.nodes.forEach(node_type => {
const packs = name_to_packs[node_type];
if(packs) {
packs.forEach(url => {
missing_nodes.add(url);
});
}
});
}
const hashMap = {};
for(let k in this.custom_nodes) {
let item = this.custom_nodes[k];

View File

@ -3517,6 +3517,19 @@
"url": "https://huggingface.co/InstantX/FLUX.1-dev-Controlnet-Union/resolve/main/diffusion_pytorch_model.safetensors",
"size": "6.6GB"
},
{
"name": "InstantX/FLUX.1-dev-IP-Adapter",
"type": "IP-Adapter",
"base": "FLUX.1",
"save_path": "ipadapter-flux",
"description": "FLUX.1-dev-IP-Adapter",
"reference": "https://huggingface.co/InstantX/FLUX.1-dev-IP-Adapter",
"filename": "ip-adapter.bin",
"url": "https://huggingface.co/InstantX/FLUX.1-dev-IP-Adapter/resolve/main/ip-adapter.bin",
"size": "5.29GB"
},
{
"name": "Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro",
"type": "controlnet",
@ -3539,6 +3552,7 @@
"url": "https://huggingface.co/Kijai/flux-fp8/resolve/main/flux_shakker_labs_union_pro-fp8_e4m3fn.safetensors",
"size": "3.3GB"
},
{
"name": "jasperai/FLUX.1-dev-Controlnet-Upscaler",
"type": "controlnet",
@ -3707,6 +3721,41 @@
"size": "1.19GB"
},
{
"name": "stabilityai/SD3.5-Large-Controlnet-Blur",
"type": "controlnet",
"base": "SD3.5",
"save_path": "controlnet/SD3.5",
"description": "Blur Controlnet model for SD3.5 Large",
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
"filename": "sd3.5_large_controlnet_blur.safetensors",
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_blur.safetensors",
"size": "8.65GB"
},
{
"name": "stabilityai/SD3.5-Large-Controlnet-Canny",
"type": "controlnet",
"base": "SD3.5",
"save_path": "controlnet/SD3.5",
"description": "Canny Controlnet model for SD3.5 Large",
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
"filename": "sd3.5_large_controlnet_canny.safetensors",
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_canny.safetensors",
"size": "8.65GB"
},
{
"name": "stabilityai/SD3.5-Large-Controlnet-Depth",
"type": "controlnet",
"base": "SD3.5",
"save_path": "controlnet/SD3.5",
"description": "Depth Controlnet model for SD3.5 Large",
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
"filename": "sd3.5_large_controlnet_depth.safetensors",
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_depth.safetensors",
"size": "8.65GB"
},
{
"name": "Kijai/ToonCrafter model checkpoint (interpolation fp16)",
"type": "checkpoint",
@ -4450,7 +4499,7 @@
{
"name": "pulid_flux_v0.9.1.safetensors",
"type": "PuLID",
"base": "FLUX",
"base": "FLUX.1",
"save_path": "pulid",
"description": "This is required for PuLID (FLUX)",
"reference": "https://huggingface.co/guozinan/PuLID",
@ -4491,6 +4540,18 @@
"filename": "MoGe_ViT_L_fp16.safetensors",
"url": "https://huggingface.co/Kijai/MoGe_safetensors/resolve/main/MoGe_ViT_L_fp16.safetensors",
"size": "1.26GB"
},
{
"name": "LTX-Video 2B v0.9 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.safetensors",
"url": "https://huggingface.co/Lightricks/LTX-Video/resolve/main/ltx-video-2b-v0.9.safetensors",
"size": "9.37GB"
}
]
}

View File

@ -11,8 +11,379 @@
{
"author": "jonnydolake",
"title": "ComfyUI-AIR-Nodes",
"reference": "https://github.com/jonnydolake/ComfyUI-AIR-Nodes",
"files": [
"https://github.com/jonnydolake/ComfyUI-AIR-Nodes"
],
"install_type": "git-clone",
"description": "NODES: String List To Prompt Schedule, Force Minimum Batch Size, Target Location (Crop), Target Location (Paste)"
},
{
"author": "watarika",
"title": "ComfyUI-exit [UNSAFE]",
"reference": "https://github.com/watarika/ComfyUI-exit",
"files": [
"https://github.com/watarika/ComfyUI-exit"
],
"install_type": "git-clone",
"description": "A custom node that terminates ComfyUI after a specified number of seconds. Use this node if you want Google Colab to automatically terminate after mass generation. It is necessary to disconnect and delete the Google Colab runtime on the Notebook side."
},
{
"author": "Eagle-CN",
"title": "ComfyUI-Addoor [UNSAFE]",
"reference": "https://github.com/Eagle-CN/ComfyUI-Addoor",
"files": [
"https://github.com/Eagle-CN/ComfyUI-Addoor"
],
"install_type": "git-clone",
"description": "NODES: AD_BatchImageLoadFromDir, AD_DeleteLocalAny, AD_TextListToString, AD_AnyFileList, AD_ZipSave, AD_ImageSaver, AD_FluxTrainStepMath, AD_TextSaver, AD_PromptReplace.\nNOTE: This node pack includes nodes that can delete arbitrary files."
},
{
"author": "jefferyharrell",
"title": "ComfyUI_XMPMetadataNodes",
"reference": "https://github.com/jefferyharrell/ComfyUI_XMPMetadataNodes",
"files": [
"https://github.com/jefferyharrell/ComfyUI_XMPMetadataNodes"
],
"install_type": "git-clone",
"description": "NODES: Format Instructions, Path to Stem, Save Image With XMP Metadata, Load Image With XMP Metadata, Get Widget Value (String/Integer/Float), ..."
},
{
"author": "backearth1",
"title": "Comfyui-MiniMax-Video [WIP]",
"reference": "https://github.com/backearth1/Comfyui-MiniMax-Video",
"files": [
"https://github.com/backearth1/Comfyui-MiniMax-Video"
],
"install_type": "git-clone",
"description": "A ComfyUI extension that integrates MiniMax AI's image-to-video and text-to-video generation capabilities, allowing users to easily convert static images into dynamic videos.\nNOTE: The files in the repo are not organized."
},
{
"author": "FinetunersAI",
"title": "Fast Group Link [WIP]",
"id": "fast-group-link",
"reference": "https://github.com/FinetunersAI/comfyui-fast-group-link",
"files": [
"https://github.com/FinetunersAI/comfyui-fast-group-link"
],
"install_type": "git-clone",
"description": "Link and control ComfyUI groups with a simple ON/OFF toggle. Control multiple groups at once with an easy-to-use interface.\nNOTE: The files in the repo are not organized."
},
{
"author": "kijai",
"title": "ComfyUI-MMAudio",
"reference": "https://github.com/kijai/ComfyUI-MMAudio",
"files": [
"https://github.com/kijai/ComfyUI-MMAudio"
],
"install_type": "git-clone",
"description": "ComfyUI nodes to use [a/MMAudio](https://github.com/hkchengrex/MMAudio)"
},
{
"author": "Aksaz",
"title": "seamless-clone-comfyui",
"reference": "https://github.com/Aksaz/seamless-clone-comfyui",
"files": [
"https://github.com/Aksaz/seamless-clone-comfyui"
],
"install_type": "git-clone",
"description": "NODES: Seamless Cloning"
},
{
"author": "kuschanow",
"title": "ComfyUI-SD-Slicer",
"reference": "https://github.com/kuschanow/ComfyUI-SD-Slicer",
"files": [
"https://github.com/kuschanow/ComfyUI-SD-Slicer"
],
"install_type": "git-clone",
"description": "NODES: Slicer"
},
{
"author": "ralonsobeas",
"title": "ComfyUI-HDRConversion [WIP]",
"reference": "https://github.com/ralonsobeas/ComfyUI-HDRConversion",
"files": [
"https://github.com/ralonsobeas/ComfyUI-HDRConversion"
],
"install_type": "git-clone",
"description": "NODES: Generate HDR image"
},
{
"author": "Matrix-King-Studio",
"title": "ComfyUI-MoviePy",
"reference": "https://github.com/Matrix-King-Studio/ComfyUI-MoviePy",
"files": [
"https://github.com/Matrix-King-Studio/ComfyUI-MoviePy"
],
"install_type": "git-clone",
"description": "NODES: Image Clip Node, Audio Duration Node, Save Video Node"
},
{
"author": "oxysoft",
"title": "ComfyUI-uiapi",
"reference": "https://github.com/oxysoft/ComfyUI-uiapi",
"files": [
"https://github.com/oxysoft/ComfyUI-uiapi"
],
"install_type": "git-clone",
"description": "UIAPI is an intermediate and frontend plugin which allow communicating with the Comfy webui through server connection. This saves the need to export a workflow.json and instead directly sending a queue command to the frontend. This way, the user can experiment in realtime as they are running some professional industry or rendering software which uses UIAPI / ComfyUI as a backend. There is no way to switch seamlessly between UIAPI and regular server connection - though as of late summer 2023 it was inferior to use the server connection because the server would constantly unload models and start from scratch, and the schema of the workfow json was completely different and much less convenient, losing crucial information for efficient querying of nodes and assigning data dynamically."
},
{
"author": "esciron",
"title": "ComfyUI-HunyuanVideoWrapper-Extended [WIP]",
"reference": "https://github.com/esciron/ComfyUI-HunyuanVideoWrapper-Extended",
"files": [
"https://github.com/esciron/ComfyUI-HunyuanVideoWrapper-Extended"
],
"install_type": "git-clone",
"description": "Extended ComfyUI wrapper nodes for [a/HunyuanVideo](https://github.com/Tencent/HunyuanVideo)"
},
{
"author": "hotpot-killer",
"title": "ComfyUI_AlexNodes",
"reference": "https://github.com/hotpot-killer/ComfyUI_AlexNodes",
"files": [
"https://github.com/hotpot-killer/ComfyUI_AlexNodes"
],
"install_type": "git-clone",
"description": "NODES: InstructPG - editing images with text prompt, ...\nNOTE: The files in the repo are not organized."
},
{
"author": "pschroedl",
"title": "ComfyUI-StreamDiffusion",
"reference": "https://github.com/pschroedl/ComfyUI-StreamDiffusion",
"files": [
"https://github.com/pschroedl/ComfyUI-StreamDiffusion"
],
"install_type": "git-clone",
"description": "NODES: StreamDiffusionConfig, StreamDiffusionAccelerationSampler, StreamDiffusionLoraLoader, StreamDiffusionAccelerationConfig, StreamDiffusionSimilarityFilterConfig, StreamDiffusionModelLoader, ..."
},
{
"author": "c0ffymachyne",
"title": "ComfyUI Signal Processing [WIP]",
"reference": "https://github.com/c0ffymachyne/ComfyUI_SignalProcessing",
"files": [
"https://github.com/c0ffymachyne/ComfyUI_SignalProcessing"
],
"install_type": "git-clone",
"description": "This repo contains signal processing nodes for ComfyUI allowing for audio manipulation."
},
{
"author": "Aksaz",
"title": "seamless-clone-comfyui",
"reference": "https://github.com/Aksaz/seamless-clone-comfyui",
"files": [
"https://github.com/Aksaz/seamless-clone-comfyui"
],
"install_type": "git-clone",
"description": "NODES: Seamless Cloning"
},
{
"author": "Junst",
"title": "ComfyUI-PNG2SVG2PNG",
"reference": "https://github.com/Junst/ComfyUI-PNG2SVG2PNG",
"files": [
"https://github.com/Junst/ComfyUI-PNG2SVG2PNG"
],
"description": "NODES:PNG2SVG2PNG",
"install_type": "git-clone"
},
{
"author": "animEEEmpire",
"title": "ComfyUI-Animemory-Loader",
"reference": "https://github.com/animEEEmpire/ComfyUI-Animemory-Loader",
"files": [
"https://github.com/animEEEmpire/ComfyUI-Animemory-Loader"
],
"install_type": "git-clone",
"description": "AniMemory-alpha Custom Node for ComfyUI"
},
{
"author": "ShahFaisalWani",
"title": "ComfyUI-Mojen-Nodeset",
"reference": "https://github.com/ShahFaisalWani/ComfyUI-Mojen-Nodeset",
"files": [
"https://github.com/ShahFaisalWani/ComfyUI-Mojen-Nodeset"
],
"install_type": "git-clone",
"description": "NODES: MojenLogPercent, MojenTagProcessor, MojenStyleExtractor, MojenAnalyzeProcessor"
},
{
"author": "kijai",
"title": "ComfyUI-HunyuanVideoWrapper [WIP]",
"reference": "https://github.com/kijai/ComfyUI-HunyuanVideoWrapper",
"files": [
"https://github.com/kijai/ComfyUI-HunyuanVideoWrapper"
],
"install_type": "git-clone",
"description": "ComfyUI wrapper nodes for [a/HunyuanVideo](https://github.com/Tencent/HunyuanVideo)"
},
{
"author": "grimli333",
"title": "ComfyUI_Grim",
"reference": "https://github.com/grimli333/ComfyUI_Grim",
"files": [
"https://github.com/grimli333/ComfyUI_Grim"
],
"install_type": "git-clone",
"description": "NODES: Generate a unique filename and folder name, Format Strings with Two Inputs"
},
{
"author": "risunobushi",
"title": "ComfyUI_FocusMask",
"reference": "https://github.com/risunobushi/ComfyUI_FocusMask",
"files": [
"https://github.com/risunobushi/ComfyUI_FocusMask"
],
"install_type": "git-clone",
"description": "NODES: Extract Focus Mask"
},
{
"author": "RicherdLee",
"title": "comfyui-oss-image-save [WIP]",
"reference": "https://github.com/RicherdLee/comfyui-oss-image-save",
"files": [
"https://github.com/RicherdLee/comfyui-oss-image-save"
],
"install_type": "git-clone",
"description": "NODES: SaveImageOSS."
},
{
"author": "Matrix-King-Studio",
"title": "ComfyUI-MoviePy",
"reference": "https://github.com/Matrix-King-Studio/ComfyUI-MoviePy",
"files": [
"https://github.com/Matrix-King-Studio/ComfyUI-MoviePy"
],
"install_type": "git-clone",
"description": "NODES: Image Clip Node, Audio Duration Node, Save Video Node,..."
},
{
"author": "sh570655308",
"title": "ComfyUI-GigapixelAI [WIP]",
"reference": "https://github.com/sh570655308/ComfyUI-GigapixelAI",
"pip": ["GigapixelAI>=7.3.0"],
"files": [
"https://github.com/sh570655308/ComfyUI-GigapixelAI"
],
"install_type": "git-clone",
"description": "custom nodes use gigapixelai ai in comfyui Thanks @choey for the https://github.com/choey/Comfy-Topaz nodes helps me a lot\nRequirements: Licensed installation of Gigapixel 8: the path of gigapixel.exe is in the installation folder of Topaz Gigapixel AI, manually fill it if your installation is not default. Need GigapixelAI>=7.3.0\nNOTE: The files in the repo are not organized."
},
{
"author": "Big Idea Technology",
"title": "ComfyUI-Movie-Tools [WIP]",
"reference": "https://github.com/Big-Idea-Technology/ComfyUI-Movie-Tools",
"files": [
"https://github.com/Big-Idea-Technology/ComfyUI-Movie-Tools"
],
"install_type": "git-clone",
"description": "Movie Tools is a set of custom nodes, designed to simplify saving and loading batches of images with enhanced functionality like subfolder management and batch image handling."
},
{
"author": "ArthusLiang",
"title": "comfyui-face-remap [WIP]",
"reference": "https://github.com/ArthusLiang/comfyui-face-remap",
"files": [
"https://github.com/ArthusLiang/comfyui-face-remap"
],
"install_type": "git-clone",
"description": "NODES: FaceRemap\nNOTE: The files in the repo are not organized."
},
{
"author": "trithemius",
"title": "ComfyUI-SmolVLM [WIP]",
"reference": "https://github.com/mamorett/ComfyUI-SmolVLM",
"files": [
"https://github.com/mamorett/ComfyUI-SmolVLM"
],
"install_type": "git-clone",
"description": "Nodes to use SmolVLM for image tagging and captioning.\nNOTE: The files in the repo are not organized."
},
{
"author": "anze",
"title": "ComfyUI-OIDN [WIP]",
"reference": "https://github.com/Anze-/ComfyUI-OIDN",
"files": [
"https://github.com/Anze-/ComfyUI-OIDN"
],
"install_type": "git-clone",
"description": "ComyUI wrapper for Intel OIDN image denoising\nWARNING! : this is a development repo, usage in production environments is not advised! Bugs are to be expected."
},
{
"author": "techzuhaib",
"title": "ComfyUI-CacheImageNode",
"reference": "https://github.com/techzuhaib/ComfyUI-CacheImageNode",
"files": [
"https://github.com/techzuhaib/ComfyUI-CacheImageNode"
],
"install_type": "git-clone",
"description": "NODES: CacheImageNode"
},
{
"author": "hay86",
"title": "ComfyUI AceNodes [UNSAFE]",
"reference": "https://github.com/hay86/ComfyUI_AceNodes",
"files": [
"https://github.com/hay86/ComfyUI_AceNodes"
],
"install_type": "git-clone",
"description": "Some useful custom nodes that are not included in ComfyUI core yet.\nNOTE: Vulnerability discovered. Not being managed."
},
{
"author": "dowands",
"title": "AddMaskForICLora",
"reference": "https://github.com/dowands/ComfyUI-AddMaskForICLora",
"files": [
"https://github.com/dowands/ComfyUI-AddMaskForICLora"
],
"install_type": "git-clone",
"description": "NODES: Add Mask For IC Lora x"
},
{
"author": "exectails",
"title": "Scripting",
"id": "et_scripting [UNSAFE]",
"reference": "https://github.com/exectails/comfyui-et_scripting",
"files": [
"https://github.com/exectails/comfyui-et_scripting"
],
"install_type": "git-clone",
"description": "Nodes that can be used to write Python scripts directly on a node. Useful for quick prototyping and testing, at the cost of security.[w/This extension allows the execution of arbitrary Python code from a workflow.]"
},
{
"author": "AIFSH",
"title": "UltralightDigitalHuman-ComfyUI",
"reference": "https://github.com/AIFSH/UltralightDigitalHuman-ComfyUI",
"files": [
"https://github.com/AIFSH/UltralightDigitalHuman-ComfyUI"
],
"install_type": "git-clone",
"description": "a custom node for [a/Ultralight-Digital-Human](https://github.com/anliyuan/Ultralight-Digital-Human)\nNOTE: The files in the repo are not organized."
},
{
"author": "vahidzxc",
"title": "ComfyUI-My-Handy-Nodes",
"reference": "https://github.com/vahidzxc/ComfyUI-My-Handy-Nodes",
"files": [
"https://github.com/vahidzxc/ComfyUI-My-Handy-Nodes"
],
"install_type": "git-clone",
"description": "NODES:VahCropImage"
},
{
"author": "StartHua",
"title": "Comfyui_Flux_Style_Ctr [WIP]",
"reference": "https://github.com/StartHua/Comfyui_Flux_Style_Ctr",
"files": [
"https://github.com/StartHua/Comfyui_Flux_Style_Ctr"
],
"install_type": "git-clone",
"description": "NODES:CXH_StyleModelApply\nNOTE: The files in the repo are not organized."
},
{
"author": "miragecoa",
"title": "ComfyUI-LLM-Evaluation [WIP]",
@ -94,26 +465,6 @@
"install_type": "git-clone",
"description": "In production environments, images are usually saved on storage servers such as S3, rather than local folders. So the method of placing images in local folders using ComfyUI's native LoadImage and SaveImage nodes cannot be used as a deployment service method, but can only be used as a temporary storage place for images. This requires a way to delete images from the input and output folders.\nThis node is used to delete images from the input and output folders. It is recommended to use this node through api call in the backend after the image processing is completed.[w/Users can use the file deletion feature through the workflow.]"
},
{
"author": "kostenickj",
"title": "comfyui-jk-easy-nodes",
"reference": "https://github.com/kostenickj/comfyui-jk-easy-nodes",
"files": [
"https://github.com/kostenickj/comfyui-jk-easy-nodes"
],
"install_type": "git-clone",
"description": "NODES:JK Easy Prompt, JK Easy HiRes Fix"
},
{
"author": "Black-Lioness",
"title": "Filename Generator Node for ComfyUI [UNSAFE]",
"reference": "https://github.com/Black-Lioness/ComfyUI-FilenameGenerator",
"files": [
"https://github.com/Black-Lioness/ComfyUI-FilenameGenerator"
],
"install_type": "git-clone",
"description": "A ComfyUI node that generates realistic filenames and file paths for various digital media formats. Perfect for creating authentic-looking file paths for your workflows.[w/Users will be able to obtain a list of files from an arbitrary path through the workflow.]"
},
{
"author": "yorkane",
"title": "Comfy UI Robe Nodes [UNSAFE]",
@ -122,7 +473,7 @@
"https://github.com/RobeSantoro/ComfyUI-RobeNodes"
],
"install_type": "git-clone",
"description": "NODES: List Video Path Node, List Image Path Node\nThis is a collection of utility nodes for the ComfyUI stable diffusion client that provides enhanced file path handling capabilities.[w/Users will be able to access images from arbitrary paths through the workflow.] "
"description": "NODES: List Video Path Node, List Image Path Node\nThis is a collection of utility nodes for the ComfyUI stable diffusion client that provides enhanced file path handling capabilities.[w/Users will be able to access images from arbitrary paths through the workflow.]"
},
{
"author": "Kimara.ai",
@ -163,7 +514,7 @@
"https://github.com/trashgraphicard/Albedo-Sampler-for-ComfyUI"
],
"install_type": "git-clone",
"description": "NODES:Sample Image"
"description": "NODES:Sample Image, Make Seamless Tile"
},
{
"author": "Anze-",
@ -296,16 +647,6 @@
"install_type": "git-clone",
"description": "NODES:CFGControl_SKIPCFG"
},
{
"author": "PnthrLeo",
"title": "comfyUI-image-search",
"reference": "https://github.com/PnthrLeo/comfyUI-image-search",
"files": [
"https://github.com/PnthrLeo/comfyUI-image-search"
],
"install_type": "git-clone",
"description": "NODES:CloseImagesSearcher"
},
{
"author": "Clelstyn",
"title": "ComfyUI-Inpaint_with_Detailer",
@ -356,16 +697,6 @@
"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"
},
{
"author": "DoctorDiffusion",
"title": "DoctorDiffusion [WIP]",
"reference": "https://github.com/DoctorDiffusion/Doctor-Tools",
"files": [
"https://github.com/DoctorDiffusion/Doctor-Tools"
],
"install_type": "git-clone",
"description": "NODES:Final Frame Selector, Video Merge.\nNOTE: The files in the repo are not organized."
},
{
"author": "m-ai-studio",
"title": "mai-prompt-progress",
@ -476,16 +807,6 @@
"install_type": "git-clone",
"description": "Upscale image with model multiple times !"
},
{
"author": "huangyangke",
"title": "ComfyUI-Kolors-IpadapterFaceId [WIP]",
"reference": "https://github.com/huangyangke/ComfyUI-Kolors-IpadapterFaceId",
"files": [
"https://github.com/huangyangke/ComfyUI-Kolors-IpadapterFaceId"
],
"install_type": "git-clone",
"description": "NODES:kolors_ipadapter_faceid\nNOTE: The files in the repo are not organized."
},
{
"author": "rouxianmantou",
"title": "comfyui-rxmt-nodes",
@ -1150,16 +1471,6 @@
"install_type": "git-clone",
"description": "Browse to this endpoint to reload custom nodes for more streamlined development:\nhttp://127.0.0.1:8188/node_dev/reload/<module_name>"
},
{
"author": "sebord",
"title": "ComfyUI-LMCQ [WIP]",
"reference": "https://github.com/sebord/ComfyUI-LMCQ",
"files": [
"https://github.com/sebord/ComfyUI-LMCQ"
],
"install_type": "git-clone",
"description": "ComfyUI small node toolkit, this toolkit is mainly to update some practical small nodes, to make a contribution to the comfyui ecosystem, PS: 'LMCQ' is the abbreviation of the team name\nNOTE: The files in the repo are not organized, which may lead to update issues."
},
{
"author": "ChrisColeTech",
"title": "ComfyUI-Get-Random-File [UNSAFE]",
@ -2248,10 +2559,10 @@
},
{
"author": "nat-chan",
"title": "comfyui-in-memory-transceiver",
"reference": "https://github.com/nat-chan/comfyui-in-memory-transceiver",
"title": "Transceiver📡",
"reference": "https://github.com/nat-chan/transceiver",
"files": [
"https://github.com/nat-chan/comfyui-in-memory-transceiver"
"https://github.com/nat-chan/transceiver"
],
"install_type": "git-clone",
"description": "Why? When processing a large number of requests, the SaveImage and LoadImage nodes may be IO-limited, and using shared memory improves performance by passing images only through memory access, not through IO."
@ -2726,16 +3037,6 @@
"install_type": "git-clone",
"description": "Nodes:PythonScript, BlendImagesWithBoundedMasks, CropImagesWithMasks, VAELoaderDataType, ModelSamplerTonemapNoiseTest, gcLatentTunnel, ReferenceOnlySimple, EmptyImageWithColor, MaskFromColor, SetLatentCustomNoise, LatentToImage, ImageToLatent, LatentScaledNoise, DisplayAnyType, SamplerCustomCallback, CustomCallback, SplitCustomSigmas, SamplerDPMPP_2M_SDE_nidefawl, LatentPerlinNoise.<BR>[w/This node is an unsafe node that includes the capability to execute arbitrary python script.]"
},
{
"author": "kadirnar",
"title": "comfyui_hub",
"reference": "https://github.com/kadirnar/comfyui_hub",
"files": [
"https://github.com/kadirnar/comfyui_hub"
],
"install_type": "git-clone",
"description": "A collection of nodes randomly selected and gathered, related to noise. NOTE: SD-Advanced-Noise, noise_latent_perlinpinpin, comfy-plasma"
},
{
"author": "foglerek",
"title": "comfyui-cem-tools",

View File

@ -239,8 +239,18 @@
"title_aux": "IMAGDressing-ComfyUI"
}
],
"https://github.com/AIFSH/UltralightDigitalHuman-ComfyUI": [
[
"InferUltralightDigitalHumanNode",
"TrainUltralightDigitalHumanNode"
],
{
"title_aux": "UltralightDigitalHuman-ComfyUI"
}
],
"https://github.com/AIFSH/UtilNodes-ComfyUI": [
[
"GetRGBEmptyImgae",
"LoadVideo",
"PreViewVideo",
"PromptTextNode"
@ -309,6 +319,14 @@
"title_aux": "comfyui-textools [WIP]"
}
],
"https://github.com/Aksaz/seamless-clone-comfyui": [
[
"Seamless Cloning"
],
{
"title_aux": "seamless-clone-comfyui"
}
],
"https://github.com/AlexXi19/ComfyUI-OpenAINode": [
[
"ImageWithPrompt",
@ -340,6 +358,14 @@
"title_aux": "ComfyUI-Xorbis-nodes [WIP]"
}
],
"https://github.com/Anze-/ComfyUI-OIDN": [
[
"OIDN Denoise"
],
{
"title_aux": "ComfyUI-OIDN [WIP]"
}
],
"https://github.com/Anze-/ComfyUI_deepDeband": [
[
"deepDeband Inference"
@ -348,6 +374,14 @@
"title_aux": "ComfyUI_deepDeband [WIP]"
}
],
"https://github.com/ArthusLiang/comfyui-face-remap": [
[
"FaceRemap"
],
{
"title_aux": "comfyui-face-remap [WIP]"
}
],
"https://github.com/BadCafeCode/execution-inversion-demo-comfyui": [
[
"AccumulateNode",
@ -416,12 +450,13 @@
"title_aux": "ComfyUI-LogicGates"
}
],
"https://github.com/Black-Lioness/ComfyUI-FilenameGenerator": [
"https://github.com/Big-Idea-Technology/ComfyUI-Movie-Tools": [
[
"FilenameGenerator"
"LoadImagesFromSubdirsBatch",
"SaveImagesWithSubfolder"
],
{
"title_aux": "Filename Generator Node for ComfyUI [UNSAFE]"
"title_aux": "ComfyUI-Movie-Tools [WIP]"
}
],
"https://github.com/BlueDangerX/ComfyUI-BDXNodes": [
@ -503,7 +538,9 @@
"DevToolsNodeWithOnlyOptionalInput",
"DevToolsNodeWithOptionalInput",
"DevToolsNodeWithOutputList",
"DevToolsNodeWithStringInput"
"DevToolsNodeWithStringInput",
"DevToolsNodeWithUnionInput",
"DevToolsSimpleSlider"
],
{
"title_aux": "ComfyUI_devtools [WIP]"
@ -581,17 +618,6 @@
"title_aux": "ComfyUI-Flashback"
}
],
"https://github.com/DoctorDiffusion/Doctor-Tools": [
[
"FinalFrameSelector",
"VideoMerge",
"VideoPromptGenerator",
"YouTubeVideoDownloader"
],
{
"title_aux": "DoctorDiffusion [WIP]"
}
],
"https://github.com/DrMWeigand/ComfyUI_LineBreakInserter": [
[
"LineBreakInserter"
@ -600,6 +626,22 @@
"title_aux": "ComfyUI_LineBreakInserter"
}
],
"https://github.com/Eagle-CN/ComfyUI-Addoor": [
[
"AD_AnyFileList",
"AD_BatchImageLoadFromDir",
"AD_DeleteLocalAny",
"AD_FluxTrainStepMath",
"AD_ImageSaver",
"AD_PromptReplace",
"AD_TextListToString",
"AD_TextSaver",
"AD_ZipSave"
],
{
"title_aux": "ComfyUI-Addoor [UNSAFE]"
}
],
"https://github.com/Elawphant/ComfyUI-MusicGen": [
[
"AudioLoader",
@ -641,6 +683,7 @@
"AppIO_ImageInputFromID",
"AppIO_ImageOutput",
"AppIO_IntegerInput",
"AppIO_ResizeInstanceAndPaste",
"AppIO_ResizeInstanceImageMask",
"AppIO_StringInput",
"AppIO_StringOutput"
@ -649,6 +692,14 @@
"title_aux": "ComfyUI-AppIO"
}
],
"https://github.com/FinetunersAI/comfyui-fast-group-link": [
[
"FastGroupLink"
],
{
"title_aux": "Fast Group Link [WIP]"
}
],
"https://github.com/Fucci-Mateo/ComfyUI-Airtable": [
[
"Push pose to Airtable"
@ -747,14 +798,12 @@
"https://github.com/JichaoLiang/Immortal_comfyUI": [
[
"AppendNode",
"ApplyVoiceConversion",
"CombineVideos",
"ImAppendFreeChatAction",
"ImAppendImageActionNode",
"ImAppendQuickbackNode",
"ImAppendQuickbackVideoNode",
"ImAppendVideoNode",
"ImApplyWav2lip",
"ImDumpEntity",
"ImDumpNode",
"ImLoadPackage",
@ -796,6 +845,14 @@
"title_aux": "comfy-consistency-vae"
}
],
"https://github.com/Junst/ComfyUI-PNG2SVG2PNG": [
[
"PNG2SVG2PNG"
],
{
"title_aux": "ComfyUI-PNG2SVG2PNG"
}
],
"https://github.com/KoreTeknology/ComfyUI-Nai-Production-Nodes-Pack": [
[
"Brightness Image",
@ -941,6 +998,16 @@
"title_aux": "ComfyUI Nodes for Inference.Core"
}
],
"https://github.com/Matrix-King-Studio/ComfyUI-MoviePy": [
[
"AudioDurationNode",
"ImageClipNode",
"SaveVideoNode"
],
{
"title_aux": "ComfyUI-MoviePy"
}
],
"https://github.com/MrAdamBlack/CheckProgress": [
[
"CHECK_PROGRESS"
@ -966,14 +1033,6 @@
"title_aux": "ComfyUI-SpaceFlower"
}
],
"https://github.com/PnthrLeo/comfyUI-image-search": [
[
"CloseImagesSearcher"
],
{
"title_aux": "comfyUI-image-search"
}
],
"https://github.com/Poseidon-fan/ComfyUI-fileCleaner": [
[
"Clean input and output file"
@ -1002,7 +1061,9 @@
"FRED_LoadPathImagesPreview",
"FRED_LoadPathImagesPreview_v2",
"FRED_LoadRetinaFace",
"FRED_LoraInfos",
"FRED_PreviewOnly",
"FRED_TextMultiline",
"FRED_photo_prompt"
],
{
@ -1033,6 +1094,14 @@
"title_aux": "ComfyUI-QuasimondoNodes [WIP]"
}
],
"https://github.com/RicherdLee/comfyui-oss-image-save": [
[
"SaveImageOSS"
],
{
"title_aux": "comfyui-oss-image-save [WIP]"
}
],
"https://github.com/RobeSantoro/ComfyUI-RobeNodes": [
[
"List Image Path \ud83d\udc24",
@ -1097,6 +1166,19 @@
"title_aux": "ComfyUI-SeedV-Nodes [UNSAFE]"
}
],
"https://github.com/ShahFaisalWani/ComfyUI-Mojen-Nodeset": [
[
"MojenAnalyzeProcessor",
"MojenLogPercent",
"MojenNSFWClassifier",
"MojenNSFWClassifierSave",
"MojenStyleExtractor",
"MojenTagProcessor"
],
{
"title_aux": "ComfyUI-Mojen-Nodeset"
}
],
"https://github.com/Shinsplat/ComfyUI-Shinsplat": [
[
"Clip Text Encode (Shinsplat)",
@ -1178,6 +1260,14 @@
"title_aux": "Comfyui_CXH_CRM"
}
],
"https://github.com/StartHua/Comfyui_Flux_Style_Ctr": [
[
"CXH_StyleModelApply"
],
{
"title_aux": "Comfyui_Flux_Style_Ctr [WIP]"
}
],
"https://github.com/T8star1984/comfyui-purgevram": [
[
"PurgeVRAM"
@ -1340,6 +1430,14 @@
"title_aux": "Dream Project Video Batches [WIP]"
}
],
"https://github.com/animEEEmpire/ComfyUI-Animemory-Loader": [
[
"AnimemoryNode"
],
{
"title_aux": "ComfyUI-Animemory-Loader"
}
],
"https://github.com/aria1th/ComfyUI-SkipCFGSigmas": [
[
"CFGControl_SKIPCFG"
@ -1389,6 +1487,16 @@
"title_aux": "ComfyUI-FluxRegionAttention [WIP]"
}
],
"https://github.com/backearth1/Comfyui-MiniMax-Video": [
[
"MiniMaxAIAPIClient",
"MiniMaxImage2Video",
"MiniMaxPreviewVideo"
],
{
"title_aux": "Comfyui-MiniMax-Video [WIP]"
}
],
"https://github.com/baicai99/ComfyUI-FrameSkipping": [
[
"FrameSelector",
@ -1634,6 +1742,29 @@
"title_aux": "brycegoh/comfyui-custom-nodes"
}
],
"https://github.com/c0ffymachyne/ComfyUI_SignalProcessing": [
[
"SignalProcessingBaxandall3BandEQ",
"SignalProcessingBaxandallEQ",
"SignalProcessingConvolutionReverb",
"SignalProcessingFilter",
"SignalProcessingHarmonicsEnhancer",
"SignalProcessingLoadAudio",
"SignalProcessingLoudness",
"SignalProcessingMixdown",
"SignalProcessingNormalizer",
"SignalProcessingPadSynth",
"SignalProcessingPadSynthChoir",
"SignalProcessingPaulStretch",
"SignalProcessingPitchShifter",
"SignalProcessingSpectrogram",
"SignalProcessingStereoWidening",
"SignalProcessingWaveform"
],
{
"title_aux": "ComfyUI Signal Processing [WIP]"
}
],
"https://github.com/celll1/cel_sampler": [
[
"latent_tracker"
@ -1670,11 +1801,10 @@
[
"CombineStrings",
"JSONParser",
"OSSClient",
"OSSUploader",
"StepFunClient",
"TextImageChat",
"VideoChat"
"VideoChat",
"VideoFileUploader"
],
{
"title_aux": "ComfyUI_StepFun"
@ -1750,7 +1880,9 @@
"DisableNoise",
"DualCFGGuider",
"DualCLIPLoader",
"EmptyHunyuanLatentVideo",
"EmptyImage",
"EmptyLTXVLatentVideo",
"EmptyLatentAudio",
"EmptyLatentImage",
"EmptyMochiLatentVideo",
@ -1793,6 +1925,9 @@
"KSamplerAdvanced",
"KSamplerSelect",
"KarrasScheduler",
"LTXVConditioning",
"LTXVImgToVideo",
"LTXVScheduler",
"LaplaceScheduler",
"LatentAdd",
"LatentApplyOperation",
@ -1813,6 +1948,8 @@
"LatentSubtract",
"LatentUpscale",
"LatentUpscaleBy",
"Load3D",
"Load3DAnimation",
"LoadAudio",
"LoadImage",
"LoadImageMask",
@ -1820,12 +1957,14 @@
"LoraLoader",
"LoraLoaderModelOnly",
"LoraSave",
"Mahiro",
"MaskComposite",
"MaskToImage",
"ModelMergeAdd",
"ModelMergeAuraflow",
"ModelMergeBlocks",
"ModelMergeFlux1",
"ModelMergeLTXV",
"ModelMergeMochiPreview",
"ModelMergeSD1",
"ModelMergeSD2",
@ -1839,6 +1978,7 @@
"ModelSamplingContinuousV",
"ModelSamplingDiscrete",
"ModelSamplingFlux",
"ModelSamplingLTXV",
"ModelSamplingSD3",
"ModelSamplingStableCascade",
"ModelSave",
@ -2051,6 +2191,14 @@
"title_aux": "ComfyUI_WcpD_Utility_Kit"
}
],
"https://github.com/dowands/ComfyUI-AddMaskForICLora": [
[
"AddMaskForICLora"
],
{
"title_aux": "AddMaskForICLora"
}
],
"https://github.com/downlifted/ComfyUI_BWiZ_Nodes": [
[
"BWIZInteractiveLogMonitor",
@ -2142,6 +2290,24 @@
"title_aux": "guidance_interval"
}
],
"https://github.com/esciron/ComfyUI-HunyuanVideoWrapper-Extended": [
[
"DownloadAndLoadHyVideoTextEncoder",
"HyVideoBlockSwap",
"HyVideoCustomPromptTemplate",
"HyVideoDecode",
"HyVideoEncode",
"HyVideoModelLoader",
"HyVideoSTG",
"HyVideoSampler",
"HyVideoTextEncode",
"HyVideoTorchCompileSettings",
"HyVideoVAELoader"
],
{
"title_aux": "ComfyUI-HunyuanVideoWrapper-Extended [WIP]"
}
],
"https://github.com/evolox/ComfyUI-GeneraNodes": [
[
"Genera.BatchPreviewer",
@ -2152,6 +2318,14 @@
"title_aux": "ComfyUI-GeneraNodes"
}
],
"https://github.com/exectails/comfyui-et_scripting": [
[
"ETPythonTextScript3Node"
],
{
"title_aux": "Scripting"
}
],
"https://github.com/fablestudio/ComfyUI-Showrunner-Utils": [
[
"AlignFace",
@ -2237,6 +2411,15 @@
"title_aux": "ComfyUI-Tools-Video-Combine [WIP]"
}
],
"https://github.com/grimli333/ComfyUI_Grim": [
[
"GenerateFileName",
"TwoStringsFormat"
],
{
"title_aux": "ComfyUI_Grim"
}
],
"https://github.com/haodman/ComfyUI_Rain": [
[
"Rain_ImageSize",
@ -2271,6 +2454,43 @@
"title_aux": "Comfyui-SadTalker"
}
],
"https://github.com/hay86/ComfyUI_AceNodes": [
[
"ACE_AnyInputSwitchBool",
"ACE_AnyInputToAny",
"ACE_AudioLoad",
"ACE_AudioPlay",
"ACE_AudioSave",
"ACE_Expression_Eval",
"ACE_Float",
"ACE_ImageColorFix",
"ACE_ImageConstrain",
"ACE_ImageFaceCrop",
"ACE_ImageGetSize",
"ACE_ImageLoadFromCloud",
"ACE_ImagePixelate",
"ACE_ImageQA",
"ACE_ImageRemoveBackground",
"ACE_ImageSaveToCloud",
"ACE_Integer",
"ACE_MaskBlur",
"ACE_Seed",
"ACE_Text",
"ACE_TextConcatenate",
"ACE_TextGoogleTranslate",
"ACE_TextInputSwitch2Way",
"ACE_TextInputSwitch4Way",
"ACE_TextInputSwitch8Way",
"ACE_TextList",
"ACE_TextPreview",
"ACE_TextSelector",
"ACE_TextToResolution",
"ACE_TextTranslate"
],
{
"title_aux": "ComfyUI AceNodes [UNSAFE]"
}
],
"https://github.com/hgabha/WWAA-CustomNodes": [
[
"WWAA-BuildString",
@ -2310,6 +2530,14 @@
"title_aux": "ComfyUI-WaterMark-Detector"
}
],
"https://github.com/hotpot-killer/ComfyUI_AlexNodes": [
[
"InstructPG"
],
{
"title_aux": "ComfyUI_AlexNodes"
}
],
"https://github.com/houdinii/comfy-magick": [
[
"AdaptiveBlur",
@ -2347,14 +2575,6 @@
"title_aux": "comfy-magick [WIP]"
}
],
"https://github.com/huangyangke/ComfyUI-Kolors-IpadapterFaceId": [
[
"kolors_ipadapter_faceid"
],
{
"title_aux": "ComfyUI-Kolors-IpadapterFaceId [WIP]"
}
],
"https://github.com/huizhang0110/ComfyUI_Easy_Nodes_hui": [
[
"EasyBgRemover",
@ -2406,6 +2626,8 @@
"KillMeNode",
"LinkMasterNode",
"OkayBuddyNode",
"OutlineRealNode",
"OutlineStandardNode",
"PixelPerfectResolution",
"SuckerPunch",
"UWU_Preprocessor",
@ -2546,6 +2768,17 @@
"title_aux": "jn_node_suite_comfyui [WIP]"
}
],
"https://github.com/jonnydolake/ComfyUI-AIR-Nodes": [
[
"ForceMinimumBatchSize",
"TargetLocationCrop",
"TargetLocationPaste",
"string_list_to_prompt_schedule"
],
{
"title_aux": "ComfyUI-AIR-Nodes"
}
],
"https://github.com/jordancoult/ComfyUI_HelpfulNodes": [
[
"JCo_CropAroundKPS"
@ -2584,35 +2817,6 @@
"title_aux": "ComfyUI-Adapter [WIP]"
}
],
"https://github.com/kadirnar/comfyui_hub": [
[
"CircularVAEDecode",
"CustomKSamplerAdvancedTile",
"JDC_AutoContrast",
"JDC_BlendImages",
"JDC_BrownNoise",
"JDC_Contrast",
"JDC_EqualizeGrey",
"JDC_GaussianBlur",
"JDC_GreyNoise",
"JDC_Greyscale",
"JDC_ImageLoader",
"JDC_ImageLoaderMeta",
"JDC_PinkNoise",
"JDC_Plasma",
"JDC_PlasmaSampler",
"JDC_PowerImage",
"JDC_RandNoise",
"JDC_ResizeFactor",
"LatentGaussianNoise",
"LatentToRGB",
"MathEncode",
"NoisyLatentPerlin"
],
{
"title_aux": "comfyui_hub"
}
],
"https://github.com/kappa54m/ComfyUI_Usability": [
[
"KLoadImageByPath",
@ -2688,6 +2892,46 @@
"title_aux": "ComfyUI-FollowYourEmojiWrapper [WIP]"
}
],
"https://github.com/kijai/ComfyUI-HunyuanVideoWrapper": [
[
"DownloadAndLoadHyVideoTextEncoder",
"HyVideoBlockSwap",
"HyVideoCFG",
"HyVideoCustomPromptTemplate",
"HyVideoDecode",
"HyVideoEmptyTextEmbeds",
"HyVideoEncode",
"HyVideoInverseSampler",
"HyVideoLatentPreview",
"HyVideoLoraBlockEdit",
"HyVideoLoraSelect",
"HyVideoModelLoader",
"HyVideoPromptMixSampler",
"HyVideoReSampler",
"HyVideoSTG",
"HyVideoSampler",
"HyVideoTextEmbedsLoad",
"HyVideoTextEmbedsSave",
"HyVideoTextEncode",
"HyVideoTextImageEncode",
"HyVideoTorchCompileSettings",
"HyVideoVAELoader"
],
{
"title_aux": "ComfyUI-HunyuanVideoWrapper [WIP]"
}
],
"https://github.com/kijai/ComfyUI-MMAudio": [
[
"MMAudioFeatureUtilsLoader",
"MMAudioModelLoader",
"MMAudioSampler",
"MMAudioVoCoderLoader"
],
{
"title_aux": "ComfyUI-MMAudio"
}
],
"https://github.com/kijai/ComfyUI-MochiWrapper": [
[
"DownloadAndLoadMochiModel",
@ -2736,13 +2980,12 @@
"title_aux": "KayTool"
}
],
"https://github.com/kostenickj/comfyui-jk-easy-nodes": [
"https://github.com/kuschanow/ComfyUI-SD-Slicer": [
[
"EasyHRFix",
"JKAnythingToString"
"SdSlicer"
],
{
"title_aux": "comfyui-jk-easy-nodes"
"title_aux": "ComfyUI-SD-Slicer"
}
],
"https://github.com/kxh/ComfyUI-ImageUpscaleWithModelMultipleTimes": [
@ -2873,7 +3116,9 @@
"AddFluxFlow",
"ApplyFluxRaveAttention",
"ApplyRefFlux",
"ApplyRegionalConds",
"ConfigureModifiedFlux",
"CreateRegionalCond",
"FlowEditForwardSampler",
"FlowEditReverseSampler",
"FluxAttnOverride",
@ -2889,6 +3134,7 @@
"PrepareAttnBank",
"RFDoubleBlocksOverride",
"RFSingleBlocksOverride",
"RegionalStyleModelApply",
"SEGAttention"
],
{
@ -2986,6 +3232,17 @@
"title_aux": "comfyui_indieTools [WIP]"
}
],
"https://github.com/mamorett/ComfyUI-SmolVLM": [
[
"Smolvlm_Caption_Analyzer",
"Smolvlm_Flux_CLIPTextEncode",
"Smolvlm_SaveTags",
"Smolvlm_Tagger"
],
{
"title_aux": "ComfyUI-SmolVLM [WIP]"
}
],
"https://github.com/marcueberall/ComfyUI-BuildPath": [
[
"Build Path Adv"
@ -3041,7 +3298,9 @@
"Add zSNR Sigma max",
"ConcatSigmas",
"CosineScheduler",
"GaussianScheduler",
"InvertSigmas",
"LogNormal Scheduler",
"OffsetSigmas",
"PerpNegScheduledCFGGuider",
"ScheduledCFGGuider"
@ -3341,6 +3600,21 @@
"title_aux": "ComfyUI-clip-interrogator [WIP]"
}
],
"https://github.com/pschroedl/ComfyUI-StreamDiffusion": [
[
"StreamDiffusionAccelerationSampler",
"StreamDiffusionAdvancedConfig",
"StreamDiffusionCheckpointLoader",
"StreamDiffusionEngine",
"StreamDiffusionLPModelLoader",
"StreamDiffusionLoraLoader",
"StreamDiffusionPrebuiltEngine",
"StreamDiffusionTensorRTEngineLoader"
],
{
"title_aux": "ComfyUI-StreamDiffusion"
}
],
"https://github.com/pzzmyc/comfyui-sd3-simple-simpletuner": [
[
"sd not very simple simpletuner by hhy"
@ -3349,6 +3623,14 @@
"title_aux": "comfyui-sd3-simple-simpletuner"
}
],
"https://github.com/ralonsobeas/ComfyUI-HDRConversion": [
[
"HDRConversion"
],
{
"title_aux": "ComfyUI-HDRConversion [WIP]"
}
],
"https://github.com/redhottensors/ComfyUI-ODE": [
[
"ODESamplerSelect"
@ -3361,6 +3643,15 @@
"title_aux": "ComfyUI-ODE"
}
],
"https://github.com/risunobushi/ComfyUI_FocusMask": [
[
"FocusMaskExtractor",
"FocusOutlineExtractor"
],
{
"title_aux": "ComfyUI_FocusMask"
}
],
"https://github.com/rouxianmantou/comfyui-rxmt-nodes": [
[
"CheckValueTypeNode"
@ -3398,16 +3689,13 @@
"title_aux": "comfyui-creative-nodes"
}
],
"https://github.com/sebord/ComfyUI-LMCQ": [
"https://github.com/sh570655308/ComfyUI-GigapixelAI": [
[
"LmcqImageSaver",
"LmcqImageSaverTransit",
"LmcqImageSaverWeb",
"LmcqInputValidator",
"LmcqLoadFluxNF4Checkpoint"
"GigapixelAI",
"GigapixelUpscaleSettings"
],
{
"title_aux": "ComfyUI-LMCQ [WIP]"
"title_aux": "ComfyUI-GigapixelAI [WIP]"
}
],
"https://github.com/shadowcz007/ComfyUI-PuLID-Test": [
@ -3577,6 +3865,14 @@
"title_aux": "ComfyUI-Rpg-Architect [WIP]"
}
],
"https://github.com/techzuhaib/ComfyUI-CacheImageNode": [
[
"CacheImageNode"
],
{
"title_aux": "ComfyUI-CacheImageNode"
}
],
"https://github.com/thderoo/ComfyUI-_topfun_s_nodes": [
[
"ConditioningPerturbation",
@ -3631,6 +3927,7 @@
],
"https://github.com/trashgraphicard/Albedo-Sampler-for-ComfyUI": [
[
"Make Seamless Tile",
"Sample Image"
],
{
@ -3681,6 +3978,14 @@
"title_aux": "ComfyUI-Dist [WIP]"
}
],
"https://github.com/vahidzxc/ComfyUI-My-Handy-Nodes": [
[
"VahCropImage"
],
{
"title_aux": "ComfyUI-My-Handy-Nodes"
}
],
"https://github.com/void15700/VoidCustomNodes": [
[
"Prompt Parser",
@ -3703,6 +4008,14 @@
"title_aux": "ComfyUI-Image-Utils"
}
],
"https://github.com/watarika/ComfyUI-exit": [
[
"ExitComfyUI"
],
{
"title_aux": "ComfyUI-exit [UNSAFE]"
}
],
"https://github.com/willblaschko/ComfyUI-Unload-Models": [
[
"DeleteAnyObject",
@ -3715,13 +4028,16 @@
],
"https://github.com/wilzamguerrero/Comfyui-zZzZz": [
[
"CaptureZNode",
"CompressFolderNode",
"CreateZNode",
"DeleteZNode",
"DownloadFileNode",
"InfiniteZNode",
"MoveZNode",
"RenameZNode"
"RenameZNode",
"VideoZNode",
"ZFShareScreen"
],
{
"title_aux": "Comfyui-zZzZz [UNSAFE]"
@ -3739,6 +4055,8 @@
],
"https://github.com/xiaoyumu/ComfyUI-XYNodes": [
[
"AdjustImageColor",
"AppyColorToImage",
"PrimitiveBBOX",
"StringToBBOX"
],

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,175 @@
"description": "If you see this message, your ComfyUI-Manager is outdated.\nLegacy channel provides only the list of the deprecated nodes. If you want to find the complete node list, please go to the Default channel."
},
{
"author": "jefferyharrell",
"title": "ComfyUI-JHXMP [REMOVED]",
"reference": "https://github.com/jefferyharrell/ComfyUI-JHXMP",
"files": [
"https://github.com/jefferyharrell/ComfyUI-JHXMP"
],
"install_type": "git-clone",
"description": "NODES: Save Image With XMP Metadata"
},
{
"author": "viperyl",
"title": "ComfyUI-BiRefNet [NOT MAINTAINED]",
"id": "comfyui-birefnet",
"reference": "https://github.com/viperyl/ComfyUI-BiRefNet",
"files": [
"https://github.com/viperyl/ComfyUI-BiRefNet"
],
"install_type": "git-clone",
"description": "Bilateral Reference Network achieves SOTA result in multi Salient Object Segmentation dataset, this repo pack BiRefNet as ComfyUI nodes, and make this SOTA model easier use for everyone."
},
{
"author": "asagi4",
"title": "ComfyUI prompt control (LEGACY VERSION)",
"reference": "https://github.com/asagi4/comfyui-prompt-control-legacy",
"files": [
"https://github.com/asagi4/comfyui-prompt-control-legacy"
],
"install_type": "git-clone",
"description": "WARNING: These nodes exist only to reproduce old workflows. They are unmaintained See https://github.com/asagi4/comfyui-prompt-control for the revised, current version of prompt control."
},
{
"author": "doomy23",
"title": "ComfyUI-D00MYsNodes [REMOVED]",
"reference": "https://github.com/doomy23/ComfyUI-D00MYsNodes",
"files": [
"https://github.com/doomy23/ComfyUI-D00MYsNodes"
],
"install_type": "git-clone",
"description": "Nodes: Images_Converter, Show_Text, Strings_From_List, Save_Text, Random_Images, Load_Images_From_Paths, JSPaint."
},
{
"author": "kadirnar",
"title": "comfyui_hub [REMOVED]",
"reference": "https://github.com/kadirnar/comfyui_hub",
"files": [
"https://github.com/kadirnar/comfyui_hub"
],
"install_type": "git-clone",
"description": "A collection of nodes randomly selected and gathered, related to noise. NOTE: SD-Advanced-Noise, noise_latent_perlinpinpin, comfy-plasma"
},
{
"author": "SaltAI",
"title": "SaltAI_AudioViz [REMOVED]",
"id": "saltai-audioviz",
"reference": "https://github.com/get-salt-AI/SaltAI_AudioViz",
"files": [
"https://github.com/get-salt-AI/SaltAI_AudioViz"
],
"install_type": "git-clone",
"description": "SaltAI AudioViz contains ComfyUI nodes for generating complex audio reactive visualizations"
},
{
"author": "SaltAI",
"title": "SaltAI-Open-Resources [REMOVED]",
"id": "saltai-open-resource",
"reference": "https://github.com/get-salt-AI/SaltAI",
"pip": ["numba"],
"files": [
"https://github.com/get-salt-AI/SaltAI"
],
"install_type": "git-clone",
"description": "This repository is a collection of open-source nodes and workflows for ComfyUI, a dev tool that allows users to create node-based workflows often powered by various AI models to do pretty much anything.\nOur mission is to seamlessly connect people and organizations with the worlds foremost AI innovations, anywhere, anytime. Our vision is to foster a flourishing AI ecosystem where the worlds best developers can build and share their work, thereby redefining how software is made, pushing innovation forward, and ensuring as many people as possible can benefit from the positive promise of AI technologies.\nWe believe that ComfyUI is a powerful tool that can help us achieve our mission and vision, by enabling anyone to explore the possibilities and limitations of AI models in a visual and interactive way, without coding if desired.\nWe hope that by sharing our nodes and workflows, we can inspire and empower more people to create amazing AI-powered content with ComfyUI."
},
{
"author": "SaltAI",
"title": "SaltAI_Language_Toolkit [REMOVED]",
"id": "saltai_language_toolkit",
"reference": "https://github.com/get-salt-AI/SaltAI_Language_Toolkit",
"files": [
"https://github.com/get-salt-AI/SaltAI_Language_Toolkit"
],
"install_type": "git-clone",
"description": "The project integrates the Retrieval Augmented Generation (RAG) tool [a/Llama-Index](https://www.llamaindex.ai/), [a/Microsoft's AutoGen](https://microsoft.github.io/autogen/), and [a/LlaVA-Next](https://github.com/LLaVA-VL/LLaVA-NeXT) with ComfyUI's adaptable node interface, enhancing the functionality and user experience of the platform."
},
{
"author": "zmwv823",
"title": "ComfyUI-Sana [DEPRECATED]",
"reference": "https://github.com/zmwv823/ComfyUI-Sana",
"files": [
"https://github.com/zmwv823/ComfyUI-Sana"
],
"install_type": "git-clone",
"description": "Unofficial custom-node for [a/SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformer](https://github.com/NVlabs/Sana)\n[w/A init node with lots of bugs, do not try unless interested.]"
},
{
"author": "ACE-innovate",
"title": "seg-node [REMOVED]",
"reference": "https://github.com/ACE-innovate/seg-node",
"files": [
"https://github.com/ACE-innovate/seg-node"
],
"install_type": "git-clone",
"description": "hf cloth seg custom node for comfyui\nNOTE: The files in the repo are not organized."
},
{
"author": "zefu-lu",
"title": "ComfyUI_InstantX_SD35_Large_IPAdapter [REMOVED]",
"id": "comfyui-instantx-sd3-5-large-ipadapter",
"reference": "https://github.com/zefu-lu/ComfyUI-InstantX-SD3_5-Large-IPAdapter",
"files": [
"https://github.com/zefu-lu/ComfyUI-InstantX-SD3_5-Large-IPAdapter"
],
"install_type": "git-clone",
"description": "Custom ComfyUI node for using InstantX SD3.5-Large IPAdapter"
},
{
"author": "HentaiGirlfriendDotCom",
"title": "comfyui-highlight-connections [REMOVED]",
"reference": "https://github.com/HentaiGirlfriendDotCom/comfyui-highlight-connections",
"files": [
"https://github.com/HentaiGirlfriendDotCom/comfyui-highlight-connections"
],
"install_type": "git-clone",
"description": "A node that can be dropped into a group. When a node is then clicked within that group, all nodes and connections in that group get greyed out and the connections from the clicked node go bright red."
},
{
"author": "huangyangke",
"title": "ComfyUI-Kolors-IpadapterFaceId [DEPRECATED]",
"reference": "https://github.com/huangyangke/ComfyUI-Kolors-IpadapterFaceId",
"files": [
"https://github.com/huangyangke/ComfyUI-Kolors-IpadapterFaceId"
],
"install_type": "git-clone",
"description": "NODES:kolors_ipadapter_faceid\nNOTE: The files in the repo are not organized."
},
{
"author": "zmwv823",
"title": "ComfyUI_Ctrlora [DEPRECATED]",
"reference": "https://github.com/zmwv823/ComfyUI_Ctrlora",
"files": [
"https://github.com/zmwv823/ComfyUI_Ctrlora"
],
"install_type": "git-clone",
"description": "Unofficial custom_node for [a/xyfJASON/ctrlora](https://github.com/xyfJASON/ctrlora)."
},
{
"author": "Fannovel16",
"title": "ComfyUI Loopchain [DEPRECATED]",
"id": "loopchain",
"reference": "https://github.com/Fannovel16/ComfyUI-Loopchain",
"files": [
"https://github.com/Fannovel16/ComfyUI-Loopchain"
],
"install_type": "git-clone",
"description": "A collection of nodes which can be useful for animation in ComfyUI. The main focus of this extension is implementing a mechanism called loopchain. A loopchain in this case is the chain of nodes only executed repeatly in the workflow. If a node chain contains a loop node from this extension, it will become a loop chain."
},
{
"author": "DonBaronFactory",
"title": "ComfyUI-Cre8it-Nodes [DEPRECATED]",
"reference": "https://github.com/DonBaronFactory/ComfyUI-Cre8it-Nodes",
"files": [
"https://github.com/DonBaronFactory/ComfyUI-Cre8it-Nodes"
],
"install_type": "git-clone",
"description": "Nodes:CRE8IT Serial Prompter, CRE8IT Apply Serial Prompter, CRE8IT Image Sizer. A few simple nodes to facilitate working wiht ComfyUI Workflows"
},
{
"author": "thecooltechguy",
"title": "ComfyUI-ComfyRun [DEPRECATED/UNSAFE]",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,62 @@
{
"models": [
{
"name": "stabilityai/SD3.5-Large-Controlnet-Blur",
"type": "controlnet",
"base": "SD3.5",
"save_path": "controlnet/SD3.5",
"description": "Blur Controlnet model for SD3.5 Large",
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
"filename": "sd3.5_large_controlnet_blur.safetensors",
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_blur.safetensors",
"size": "8.65GB"
},
{
"name": "stabilityai/SD3.5-Large-Controlnet-Canny",
"type": "controlnet",
"base": "SD3.5",
"save_path": "controlnet/SD3.5",
"description": "Canny Controlnet model for SD3.5 Large",
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
"filename": "sd3.5_large_controlnet_canny.safetensors",
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_canny.safetensors",
"size": "8.65GB"
},
{
"name": "stabilityai/SD3.5-Large-Controlnet-Depth",
"type": "controlnet",
"base": "SD3.5",
"save_path": "controlnet/SD3.5",
"description": "Depth Controlnet model for SD3.5 Large",
"reference": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets",
"filename": "sd3.5_large_controlnet_depth.safetensors",
"url": "https://huggingface.co/stabilityai/stable-diffusion-3.5-controlnets/resolve/main/sd3.5_large_controlnet_depth.safetensors",
"size": "8.65GB"
},
{
"name": "LTX-Video 2B v0.9 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.safetensors",
"url": "https://huggingface.co/Lightricks/LTX-Video/resolve/main/ltx-video-2b-v0.9.safetensors",
"size": "9.37GB"
},
{
"name": "InstantX/FLUX.1-dev-IP-Adapter",
"type": "IP-Adapter",
"base": "FLUX.1",
"save_path": "ipadapter-flux",
"description": "FLUX.1-dev-IP-Adapter",
"reference": "https://huggingface.co/InstantX/FLUX.1-dev-IP-Adapter",
"filename": "ip-adapter.bin",
"url": "https://huggingface.co/InstantX/FLUX.1-dev-IP-Adapter/resolve/main/ip-adapter.bin",
"size": "5.29GB"
},
{
"name": "Comfy-Org/sigclip_vision_384 (patch14_384)",
"type": "clip_vision",
@ -623,62 +680,6 @@
"filename": "flux1-dev-Q5_0.gguf",
"url": "https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q5_0.gguf",
"size": "8.27GB"
},
{
"name": "city96/flux1-dev-Q5_1.gguf",
"type": "diffusion_model",
"base": "FLUX.1",
"save_path": "diffusion_models/FLUX1",
"description": "FLUX.1 [Dev] Diffusion model (Q5_1/.gguf)",
"reference": "https://huggingface.co/city96/FLUX.1-dev-gguf",
"filename": "flux1-dev-Q5_1.gguf",
"url": "https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q5_1.gguf",
"size": "9.01GB"
},
{
"name": "city96/flux1-dev-Q5_K_S.gguf",
"type": "diffusion_model",
"base": "FLUX.1",
"save_path": "diffusion_models/FLUX1",
"description": "FLUX.1 [Dev] Diffusion model (Q5_K_S/.gguf)",
"reference": "https://huggingface.co/city96/FLUX.1-dev-gguf",
"filename": "flux1-dev-Q5_K_S.gguf",
"url": "https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q5_K_S.gguf",
"size": "8.29GB"
},
{
"name": "city96/flux1-dev-Q6_K.gguf",
"type": "diffusion_model",
"base": "FLUX.1",
"save_path": "diffusion_models/FLUX1",
"description": "FLUX.1 [Dev] Diffusion model (Q6_K/.gguf)",
"reference": "https://huggingface.co/city96/FLUX.1-dev-gguf",
"filename": "flux1-dev-Q6_K.gguf",
"url": "https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q6_K.gguf",
"size": "9.86GB"
},
{
"name": "city96/flux1-dev-Q8_0.gguf",
"type": "diffusion_model",
"base": "FLUX.1",
"save_path": "diffusion_models/FLUX1",
"description": "FLUX.1 [Dev] Diffusion model (Q8_0/.gguf)",
"reference": "https://huggingface.co/city96/FLUX.1-dev-gguf",
"filename": "flux1-dev-Q8_0.gguf",
"url": "https://huggingface.co/city96/FLUX.1-dev-gguf/resolve/main/flux1-dev-Q8_0.gguf",
"size": "12.7GB"
},
{
"name": "city96/flux1-schnell-F16.gguf",
"type": "diffusion_model",
"base": "FLUX.1",
"save_path": "diffusion_models/FLUX1",
"description": "FLUX.1 [Dev] Diffusion model (f16/.gguf)",
"reference": "https://huggingface.co/city96/FLUX.1-schnell-gguf",
"filename": "flux1-schnell-F16.gguf",
"url": "https://huggingface.co/city96/FLUX.1-schnell-gguf/resolve/main/flux1-schnell-F16.gguf",
"size": "23.8GB"
}
]
}

View File

@ -1,372 +1,373 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "aaaaaaaaaa"
},
"source": [
"Git clone the repo and install the requirements. (ignore the pip errors about protobuf)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "bbbbbbbbbb"
},
"outputs": [],
"source": [
"# #@title Environment Setup\n",
"\n",
"from pathlib import Path\n",
"\n",
"OPTIONS = {}\n",
"\n",
"USE_GOOGLE_DRIVE = True #@param {type:\"boolean\"}\n",
"UPDATE_COMFY_UI = True #@param {type:\"boolean\"}\n",
"USE_COMFYUI_MANAGER = True #@param {type:\"boolean\"}\n",
"INSTALL_CUSTOM_NODES_DEPENDENCIES = True #@param {type:\"boolean\"}\n",
"OPTIONS['USE_GOOGLE_DRIVE'] = USE_GOOGLE_DRIVE\n",
"OPTIONS['UPDATE_COMFY_UI'] = UPDATE_COMFY_UI\n",
"OPTIONS['USE_COMFYUI_MANAGER'] = USE_COMFYUI_MANAGER\n",
"OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES'] = INSTALL_CUSTOM_NODES_DEPENDENCIES\n",
"\n",
"current_dir = !pwd\n",
"WORKSPACE = f\"{current_dir[0]}/ComfyUI\"\n",
"\n",
"if OPTIONS['USE_GOOGLE_DRIVE']:\n",
" !echo \"Mounting Google Drive...\"\n",
" %cd /\n",
"\n",
" from google.colab import drive\n",
" drive.mount('/content/drive')\n",
"\n",
" WORKSPACE = \"/content/drive/MyDrive/ComfyUI\"\n",
" %cd /content/drive/MyDrive\n",
"\n",
"![ ! -d $WORKSPACE ] && echo -= Initial setup ComfyUI =- && git clone https://github.com/comfyanonymous/ComfyUI\n",
"%cd $WORKSPACE\n",
"\n",
"if OPTIONS['UPDATE_COMFY_UI']:\n",
" !echo -= Updating ComfyUI =-\n",
"\n",
" # Correction of the issue of permissions being deleted on Google Drive.\n",
" ![ -f \".ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat\n",
" ![ -f \".ci/nightly/windows_base_files/run_nvidia_gpu.bat\" ] && chmod 755 .ci/nightly/windows_base_files/run_nvidia_gpu.bat\n",
" ![ -f \".ci/update_windows/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/update_windows/update_comfyui_and_python_dependencies.bat\n",
" ![ -f \".ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat\n",
" ![ -f \".ci/update_windows/update.py\" ] && chmod 755 .ci/update_windows/update.py\n",
" ![ -f \".ci/update_windows/update_comfyui.bat\" ] && chmod 755 .ci/update_windows/update_comfyui.bat\n",
" ![ -f \".ci/update_windows/README_VERY_IMPORTANT.txt\" ] && chmod 755 .ci/update_windows/README_VERY_IMPORTANT.txt\n",
" ![ -f \".ci/update_windows/run_cpu.bat\" ] && chmod 755 .ci/update_windows/run_cpu.bat\n",
" ![ -f \".ci/update_windows/run_nvidia_gpu.bat\" ] && chmod 755 .ci/update_windows/run_nvidia_gpu.bat\n",
"\n",
" !git pull\n",
"\n",
"!echo -= Install dependencies =-\n",
"!pip3 install accelerate\n",
"!pip3 install einops transformers>=4.28.1 safetensors>=0.4.2 aiohttp pyyaml Pillow scipy tqdm psutil tokenizers>=0.13.3\n",
"!pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121\n",
"!pip3 install torchsde\n",
"!pip3 install kornia>=0.7.1 spandrel soundfile sentencepiece\n",
"\n",
"if OPTIONS['USE_COMFYUI_MANAGER']:\n",
" %cd custom_nodes\n",
"\n",
" # Correction of the issue of permissions being deleted on Google Drive.\n",
" ![ -f \"ComfyUI-Manager/check.sh\" ] && chmod 755 ComfyUI-Manager/check.sh\n",
" ![ -f \"ComfyUI-Manager/scan.sh\" ] && chmod 755 ComfyUI-Manager/scan.sh\n",
" ![ -f \"ComfyUI-Manager/node_db/dev/scan.sh\" ] && chmod 755 ComfyUI-Manager/node_db/dev/scan.sh\n",
" ![ -f \"ComfyUI-Manager/scripts/install-comfyui-venv-linux.sh\" ] && chmod 755 ComfyUI-Manager/scripts/install-comfyui-venv-linux.sh\n",
" ![ -f \"ComfyUI-Manager/scripts/install-comfyui-venv-win.bat\" ] && chmod 755 ComfyUI-Manager/scripts/install-comfyui-venv-win.bat\n",
"\n",
" ![ ! -d ComfyUI-Manager ] && echo -= Initial setup ComfyUI-Manager =- && git clone https://github.com/ltdrdata/ComfyUI-Manager\n",
" %cd ComfyUI-Manager\n",
" !git pull\n",
"\n",
"%cd $WORKSPACE\n",
"\n",
"if OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES']:\n",
" !echo -= Install custom nodes dependencies =-\n",
" !pip install GitPython\n",
" !python custom_nodes/ComfyUI-Manager/cm-cli.py restore-dependencies\n"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "cccccccccc"
},
"source": [
"Download some models/checkpoints/vae or custom comfyui nodes (uncomment the commands for the ones you want)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "dddddddddd"
},
"outputs": [],
"source": [
"# Checkpoints\n",
"\n",
"### SDXL\n",
"### I recommend these workflow examples: https://comfyanonymous.github.io/ComfyUI_examples/sdxl/\n",
"\n",
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors -P ./models/checkpoints/\n",
"\n",
"# SDXL ReVision\n",
"#!wget -c https://huggingface.co/comfyanonymous/clip_vision_g/resolve/main/clip_vision_g.safetensors -P ./models/clip_vision/\n",
"\n",
"# SD1.5\n",
"!wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/\n",
"\n",
"# SD2\n",
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.safetensors -P ./models/checkpoints/\n",
"\n",
"# Some SD1.5 anime style\n",
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1_orangemixs.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A3_orangemixs.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/anything-v3-fp16-pruned.safetensors -P ./models/checkpoints/\n",
"\n",
"# Waifu Diffusion 1.5 (anime style SD2.x 768-v)\n",
"#!wget -c https://huggingface.co/waifu-diffusion/wd-1-5-beta3/resolve/main/wd-illusion-fp16.safetensors -P ./models/checkpoints/\n",
"\n",
"\n",
"# unCLIP models\n",
"#!wget -c https://huggingface.co/comfyanonymous/illuminatiDiffusionV1_v11_unCLIP/resolve/main/illuminatiDiffusionV1_v11-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/comfyanonymous/wd-1.5-beta2_unCLIP/resolve/main/wd-1-5-beta2-aesthetic-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
"\n",
"\n",
"# VAE\n",
"!wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/\n",
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt -P ./models/vae/\n",
"#!wget -c https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt -P ./models/vae/\n",
"\n",
"\n",
"# Loras\n",
"#!wget -c https://civitai.com/api/download/models/10350 -O ./models/loras/theovercomer8sContrastFix_sd21768.safetensors #theovercomer8sContrastFix SD2.x 768-v\n",
"#!wget -c https://civitai.com/api/download/models/10638 -O ./models/loras/theovercomer8sContrastFix_sd15.safetensors #theovercomer8sContrastFix SD1.x\n",
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_offset_example-lora_1.0.safetensors -P ./models/loras/ #SDXL offset noise lora\n",
"\n",
"\n",
"# T2I-Adapter\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_depth_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_seg_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_sketch_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_keypose_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_openpose_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_color_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_canny_sd14v1.pth -P ./models/controlnet/\n",
"\n",
"# T2I Styles Model\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_style_sd14v1.pth -P ./models/style_models/\n",
"\n",
"# CLIPVision model (needed for styles model)\n",
"#!wget -c https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/pytorch_model.bin -O ./models/clip_vision/clip_vit14.bin\n",
"\n",
"\n",
"# ControlNet\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_seg_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11u_sd15_tile_fp16.safetensors -P ./models/controlnet/\n",
"\n",
"# ControlNet SDXL\n",
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-recolor-rank256.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-sketch-rank256.safetensors -P ./models/controlnet/\n",
"\n",
"# Controlnet Preprocessor nodes by Fannovel16\n",
"#!cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors; cd comfy_controlnet_preprocessors && python install.py\n",
"\n",
"\n",
"# GLIGEN\n",
"#!wget -c https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned_fp16.safetensors -P ./models/gligen/\n",
"\n",
"\n",
"# ESRGAN upscale model\n",
"#!wget -c https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ./models/upscale_models/\n",
"#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/\n",
"#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/\n",
"\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "kkkkkkkkkkkkkkk"
},
"source": [
"### Run ComfyUI with cloudflared (Recommended Way)\n",
"\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "jjjjjjjjjjjjjj"
},
"outputs": [],
"source": [
"!wget -P ~ https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb\n",
"!dpkg -i ~/cloudflared-linux-amd64.deb\n",
"\n",
"import subprocess\n",
"import threading\n",
"import time\n",
"import socket\n",
"import urllib.request\n",
"\n",
"def iframe_thread(port):\n",
" while True:\n",
" time.sleep(0.5)\n",
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
" result = sock.connect_ex(('127.0.0.1', port))\n",
" if result == 0:\n",
" break\n",
" sock.close()\n",
" print(\"\\nComfyUI finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\\n\")\n",
"\n",
" p = subprocess.Popen([\"cloudflared\", \"tunnel\", \"--url\", \"http://127.0.0.1:{}\".format(port)], stdout=subprocess.PIPE, stderr=subprocess.PIPE)\n",
" for line in p.stderr:\n",
" l = line.decode()\n",
" if \"trycloudflare.com \" in l:\n",
" print(\"This is the URL to access ComfyUI:\", l[l.find(\"http\"):], end='')\n",
" #print(l, end='')\n",
"\n",
"\n",
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
"\n",
"!python main.py --dont-print-server"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "kkkkkkkkkkkkkk"
},
"source": [
"### Run ComfyUI with localtunnel\n",
"\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "jjjjjjjjjjjjj"
},
"outputs": [],
"source": [
"!npm install -g localtunnel\n",
"\n",
"import subprocess\n",
"import threading\n",
"import time\n",
"import socket\n",
"import urllib.request\n",
"\n",
"def iframe_thread(port):\n",
" while True:\n",
" time.sleep(0.5)\n",
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
" result = sock.connect_ex(('127.0.0.1', port))\n",
" if result == 0:\n",
" break\n",
" sock.close()\n",
" print(\"\\nComfyUI finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\\n\")\n",
"\n",
" print(\"The password/enpoint ip for localtunnel is:\", urllib.request.urlopen('https://ipv4.icanhazip.com').read().decode('utf8').strip(\"\\n\"))\n",
" p = subprocess.Popen([\"lt\", \"--port\", \"{}\".format(port)], stdout=subprocess.PIPE)\n",
" for line in p.stdout:\n",
" print(line.decode(), end='')\n",
"\n",
"\n",
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
"\n",
"!python main.py --dont-print-server"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "gggggggggg"
},
"source": [
"### Run ComfyUI with colab iframe (use only in case the previous way with localtunnel doesn't work)\n",
"\n",
"You should see the ui appear in an iframe. If you get a 403 error, it's your firefox settings or an extension that's messing things up.\n",
"\n",
"If you want to open it in another window use the link.\n",
"\n",
"Note that some UI features like live image previews won't work because the colab iframe blocks websockets."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "hhhhhhhhhh"
},
"outputs": [],
"source": [
"import threading\n",
"import time\n",
"import socket\n",
"def iframe_thread(port):\n",
" while True:\n",
" time.sleep(0.5)\n",
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
" result = sock.connect_ex(('127.0.0.1', port))\n",
" if result == 0:\n",
" break\n",
" sock.close()\n",
" from google.colab import output\n",
" output.serve_kernel_port_as_iframe(port, height=1024)\n",
" print(\"to open it in a window you can open this link here:\")\n",
" output.serve_kernel_port_as_window(port)\n",
"\n",
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
"\n",
"!python main.py --dont-print-server"
]
}
],
"metadata": {
"accelerator": "GPU",
"colab": {
"provenance": []
},
"gpuClass": "standard",
"kernelspec": {
"display_name": "Python 3",
"name": "python3"
},
"language_info": {
"name": "python"
}
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "aaaaaaaaaa"
},
"source": [
"Git clone the repo and install the requirements. (ignore the pip errors about protobuf)"
]
},
"nbformat": 4,
"nbformat_minor": 0
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "bbbbbbbbbb"
},
"outputs": [],
"source": [
"# #@title Environment Setup\n",
"\n",
"from pathlib import Path\n",
"\n",
"OPTIONS = {}\n",
"\n",
"USE_GOOGLE_DRIVE = True #@param {type:\"boolean\"}\n",
"UPDATE_COMFY_UI = True #@param {type:\"boolean\"}\n",
"USE_COMFYUI_MANAGER = True #@param {type:\"boolean\"}\n",
"INSTALL_CUSTOM_NODES_DEPENDENCIES = True #@param {type:\"boolean\"}\n",
"OPTIONS['USE_GOOGLE_DRIVE'] = USE_GOOGLE_DRIVE\n",
"OPTIONS['UPDATE_COMFY_UI'] = UPDATE_COMFY_UI\n",
"OPTIONS['USE_COMFYUI_MANAGER'] = USE_COMFYUI_MANAGER\n",
"OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES'] = INSTALL_CUSTOM_NODES_DEPENDENCIES\n",
"\n",
"current_dir = !pwd\n",
"WORKSPACE = f\"{current_dir[0]}/ComfyUI\"\n",
"\n",
"if OPTIONS['USE_GOOGLE_DRIVE']:\n",
" !echo \"Mounting Google Drive...\"\n",
" %cd /\n",
"\n",
" from google.colab import drive\n",
" drive.mount('/content/drive')\n",
"\n",
" WORKSPACE = \"/content/drive/MyDrive/ComfyUI\"\n",
" %cd /content/drive/MyDrive\n",
"\n",
"![ ! -d $WORKSPACE ] && echo -= Initial setup ComfyUI =- && git clone https://github.com/comfyanonymous/ComfyUI\n",
"%cd $WORKSPACE\n",
"\n",
"if OPTIONS['UPDATE_COMFY_UI']:\n",
" !echo -= Updating ComfyUI =-\n",
"\n",
" # Correction of the issue of permissions being deleted on Google Drive.\n",
" ![ -f \".ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/nightly/update_windows/update_comfyui_and_python_dependencies.bat\n",
" ![ -f \".ci/nightly/windows_base_files/run_nvidia_gpu.bat\" ] && chmod 755 .ci/nightly/windows_base_files/run_nvidia_gpu.bat\n",
" ![ -f \".ci/update_windows/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/update_windows/update_comfyui_and_python_dependencies.bat\n",
" ![ -f \".ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat\" ] && chmod 755 .ci/update_windows_cu118/update_comfyui_and_python_dependencies.bat\n",
" ![ -f \".ci/update_windows/update.py\" ] && chmod 755 .ci/update_windows/update.py\n",
" ![ -f \".ci/update_windows/update_comfyui.bat\" ] && chmod 755 .ci/update_windows/update_comfyui.bat\n",
" ![ -f \".ci/update_windows/README_VERY_IMPORTANT.txt\" ] && chmod 755 .ci/update_windows/README_VERY_IMPORTANT.txt\n",
" ![ -f \".ci/update_windows/run_cpu.bat\" ] && chmod 755 .ci/update_windows/run_cpu.bat\n",
" ![ -f \".ci/update_windows/run_nvidia_gpu.bat\" ] && chmod 755 .ci/update_windows/run_nvidia_gpu.bat\n",
"\n",
" !git pull\n",
"\n",
"!echo -= Install dependencies =-\n",
"!pip3 install accelerate\n",
"!pip3 install einops transformers>=4.28.1 safetensors>=0.4.2 aiohttp pyyaml Pillow scipy tqdm psutil tokenizers>=0.13.3\n",
"!pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121\n",
"!pip3 install torchsde\n",
"!pip3 install kornia>=0.7.1 spandrel soundfile sentencepiece\n",
"\n",
"if OPTIONS['USE_COMFYUI_MANAGER']:\n",
" %cd custom_nodes\n",
"\n",
" # Correction of the issue of permissions being deleted on Google Drive.\n",
" ![ -f \"ComfyUI-Manager/check.sh\" ] && chmod 755 ComfyUI-Manager/check.sh\n",
" ![ -f \"ComfyUI-Manager/scan.sh\" ] && chmod 755 ComfyUI-Manager/scan.sh\n",
" ![ -f \"ComfyUI-Manager/node_db/dev/scan.sh\" ] && chmod 755 ComfyUI-Manager/node_db/dev/scan.sh\n",
" ![ -f \"ComfyUI-Manager/node_db/tutorial/scan.sh\" ] && chmod 755 ComfyUI-Manager/node_db/tutorial/scan.sh\n",
" ![ -f \"ComfyUI-Manager/scripts/install-comfyui-venv-linux.sh\" ] && chmod 755 ComfyUI-Manager/scripts/install-comfyui-venv-linux.sh\n",
" ![ -f \"ComfyUI-Manager/scripts/install-comfyui-venv-win.bat\" ] && chmod 755 ComfyUI-Manager/scripts/install-comfyui-venv-win.bat\n",
"\n",
" ![ ! -d ComfyUI-Manager ] && echo -= Initial setup ComfyUI-Manager =- && git clone https://github.com/ltdrdata/ComfyUI-Manager\n",
" %cd ComfyUI-Manager\n",
" !git pull\n",
"\n",
"%cd $WORKSPACE\n",
"\n",
"if OPTIONS['INSTALL_CUSTOM_NODES_DEPENDENCIES']:\n",
" !echo -= Install custom nodes dependencies =-\n",
" !pip install GitPython\n",
" !python custom_nodes/ComfyUI-Manager/cm-cli.py restore-dependencies\n"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "cccccccccc"
},
"source": [
"Download some models/checkpoints/vae or custom comfyui nodes (uncomment the commands for the ones you want)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "dddddddddd"
},
"outputs": [],
"source": [
"# Checkpoints\n",
"\n",
"### SDXL\n",
"### I recommend these workflow examples: https://comfyanonymous.github.io/ComfyUI_examples/sdxl/\n",
"\n",
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors -P ./models/checkpoints/\n",
"\n",
"# SDXL ReVision\n",
"#!wget -c https://huggingface.co/comfyanonymous/clip_vision_g/resolve/main/clip_vision_g.safetensors -P ./models/clip_vision/\n",
"\n",
"# SD1.5\n",
"!wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/\n",
"\n",
"# SD2\n",
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.safetensors -P ./models/checkpoints/\n",
"\n",
"# Some SD1.5 anime style\n",
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1_orangemixs.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A3_orangemixs.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/anything-v3-fp16-pruned.safetensors -P ./models/checkpoints/\n",
"\n",
"# Waifu Diffusion 1.5 (anime style SD2.x 768-v)\n",
"#!wget -c https://huggingface.co/waifu-diffusion/wd-1-5-beta3/resolve/main/wd-illusion-fp16.safetensors -P ./models/checkpoints/\n",
"\n",
"\n",
"# unCLIP models\n",
"#!wget -c https://huggingface.co/comfyanonymous/illuminatiDiffusionV1_v11_unCLIP/resolve/main/illuminatiDiffusionV1_v11-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
"#!wget -c https://huggingface.co/comfyanonymous/wd-1.5-beta2_unCLIP/resolve/main/wd-1-5-beta2-aesthetic-unclip-h-fp16.safetensors -P ./models/checkpoints/\n",
"\n",
"\n",
"# VAE\n",
"!wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/\n",
"#!wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt -P ./models/vae/\n",
"#!wget -c https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt -P ./models/vae/\n",
"\n",
"\n",
"# Loras\n",
"#!wget -c https://civitai.com/api/download/models/10350 -O ./models/loras/theovercomer8sContrastFix_sd21768.safetensors #theovercomer8sContrastFix SD2.x 768-v\n",
"#!wget -c https://civitai.com/api/download/models/10638 -O ./models/loras/theovercomer8sContrastFix_sd15.safetensors #theovercomer8sContrastFix SD1.x\n",
"#!wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_offset_example-lora_1.0.safetensors -P ./models/loras/ #SDXL offset noise lora\n",
"\n",
"\n",
"# T2I-Adapter\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_depth_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_seg_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_sketch_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_keypose_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_openpose_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_color_sd14v1.pth -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_canny_sd14v1.pth -P ./models/controlnet/\n",
"\n",
"# T2I Styles Model\n",
"#!wget -c https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_style_sd14v1.pth -P ./models/style_models/\n",
"\n",
"# CLIPVision model (needed for styles model)\n",
"#!wget -c https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/pytorch_model.bin -O ./models/clip_vision/clip_vit14.bin\n",
"\n",
"\n",
"# ControlNet\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_seg_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11u_sd15_tile_fp16.safetensors -P ./models/controlnet/\n",
"\n",
"# ControlNet SDXL\n",
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-recolor-rank256.safetensors -P ./models/controlnet/\n",
"#!wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-sketch-rank256.safetensors -P ./models/controlnet/\n",
"\n",
"# Controlnet Preprocessor nodes by Fannovel16\n",
"#!cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors; cd comfy_controlnet_preprocessors && python install.py\n",
"\n",
"\n",
"# GLIGEN\n",
"#!wget -c https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned_fp16.safetensors -P ./models/gligen/\n",
"\n",
"\n",
"# ESRGAN upscale model\n",
"#!wget -c https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ./models/upscale_models/\n",
"#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/\n",
"#!wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/\n",
"\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "kkkkkkkkkkkkkkk"
},
"source": [
"### Run ComfyUI with cloudflared (Recommended Way)\n",
"\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "jjjjjjjjjjjjjj"
},
"outputs": [],
"source": [
"!wget -P ~ https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb\n",
"!dpkg -i ~/cloudflared-linux-amd64.deb\n",
"\n",
"import subprocess\n",
"import threading\n",
"import time\n",
"import socket\n",
"import urllib.request\n",
"\n",
"def iframe_thread(port):\n",
" while True:\n",
" time.sleep(0.5)\n",
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
" result = sock.connect_ex(('127.0.0.1', port))\n",
" if result == 0:\n",
" break\n",
" sock.close()\n",
" print(\"\\nComfyUI finished loading, trying to launch cloudflared (if it gets stuck here cloudflared is having issues)\\n\")\n",
"\n",
" p = subprocess.Popen([\"cloudflared\", \"tunnel\", \"--url\", \"http://127.0.0.1:{}\".format(port)], stdout=subprocess.PIPE, stderr=subprocess.PIPE)\n",
" for line in p.stderr:\n",
" l = line.decode()\n",
" if \"trycloudflare.com \" in l:\n",
" print(\"This is the URL to access ComfyUI:\", l[l.find(\"http\"):], end='')\n",
" #print(l, end='')\n",
"\n",
"\n",
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
"\n",
"!python main.py --dont-print-server"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "kkkkkkkkkkkkkk"
},
"source": [
"### Run ComfyUI with localtunnel\n",
"\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "jjjjjjjjjjjjj"
},
"outputs": [],
"source": [
"!npm install -g localtunnel\n",
"\n",
"import subprocess\n",
"import threading\n",
"import time\n",
"import socket\n",
"import urllib.request\n",
"\n",
"def iframe_thread(port):\n",
" while True:\n",
" time.sleep(0.5)\n",
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
" result = sock.connect_ex(('127.0.0.1', port))\n",
" if result == 0:\n",
" break\n",
" sock.close()\n",
" print(\"\\nComfyUI finished loading, trying to launch localtunnel (if it gets stuck here localtunnel is having issues)\\n\")\n",
"\n",
" print(\"The password/enpoint ip for localtunnel is:\", urllib.request.urlopen('https://ipv4.icanhazip.com').read().decode('utf8').strip(\"\\n\"))\n",
" p = subprocess.Popen([\"lt\", \"--port\", \"{}\".format(port)], stdout=subprocess.PIPE)\n",
" for line in p.stdout:\n",
" print(line.decode(), end='')\n",
"\n",
"\n",
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
"\n",
"!python main.py --dont-print-server"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "gggggggggg"
},
"source": [
"### Run ComfyUI with colab iframe (use only in case the previous way with localtunnel doesn't work)\n",
"\n",
"You should see the ui appear in an iframe. If you get a 403 error, it's your firefox settings or an extension that's messing things up.\n",
"\n",
"If you want to open it in another window use the link.\n",
"\n",
"Note that some UI features like live image previews won't work because the colab iframe blocks websockets."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "hhhhhhhhhh"
},
"outputs": [],
"source": [
"import threading\n",
"import time\n",
"import socket\n",
"def iframe_thread(port):\n",
" while True:\n",
" time.sleep(0.5)\n",
" sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n",
" result = sock.connect_ex(('127.0.0.1', port))\n",
" if result == 0:\n",
" break\n",
" sock.close()\n",
" from google.colab import output\n",
" output.serve_kernel_port_as_iframe(port, height=1024)\n",
" print(\"to open it in a window you can open this link here:\")\n",
" output.serve_kernel_port_as_window(port)\n",
"\n",
"threading.Thread(target=iframe_thread, daemon=True, args=(8188,)).start()\n",
"\n",
"!python main.py --dont-print-server"
]
}
],
"metadata": {
"accelerator": "GPU",
"colab": {
"provenance": []
},
"gpuClass": "standard",
"kernelspec": {
"display_name": "Python 3",
"name": "python3"
},
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 0
}

View File

@ -84,6 +84,7 @@ if os.path.exists(pip_overrides_path):
with open(pip_overrides_path, 'r', encoding="UTF-8", errors="ignore") as json_file:
cm_global.pip_overrides = json.load(json_file)
cm_global.pip_overrides['numpy'] = 'numpy<2'
cm_global.pip_overrides['ultralytics'] = 'ultralytics==8.3.40' # for security
def remap_pip_package(pkg):
@ -385,30 +386,7 @@ check_bypass_ssl()
# Perform install
processed_install = set()
script_list_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "startup-scripts", "install-scripts.txt")
pip_map = None
def get_installed_packages():
global pip_map
if pip_map is None:
try:
result = subprocess.check_output([sys.executable, '-m', 'pip', 'list'], universal_newlines=True)
pip_map = {}
for line in result.split('\n'):
x = line.strip()
if x:
y = line.split()
if y[0] == 'Package' or y[0].startswith('-'):
continue
pip_map[y[0]] = y[1]
except subprocess.CalledProcessError as e:
print(f"[ComfyUI-Manager] Failed to retrieve the information of installed pip packages.")
return set()
return pip_map
pip_fixer = PIPFixer(get_installed_packages())
def is_installed(name):
@ -644,8 +622,11 @@ if os.path.exists(script_list_path):
print("\n[ComfyUI-Manager] Startup script completed.")
print("#######################################################################\n")
pip_fixer.fix_broken()
del processed_install
del pip_map
del pip_fixer
clear_pip_cache()
def check_windows_event_loop_policy():

View File

@ -245,7 +245,10 @@ def get_py_urls_from_json(json_file):
def clone_or_pull_git_repository(git_url):
repo_name = git_url.split("/")[-1].split(".")[0]
repo_name = git_url.split("/")[-1]
if repo_name.endswith(".git"):
repo_name = repo_name[:-4]
repo_dir = os.path.join(temp_dir, repo_name)
if os.path.exists(repo_dir):