Compare commits
36 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87a652d038 | ||
|
|
d889df4c89 | ||
|
|
a2e72d26aa | ||
|
|
a4fdc874e7 | ||
|
|
dfbe382d60 | ||
|
|
0d56ebb1bf | ||
|
|
9e66da174e | ||
|
|
55fcb00168 | ||
|
|
68aa534e1d | ||
|
|
7fd94a401b | ||
|
|
2b9cec50ce | ||
|
|
d1a80cf082 | ||
|
|
fb445aa510 | ||
|
|
4b904934ef | ||
|
|
d6295a00e6 | ||
|
|
3b01673829 | ||
|
|
a5e83a807f | ||
|
|
ddd766ce58 | ||
|
|
a6d2fd36fb | ||
|
|
9156d6bdba | ||
|
|
d18a3ffeff | ||
|
|
e933eaa2b0 | ||
|
|
5393653ddc | ||
|
|
1f3274d3f5 | ||
|
|
39eaa76b8a | ||
|
|
e5396713ce | ||
|
|
79943de808 | ||
|
|
e05f329602 | ||
|
|
eed0e8ebea | ||
|
|
731eb4fcbe | ||
|
|
44a63e4b6d | ||
|
|
7651e5e48b | ||
|
|
2449636d32 | ||
|
|
f9990ca8eb | ||
|
|
c3eed981c0 | ||
|
|
bbb54d4a08 |
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
@@ -7,15 +7,19 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- "pyproject.toml"
|
- "pyproject.toml"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-node:
|
publish-node:
|
||||||
name: Publish Custom Node to registry
|
name: Publish Custom Node to registry
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.repository_owner == 'ltdrdata' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Publish Custom Node
|
- name: Publish Custom Node
|
||||||
uses: Comfy-Org/publish-node-action@main
|
uses: Comfy-Org/publish-node-action@v1
|
||||||
with:
|
with:
|
||||||
## Add your own personal access token to your Github Repository secrets and reference it here.
|
## Add your own personal access token to your Github Repository secrets and reference it here.
|
||||||
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||||
|
|||||||
@@ -314,9 +314,6 @@ The following settings are applied based on the section marked as `is_default`.
|
|||||||
* Use `aria2` as downloader
|
* Use `aria2` as downloader
|
||||||
* [howto](docs/en/use_aria2.md)
|
* [howto](docs/en/use_aria2.md)
|
||||||
|
|
||||||
* If you add the item `skip_migration_check = True` to `config.ini`, it will not check whether there are nodes that can be migrated at startup.
|
|
||||||
* This option can be used if performance issues occur in a Colab+GDrive environment.
|
|
||||||
|
|
||||||
|
|
||||||
## Environment Variables
|
## Environment Variables
|
||||||
|
|
||||||
|
|||||||
14
cm-cli.py
14
cm-cli.py
@@ -1271,20 +1271,6 @@ def export_custom_node_ids(
|
|||||||
print(f"{x['id']}@unknown", file=output_file)
|
print(f"{x['id']}@unknown", file=output_file)
|
||||||
|
|
||||||
|
|
||||||
@app.command(
|
|
||||||
"migrate",
|
|
||||||
help="Migrate legacy node system to new node system",
|
|
||||||
)
|
|
||||||
def migrate(
|
|
||||||
user_directory: str = typer.Option(
|
|
||||||
None,
|
|
||||||
help="user directory"
|
|
||||||
)
|
|
||||||
):
|
|
||||||
cmd_ctx.set_user_directory(user_directory)
|
|
||||||
asyncio.run(unified_manager.migrate_unmanaged_nodes())
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||||
sys.exit(app())
|
sys.exit(app())
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
6750
github-stats.json
6750
github-stats.json
File diff suppressed because it is too large
Load Diff
@@ -43,7 +43,7 @@ import manager_downloader
|
|||||||
from node_package import InstalledNodePackage
|
from node_package import InstalledNodePackage
|
||||||
|
|
||||||
|
|
||||||
version_code = [3, 30, 7]
|
version_code = [3, 31, 8]
|
||||||
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
|
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
|
||||||
|
|
||||||
|
|
||||||
@@ -256,7 +256,7 @@ comfy_ui_revision = "Unknown"
|
|||||||
comfy_ui_commit_datetime = datetime(1900, 1, 1, 0, 0, 0)
|
comfy_ui_commit_datetime = datetime(1900, 1, 1, 0, 0, 0)
|
||||||
|
|
||||||
channel_dict = None
|
channel_dict = None
|
||||||
valid_channels = set()
|
valid_channels = {'default', 'local'}
|
||||||
channel_list = None
|
channel_list = None
|
||||||
|
|
||||||
|
|
||||||
@@ -768,6 +768,9 @@ class UnifiedManager:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
async def load_nightly(channel, mode):
|
async def load_nightly(channel, mode):
|
||||||
|
if channel is None:
|
||||||
|
return {}
|
||||||
|
|
||||||
res = {}
|
res = {}
|
||||||
|
|
||||||
channel_url = normalize_channel(channel)
|
channel_url = normalize_channel(channel)
|
||||||
@@ -798,8 +801,9 @@ class UnifiedManager:
|
|||||||
return res
|
return res
|
||||||
|
|
||||||
async def get_custom_nodes(self, channel, mode):
|
async def get_custom_nodes(self, channel, mode):
|
||||||
# default_channel = normalize_channel('default')
|
if channel is None and mode is None:
|
||||||
# cache = self.custom_node_map_cache.get((default_channel, mode)) # CNR/nightly should always be based on the default channel.
|
channel = 'default'
|
||||||
|
mode = 'cache'
|
||||||
|
|
||||||
channel = normalize_channel(channel)
|
channel = normalize_channel(channel)
|
||||||
cache = self.custom_node_map_cache.get((channel, mode)) # CNR/nightly should always be based on the default channel.
|
cache = self.custom_node_map_cache.get((channel, mode)) # CNR/nightly should always be based on the default channel.
|
||||||
@@ -808,7 +812,6 @@ class UnifiedManager:
|
|||||||
return cache
|
return cache
|
||||||
|
|
||||||
channel = normalize_channel(channel)
|
channel = normalize_channel(channel)
|
||||||
print(f"nightly_channel: {channel}/{mode}")
|
|
||||||
nodes = await self.load_nightly(channel, mode)
|
nodes = await self.load_nightly(channel, mode)
|
||||||
|
|
||||||
res = {}
|
res = {}
|
||||||
@@ -889,14 +892,6 @@ class UnifiedManager:
|
|||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def reserve_migration(self, moves):
|
|
||||||
script_path = os.path.join(manager_startup_script_path, "install-scripts.txt")
|
|
||||||
with open(script_path, "a") as file:
|
|
||||||
obj = ["", "#LAZY-MIGRATION", moves]
|
|
||||||
file.write(f"{obj}\n")
|
|
||||||
|
|
||||||
return True
|
|
||||||
|
|
||||||
def unified_fix(self, node_id, version_spec, instant_execution=False, no_deps=False):
|
def unified_fix(self, node_id, version_spec, instant_execution=False, no_deps=False):
|
||||||
"""
|
"""
|
||||||
fix dependencies
|
fix dependencies
|
||||||
@@ -1630,7 +1625,6 @@ def write_config():
|
|||||||
'model_download_by_agent': get_config()['model_download_by_agent'],
|
'model_download_by_agent': get_config()['model_download_by_agent'],
|
||||||
'downgrade_blacklist': get_config()['downgrade_blacklist'],
|
'downgrade_blacklist': get_config()['downgrade_blacklist'],
|
||||||
'security_level': get_config()['security_level'],
|
'security_level': get_config()['security_level'],
|
||||||
'skip_migration_check': get_config()['skip_migration_check'],
|
|
||||||
'always_lazy_install': get_config()['always_lazy_install'],
|
'always_lazy_install': get_config()['always_lazy_install'],
|
||||||
'network_mode': get_config()['network_mode'],
|
'network_mode': get_config()['network_mode'],
|
||||||
'db_mode': get_config()['db_mode'],
|
'db_mode': get_config()['db_mode'],
|
||||||
@@ -1669,7 +1663,6 @@ def read_config():
|
|||||||
'windows_selector_event_loop_policy': get_bool('windows_selector_event_loop_policy', False),
|
'windows_selector_event_loop_policy': get_bool('windows_selector_event_loop_policy', False),
|
||||||
'model_download_by_agent': get_bool('model_download_by_agent', False),
|
'model_download_by_agent': get_bool('model_download_by_agent', False),
|
||||||
'downgrade_blacklist': default_conf.get('downgrade_blacklist', '').lower(),
|
'downgrade_blacklist': default_conf.get('downgrade_blacklist', '').lower(),
|
||||||
'skip_migration_check': get_bool('skip_migration_check', False),
|
|
||||||
'always_lazy_install': get_bool('always_lazy_install', False),
|
'always_lazy_install': get_bool('always_lazy_install', False),
|
||||||
'network_mode': default_conf.get('network_mode', 'public').lower(),
|
'network_mode': default_conf.get('network_mode', 'public').lower(),
|
||||||
'security_level': default_conf.get('security_level', 'normal').lower(),
|
'security_level': default_conf.get('security_level', 'normal').lower(),
|
||||||
@@ -1693,7 +1686,6 @@ def read_config():
|
|||||||
'windows_selector_event_loop_policy': False,
|
'windows_selector_event_loop_policy': False,
|
||||||
'model_download_by_agent': False,
|
'model_download_by_agent': False,
|
||||||
'downgrade_blacklist': '',
|
'downgrade_blacklist': '',
|
||||||
'skip_migration_check': False,
|
|
||||||
'always_lazy_install': False,
|
'always_lazy_install': False,
|
||||||
'network_mode': 'public', # public | private | offline
|
'network_mode': 'public', # public | private | offline
|
||||||
'security_level': 'normal', # strong | normal | normal- | weak
|
'security_level': 'normal', # strong | normal | normal- | weak
|
||||||
@@ -2098,7 +2090,7 @@ async def gitclone_install(url, instant_execution=False, msg_prefix='', no_deps=
|
|||||||
cnr = unified_manager.get_cnr_by_repo(url)
|
cnr = unified_manager.get_cnr_by_repo(url)
|
||||||
if cnr:
|
if cnr:
|
||||||
cnr_id = cnr['id']
|
cnr_id = cnr['id']
|
||||||
return await unified_manager.install_by_id(cnr_id, version_spec='nightly')
|
return await unified_manager.install_by_id(cnr_id, version_spec='nightly', channel='default', mode='cache')
|
||||||
else:
|
else:
|
||||||
repo_name = os.path.splitext(os.path.basename(url))[0]
|
repo_name = os.path.splitext(os.path.basename(url))[0]
|
||||||
|
|
||||||
@@ -3026,6 +3018,9 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
|
|||||||
enabled_repos = []
|
enabled_repos = []
|
||||||
disabled_repos = []
|
disabled_repos = []
|
||||||
skip_node_packs = []
|
skip_node_packs = []
|
||||||
|
switched_node_packs = []
|
||||||
|
installed_node_packs = []
|
||||||
|
failed = []
|
||||||
|
|
||||||
await unified_manager.reload('cache')
|
await unified_manager.reload('cache')
|
||||||
await unified_manager.get_custom_nodes('default', 'cache')
|
await unified_manager.get_custom_nodes('default', 'cache')
|
||||||
@@ -3071,8 +3066,13 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
|
|||||||
disabled_repos.append(x)
|
disabled_repos.append(x)
|
||||||
|
|
||||||
for x in todo_checkout:
|
for x in todo_checkout:
|
||||||
unified_manager.cnr_switch_version(x[0], x[1], instant_execution=True, no_deps=True, return_postinstall=False)
|
ps = unified_manager.cnr_switch_version(x[0], x[1], instant_execution=True, no_deps=True, return_postinstall=False)
|
||||||
checkout_repos.append(x[1])
|
if ps.action == 'switch-cnr' and ps.result:
|
||||||
|
switched_node_packs.append(f"{x[0]}@{x[1]}")
|
||||||
|
elif ps.action == 'skip':
|
||||||
|
skip_node_packs.append(f"{x[0]}@{x[1]}")
|
||||||
|
elif not ps.result:
|
||||||
|
failed.append(f"{x[0]}@{x[1]}")
|
||||||
|
|
||||||
# install listed cnr nodes
|
# install listed cnr nodes
|
||||||
for k, v in cnr_info.items():
|
for k, v in cnr_info.items():
|
||||||
@@ -3080,7 +3080,9 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
ps = await unified_manager.install_by_id(k, version_spec=v, instant_execution=True, return_postinstall=True)
|
ps = await unified_manager.install_by_id(k, version_spec=v, instant_execution=True, return_postinstall=True)
|
||||||
cloned_repos.append(k)
|
if ps.action == 'install-cnr' and ps.result:
|
||||||
|
installed_node_packs.append(f"{k}@{v}")
|
||||||
|
|
||||||
if ps is not None and ps.result:
|
if ps is not None and ps.result:
|
||||||
if hasattr(ps, 'postinstall'):
|
if hasattr(ps, 'postinstall'):
|
||||||
postinstalls.append(ps.postinstall)
|
postinstalls.append(ps.postinstall)
|
||||||
@@ -3138,40 +3140,41 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
|
|||||||
disabled_repos.append(x)
|
disabled_repos.append(x)
|
||||||
|
|
||||||
for x in todo_enable:
|
for x in todo_enable:
|
||||||
res = unified_manager.unified_enable(x, 'nightly')
|
res = unified_manager.unified_enable(x[0], 'nightly')
|
||||||
|
|
||||||
is_switched = False
|
is_switched = False
|
||||||
if res and res.target:
|
if res and res.target:
|
||||||
is_switched = repo_switch_commit(res.target, x[1])
|
is_switched = repo_switch_commit(res.target, x[1])
|
||||||
|
|
||||||
if is_switched:
|
if is_switched:
|
||||||
checkout_repos.append(x)
|
checkout_repos.append(f"{x[0]}@{x[1]}")
|
||||||
else:
|
else:
|
||||||
enabled_repos.append(x)
|
enabled_repos.append(x[0])
|
||||||
|
|
||||||
for x in todo_checkout:
|
for x in todo_checkout:
|
||||||
is_switched = repo_switch_commit(x[0], x[1])
|
is_switched = repo_switch_commit(x[0], x[1])
|
||||||
|
|
||||||
if is_switched:
|
if is_switched:
|
||||||
checkout_repos.append(x)
|
checkout_repos.append(f"{x[0]}@{x[1]}")
|
||||||
else:
|
|
||||||
skip_node_packs.append(x[0])
|
|
||||||
|
|
||||||
for x in git_info.keys():
|
for x in git_info.keys():
|
||||||
normalized_url = git_utils.normalize_url(x)
|
normalized_url = git_utils.normalize_url(x)
|
||||||
cnr = unified_manager.repo_cnr_map.get(normalized_url)
|
cnr = unified_manager.repo_cnr_map.get(normalized_url)
|
||||||
if cnr is not None:
|
if cnr is not None:
|
||||||
pack_id = cnr['id']
|
pack_id = cnr['id']
|
||||||
await unified_manager.install_by_id(pack_id, 'nightly', instant_execution=True, no_deps=False, return_postinstall=False)
|
res = await unified_manager.install_by_id(pack_id, 'nightly', instant_execution=True, no_deps=False, return_postinstall=False)
|
||||||
cloned_repos.append(pack_id)
|
if res.action == 'install-git' and res.result:
|
||||||
|
cloned_repos.append(pack_id)
|
||||||
|
elif res.action == 'skip':
|
||||||
|
skip_node_packs.append(pack_id)
|
||||||
|
elif not res.result:
|
||||||
|
failed.append(pack_id)
|
||||||
processed_urls.append(x)
|
processed_urls.append(x)
|
||||||
|
|
||||||
for x in processed_urls:
|
for x in processed_urls:
|
||||||
if x in git_info:
|
if x in git_info:
|
||||||
del git_info[x]
|
del git_info[x]
|
||||||
|
|
||||||
# remained nightly will be installed and migrated
|
|
||||||
|
|
||||||
# for unknown restore
|
# for unknown restore
|
||||||
todo_disable = []
|
todo_disable = []
|
||||||
todo_enable = []
|
todo_enable = []
|
||||||
@@ -3218,15 +3221,15 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
|
|||||||
is_switched = repo_switch_commit(res.target, x[1])
|
is_switched = repo_switch_commit(res.target, x[1])
|
||||||
|
|
||||||
if is_switched:
|
if is_switched:
|
||||||
checkout_repos.append(x)
|
checkout_repos.append(f"{x[0]}@{x[1]}")
|
||||||
else:
|
else:
|
||||||
enabled_repos.append(x)
|
enabled_repos.append(x[0])
|
||||||
|
|
||||||
for x in todo_checkout:
|
for x in todo_checkout:
|
||||||
is_switched = repo_switch_commit(x[0], x[1])
|
is_switched = repo_switch_commit(x[0], x[1])
|
||||||
|
|
||||||
if is_switched:
|
if is_switched:
|
||||||
checkout_repos.append(x)
|
checkout_repos.append(f"{x[0]}@{x[1]}")
|
||||||
else:
|
else:
|
||||||
skip_node_packs.append(x[0])
|
skip_node_packs.append(x[0])
|
||||||
|
|
||||||
@@ -3243,53 +3246,28 @@ async def restore_snapshot(snapshot_path, git_helper_extras=None):
|
|||||||
unified_manager.repo_install(repo_url, to_path, instant_execution=True, no_deps=False, return_postinstall=False)
|
unified_manager.repo_install(repo_url, to_path, instant_execution=True, no_deps=False, return_postinstall=False)
|
||||||
cloned_repos.append(repo_name)
|
cloned_repos.append(repo_name)
|
||||||
|
|
||||||
# reload
|
|
||||||
await unified_manager.migrate_unmanaged_nodes()
|
|
||||||
|
|
||||||
# print summary
|
# print summary
|
||||||
for x in cloned_repos:
|
for x in cloned_repos:
|
||||||
print(f"[ INSTALLED ] {x}")
|
print(f"[ INSTALLED ] {x}")
|
||||||
|
for x in installed_node_packs:
|
||||||
|
print(f"[ INSTALLED ] {x}")
|
||||||
for x in checkout_repos:
|
for x in checkout_repos:
|
||||||
print(f"[ CHECKOUT ] {x}")
|
print(f"[ CHECKOUT ] {x}")
|
||||||
|
for x in switched_node_packs:
|
||||||
|
print(f"[ SWITCHED ] {x}")
|
||||||
for x in enabled_repos:
|
for x in enabled_repos:
|
||||||
print(f"[ ENABLED ] {x}")
|
print(f"[ ENABLED ] {x}")
|
||||||
for x in disabled_repos:
|
for x in disabled_repos:
|
||||||
print(f"[ DISABLED ] {x}")
|
print(f"[ DISABLED ] {x}")
|
||||||
for x in skip_node_packs:
|
for x in skip_node_packs:
|
||||||
print(f"[ SKIPPED ] {x}")
|
print(f"[ SKIPPED ] {x}")
|
||||||
|
for x in failed:
|
||||||
|
print(f"[ FAILED ] {x}")
|
||||||
|
|
||||||
# if is_failed:
|
# if is_failed:
|
||||||
# print("[bold red]ERROR: Failed to restore snapshot.[/bold red]")
|
# print("[bold red]ERROR: Failed to restore snapshot.[/bold red]")
|
||||||
|
|
||||||
|
|
||||||
# check need to migrate
|
|
||||||
need_to_migrate = False
|
|
||||||
|
|
||||||
|
|
||||||
async def check_need_to_migrate():
|
|
||||||
global need_to_migrate
|
|
||||||
|
|
||||||
await unified_manager.reload('cache')
|
|
||||||
await unified_manager.load_nightly(channel='default', mode='cache')
|
|
||||||
|
|
||||||
legacy_custom_nodes = []
|
|
||||||
|
|
||||||
for x in unified_manager.active_nodes.values():
|
|
||||||
if x[0] == 'nightly' and not x[1].endswith('@nightly'):
|
|
||||||
legacy_custom_nodes.append(x[1])
|
|
||||||
|
|
||||||
for x in unified_manager.nightly_inactive_nodes.values():
|
|
||||||
if not x.endswith('@nightly'):
|
|
||||||
legacy_custom_nodes.append(x)
|
|
||||||
|
|
||||||
if len(legacy_custom_nodes) > 0:
|
|
||||||
print("\n--------------------- ComfyUI-Manager migration notice --------------------")
|
|
||||||
print("The following custom nodes were installed using the old management method and require migration:\n")
|
|
||||||
print("\n".join(legacy_custom_nodes))
|
|
||||||
print("---------------------------------------------------------------------------\n")
|
|
||||||
need_to_migrate = True
|
|
||||||
|
|
||||||
|
|
||||||
def get_comfyui_versions(repo=None):
|
def get_comfyui_versions(repo=None):
|
||||||
if repo is None:
|
if repo is None:
|
||||||
repo = git.Repo(comfy_path)
|
repo = git.Repo(comfy_path)
|
||||||
|
|||||||
@@ -279,8 +279,17 @@ def get_model_dir(data, show_log=False):
|
|||||||
else:
|
else:
|
||||||
models_base = folder_paths.models_dir
|
models_base = folder_paths.models_dir
|
||||||
|
|
||||||
|
# NOTE: Validate to prevent path traversal.
|
||||||
|
if any(char in data['filename'] for char in {'/', '\\', ':'}):
|
||||||
|
return None
|
||||||
|
|
||||||
def resolve_custom_node(save_path):
|
def resolve_custom_node(save_path):
|
||||||
save_path = save_path[13:] # remove 'custom_nodes/'
|
save_path = save_path[13:] # remove 'custom_nodes/'
|
||||||
|
|
||||||
|
# NOTE: Validate to prevent path traversal.
|
||||||
|
if save_path.startswith(os.path.sep) or ':' in save_path:
|
||||||
|
return None
|
||||||
|
|
||||||
repo_name = save_path.replace('\\','/').split('/')[0] # get custom node repo name
|
repo_name = save_path.replace('\\','/').split('/')[0] # get custom node repo name
|
||||||
|
|
||||||
# NOTE: The creation of files within the custom node path should be removed in the future.
|
# NOTE: The creation of files within the custom node path should be removed in the future.
|
||||||
@@ -1412,6 +1421,12 @@ async def disable_node(request):
|
|||||||
async def check_whitelist_for_model(item):
|
async def check_whitelist_for_model(item):
|
||||||
json_obj = await core.get_data_by_mode('cache', 'model-list.json')
|
json_obj = await core.get_data_by_mode('cache', 'model-list.json')
|
||||||
|
|
||||||
|
for x in json_obj.get('models', []):
|
||||||
|
if x['save_path'] == item['save_path'] and x['base'] == item['base'] and x['filename'] == item['filename']:
|
||||||
|
return True
|
||||||
|
|
||||||
|
json_obj = await core.get_data_by_mode('local', 'model-list.json')
|
||||||
|
|
||||||
for x in json_obj.get('models', []):
|
for x in json_obj.get('models', []):
|
||||||
if x['save_path'] == item['save_path'] and x['base'] == item['base'] and x['filename'] == item['filename']:
|
if x['save_path'] == item['save_path'] and x['base'] == item['base'] and x['filename'] == item['filename']:
|
||||||
return True
|
return True
|
||||||
@@ -1739,11 +1754,6 @@ async def default_cache_update():
|
|||||||
|
|
||||||
logging.info("[ComfyUI-Manager] All startup tasks have been completed.")
|
logging.info("[ComfyUI-Manager] All startup tasks have been completed.")
|
||||||
|
|
||||||
# NOTE: hide migration button temporarily.
|
|
||||||
# if not core.get_config()['skip_migration_check']:
|
|
||||||
# await core.check_need_to_migrate()
|
|
||||||
# else:
|
|
||||||
# logging.info("[ComfyUI-Manager] Migration check is skipped...")
|
|
||||||
|
|
||||||
threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()
|
threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()
|
||||||
|
|
||||||
|
|||||||
@@ -35,11 +35,17 @@ def add_python_path_to_env():
|
|||||||
|
|
||||||
|
|
||||||
def make_pip_cmd(cmd):
|
def make_pip_cmd(cmd):
|
||||||
if use_uv:
|
if 'python_embeded' in sys.executable:
|
||||||
return [sys.executable, '-m', 'uv', 'pip'] + cmd
|
if use_uv:
|
||||||
|
return [sys.executable, '-s', '-m', 'uv', 'pip'] + cmd
|
||||||
|
else:
|
||||||
|
return [sys.executable, '-s', '-m', 'pip'] + cmd
|
||||||
else:
|
else:
|
||||||
return [sys.executable, '-m', 'pip'] + cmd
|
# FIXED: https://github.com/ltdrdata/ComfyUI-Manager/issues/1667
|
||||||
|
if use_uv:
|
||||||
|
return [sys.executable, '-m', 'uv', 'pip'] + cmd
|
||||||
|
else:
|
||||||
|
return [sys.executable, '-m', 'pip'] + cmd
|
||||||
|
|
||||||
# DON'T USE StrictVersion - cannot handle pre_release version
|
# DON'T USE StrictVersion - cannot handle pre_release version
|
||||||
# try:
|
# try:
|
||||||
@@ -439,10 +445,12 @@ class PIPFixer:
|
|||||||
lines = file.readlines()
|
lines = file.readlines()
|
||||||
|
|
||||||
front_line = next((line.strip() for line in lines if line.startswith('comfyui-frontend-package')), None)
|
front_line = next((line.strip() for line in lines if line.startswith('comfyui-frontend-package')), None)
|
||||||
cmd = make_pip_cmd(['install', front_line])
|
if front_line is None:
|
||||||
subprocess.check_output(cmd , universal_newlines=True)
|
logging.info("[ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.")
|
||||||
|
else:
|
||||||
logging.info("[ComfyUI-Manager] 'comfyui-frontend-package' dependency were fixed")
|
cmd = make_pip_cmd(['install', front_line])
|
||||||
|
subprocess.check_output(cmd , universal_newlines=True)
|
||||||
|
logging.info("[ComfyUI-Manager] 'comfyui-frontend-package' dependency were fixed")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error("[ComfyUI-Manager] Failed to restore comfyui-frontend-package")
|
logging.error("[ComfyUI-Manager] Failed to restore comfyui-frontend-package")
|
||||||
logging.error(e)
|
logging.error(e)
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import {
|
|||||||
import { OpenArtShareDialog } from "./comfyui-share-openart.js";
|
import { OpenArtShareDialog } from "./comfyui-share-openart.js";
|
||||||
import {
|
import {
|
||||||
free_models, install_pip, install_via_git_url, manager_instance,
|
free_models, install_pip, install_via_git_url, manager_instance,
|
||||||
rebootAPI, migrateAPI, setManagerInstance, show_message, customAlert, customPrompt,
|
rebootAPI, setManagerInstance, show_message, customAlert, customPrompt,
|
||||||
infoToast, showTerminal, setNeedRestart
|
infoToast, showTerminal, setNeedRestart
|
||||||
} from "./common.js";
|
} from "./common.js";
|
||||||
import { ComponentBuilderDialog, getPureName, load_components, set_component_policy } from "./components-manager.js";
|
import { ComponentBuilderDialog, getPureName, load_components, set_component_policy } from "./components-manager.js";
|
||||||
@@ -946,28 +946,6 @@ class ManagerMenuDialog extends ComfyDialog {
|
|||||||
restart_stop_button,
|
restart_stop_button,
|
||||||
];
|
];
|
||||||
|
|
||||||
let migration_btn =
|
|
||||||
$el("button.cm-button-orange", {
|
|
||||||
type: "button",
|
|
||||||
textContent: "Migrate to New Node System",
|
|
||||||
onclick: () => migrateAPI()
|
|
||||||
});
|
|
||||||
|
|
||||||
migration_btn.style.display = 'none';
|
|
||||||
|
|
||||||
res.push(migration_btn);
|
|
||||||
|
|
||||||
api.fetchApi('/manager/need_to_migrate')
|
|
||||||
.then(response => response.text())
|
|
||||||
.then(text => {
|
|
||||||
if (text === 'True') {
|
|
||||||
migration_btn.style.display = 'block';
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.catch(error => {
|
|
||||||
console.error('Error checking migration status:', error);
|
|
||||||
});
|
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
187
js/common.js
187
js/common.js
@@ -1,6 +1,7 @@
|
|||||||
import { app } from "../../scripts/app.js";
|
import { app } from "../../scripts/app.js";
|
||||||
import { api } from "../../scripts/api.js";
|
import { api } from "../../scripts/api.js";
|
||||||
import { $el, ComfyDialog } from "../../scripts/ui.js";
|
import { $el, ComfyDialog } from "../../scripts/ui.js";
|
||||||
|
import { getBestPosition, getPositionStyle, getRect } from './popover-helper.js';
|
||||||
|
|
||||||
|
|
||||||
function internalCustomConfirm(message, confirmMessage, cancelMessage) {
|
function internalCustomConfirm(message, confirmMessage, cancelMessage) {
|
||||||
@@ -181,23 +182,6 @@ export function rebootAPI() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export async function migrateAPI() {
|
|
||||||
let confirmed = await customConfirm("When performing a migration, existing installed custom nodes will be renamed and the server will be restarted. Are you sure you want to apply this?\n\n(If you don't perform the migration, ComfyUI-Manager's start-up time will be longer each time due to re-checking during startup.)")
|
|
||||||
if (confirmed) {
|
|
||||||
try {
|
|
||||||
await api.fetchApi("/manager/migrate_unmanaged_nodes");
|
|
||||||
api.fetchApi("/manager/reboot");
|
|
||||||
}
|
|
||||||
catch(exception) {
|
|
||||||
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
export var manager_instance = null;
|
export var manager_instance = null;
|
||||||
|
|
||||||
export function setManagerInstance(obj) {
|
export function setManagerInstance(obj) {
|
||||||
@@ -404,12 +388,14 @@ export async function fetchData(route, options) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://cenfun.github.io/open-icons/
|
||||||
export const icons = {
|
export const icons = {
|
||||||
search: '<svg viewBox="0 0 24 24" width="100%" height="100%" pointer-events="none" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m21 21-4.486-4.494M19 10.5a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0"/></svg>',
|
search: '<svg viewBox="0 0 24 24" width="100%" height="100%" pointer-events="none" xmlns="http://www.w3.org/2000/svg"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m21 21-4.486-4.494M19 10.5a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0"/></svg>',
|
||||||
extensions: '<svg viewBox="64 64 896 896" width="100%" height="100%" pointer-events="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4S189.7 168 180.5 243.8s40 146.3 114.2 163.9 149.9-23.3 175.7-95.1c9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6M329.1 345.2a83.3 83.3 0 1 1 .01-166.61 83.3 83.3 0 0 1-.01 166.61M695.6 845a83.3 83.3 0 1 1 .01-166.61A83.3 83.3 0 0 1 695.6 845"/></svg>',
|
|
||||||
conflicts: '<svg viewBox="0 0 400 400" width="100%" height="100%" pointer-events="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="m397.2 350.4.2-.2-180-320-.2.2C213.8 24.2 207.4 20 200 20s-13.8 4.2-17.2 10.4l-.2-.2-180 320 .2.2c-1.6 2.8-2.8 6-2.8 9.6 0 11 9 20 20 20h360c11 0 20-9 20-20 0-3.6-1.2-6.8-2.8-9.6M220 340h-40v-40h40zm0-60h-40V120h40z"/></svg>',
|
conflicts: '<svg viewBox="0 0 400 400" width="100%" height="100%" pointer-events="none" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="m397.2 350.4.2-.2-180-320-.2.2C213.8 24.2 207.4 20 200 20s-13.8 4.2-17.2 10.4l-.2-.2-180 320 .2.2c-1.6 2.8-2.8 6-2.8 9.6 0 11 9 20 20 20h360c11 0 20-9 20-20 0-3.6-1.2-6.8-2.8-9.6M220 340h-40v-40h40zm0-60h-40V120h40z"/></svg>',
|
||||||
passed: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 426.667 426.667"><path fill="#6AC259" d="M213.333,0C95.518,0,0,95.514,0,213.333s95.518,213.333,213.333,213.333c117.828,0,213.333-95.514,213.333-213.333S331.157,0,213.333,0z M174.199,322.918l-93.935-93.931l31.309-31.309l62.626,62.622l140.894-140.898l31.309,31.309L174.199,322.918z"/></svg>',
|
passed: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 426.667 426.667"><path fill="#6AC259" d="M213.333,0C95.518,0,0,95.514,0,213.333s95.518,213.333,213.333,213.333c117.828,0,213.333-95.514,213.333-213.333S331.157,0,213.333,0z M174.199,322.918l-93.935-93.931l31.309-31.309l62.626,62.622l140.894-140.898l31.309,31.309L174.199,322.918z"/></svg>',
|
||||||
download: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" width="100%" height="100%" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg>'
|
download: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" width="100%" height="100%" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg>',
|
||||||
|
close: '<svg xmlns="http://www.w3.org/2000/svg" pointer-events="none" width="100%" height="100%" viewBox="0 0 16 16"><g fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="m7.116 8-4.558 4.558.884.884L8 8.884l4.558 4.558.884-.884L8.884 8l4.558-4.558-.884-.884L8 7.116 3.442 2.558l-.884.884L7.116 8z"/></g></svg>',
|
||||||
|
arrowRight: '<svg xmlns="http://www.w3.org/2000/svg" pointer-events="none" width="100%" height="100%" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="m2.542 2.154 7.254 7.26c.136.14.204.302.204.483a.73.73 0 0 1-.204.5l-7.575 7.398c-.383.317-.724.317-1.022 0-.299-.317-.299-.643 0-.98l7.08-6.918-6.754-6.763c-.237-.343-.215-.654.066-.935.281-.28.598-.295.951-.045Zm9 0 7.254 7.26c.136.14.204.302.204.483a.73.73 0 0 1-.204.5l-7.575 7.398c-.383.317-.724.317-1.022 0-.299-.317-.299-.643 0-.98l7.08-6.918-6.754-6.763c-.237-.343-.215-.654.066-.935.281-.28.598-.295.951-.045Z"/></svg>'
|
||||||
}
|
}
|
||||||
|
|
||||||
export function sanitizeHTML(str) {
|
export function sanitizeHTML(str) {
|
||||||
@@ -503,3 +489,166 @@ export function restoreColumnWidth(gridId, columns) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function getTimeAgo(dateStr) {
|
||||||
|
const date = new Date(dateStr);
|
||||||
|
|
||||||
|
if (!date || !(date instanceof Date) || isNaN(date.getTime())) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
const units = [
|
||||||
|
{ max: 2760000, value: 60000, name: 'minute', past: 'a minute ago', future: 'in a minute' },
|
||||||
|
{ max: 72000000, value: 3600000, name: 'hour', past: 'an hour ago', future: 'in an hour' },
|
||||||
|
{ max: 518400000, value: 86400000, name: 'day', past: 'yesterday', future: 'tomorrow' },
|
||||||
|
{ max: 2419200000, value: 604800000, name: 'week', past: 'last week', future: 'in a week' },
|
||||||
|
{ max: 28512000000, value: 2592000000, name: 'month', past: 'last month', future: 'in a month' }
|
||||||
|
];
|
||||||
|
const diff = Date.now() - date.getTime();
|
||||||
|
// less than a minute
|
||||||
|
if (Math.abs(diff) < 60000)
|
||||||
|
return 'just now';
|
||||||
|
for (let i = 0; i < units.length; i++) {
|
||||||
|
if (Math.abs(diff) < units[i].max) {
|
||||||
|
return format(diff, units[i].value, units[i].name, units[i].past, units[i].future, diff < 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function format(diff, divisor, unit, past, future, isInTheFuture) {
|
||||||
|
const val = Math.round(Math.abs(diff) / divisor);
|
||||||
|
if (isInTheFuture)
|
||||||
|
return val <= 1 ? future : 'in ' + val + ' ' + unit + 's';
|
||||||
|
return val <= 1 ? past : val + ' ' + unit + 's ago';
|
||||||
|
}
|
||||||
|
return format(diff, 31536000000, 'year', 'last year', 'in a year', diff < 0);
|
||||||
|
};
|
||||||
|
|
||||||
|
export const loadCss = (cssFile) => {
|
||||||
|
const cssPath = import.meta.resolve(cssFile);
|
||||||
|
//console.log(cssPath);
|
||||||
|
const $link = document.createElement("link");
|
||||||
|
$link.setAttribute("rel", 'stylesheet');
|
||||||
|
$link.setAttribute("href", cssPath);
|
||||||
|
document.head.appendChild($link);
|
||||||
|
};
|
||||||
|
|
||||||
|
export const copyText = (text) => {
|
||||||
|
return new Promise((resolve) => {
|
||||||
|
let err;
|
||||||
|
try {
|
||||||
|
navigator.clipboard.writeText(text);
|
||||||
|
} catch (e) {
|
||||||
|
err = e;
|
||||||
|
}
|
||||||
|
if (err) {
|
||||||
|
resolve(false);
|
||||||
|
} else {
|
||||||
|
resolve(true);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
function renderPopover($elem, target, options = {}) {
|
||||||
|
// async microtask
|
||||||
|
queueMicrotask(() => {
|
||||||
|
|
||||||
|
const containerRect = getRect(window);
|
||||||
|
const targetRect = getRect(target);
|
||||||
|
const elemRect = getRect($elem);
|
||||||
|
|
||||||
|
const positionInfo = getBestPosition(
|
||||||
|
containerRect,
|
||||||
|
targetRect,
|
||||||
|
elemRect,
|
||||||
|
options.positions
|
||||||
|
);
|
||||||
|
const style = getPositionStyle(positionInfo, {
|
||||||
|
bgColor: options.bgColor,
|
||||||
|
borderColor: options.borderColor,
|
||||||
|
borderRadius: options.borderRadius
|
||||||
|
});
|
||||||
|
|
||||||
|
$elem.style.top = positionInfo.top + "px";
|
||||||
|
$elem.style.left = positionInfo.left + "px";
|
||||||
|
$elem.style.background = style.background;
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
let $popover;
|
||||||
|
export function hidePopover() {
|
||||||
|
if ($popover) {
|
||||||
|
$popover.remove();
|
||||||
|
$popover = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export function showPopover(target, text, className, options) {
|
||||||
|
hidePopover();
|
||||||
|
$popover = document.createElement("div");
|
||||||
|
$popover.className = ['cn-popover', className].filter(it => it).join(" ");
|
||||||
|
document.body.appendChild($popover);
|
||||||
|
$popover.innerHTML = text;
|
||||||
|
$popover.style.display = "block";
|
||||||
|
renderPopover($popover, target, {
|
||||||
|
borderRadius: 10,
|
||||||
|
... options
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
let $tooltip;
|
||||||
|
export function hideTooltip(target) {
|
||||||
|
if ($tooltip) {
|
||||||
|
$tooltip.style.display = "none";
|
||||||
|
$tooltip.innerHTML = "";
|
||||||
|
$tooltip.style.top = "0px";
|
||||||
|
$tooltip.style.left = "0px";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export function showTooltip(target, text, className = 'cn-tooltip', styleMap = {}) {
|
||||||
|
if (!$tooltip) {
|
||||||
|
$tooltip = document.createElement("div");
|
||||||
|
$tooltip.className = className;
|
||||||
|
$tooltip.style.cssText = `
|
||||||
|
pointer-events: none;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 10001;
|
||||||
|
padding: 20px;
|
||||||
|
color: #1e1e1e;
|
||||||
|
max-width: 350px;
|
||||||
|
filter: drop-shadow(1px 5px 5px rgb(0 0 0 / 30%));
|
||||||
|
${Object.keys(styleMap).map(k=>k+":"+styleMap[k]+";").join("")}
|
||||||
|
`;
|
||||||
|
document.body.appendChild($tooltip);
|
||||||
|
}
|
||||||
|
|
||||||
|
$tooltip.innerHTML = text;
|
||||||
|
$tooltip.style.display = "block";
|
||||||
|
renderPopover($tooltip, target, {
|
||||||
|
positions: ['top', 'bottom', 'right', 'center'],
|
||||||
|
bgColor: "#ffffff",
|
||||||
|
borderColor: "#cccccc",
|
||||||
|
borderRadius: 5
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function initTooltip () {
|
||||||
|
const mouseenterHandler = (e) => {
|
||||||
|
const target = e.target;
|
||||||
|
const text = target.getAttribute('tooltip');
|
||||||
|
if (text) {
|
||||||
|
showTooltip(target, text);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const mouseleaveHandler = (e) => {
|
||||||
|
const target = e.target;
|
||||||
|
const text = target.getAttribute('tooltip');
|
||||||
|
if (text) {
|
||||||
|
hideTooltip(target);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
document.body.removeEventListener('mouseenter', mouseenterHandler, true);
|
||||||
|
document.body.removeEventListener('mouseleave', mouseleaveHandler, true);
|
||||||
|
document.body.addEventListener('mouseenter', mouseenterHandler, true);
|
||||||
|
document.body.addEventListener('mouseleave', mouseleaveHandler, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
initTooltip();
|
||||||
699
js/custom-nodes-manager.css
Normal file
699
js/custom-nodes-manager.css
Normal file
@@ -0,0 +1,699 @@
|
|||||||
|
.cn-manager {
|
||||||
|
--grid-font: -apple-system, BlinkMacSystemFont, "Segue UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
||||||
|
z-index: 1099;
|
||||||
|
width: 80%;
|
||||||
|
height: 80%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 10px;
|
||||||
|
color: var(--fg-color);
|
||||||
|
font-family: arial, sans-serif;
|
||||||
|
text-underline-offset: 3px;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-flex-auto {
|
||||||
|
flex: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager button {
|
||||||
|
font-size: 16px;
|
||||||
|
color: var(--input-text);
|
||||||
|
background-color: var(--comfy-input-bg);
|
||||||
|
border-radius: 8px;
|
||||||
|
border-color: var(--border-color);
|
||||||
|
border-style: solid;
|
||||||
|
margin: 0;
|
||||||
|
padding: 4px 8px;
|
||||||
|
min-width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager button:disabled,
|
||||||
|
.cn-manager input:disabled,
|
||||||
|
.cn-manager select:disabled {
|
||||||
|
color: gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager button:disabled {
|
||||||
|
background-color: var(--comfy-input-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-manager-restart {
|
||||||
|
display: none;
|
||||||
|
background-color: #500000;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-manager-stop {
|
||||||
|
display: none;
|
||||||
|
background-color: #500000;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-manager-back {
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arrow-icon {
|
||||||
|
height: 1em;
|
||||||
|
width: 1em;
|
||||||
|
margin-right: 5px;
|
||||||
|
transform: translateY(2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-icon {
|
||||||
|
display: block;
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-icon svg {
|
||||||
|
display: block;
|
||||||
|
margin: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-header {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 5px;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-header label {
|
||||||
|
display: flex;
|
||||||
|
gap: 5px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-filter {
|
||||||
|
height: 28px;
|
||||||
|
line-height: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-keywords {
|
||||||
|
height: 28px;
|
||||||
|
line-height: 28px;
|
||||||
|
padding: 0 5px 0 26px;
|
||||||
|
background-size: 16px;
|
||||||
|
background-position: 5px center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20pointer-events%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23888%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m21%2021-4.486-4.494M19%2010.5a8.5%208.5%200%201%201-17%200%208.5%208.5%200%200%201%2017%200%22%2F%3E%3C%2Fsvg%3E");
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-status {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-grid {
|
||||||
|
flex: auto;
|
||||||
|
border: 1px solid var(--border-color);
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-selection {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 10px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-message {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-footer {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 10px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-grid .tg-turbogrid {
|
||||||
|
font-family: var(--grid-font);
|
||||||
|
font-size: 15px;
|
||||||
|
background: var(--bg-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-grid .tg-turbogrid .tg-highlight::after {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
background-color: #80bdff11;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-grid .cn-pack-name a {
|
||||||
|
color: skyblue;
|
||||||
|
text-decoration: none;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-grid .cn-pack-desc a {
|
||||||
|
color: #5555FF;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-grid .tg-cell a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-grid .cn-pack-version {
|
||||||
|
line-height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
height: 100%;
|
||||||
|
gap: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-grid .cn-pack-nodes {
|
||||||
|
line-height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 5px;
|
||||||
|
cursor: pointer;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-grid .cn-pack-nodes:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-grid .cn-pack-conflicts {
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-popover {
|
||||||
|
position: fixed;
|
||||||
|
z-index: 10000;
|
||||||
|
padding: 20px;
|
||||||
|
color: #1e1e1e;
|
||||||
|
filter: drop-shadow(1px 5px 5px rgb(0 0 0 / 30%));
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-flyover {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 1000;
|
||||||
|
display: none;
|
||||||
|
width: 50%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: var(--comfy-menu-bg);
|
||||||
|
animation-duration: 0.2s;
|
||||||
|
animation-fill-mode: both;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-flyover::before {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
content: "";
|
||||||
|
z-index: 10;
|
||||||
|
display: block;
|
||||||
|
width: 10px;
|
||||||
|
height: 100%;
|
||||||
|
pointer-events: none;
|
||||||
|
left: -10px;
|
||||||
|
background-image: linear-gradient(to left, rgb(0 0 0 / 20%), rgb(0 0 0 / 0%));
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-flyover-header {
|
||||||
|
height: 45px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 5px;
|
||||||
|
border-bottom: 1px solid var(--border-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-flyover-close {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 10px;
|
||||||
|
justify-content: center;
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 0.8;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-flyover-close:hover {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-flyover-close svg {
|
||||||
|
display: block;
|
||||||
|
margin: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-flyover-title {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-weight: bold;
|
||||||
|
gap: 10px;
|
||||||
|
flex: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-flyover-body {
|
||||||
|
height: calc(100% - 45px);
|
||||||
|
overflow-y: auto;
|
||||||
|
position: relative;
|
||||||
|
background-color: var(--comfy-menu-secondary-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes cn-slide-in-right {
|
||||||
|
from {
|
||||||
|
visibility: visible;
|
||||||
|
transform: translate3d(100%, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-slide-in-right {
|
||||||
|
animation-name: cn-slide-in-right;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes cn-slide-out-right {
|
||||||
|
from {
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
visibility: hidden;
|
||||||
|
transform: translate3d(100%, 0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-slide-out-right {
|
||||||
|
animation-name: cn-slide-out-right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-list {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-row {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-row:nth-child(odd) {
|
||||||
|
background-color: rgb(0 0 0 / 5%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-row:hover {
|
||||||
|
background-color: rgb(0 0 0 / 10%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-sn {
|
||||||
|
text-align: right;
|
||||||
|
min-width: 35px;
|
||||||
|
color: var(--drag-text);
|
||||||
|
flex-shrink: 0;
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 8px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-name {
|
||||||
|
cursor: pointer;
|
||||||
|
white-space: nowrap;
|
||||||
|
flex-shrink: 0;
|
||||||
|
position: relative;
|
||||||
|
padding: 8px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-name::after {
|
||||||
|
content: attr(action);
|
||||||
|
position: absolute;
|
||||||
|
pointer-events: none;
|
||||||
|
top: 50%;
|
||||||
|
left: 100%;
|
||||||
|
transform: translate(5px, -50%);
|
||||||
|
font-size: 12px;
|
||||||
|
color: var(--drag-text);
|
||||||
|
background-color: var(--comfy-input-bg);
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid var(--border-color);
|
||||||
|
padding: 3px 8px;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-name.action::after {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-name:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-conflict .cn-nodes-name,
|
||||||
|
.cn-nodes-conflict .cn-icon {
|
||||||
|
color: orange;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-conflicts-list {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 5px;
|
||||||
|
align-items: center;
|
||||||
|
padding: 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-conflicts-list b {
|
||||||
|
font-weight: normal;
|
||||||
|
color: var(--descrip-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-pack {
|
||||||
|
cursor: pointer;
|
||||||
|
color: skyblue;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-nodes-pack:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-pack-badge {
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: normal;
|
||||||
|
background-color: var(--comfy-input-bg);
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 1px solid var(--border-color);
|
||||||
|
padding: 3px 8px;
|
||||||
|
color: var(--error-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview {
|
||||||
|
min-width: 300px;
|
||||||
|
max-width: 500px;
|
||||||
|
min-height: 120px;
|
||||||
|
overflow: hidden;
|
||||||
|
font-size: 12px;
|
||||||
|
pointer-events: none;
|
||||||
|
padding: 12px;
|
||||||
|
color: var(--fg-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-header {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
align-items: center;
|
||||||
|
border-bottom: 1px solid var(--comfy-input-bg);
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-dot {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: grey;
|
||||||
|
position: relative;
|
||||||
|
filter: drop-shadow(1px 2px 3px rgb(0 0 0 / 30%));
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-dot.cn-preview-optional::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
pointer-events: none;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
background-color: var(--comfy-input-bg);
|
||||||
|
border-radius: 50%;
|
||||||
|
width: 3px;
|
||||||
|
height: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-dot.cn-preview-grid {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-dot.cn-preview-grid::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
border-left: 1px solid var(--comfy-input-bg);
|
||||||
|
border-right: 1px solid var(--comfy-input-bg);
|
||||||
|
width: 4px;
|
||||||
|
height: 100%;
|
||||||
|
left: 2px;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-dot.cn-preview-grid::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
border-top: 1px solid var(--comfy-input-bg);
|
||||||
|
border-bottom: 1px solid var(--comfy-input-bg);
|
||||||
|
width: 100%;
|
||||||
|
height: 4px;
|
||||||
|
left: 0;
|
||||||
|
top: 2px;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-name {
|
||||||
|
flex: auto;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-io {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 10px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-column > div {
|
||||||
|
display: flex;
|
||||||
|
gap: 10px;
|
||||||
|
align-items: center;
|
||||||
|
height: 18px;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-input {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-output {
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 3px;
|
||||||
|
padding: 0 10px 10px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-switch {
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
background: var(--bg-color);
|
||||||
|
border: 2px solid var(--border-color);
|
||||||
|
border-radius: 10px;
|
||||||
|
text-wrap: nowrap;
|
||||||
|
padding: 2px 20px;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-switch::before,
|
||||||
|
.cn-preview-switch::after {
|
||||||
|
position: absolute;
|
||||||
|
pointer-events: none;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(0, -50%);
|
||||||
|
color: var(--fg-color);
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-switch::before {
|
||||||
|
content: "◀";
|
||||||
|
left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-switch::after {
|
||||||
|
content: "▶";
|
||||||
|
right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-value {
|
||||||
|
color: var(--descrip-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-string {
|
||||||
|
min-height: 30px;
|
||||||
|
max-height: 300px;
|
||||||
|
background: var(--bg-color);
|
||||||
|
color: var(--descrip-text);
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 3px 5px;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-preview-description {
|
||||||
|
margin: 0px 10px 10px 10px;
|
||||||
|
padding: 6px;
|
||||||
|
background: var(--border-color);
|
||||||
|
color: var(--descrip-text);
|
||||||
|
border-radius: 5px;
|
||||||
|
font-style: italic;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-tag-list {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 5px;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-tag-list > div {
|
||||||
|
background-color: var(--border-color);
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-install-buttons {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 3px;
|
||||||
|
padding: 3px;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-selected-buttons {
|
||||||
|
display: flex;
|
||||||
|
gap: 5px;
|
||||||
|
align-items: center;
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-enable {
|
||||||
|
background-color: #333399;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-disable {
|
||||||
|
background-color: #442277;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-update {
|
||||||
|
background-color: #1155AA;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-try-update {
|
||||||
|
background-color: Gray;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-try-fix {
|
||||||
|
background-color: #6495ED;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-import-failed {
|
||||||
|
background-color: #AA1111;
|
||||||
|
font-size: 10px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-install {
|
||||||
|
background-color: black;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-try-install {
|
||||||
|
background-color: Gray;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-uninstall {
|
||||||
|
background-color: #993333;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-reinstall {
|
||||||
|
background-color: #993333;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager .cn-btn-switch {
|
||||||
|
background-color: #448833;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes cn-btn-loading-bg {
|
||||||
|
0% {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
left: -105px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager button.cn-btn-loading {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
border-color: rgb(0 119 207 / 80%);
|
||||||
|
background-color: var(--comfy-input-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager button.cn-btn-loading::after {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
content: "";
|
||||||
|
width: 500px;
|
||||||
|
height: 100%;
|
||||||
|
background-image: repeating-linear-gradient(
|
||||||
|
-45deg,
|
||||||
|
rgb(0 119 207 / 30%),
|
||||||
|
rgb(0 119 207 / 30%) 10px,
|
||||||
|
transparent 10px,
|
||||||
|
transparent 15px
|
||||||
|
);
|
||||||
|
animation: cn-btn-loading-bg 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-light .cn-pack-name a {
|
||||||
|
color: blue;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-light .cm-warn-note {
|
||||||
|
background-color: #ccc !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-manager-light .cn-btn-install {
|
||||||
|
background-color: #333;
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
213
js/model-manager.css
Normal file
213
js/model-manager.css
Normal file
@@ -0,0 +1,213 @@
|
|||||||
|
.cmm-manager {
|
||||||
|
--grid-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
||||||
|
z-index: 1099;
|
||||||
|
width: 80%;
|
||||||
|
height: 80%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 10px;
|
||||||
|
color: var(--fg-color);
|
||||||
|
font-family: arial, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager .cmm-flex-auto {
|
||||||
|
flex: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager button {
|
||||||
|
font-size: 16px;
|
||||||
|
color: var(--input-text);
|
||||||
|
background-color: var(--comfy-input-bg);
|
||||||
|
border-radius: 8px;
|
||||||
|
border-color: var(--border-color);
|
||||||
|
border-style: solid;
|
||||||
|
margin: 0;
|
||||||
|
padding: 4px 8px;
|
||||||
|
min-width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager button:disabled,
|
||||||
|
.cmm-manager input:disabled,
|
||||||
|
.cmm-manager select:disabled {
|
||||||
|
color: gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager button:disabled {
|
||||||
|
background-color: var(--comfy-input-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager .cmm-manager-refresh {
|
||||||
|
display: none;
|
||||||
|
background-color: #000080;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager .cmm-manager-stop {
|
||||||
|
display: none;
|
||||||
|
background-color: #500000;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-header {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 5px;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-header label {
|
||||||
|
display: flex;
|
||||||
|
gap: 5px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-type,
|
||||||
|
.cmm-manager-base,
|
||||||
|
.cmm-manager-filter {
|
||||||
|
height: 28px;
|
||||||
|
line-height: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-keywords {
|
||||||
|
height: 28px;
|
||||||
|
line-height: 28px;
|
||||||
|
padding: 0 5px 0 26px;
|
||||||
|
background-size: 16px;
|
||||||
|
background-position: 5px center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20width%3D%22100%25%22%20height%3D%22100%25%22%20pointer-events%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23888%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22m21%2021-4.486-4.494M19%2010.5a8.5%208.5%200%201%201-17%200%208.5%208.5%200%200%201%2017%200%22%2F%3E%3C%2Fsvg%3E");
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-status {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-grid {
|
||||||
|
flex: auto;
|
||||||
|
border: 1px solid var(--border-color);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-selection {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 10px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-footer {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 10px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-grid .tg-turbogrid {
|
||||||
|
font-family: var(--grid-font);
|
||||||
|
font-size: 15px;
|
||||||
|
background: var(--bg-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-grid .cmm-node-name a {
|
||||||
|
color: skyblue;
|
||||||
|
text-decoration: none;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-grid .cmm-node-desc a {
|
||||||
|
color: #5555FF;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-grid .tg-cell a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-icon-passed {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
position: absolute;
|
||||||
|
left: calc(50% - 10px);
|
||||||
|
top: calc(50% - 10px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager .cmm-btn-enable {
|
||||||
|
background-color: blue;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager .cmm-btn-disable {
|
||||||
|
background-color: MediumSlateBlue;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager .cmm-btn-install {
|
||||||
|
background-color: black;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-btn-download {
|
||||||
|
width: 18px;
|
||||||
|
height: 18px;
|
||||||
|
position: absolute;
|
||||||
|
left: calc(50% - 10px);
|
||||||
|
top: calc(50% - 10px);
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 0.8;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-btn-download:hover {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-light .cmm-btn-download {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes cmm-btn-loading-bg {
|
||||||
|
0% {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
left: -105px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager button.cmm-btn-loading {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
border-color: rgb(0 119 207 / 80%);
|
||||||
|
background-color: var(--comfy-input-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager button.cmm-btn-loading::after {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
content: "";
|
||||||
|
width: 500px;
|
||||||
|
height: 100%;
|
||||||
|
background-image: repeating-linear-gradient(
|
||||||
|
-45deg,
|
||||||
|
rgb(0 119 207 / 30%),
|
||||||
|
rgb(0 119 207 / 30%) 10px,
|
||||||
|
transparent 10px,
|
||||||
|
transparent 15px
|
||||||
|
);
|
||||||
|
animation: cmm-btn-loading-bg 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-light .cmm-node-name a {
|
||||||
|
color: blue;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-light .cm-warn-note {
|
||||||
|
background-color: #ccc !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cmm-manager-light .cmm-btn-install {
|
||||||
|
background-color: #333;
|
||||||
|
}
|
||||||
@@ -3,236 +3,17 @@ import { $el } from "../../scripts/ui.js";
|
|||||||
import {
|
import {
|
||||||
manager_instance, rebootAPI,
|
manager_instance, rebootAPI,
|
||||||
fetchData, md5, icons, show_message, customAlert, infoToast, showTerminal,
|
fetchData, md5, icons, show_message, customAlert, infoToast, showTerminal,
|
||||||
storeColumnWidth, restoreColumnWidth
|
storeColumnWidth, restoreColumnWidth, loadCss
|
||||||
} from "./common.js";
|
} from "./common.js";
|
||||||
import { api } from "../../scripts/api.js";
|
import { api } from "../../scripts/api.js";
|
||||||
|
|
||||||
// https://cenfun.github.io/turbogrid/api.html
|
// https://cenfun.github.io/turbogrid/api.html
|
||||||
import TG from "./turbogrid.esm.js";
|
import TG from "./turbogrid.esm.js";
|
||||||
|
|
||||||
|
loadCss("./model-manager.css");
|
||||||
|
|
||||||
const gridId = "model";
|
const gridId = "model";
|
||||||
|
|
||||||
const pageCss = `
|
|
||||||
.cmm-manager {
|
|
||||||
--grid-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
||||||
z-index: 1099;
|
|
||||||
width: 80%;
|
|
||||||
height: 80%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 10px;
|
|
||||||
color: var(--fg-color);
|
|
||||||
font-family: arial, sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager .cmm-flex-auto {
|
|
||||||
flex: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager button {
|
|
||||||
font-size: 16px;
|
|
||||||
color: var(--input-text);
|
|
||||||
background-color: var(--comfy-input-bg);
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: var(--border-color);
|
|
||||||
border-style: solid;
|
|
||||||
margin: 0;
|
|
||||||
padding: 4px 8px;
|
|
||||||
min-width: 100px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager button:disabled,
|
|
||||||
.cmm-manager input:disabled,
|
|
||||||
.cmm-manager select:disabled {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager button:disabled {
|
|
||||||
background-color: var(--comfy-input-bg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager .cmm-manager-refresh {
|
|
||||||
display: none;
|
|
||||||
background-color: #000080;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager .cmm-manager-stop {
|
|
||||||
display: none;
|
|
||||||
background-color: #500000;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-header {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 5px;
|
|
||||||
align-items: center;
|
|
||||||
padding: 0 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-header label {
|
|
||||||
display: flex;
|
|
||||||
gap: 5px;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-type,
|
|
||||||
.cmm-manager-base,
|
|
||||||
.cmm-manager-filter {
|
|
||||||
height: 28px;
|
|
||||||
line-height: 28px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-keywords {
|
|
||||||
height: 28px;
|
|
||||||
line-height: 28px;
|
|
||||||
padding: 0 5px 0 26px;
|
|
||||||
background-size: 16px;
|
|
||||||
background-position: 5px center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-image: url("data:image/svg+xml;charset=utf8,${encodeURIComponent(icons.search.replace("currentColor", "#888"))}");
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-status {
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-grid {
|
|
||||||
flex: auto;
|
|
||||||
border: 1px solid var(--border-color);
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-selection {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 10px;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-message {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-footer {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 10px;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-grid .tg-turbogrid {
|
|
||||||
font-family: var(--grid-font);
|
|
||||||
font-size: 15px;
|
|
||||||
background: var(--bg-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-grid .cmm-node-name a {
|
|
||||||
color: skyblue;
|
|
||||||
text-decoration: none;
|
|
||||||
word-break: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-grid .cmm-node-desc a {
|
|
||||||
color: #5555FF;
|
|
||||||
font-weight: bold;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-grid .tg-cell a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-icon-passed {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
position: absolute;
|
|
||||||
left: calc(50% - 10px);
|
|
||||||
top: calc(50% - 10px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager .cmm-btn-enable {
|
|
||||||
background-color: blue;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager .cmm-btn-disable {
|
|
||||||
background-color: MediumSlateBlue;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager .cmm-btn-install {
|
|
||||||
background-color: black;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-btn-download {
|
|
||||||
width: 18px;
|
|
||||||
height: 18px;
|
|
||||||
position: absolute;
|
|
||||||
left: calc(50% - 10px);
|
|
||||||
top: calc(50% - 10px);
|
|
||||||
cursor: pointer;
|
|
||||||
opacity: 0.8;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-btn-download:hover {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-light .cmm-btn-download {
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes cmm-btn-loading-bg {
|
|
||||||
0% {
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
left: -105px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager button.cmm-btn-loading {
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden;
|
|
||||||
border-color: rgb(0 119 207 / 80%);
|
|
||||||
background-color: var(--comfy-input-bg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager button.cmm-btn-loading::after {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
content: "";
|
|
||||||
width: 500px;
|
|
||||||
height: 100%;
|
|
||||||
background-image: repeating-linear-gradient(
|
|
||||||
-45deg,
|
|
||||||
rgb(0 119 207 / 30%),
|
|
||||||
rgb(0 119 207 / 30%) 10px,
|
|
||||||
transparent 10px,
|
|
||||||
transparent 15px
|
|
||||||
);
|
|
||||||
animation: cmm-btn-loading-bg 2s linear infinite;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-light .cmm-node-name a {
|
|
||||||
color: blue;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-light .cm-warn-note {
|
|
||||||
background-color: #ccc !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cmm-manager-light .cmm-btn-install {
|
|
||||||
background-color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
`;
|
|
||||||
|
|
||||||
const pageHtml = `
|
const pageHtml = `
|
||||||
<div class="cmm-manager-header">
|
<div class="cmm-manager-header">
|
||||||
<label>Filter
|
<label>Filter
|
||||||
@@ -283,14 +64,6 @@ export class ModelManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
|
|
||||||
if (!document.querySelector(`style[context="${this.id}"]`)) {
|
|
||||||
const $style = document.createElement("style");
|
|
||||||
$style.setAttribute("context", this.id);
|
|
||||||
$style.innerHTML = pageCss;
|
|
||||||
document.head.appendChild($style);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.element = $el("div", {
|
this.element = $el("div", {
|
||||||
parent: document.body,
|
parent: document.body,
|
||||||
className: "comfy-modal cmm-manager"
|
className: "comfy-modal cmm-manager"
|
||||||
@@ -561,7 +334,7 @@ export class ModelManager {
|
|||||||
sortable: false,
|
sortable: false,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
formatter: (url, rowItem, columnItem) => {
|
formatter: (url, rowItem, columnItem) => {
|
||||||
return `<a class="cmm-btn-download" title="Download file" href="${url}" target="_blank">${icons.download}</a>`;
|
return `<a class="cmm-btn-download" tooltip="Download file" href="${url}" target="_blank">${icons.download}</a>`;
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
id: 'size',
|
id: 'size',
|
||||||
|
|||||||
619
js/popover-helper.js
Normal file
619
js/popover-helper.js
Normal file
@@ -0,0 +1,619 @@
|
|||||||
|
const hasOwn = function(obj, key) {
|
||||||
|
return Object.prototype.hasOwnProperty.call(obj, key);
|
||||||
|
};
|
||||||
|
|
||||||
|
const isNum = function(num) {
|
||||||
|
if (typeof num !== 'number' || isNaN(num)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
const isInvalid = function(n) {
|
||||||
|
if (n === Number.MAX_VALUE || n === Number.MIN_VALUE || n === Number.NEGATIVE_INFINITY || n === Number.POSITIVE_INFINITY) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
};
|
||||||
|
if (isInvalid(num)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
};
|
||||||
|
|
||||||
|
const toNum = (num) => {
|
||||||
|
if (typeof (num) !== 'number') {
|
||||||
|
num = parseFloat(num);
|
||||||
|
}
|
||||||
|
if (isNaN(num)) {
|
||||||
|
num = 0;
|
||||||
|
}
|
||||||
|
num = Math.round(num);
|
||||||
|
return num;
|
||||||
|
};
|
||||||
|
|
||||||
|
const clamp = function(value, min, max) {
|
||||||
|
return Math.max(min, Math.min(max, value));
|
||||||
|
};
|
||||||
|
|
||||||
|
const isWindow = (obj) => {
|
||||||
|
return Boolean(obj && obj === obj.window);
|
||||||
|
};
|
||||||
|
|
||||||
|
const isDocument = (obj) => {
|
||||||
|
return Boolean(obj && obj.nodeType === 9);
|
||||||
|
};
|
||||||
|
|
||||||
|
const isElement = (obj) => {
|
||||||
|
return Boolean(obj && obj.nodeType === 1);
|
||||||
|
};
|
||||||
|
|
||||||
|
// ===========================================================================================
|
||||||
|
|
||||||
|
export const toRect = (obj) => {
|
||||||
|
if (obj) {
|
||||||
|
return {
|
||||||
|
left: toNum(obj.left || obj.x),
|
||||||
|
top: toNum(obj.top || obj.y),
|
||||||
|
width: toNum(obj.width),
|
||||||
|
height: toNum(obj.height)
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
left: 0,
|
||||||
|
top: 0,
|
||||||
|
width: 0,
|
||||||
|
height: 0
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getElement = (selector) => {
|
||||||
|
if (typeof selector === 'string' && selector) {
|
||||||
|
if (selector.startsWith('#')) {
|
||||||
|
return document.getElementById(selector.slice(1));
|
||||||
|
}
|
||||||
|
return document.querySelector(selector);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isDocument(selector)) {
|
||||||
|
return selector.body;
|
||||||
|
}
|
||||||
|
if (isElement(selector)) {
|
||||||
|
return selector;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getRect = (target, fixed) => {
|
||||||
|
if (!target) {
|
||||||
|
return toRect();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isWindow(target)) {
|
||||||
|
return {
|
||||||
|
left: 0,
|
||||||
|
top: 0,
|
||||||
|
width: window.innerWidth,
|
||||||
|
height: window.innerHeight
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
const elem = getElement(target);
|
||||||
|
if (!elem) {
|
||||||
|
return toRect(target);
|
||||||
|
}
|
||||||
|
|
||||||
|
const br = elem.getBoundingClientRect();
|
||||||
|
const rect = toRect(br);
|
||||||
|
|
||||||
|
// fix offset
|
||||||
|
if (!fixed) {
|
||||||
|
rect.left += window.scrollX;
|
||||||
|
rect.top += window.scrollY;
|
||||||
|
}
|
||||||
|
|
||||||
|
rect.width = elem.offsetWidth;
|
||||||
|
rect.height = elem.offsetHeight;
|
||||||
|
|
||||||
|
return rect;
|
||||||
|
};
|
||||||
|
|
||||||
|
// ===========================================================================================
|
||||||
|
|
||||||
|
const calculators = {
|
||||||
|
|
||||||
|
bottom: (info, containerRect, targetRect) => {
|
||||||
|
info.space = containerRect.top + containerRect.height - targetRect.top - targetRect.height - info.height;
|
||||||
|
info.top = targetRect.top + targetRect.height;
|
||||||
|
info.left = Math.round(targetRect.left + targetRect.width * 0.5 - info.width * 0.5);
|
||||||
|
},
|
||||||
|
|
||||||
|
top: (info, containerRect, targetRect) => {
|
||||||
|
info.space = targetRect.top - info.height - containerRect.top;
|
||||||
|
info.top = targetRect.top - info.height;
|
||||||
|
info.left = Math.round(targetRect.left + targetRect.width * 0.5 - info.width * 0.5);
|
||||||
|
},
|
||||||
|
|
||||||
|
right: (info, containerRect, targetRect) => {
|
||||||
|
info.space = containerRect.left + containerRect.width - targetRect.left - targetRect.width - info.width;
|
||||||
|
info.top = Math.round(targetRect.top + targetRect.height * 0.5 - info.height * 0.5);
|
||||||
|
info.left = targetRect.left + targetRect.width;
|
||||||
|
},
|
||||||
|
|
||||||
|
left: (info, containerRect, targetRect) => {
|
||||||
|
info.space = targetRect.left - info.width - containerRect.left;
|
||||||
|
info.top = Math.round(targetRect.top + targetRect.height * 0.5 - info.height * 0.5);
|
||||||
|
info.left = targetRect.left - info.width;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// with order
|
||||||
|
export const getDefaultPositions = () => {
|
||||||
|
return Object.keys(calculators);
|
||||||
|
};
|
||||||
|
|
||||||
|
const calculateSpace = (info, containerRect, targetRect) => {
|
||||||
|
const calculator = calculators[info.position];
|
||||||
|
calculator(info, containerRect, targetRect);
|
||||||
|
if (info.space >= 0) {
|
||||||
|
info.passed += 1;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// ===========================================================================================
|
||||||
|
|
||||||
|
const calculateAlignOffset = (info, containerRect, targetRect, alignType, sizeType) => {
|
||||||
|
|
||||||
|
const popoverStart = info[alignType];
|
||||||
|
const popoverSize = info[sizeType];
|
||||||
|
|
||||||
|
const containerStart = containerRect[alignType];
|
||||||
|
const containerSize = containerRect[sizeType];
|
||||||
|
|
||||||
|
const targetStart = targetRect[alignType];
|
||||||
|
const targetSize = targetRect[sizeType];
|
||||||
|
|
||||||
|
const targetCenter = targetStart + targetSize * 0.5;
|
||||||
|
|
||||||
|
// size overflow
|
||||||
|
if (popoverSize > containerSize) {
|
||||||
|
const overflow = (popoverSize - containerSize) * 0.5;
|
||||||
|
info[alignType] = containerStart - overflow;
|
||||||
|
info.offset = targetCenter - containerStart + overflow;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const space1 = popoverStart - containerStart;
|
||||||
|
const space2 = (containerStart + containerSize) - (popoverStart + popoverSize);
|
||||||
|
|
||||||
|
// both side passed, default to center
|
||||||
|
if (space1 >= 0 && space2 >= 0) {
|
||||||
|
if (info.passed) {
|
||||||
|
info.passed += 2;
|
||||||
|
}
|
||||||
|
info.offset = popoverSize * 0.5;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// one side passed
|
||||||
|
if (info.passed) {
|
||||||
|
info.passed += 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (space1 < 0) {
|
||||||
|
const min = containerStart;
|
||||||
|
info[alignType] = min;
|
||||||
|
info.offset = targetCenter - min;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// space2 < 0
|
||||||
|
const max = containerStart + containerSize - popoverSize;
|
||||||
|
info[alignType] = max;
|
||||||
|
info.offset = targetCenter - max;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
const calculateHV = (info, containerRect) => {
|
||||||
|
if (['top', 'bottom'].includes(info.position)) {
|
||||||
|
info.top = clamp(info.top, containerRect.top, containerRect.top + containerRect.height - info.height);
|
||||||
|
return ['left', 'width'];
|
||||||
|
}
|
||||||
|
info.left = clamp(info.left, containerRect.left, containerRect.left + containerRect.width - info.width);
|
||||||
|
return ['top', 'height'];
|
||||||
|
};
|
||||||
|
|
||||||
|
const calculateOffset = (info, containerRect, targetRect) => {
|
||||||
|
|
||||||
|
const [alignType, sizeType] = calculateHV(info, containerRect);
|
||||||
|
|
||||||
|
calculateAlignOffset(info, containerRect, targetRect, alignType, sizeType);
|
||||||
|
|
||||||
|
info.offset = clamp(info.offset, 0, info[sizeType]);
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
// ===========================================================================================
|
||||||
|
|
||||||
|
const calculateDistance = (info, previousPositionInfo) => {
|
||||||
|
if (!previousPositionInfo) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
// no change if position no change with previous
|
||||||
|
if (info.position === previousPositionInfo.position) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const ax = info.left + info.width * 0.5;
|
||||||
|
const ay = info.top + info.height * 0.5;
|
||||||
|
const bx = previousPositionInfo.left + previousPositionInfo.width * 0.5;
|
||||||
|
const by = previousPositionInfo.top + previousPositionInfo.height * 0.5;
|
||||||
|
const dx = Math.abs(ax - bx);
|
||||||
|
const dy = Math.abs(ay - by);
|
||||||
|
info.distance = Math.round(Math.sqrt(dx * dx + dy * dy));
|
||||||
|
};
|
||||||
|
|
||||||
|
// ===========================================================================================
|
||||||
|
|
||||||
|
const calculatePositionInfo = (info, containerRect, targetRect, previousPositionInfo) => {
|
||||||
|
calculateSpace(info, containerRect, targetRect);
|
||||||
|
calculateOffset(info, containerRect, targetRect);
|
||||||
|
calculateDistance(info, previousPositionInfo);
|
||||||
|
};
|
||||||
|
|
||||||
|
// ===========================================================================================
|
||||||
|
|
||||||
|
const calculateBestPosition = (containerRect, targetRect, infoMap, withOrder, previousPositionInfo) => {
|
||||||
|
|
||||||
|
// position space: +1
|
||||||
|
// align space:
|
||||||
|
// two side passed: +2
|
||||||
|
// one side passed: +1
|
||||||
|
|
||||||
|
const safePassed = 3;
|
||||||
|
|
||||||
|
if (previousPositionInfo) {
|
||||||
|
const prevInfo = infoMap[previousPositionInfo.position];
|
||||||
|
if (prevInfo) {
|
||||||
|
calculatePositionInfo(prevInfo, containerRect, targetRect);
|
||||||
|
if (prevInfo.passed >= safePassed) {
|
||||||
|
return prevInfo;
|
||||||
|
}
|
||||||
|
prevInfo.calculated = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const positionList = [];
|
||||||
|
Object.values(infoMap).forEach((info) => {
|
||||||
|
if (!info.calculated) {
|
||||||
|
calculatePositionInfo(info, containerRect, targetRect, previousPositionInfo);
|
||||||
|
}
|
||||||
|
positionList.push(info);
|
||||||
|
});
|
||||||
|
|
||||||
|
positionList.sort((a, b) => {
|
||||||
|
if (a.passed !== b.passed) {
|
||||||
|
return b.passed - a.passed;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (withOrder && a.passed >= safePassed && b.passed >= safePassed) {
|
||||||
|
return a.index - b.index;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (a.space !== b.space) {
|
||||||
|
return b.space - a.space;
|
||||||
|
}
|
||||||
|
|
||||||
|
return a.index - b.index;
|
||||||
|
});
|
||||||
|
|
||||||
|
// logTable(positionList);
|
||||||
|
|
||||||
|
return positionList[0];
|
||||||
|
};
|
||||||
|
|
||||||
|
// const logTable = (() => {
|
||||||
|
// let time_id;
|
||||||
|
// return (info) => {
|
||||||
|
// clearTimeout(time_id);
|
||||||
|
// time_id = setTimeout(() => {
|
||||||
|
// console.table(info);
|
||||||
|
// }, 10);
|
||||||
|
// };
|
||||||
|
// })();
|
||||||
|
|
||||||
|
// ===========================================================================================
|
||||||
|
|
||||||
|
const getAllowPositions = (positions, defaultAllowPositions) => {
|
||||||
|
if (!positions) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (Array.isArray(positions)) {
|
||||||
|
positions = positions.join(',');
|
||||||
|
}
|
||||||
|
positions = String(positions).split(',').map((it) => it.trim().toLowerCase()).filter((it) => it);
|
||||||
|
positions = positions.filter((it) => defaultAllowPositions.includes(it));
|
||||||
|
if (!positions.length) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
return positions;
|
||||||
|
};
|
||||||
|
|
||||||
|
const isPositionChanged = (info, previousPositionInfo) => {
|
||||||
|
if (!previousPositionInfo) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (info.left !== previousPositionInfo.left) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (info.top !== previousPositionInfo.top) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
};
|
||||||
|
|
||||||
|
// ===========================================================================================
|
||||||
|
|
||||||
|
// const log = (name, time) => {
|
||||||
|
// if (time > 0.1) {
|
||||||
|
// console.log(name, time);
|
||||||
|
// }
|
||||||
|
// };
|
||||||
|
|
||||||
|
export const getBestPosition = (containerRect, targetRect, popoverRect, positions, previousPositionInfo) => {
|
||||||
|
|
||||||
|
const defaultAllowPositions = getDefaultPositions();
|
||||||
|
let withOrder = true;
|
||||||
|
let allowPositions = getAllowPositions(positions, defaultAllowPositions);
|
||||||
|
if (!allowPositions) {
|
||||||
|
allowPositions = defaultAllowPositions;
|
||||||
|
withOrder = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// console.log('withOrder', withOrder);
|
||||||
|
|
||||||
|
// const start_time = performance.now();
|
||||||
|
|
||||||
|
const infoMap = {};
|
||||||
|
allowPositions.forEach((k, i) => {
|
||||||
|
infoMap[k] = {
|
||||||
|
position: k,
|
||||||
|
index: i,
|
||||||
|
|
||||||
|
top: 0,
|
||||||
|
left: 0,
|
||||||
|
width: popoverRect.width,
|
||||||
|
height: popoverRect.height,
|
||||||
|
|
||||||
|
space: 0,
|
||||||
|
|
||||||
|
offset: 0,
|
||||||
|
passed: 0,
|
||||||
|
|
||||||
|
distance: 0
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
// log('infoMap', performance.now() - start_time);
|
||||||
|
|
||||||
|
|
||||||
|
const bestPosition = calculateBestPosition(containerRect, targetRect, infoMap, withOrder, previousPositionInfo);
|
||||||
|
|
||||||
|
// check left/top
|
||||||
|
bestPosition.changed = isPositionChanged(bestPosition, previousPositionInfo);
|
||||||
|
|
||||||
|
return bestPosition;
|
||||||
|
};
|
||||||
|
|
||||||
|
// ===========================================================================================
|
||||||
|
|
||||||
|
const getTemplatePath = (width, height, arrowOffset, arrowSize, borderRadius) => {
|
||||||
|
const p = (px, py) => {
|
||||||
|
return [px, py].join(',');
|
||||||
|
};
|
||||||
|
|
||||||
|
const px = function(num, alignEnd) {
|
||||||
|
const floor = Math.floor(num);
|
||||||
|
let n = num < floor + 0.5 ? floor + 0.5 : floor + 1.5;
|
||||||
|
if (alignEnd) {
|
||||||
|
n -= 1;
|
||||||
|
}
|
||||||
|
return n;
|
||||||
|
};
|
||||||
|
|
||||||
|
const pxe = function(num) {
|
||||||
|
return px(num, true);
|
||||||
|
};
|
||||||
|
|
||||||
|
const ls = [];
|
||||||
|
|
||||||
|
const innerLeft = px(arrowSize);
|
||||||
|
const innerRight = pxe(width - arrowSize);
|
||||||
|
arrowOffset = clamp(arrowOffset, innerLeft, innerRight);
|
||||||
|
|
||||||
|
const innerTop = px(arrowSize);
|
||||||
|
const innerBottom = pxe(height - arrowSize);
|
||||||
|
|
||||||
|
const startPoint = p(innerLeft, innerTop + borderRadius);
|
||||||
|
const arrowPoint = p(arrowOffset, 1);
|
||||||
|
|
||||||
|
const LT = p(innerLeft, innerTop);
|
||||||
|
const RT = p(innerRight, innerTop);
|
||||||
|
|
||||||
|
const AOT = p(arrowOffset - arrowSize, innerTop);
|
||||||
|
const RRT = p(innerRight - borderRadius, innerTop);
|
||||||
|
|
||||||
|
ls.push(`M${startPoint}`);
|
||||||
|
ls.push(`V${innerBottom - borderRadius}`);
|
||||||
|
ls.push(`Q${p(innerLeft, innerBottom)} ${p(innerLeft + borderRadius, innerBottom)}`);
|
||||||
|
ls.push(`H${innerRight - borderRadius}`);
|
||||||
|
ls.push(`Q${p(innerRight, innerBottom)} ${p(innerRight, innerBottom - borderRadius)}`);
|
||||||
|
ls.push(`V${innerTop + borderRadius}`);
|
||||||
|
|
||||||
|
if (arrowOffset < innerLeft + arrowSize + borderRadius) {
|
||||||
|
ls.push(`Q${RT} ${RRT}`);
|
||||||
|
ls.push(`H${arrowOffset + arrowSize}`);
|
||||||
|
ls.push(`L${arrowPoint}`);
|
||||||
|
if (arrowOffset < innerLeft + arrowSize) {
|
||||||
|
ls.push(`L${LT}`);
|
||||||
|
ls.push(`L${startPoint}`);
|
||||||
|
} else {
|
||||||
|
ls.push(`L${AOT}`);
|
||||||
|
ls.push(`Q${LT} ${startPoint}`);
|
||||||
|
}
|
||||||
|
} else if (arrowOffset > innerRight - arrowSize - borderRadius) {
|
||||||
|
if (arrowOffset > innerRight - arrowSize) {
|
||||||
|
ls.push(`L${RT}`);
|
||||||
|
} else {
|
||||||
|
ls.push(`Q${RT} ${p(arrowOffset + arrowSize, innerTop)}`);
|
||||||
|
}
|
||||||
|
ls.push(`L${arrowPoint}`);
|
||||||
|
ls.push(`L${AOT}`);
|
||||||
|
ls.push(`H${innerLeft + borderRadius}`);
|
||||||
|
ls.push(`Q${LT} ${startPoint}`);
|
||||||
|
} else {
|
||||||
|
ls.push(`Q${RT} ${RRT}`);
|
||||||
|
ls.push(`H${arrowOffset + arrowSize}`);
|
||||||
|
ls.push(`L${arrowPoint}`);
|
||||||
|
ls.push(`L${AOT}`);
|
||||||
|
ls.push(`H${innerLeft + borderRadius}`);
|
||||||
|
ls.push(`Q${LT} ${startPoint}`);
|
||||||
|
}
|
||||||
|
return ls.join('');
|
||||||
|
};
|
||||||
|
|
||||||
|
const getPathData = function(position, width, height, arrowOffset, arrowSize, borderRadius) {
|
||||||
|
|
||||||
|
const handlers = {
|
||||||
|
|
||||||
|
bottom: () => {
|
||||||
|
const d = getTemplatePath(width, height, arrowOffset, arrowSize, borderRadius);
|
||||||
|
return {
|
||||||
|
d,
|
||||||
|
transform: ''
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
|
top: () => {
|
||||||
|
const d = getTemplatePath(width, height, width - arrowOffset, arrowSize, borderRadius);
|
||||||
|
return {
|
||||||
|
d,
|
||||||
|
transform: `rotate(180,${width * 0.5},${height * 0.5})`
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
|
left: () => {
|
||||||
|
const d = getTemplatePath(height, width, arrowOffset, arrowSize, borderRadius);
|
||||||
|
const x = (width - height) * 0.5;
|
||||||
|
const y = (height - width) * 0.5;
|
||||||
|
return {
|
||||||
|
d,
|
||||||
|
transform: `translate(${x} ${y}) rotate(90,${height * 0.5},${width * 0.5})`
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
|
right: () => {
|
||||||
|
const d = getTemplatePath(height, width, height - arrowOffset, arrowSize, borderRadius);
|
||||||
|
const x = (width - height) * 0.5;
|
||||||
|
const y = (height - width) * 0.5;
|
||||||
|
return {
|
||||||
|
d,
|
||||||
|
transform: `translate(${x} ${y}) rotate(-90,${height * 0.5},${width * 0.5})`
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
return handlers[position]();
|
||||||
|
};
|
||||||
|
|
||||||
|
// ===========================================================================================
|
||||||
|
|
||||||
|
// position style cache
|
||||||
|
const styleCache = {
|
||||||
|
// position: '',
|
||||||
|
// top: {},
|
||||||
|
// bottom: {},
|
||||||
|
// left: {},
|
||||||
|
// right: {}
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getPositionStyle = (info, options = {}) => {
|
||||||
|
|
||||||
|
const o = {
|
||||||
|
bgColor: '#fff',
|
||||||
|
borderColor: '#ccc',
|
||||||
|
borderRadius: 5,
|
||||||
|
arrowSize: 10
|
||||||
|
};
|
||||||
|
Object.keys(o).forEach((k) => {
|
||||||
|
|
||||||
|
if (hasOwn(options, k)) {
|
||||||
|
const d = o[k];
|
||||||
|
const v = options[k];
|
||||||
|
|
||||||
|
if (typeof d === 'string') {
|
||||||
|
// string
|
||||||
|
if (typeof v === 'string' && v) {
|
||||||
|
o[k] = v;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
// number
|
||||||
|
if (isNum(v) && v >= 0) {
|
||||||
|
o[k] = v;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
const key = [
|
||||||
|
info.width,
|
||||||
|
info.height,
|
||||||
|
info.offset,
|
||||||
|
o.arrowSize,
|
||||||
|
o.borderRadius,
|
||||||
|
o.bgColor,
|
||||||
|
o.borderColor
|
||||||
|
].join('-');
|
||||||
|
|
||||||
|
const positionCache = styleCache[info.position];
|
||||||
|
if (positionCache && key === positionCache.key) {
|
||||||
|
const st = positionCache.style;
|
||||||
|
st.changed = styleCache.position !== info.position;
|
||||||
|
styleCache.position = info.position;
|
||||||
|
return st;
|
||||||
|
}
|
||||||
|
|
||||||
|
// console.log(options);
|
||||||
|
|
||||||
|
const data = getPathData(info.position, info.width, info.height, info.offset, o.arrowSize, o.borderRadius);
|
||||||
|
// console.log(data);
|
||||||
|
|
||||||
|
const viewBox = [0, 0, info.width, info.height].join(' ');
|
||||||
|
const svg = [
|
||||||
|
`<svg viewBox="${viewBox}" xmlns="http://www.w3.org/2000/svg">`,
|
||||||
|
`<path d="${data.d}" fill="${o.bgColor}" stroke="${o.borderColor}" transform="${data.transform}" />`,
|
||||||
|
'</svg>'
|
||||||
|
].join('');
|
||||||
|
|
||||||
|
// console.log(svg);
|
||||||
|
const backgroundImage = `url("data:image/svg+xml;charset=utf8,${encodeURIComponent(svg)}")`;
|
||||||
|
|
||||||
|
const background = `${backgroundImage} center no-repeat`;
|
||||||
|
|
||||||
|
const padding = `${o.arrowSize + o.borderRadius}px`;
|
||||||
|
|
||||||
|
const style = {
|
||||||
|
background,
|
||||||
|
backgroundImage,
|
||||||
|
padding,
|
||||||
|
changed: true
|
||||||
|
};
|
||||||
|
|
||||||
|
styleCache.position = info.position;
|
||||||
|
styleCache[info.position] = {
|
||||||
|
key,
|
||||||
|
style
|
||||||
|
};
|
||||||
|
|
||||||
|
return style;
|
||||||
|
};
|
||||||
203
model-list.json
203
model-list.json
@@ -4750,6 +4750,209 @@
|
|||||||
"filename": "diffusion_pytorch_model.safetensors",
|
"filename": "diffusion_pytorch_model.safetensors",
|
||||||
"url": "https://huggingface.co/Kwai-Kolors/Kolors/resolve/main/vae/diffusion_pytorch_model.safetensors",
|
"url": "https://huggingface.co/Kwai-Kolors/Kolors/resolve/main/vae/diffusion_pytorch_model.safetensors",
|
||||||
"size": "335MB"
|
"size": "335MB"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 480p 14B (bf16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 480p 14B (bf16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_480p_14B_bf16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_bf16.safetensors",
|
||||||
|
"size": "32.8GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 480p 14B (fp16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 480p 14B (fp16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_480p_14B_fp16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_fp16.safetensors",
|
||||||
|
"size": "32.8GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 480p 14B (fp8_e4m3fn)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 480p 14B (fp8_e4m3fn)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_480p_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"size": "16.4GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 480p 14B (fp8_scaled)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 480p 14B (fp8_scaled)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_480p_14B_fp8_scaled.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_fp8_scaled.safetensors",
|
||||||
|
"size": "16.4GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 720p 14B (bf16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 720p 14B (bf16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_720p_14B_bf16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_720p_14B_bf16.safetensors",
|
||||||
|
"size": "32.8GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 720p 14B (fp16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 720p 14B (fp16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_720p_14B_fp16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_720p_14B_fp16.safetensors",
|
||||||
|
"size": "32.8GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 720p 14B (fp8_e4m3fn)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 720p 14B (fp8_e4m3fn)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"size": "16.4GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 720p 14B (fp8_scaled)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 720p 14B (fp8_scaled)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_720p_14B_fp8_scaled.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_720p_14B_fp8_scaled.safetensors",
|
||||||
|
"size": "16.4GB"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 1.3B (bf16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 1.3B (bf16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_1.3B_bf16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_bf16.safetensors",
|
||||||
|
"size": "2.84GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 1.3B (fp16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 1.3B (fp16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_1.3B_fp16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_fp16.safetensors",
|
||||||
|
"size": "2.84GB"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 14B (bf16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 14B (bf16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_14B_bf16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_bf16.safetensors",
|
||||||
|
"size": "28.6GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 14B (fp16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 14B (fp16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_14B_fp16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_fp,16.safetensors",
|
||||||
|
"size": "28.6GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 14B (fp8_e4m3fn)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 14B (fp8_e4m3fn)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"size": "14.3GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 14B (fp8_scaled)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 14B (fp8_scaled)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_14B_fp8_scaled.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_fp8_scaled.safetensors",
|
||||||
|
"size": "14.3GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 VAE",
|
||||||
|
"type": "vae",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "vae",
|
||||||
|
"description": "Wan2.1 VAE model",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan_2.1_vae.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
|
||||||
|
"size": "254MB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/clip_vision_h.safetensors",
|
||||||
|
"type": "clip_vision",
|
||||||
|
"base": "clip_vision_h",
|
||||||
|
"save_path": "clip_vision",
|
||||||
|
"description": "clip_vision_h model for Wan2.1",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "clip_vision_h.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors",
|
||||||
|
"size": "1.26GB"
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/umt5_xxl_fp16.safetensors",
|
||||||
|
"type": "clip",
|
||||||
|
"base": "umt5_xxl",
|
||||||
|
"save_path": "text_encoders",
|
||||||
|
"description": "umt5_xxl_fp16 text encoder for Wan2.1",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "umt5_xxl_fp16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors",
|
||||||
|
"size": "11.4GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
|
||||||
|
"type": "clip",
|
||||||
|
"base": "umt5_xxl",
|
||||||
|
"save_path": "text_encoders",
|
||||||
|
"description": "umt5_xxl_fp8_e4m3fn_scaled text encoder for Wan2.1",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
|
||||||
|
"size": "6.74GB"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,136 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
"author": "Dreamshot-io",
|
||||||
|
"title": "ComfyUI-Extend-Resolution",
|
||||||
|
"reference": "https://github.com/Dreamshot-io/ComfyUI-Extend-Resolution",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/Dreamshot-io/ComfyUI-Extend-Resolution"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "NODES: Resolution Padding"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "l1yongch1",
|
||||||
|
"title": "ComfyUI-YcNodes",
|
||||||
|
"reference": "https://github.com/l1yongch1/ComfyUI-YcNodes",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/l1yongch1/ComfyUI-YcNodes"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "NODES: RemoveHighlightAndBlur, RoundedCorners, PaddingAccordingToBackground\npersonal custom nodes for learning"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "vchopine",
|
||||||
|
"title": "ComfyUI_Toolbox",
|
||||||
|
"reference": "https://github.com/vchopine/ComfyUI_Toolbox",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/vchopine/ComfyUI_Toolbox"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "Model & Aspect Ratio Selector Node for ComfyUI\nNOTE: The files in the repo are not organized."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "Solankimayursinh",
|
||||||
|
"title": "PMSnodes",
|
||||||
|
"reference": "https://github.com/Solankimayursinh/PMSnodes",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/Solankimayursinh/PMSnodes"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "A custom nodes for ComfyUI to Load audio in Base64 format and Send Audio to Websocket in Base64 Format for creating API of Audio related AI\nNOTE: The files in the repo are not organized."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "rhinoflavored",
|
||||||
|
"title": "comfyui_QT",
|
||||||
|
"reference": "https://github.com/rhinoflavored/comfyui_QT",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/rhinoflavored/comfyui_QT"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "bunch of image manipulation nodes....\nNOTE: The files in the repo are not organized."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "ricklove",
|
||||||
|
"title": "ComfyUI-AutoSeg-SAM2",
|
||||||
|
"reference": "https://github.com/ricklove/ComfyUI-AutoSeg-SAM2",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/ricklove/ComfyUI-AutoSeg-SAM2"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "NODES: AutoSeg-SAM2 Batch Segmentation"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "JoeAu",
|
||||||
|
"title": "ComfyUI-PythonNode [UNSAFE]",
|
||||||
|
"reference": "https://github.com/JoeAu/ComfyUI-PythonNode",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/JoeAu/ComfyUI-PythonNode"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "A custom ComfyUI node that allows users to execute arbitrary Python code with a single input (value) and output (result), enabling flexible processing of the input value using any Python code before assigning the final result to result. It also captures print() output and exceptions for debugging.[w/This node is an unsafe node that includes the capability to execute arbitrary python script.]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "smthemex",
|
||||||
|
"title": "ComfyUI_GPT_SoVITS_Lite",
|
||||||
|
"reference": "https://github.com/smthemex/ComfyUI_GPT_SoVITS_Lite",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/smthemex/ComfyUI_GPT_SoVITS_Lite"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "[a/GPT_SoVITS](https://github.com/RVC-Boss/GPT-SoVITS) infer only for ComfyUI users\nNOTE: The files in the repo are not organized."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "Nambi24",
|
||||||
|
"title": "ComfyUI-Save_Image",
|
||||||
|
"reference": "https://github.com/Nambi24/ComfyUI-Save_Image",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/Nambi24/ComfyUI-Save_Image"
|
||||||
|
],
|
||||||
|
"description": "NODES: Save Image With Subfolder, Extract Last Path Component\nNOTE: The files in the repo are not organized.",
|
||||||
|
"install_type": "git-clone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "sugarkwork",
|
||||||
|
"title": "comfyui_image_crop",
|
||||||
|
"reference": "https://github.com/sugarkwork/comfyui_image_crop",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/sugarkwork/comfyui_image_crop"
|
||||||
|
],
|
||||||
|
"description": "NODES: CropTransparent, RestoreCrop, ExpandMultiple, CropReapply",
|
||||||
|
"install_type": "git-clone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "AkiEvansDev",
|
||||||
|
"title": "ComfyUI-Tools",
|
||||||
|
"reference": "https://github.com/AkiEvansDev/ComfyUI-Tools",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/AkiEvansDev/ComfyUI-Tools"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "Custom nodes for basic actions."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "silveroxides",
|
||||||
|
"title": "ComfyUI-ModelUtils [WIP]",
|
||||||
|
"reference": "https://github.com/silveroxides/ComfyUI-ModelUtils",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/silveroxides/ComfyUI-ModelUtils"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "[WIP]Custom nodes for handling, inspecting, modifying and creating various model files."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "thisiseddy-ab",
|
||||||
|
"title": "ComfyUI-Edins-Ultimate-Pack",
|
||||||
|
"reference": "https://github.com/thisiseddy-ab/ComfyUI-Edins-Ultimate-Pack",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/thisiseddy-ab/ComfyUI-Edins-Ultimate-Pack"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "Well i needet a Tiled Ksampler that still works for Comfy UI there were none so i made one, in this Package i will put all Nodes i will develop for Comfy Ui still in beta alot will change.."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"author": "longzoho",
|
"author": "longzoho",
|
||||||
"title": "ComfyUI-Qdrant-Saver",
|
"title": "ComfyUI-Qdrant-Saver",
|
||||||
@@ -22,16 +152,6 @@
|
|||||||
"install_type": "git-clone",
|
"install_type": "git-clone",
|
||||||
"description": "NODES: QDrant Saver Node"
|
"description": "NODES: QDrant Saver Node"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"author": "nova-florealis",
|
|
||||||
"title": "comfyui-alien",
|
|
||||||
"reference": "https://github.com/nova-florealis/comfyui-alien",
|
|
||||||
"files": [
|
|
||||||
"https://github.com/nova-florealis/comfyui-alien"
|
|
||||||
],
|
|
||||||
"install_type": "git-clone",
|
|
||||||
"description": "NODES: Text to Text (LLM), Text Output, Convert to Markdown, List Display (Debug)"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"author": "RUFFY-369",
|
"author": "RUFFY-369",
|
||||||
"title": "ComfyUI-FeatureBank",
|
"title": "ComfyUI-FeatureBank",
|
||||||
@@ -44,7 +164,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"author": "Pablerdo",
|
"author": "Pablerdo",
|
||||||
"title": "ComfyUI-Sa2VAWrapper",
|
"title": "ComfyUI-Sa2VAWrapper [WIP]",
|
||||||
"reference": "https://github.com/Pablerdo/ComfyUI-Sa2VAWrapper",
|
"reference": "https://github.com/Pablerdo/ComfyUI-Sa2VAWrapper",
|
||||||
"files": [
|
"files": [
|
||||||
"https://github.com/Pablerdo/ComfyUI-Sa2VAWrapper"
|
"https://github.com/Pablerdo/ComfyUI-Sa2VAWrapper"
|
||||||
@@ -1808,16 +1928,6 @@
|
|||||||
"install_type": "git-clone",
|
"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."
|
"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",
|
"author": "StartHua",
|
||||||
"title": "Comfyui_Flux_Style_Ctr [WIP]",
|
"title": "Comfyui_Flux_Style_Ctr [WIP]",
|
||||||
@@ -4560,16 +4670,6 @@
|
|||||||
"install_type": "git-clone",
|
"install_type": "git-clone",
|
||||||
"description": "Image manipulation nodes, Temperature control nodes, Tiling nodes, Primitive and operation nodes, ..."
|
"description": "Image manipulation nodes, Temperature control nodes, Tiling nodes, Primitive and operation nodes, ..."
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"author": "PluMaZero",
|
|
||||||
"title": "ComfyUI-SpaceFlower",
|
|
||||||
"reference": "https://github.com/PluMaZero/ComfyUI-SpaceFlower",
|
|
||||||
"files": [
|
|
||||||
"https://github.com/PluMaZero/ComfyUI-SpaceFlower"
|
|
||||||
],
|
|
||||||
"install_type": "git-clone",
|
|
||||||
"description": "Nodes: SpaceFlower_Prompt, SpaceFlower_HangulPrompt, ..."
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"author": "laksjdjf",
|
"author": "laksjdjf",
|
||||||
"title": "ssd-1b-comfyui",
|
"title": "ssd-1b-comfyui",
|
||||||
|
|||||||
@@ -359,6 +359,98 @@
|
|||||||
"title_aux": "ComfyUI-Upscayl"
|
"title_aux": "ComfyUI-Upscayl"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/AkiEvansDev/ComfyUI-Tools": [
|
||||||
|
[
|
||||||
|
"AE.AnySwitch",
|
||||||
|
"AE.AnyTypeSwitch",
|
||||||
|
"AE.BRIARemBG",
|
||||||
|
"AE.BRIARemBGAdvanced",
|
||||||
|
"AE.ChangeSamplerConfig",
|
||||||
|
"AE.CheckpointList",
|
||||||
|
"AE.CheckpointLoader",
|
||||||
|
"AE.CompareFloat",
|
||||||
|
"AE.CompareInt",
|
||||||
|
"AE.ControlNetApplyWithConfig",
|
||||||
|
"AE.ControlNetConfig",
|
||||||
|
"AE.DisplayAny",
|
||||||
|
"AE.ExtractControlNetConfig",
|
||||||
|
"AE.ExtractHiresFixConfig",
|
||||||
|
"AE.ExtractImg2ImgConfig",
|
||||||
|
"AE.ExtractOutpaintConfig",
|
||||||
|
"AE.ExtractSamplerConfig",
|
||||||
|
"AE.Float",
|
||||||
|
"AE.FloatList",
|
||||||
|
"AE.FloatSwitch",
|
||||||
|
"AE.FloatToInt",
|
||||||
|
"AE.GaussianBlurMask",
|
||||||
|
"AE.GetImageSize",
|
||||||
|
"AE.GetLatentSize",
|
||||||
|
"AE.GroupsMuter",
|
||||||
|
"AE.HiresFixConfig",
|
||||||
|
"AE.ImageAdjustment",
|
||||||
|
"AE.ImageBlank",
|
||||||
|
"AE.ImageBlendMask",
|
||||||
|
"AE.ImageBlendMode",
|
||||||
|
"AE.ImageCannyFilter",
|
||||||
|
"AE.ImageDragonFilter",
|
||||||
|
"AE.ImageHighPassFilter",
|
||||||
|
"AE.ImageLevels",
|
||||||
|
"AE.ImageLucySharpen",
|
||||||
|
"AE.ImagePixelate",
|
||||||
|
"AE.ImagePowerNoise",
|
||||||
|
"AE.ImageStyleFilter",
|
||||||
|
"AE.Img2ImgConfig",
|
||||||
|
"AE.InpaintWithModel",
|
||||||
|
"AE.Int",
|
||||||
|
"AE.IntList",
|
||||||
|
"AE.IntSwitch",
|
||||||
|
"AE.IntToFloat",
|
||||||
|
"AE.KSamplerHiresFixWithConfig",
|
||||||
|
"AE.KSamplerImg2ImgWithConfig",
|
||||||
|
"AE.KSamplerInpaintWithConfig",
|
||||||
|
"AE.KSamplerOutpaintWithConfig",
|
||||||
|
"AE.KSamplerOutpaintWithConfigAndImage",
|
||||||
|
"AE.KSamplerWithConfig",
|
||||||
|
"AE.LoadImageFromPath",
|
||||||
|
"AE.LoadInpaintModel",
|
||||||
|
"AE.LoraLoader",
|
||||||
|
"AE.LorasList",
|
||||||
|
"AE.LorasLoader",
|
||||||
|
"AE.MathFloat",
|
||||||
|
"AE.MathInt",
|
||||||
|
"AE.OutpaintConfig",
|
||||||
|
"AE.OutpaintWithModel",
|
||||||
|
"AE.OutpaintWithModelAndConfig",
|
||||||
|
"AE.Range",
|
||||||
|
"AE.RangeList",
|
||||||
|
"AE.SDXLConfig",
|
||||||
|
"AE.SDXLPrompt",
|
||||||
|
"AE.SDXLPromptWithHires",
|
||||||
|
"AE.SDXLRegionalPrompt",
|
||||||
|
"AE.SDXLRegionalPromptWithHires",
|
||||||
|
"AE.SamplerConfig",
|
||||||
|
"AE.SamplerList",
|
||||||
|
"AE.SaveImage",
|
||||||
|
"AE.SchedulerList",
|
||||||
|
"AE.Seed",
|
||||||
|
"AE.String",
|
||||||
|
"AE.StringConcat",
|
||||||
|
"AE.StringEquals",
|
||||||
|
"AE.StringLength",
|
||||||
|
"AE.StringList",
|
||||||
|
"AE.StringReplace",
|
||||||
|
"AE.StringSwitch",
|
||||||
|
"AE.Text",
|
||||||
|
"AE.ToString",
|
||||||
|
"AE.ToStringConcat",
|
||||||
|
"AE.UpscaleLatentBy",
|
||||||
|
"AE.VAEEncodeInpaintConditioning",
|
||||||
|
"AE.XYRange"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "ComfyUI-Tools"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/AlexXi19/ComfyUI-OpenAINode": [
|
"https://github.com/AlexXi19/ComfyUI-OpenAINode": [
|
||||||
[
|
[
|
||||||
"ImageWithPrompt",
|
"ImageWithPrompt",
|
||||||
@@ -630,6 +722,7 @@
|
|||||||
"DevToolsErrorRaiseNodeWithMessage",
|
"DevToolsErrorRaiseNodeWithMessage",
|
||||||
"DevToolsExperimentalNode",
|
"DevToolsExperimentalNode",
|
||||||
"DevToolsLongComboDropdown",
|
"DevToolsLongComboDropdown",
|
||||||
|
"DevToolsMultiSelectNode",
|
||||||
"DevToolsNodeWithBooleanInput",
|
"DevToolsNodeWithBooleanInput",
|
||||||
"DevToolsNodeWithForceInput",
|
"DevToolsNodeWithForceInput",
|
||||||
"DevToolsNodeWithOnlyOptionalInput",
|
"DevToolsNodeWithOnlyOptionalInput",
|
||||||
@@ -749,6 +842,14 @@
|
|||||||
"title_aux": "ComfyUI e621 booru Toolkit"
|
"title_aux": "ComfyUI e621 booru Toolkit"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/Dreamshot-io/ComfyUI-Extend-Resolution": [
|
||||||
|
[
|
||||||
|
"ResolutionPadding"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "ComfyUI-Extend-Resolution"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/Eagle-CN/ComfyUI-Addoor": [
|
"https://github.com/Eagle-CN/ComfyUI-Addoor": [
|
||||||
[
|
[
|
||||||
"AD_AnyFileList",
|
"AD_AnyFileList",
|
||||||
@@ -1128,29 +1229,55 @@
|
|||||||
],
|
],
|
||||||
"https://github.com/KurtHokke/ComfyUI_KurtHokke-Nodes": [
|
"https://github.com/KurtHokke/ComfyUI_KurtHokke-Nodes": [
|
||||||
[
|
[
|
||||||
"AIO_Tuner",
|
|
||||||
"AIO_Tuner_Pipe",
|
"AIO_Tuner_Pipe",
|
||||||
"BasicAdvScheduler",
|
"ApplyCondsExtraOpts",
|
||||||
"Beta_Config",
|
"BashScriptNode",
|
||||||
"BooleanFromPipe",
|
"BooleanFromPipe",
|
||||||
"BooleanToPipe",
|
"BooleanToPipe",
|
||||||
|
"COND_ExtraOpts",
|
||||||
|
"COND_ExtraOpts_2",
|
||||||
|
"COND_SET_STRENGTH_ExtraOpts",
|
||||||
|
"ChainTextEncode",
|
||||||
"CkptPipe",
|
"CkptPipe",
|
||||||
|
"CompareTorch",
|
||||||
|
"DynamicThresholding",
|
||||||
|
"DynamicThresholdingBasic",
|
||||||
"EmptyLatentSize",
|
"EmptyLatentSize",
|
||||||
"EmptyLatentSize64",
|
"EmptyLatentSize64",
|
||||||
|
"ExecutePythonNode",
|
||||||
"ExpMath",
|
"ExpMath",
|
||||||
"ExpMathDual",
|
"ExpMathDual",
|
||||||
"ExpMathQuad",
|
"ExpMathQuad",
|
||||||
"LMS_Config",
|
"InspectNode",
|
||||||
"LoadUnetAndClip",
|
"LoadUnetAndClip",
|
||||||
"LoraFluxParams",
|
"LoraFluxParams",
|
||||||
|
"MergeExtraOpts",
|
||||||
"ModelPipe1",
|
"ModelPipe1",
|
||||||
"ModelPipe2",
|
"ModelPipe2",
|
||||||
|
"NoModel_CkptLoader",
|
||||||
|
"NoNegExtraOpts",
|
||||||
|
"Node_BOOL",
|
||||||
|
"Node_Float",
|
||||||
|
"Node_INT",
|
||||||
|
"Node_RandomRange",
|
||||||
|
"Node_String",
|
||||||
|
"Node_StringMultiline",
|
||||||
|
"SEED_ExtraOpts",
|
||||||
"SamplerCustomAdvanced_Pipe",
|
"SamplerCustomAdvanced_Pipe",
|
||||||
"SamplerSel",
|
"SamplerSel",
|
||||||
"SchedulerSel",
|
"SchedulerSel",
|
||||||
|
"SedOnString",
|
||||||
"UnetClipLoraLoader",
|
"UnetClipLoraLoader",
|
||||||
"UnetClipLoraLoaderBasic",
|
"UnetClipLoraLoaderBasic",
|
||||||
"stopipe"
|
"VAE_ExtraOpts",
|
||||||
|
"ViewExtraOpts",
|
||||||
|
"batchsize_ExtraOpts",
|
||||||
|
"get_lora_metadata",
|
||||||
|
"mycombine",
|
||||||
|
"re_sub_str",
|
||||||
|
"splitcond",
|
||||||
|
"str_str",
|
||||||
|
"str_str_str_str"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
"title_aux": "ComfyUI_KurtHokke-Nodes"
|
"title_aux": "ComfyUI_KurtHokke-Nodes"
|
||||||
@@ -1387,6 +1514,7 @@
|
|||||||
"Data_handle_Node",
|
"Data_handle_Node",
|
||||||
"DeepSeek_Node",
|
"DeepSeek_Node",
|
||||||
"Delay_node",
|
"Delay_node",
|
||||||
|
"Delete_folder_Node",
|
||||||
"DongShowTextNode",
|
"DongShowTextNode",
|
||||||
"Dong_Pixelate_Node",
|
"Dong_Pixelate_Node",
|
||||||
"Dong_Text_Node",
|
"Dong_Text_Node",
|
||||||
@@ -1405,6 +1533,7 @@
|
|||||||
"LibLib_upload_Node",
|
"LibLib_upload_Node",
|
||||||
"LogicToolsNode",
|
"LogicToolsNode",
|
||||||
"LoraIterator",
|
"LoraIterator",
|
||||||
|
"Notice_Node",
|
||||||
"PromptConcatNode",
|
"PromptConcatNode",
|
||||||
"RandomNumbersNode",
|
"RandomNumbersNode",
|
||||||
"RenameNode",
|
"RenameNode",
|
||||||
@@ -1413,17 +1542,34 @@
|
|||||||
"SetAppidNode",
|
"SetAppidNode",
|
||||||
"TextToJsonNode",
|
"TextToJsonNode",
|
||||||
"TranslateAPINode",
|
"TranslateAPINode",
|
||||||
|
"Wan21_get_Node",
|
||||||
|
"Wan21_post_Node",
|
||||||
"ZIPwith7zNode",
|
"ZIPwith7zNode",
|
||||||
|
"cogvideox_flash_get_Node",
|
||||||
|
"cogvideox_flash_post_Node",
|
||||||
|
"cogview_3_flash_Node",
|
||||||
|
"file_analysis_Node",
|
||||||
|
"find_files_by_extension_Node",
|
||||||
"img_understanding_Node",
|
"img_understanding_Node",
|
||||||
"klingai_video_Node",
|
"klingai_video_Node",
|
||||||
"path_join_Node",
|
"path_join_Node",
|
||||||
"save_img_NODE",
|
"save_img_NODE",
|
||||||
"set_api_Node"
|
"set_api_Node",
|
||||||
|
"text_replace_node"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
"title_aux": "ComfyUI-tools-by-dong [UNSAFE]"
|
"title_aux": "ComfyUI-tools-by-dong [UNSAFE]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/Nambi24/ComfyUI-Save_Image": [
|
||||||
|
[
|
||||||
|
"ExtractLastPathComponent",
|
||||||
|
"SaveImageNode"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "ComfyUI-Save_Image"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/Northerner1/ComfyUI_North_Noise": [
|
"https://github.com/Northerner1/ComfyUI_North_Noise": [
|
||||||
[
|
[
|
||||||
"North_Noise"
|
"North_Noise"
|
||||||
@@ -1459,16 +1605,7 @@
|
|||||||
"GetCaptionFromImages"
|
"GetCaptionFromImages"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
"title_aux": "ComfyUI-Sa2VAWrapper"
|
"title_aux": "ComfyUI-Sa2VAWrapper [WIP]"
|
||||||
}
|
|
||||||
],
|
|
||||||
"https://github.com/PluMaZero/ComfyUI-SpaceFlower": [
|
|
||||||
[
|
|
||||||
"SpaceFlower_HangulPrompt",
|
|
||||||
"SpaceFlower_Prompt"
|
|
||||||
],
|
|
||||||
{
|
|
||||||
"title_aux": "ComfyUI-SpaceFlower"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"https://github.com/Poseidon-fan/ComfyUI-fileCleaner": [
|
"https://github.com/Poseidon-fan/ComfyUI-fileCleaner": [
|
||||||
@@ -1693,7 +1830,6 @@
|
|||||||
"Test Node (Shinsplat)",
|
"Test Node (Shinsplat)",
|
||||||
"Text To Tokens (Shinsplat)",
|
"Text To Tokens (Shinsplat)",
|
||||||
"Text To Tokens SD3 (Shinsplat)",
|
"Text To Tokens SD3 (Shinsplat)",
|
||||||
"Upscale WEBP (Shinsplat)",
|
|
||||||
"Variables (Shinsplat)"
|
"Variables (Shinsplat)"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
@@ -1727,6 +1863,16 @@
|
|||||||
"title_aux": "ComfyUI-PIL"
|
"title_aux": "ComfyUI-PIL"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/Solankimayursinh/PMSnodes": [
|
||||||
|
[
|
||||||
|
"InputAnalyzer",
|
||||||
|
"LoadBase64Audio",
|
||||||
|
"PMSSendAudio"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "PMSnodes"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/Soppatorsk/comfyui_img_to_ascii": [
|
"https://github.com/Soppatorsk/comfyui_img_to_ascii": [
|
||||||
[
|
[
|
||||||
"Img_to_ASCII"
|
"Img_to_ASCII"
|
||||||
@@ -1815,7 +1961,8 @@
|
|||||||
[
|
[
|
||||||
"Example",
|
"Example",
|
||||||
"FluxImageUpscaler",
|
"FluxImageUpscaler",
|
||||||
"FluxLoader"
|
"FluxLoader",
|
||||||
|
"FluxTextPrompt"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
"title_aux": "comfyui_flux_collection_advanced [WIP]"
|
"title_aux": "comfyui_flux_collection_advanced [WIP]"
|
||||||
@@ -2122,6 +2269,7 @@
|
|||||||
"https://github.com/ammahmoudi/ComfyUI-Legendary-Nodes": [
|
"https://github.com/ammahmoudi/ComfyUI-Legendary-Nodes": [
|
||||||
[
|
[
|
||||||
"Legendary Dataset Saver",
|
"Legendary Dataset Saver",
|
||||||
|
"Legendary Image URL Loader",
|
||||||
"Legendary Lora URL Loader"
|
"Legendary Lora URL Loader"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
@@ -2184,6 +2332,7 @@
|
|||||||
"ImageToPrompt",
|
"ImageToPrompt",
|
||||||
"MiniMaxAIAPIClient",
|
"MiniMaxAIAPIClient",
|
||||||
"MiniMaxImage2Video",
|
"MiniMaxImage2Video",
|
||||||
|
"MiniMaxImageGenerator",
|
||||||
"MiniMaxPreviewVideo"
|
"MiniMaxPreviewVideo"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
@@ -2619,6 +2768,7 @@
|
|||||||
"EmptyImage",
|
"EmptyImage",
|
||||||
"EmptyLTXVLatentVideo",
|
"EmptyLTXVLatentVideo",
|
||||||
"EmptyLatentAudio",
|
"EmptyLatentAudio",
|
||||||
|
"EmptyLatentHunyuan3Dv2",
|
||||||
"EmptyLatentImage",
|
"EmptyLatentImage",
|
||||||
"EmptyMochiLatentVideo",
|
"EmptyMochiLatentVideo",
|
||||||
"EmptySD3LatentImage",
|
"EmptySD3LatentImage",
|
||||||
@@ -2633,6 +2783,8 @@
|
|||||||
"GLIGENLoader",
|
"GLIGENLoader",
|
||||||
"GLIGENTextBoxApply",
|
"GLIGENTextBoxApply",
|
||||||
"GrowMask",
|
"GrowMask",
|
||||||
|
"Hunyuan3Dv2Conditioning",
|
||||||
|
"Hunyuan3Dv2ConditioningMultiView",
|
||||||
"HunyuanImageToVideo",
|
"HunyuanImageToVideo",
|
||||||
"HyperTile",
|
"HyperTile",
|
||||||
"HypernetworkLoader",
|
"HypernetworkLoader",
|
||||||
@@ -2648,12 +2800,14 @@
|
|||||||
"ImageOnlyCheckpointSave",
|
"ImageOnlyCheckpointSave",
|
||||||
"ImagePadForOutpaint",
|
"ImagePadForOutpaint",
|
||||||
"ImageQuantize",
|
"ImageQuantize",
|
||||||
|
"ImageRGBToYUV",
|
||||||
"ImageScale",
|
"ImageScale",
|
||||||
"ImageScaleBy",
|
"ImageScaleBy",
|
||||||
"ImageScaleToTotalPixels",
|
"ImageScaleToTotalPixels",
|
||||||
"ImageSharpen",
|
"ImageSharpen",
|
||||||
"ImageToMask",
|
"ImageToMask",
|
||||||
"ImageUpscaleWithModel",
|
"ImageUpscaleWithModel",
|
||||||
|
"ImageYUVToRGB",
|
||||||
"InpaintModelConditioning",
|
"InpaintModelConditioning",
|
||||||
"InstructPixToPixConditioning",
|
"InstructPixToPixConditioning",
|
||||||
"InvertMask",
|
"InvertMask",
|
||||||
@@ -2698,6 +2852,7 @@
|
|||||||
"LoraLoader",
|
"LoraLoader",
|
||||||
"LoraLoaderModelOnly",
|
"LoraLoaderModelOnly",
|
||||||
"LoraSave",
|
"LoraSave",
|
||||||
|
"LotusConditioning",
|
||||||
"Mahiro",
|
"Mahiro",
|
||||||
"MaskComposite",
|
"MaskComposite",
|
||||||
"MaskToImage",
|
"MaskToImage",
|
||||||
@@ -2717,6 +2872,7 @@
|
|||||||
"ModelMergeSDXL",
|
"ModelMergeSDXL",
|
||||||
"ModelMergeSimple",
|
"ModelMergeSimple",
|
||||||
"ModelMergeSubtract",
|
"ModelMergeSubtract",
|
||||||
|
"ModelMergeWAN2_1",
|
||||||
"ModelSamplingAuraFlow",
|
"ModelSamplingAuraFlow",
|
||||||
"ModelSamplingContinuousEDM",
|
"ModelSamplingContinuousEDM",
|
||||||
"ModelSamplingContinuousV",
|
"ModelSamplingContinuousV",
|
||||||
@@ -2739,6 +2895,10 @@
|
|||||||
"Preview3DAnimation",
|
"Preview3DAnimation",
|
||||||
"PreviewAudio",
|
"PreviewAudio",
|
||||||
"PreviewImage",
|
"PreviewImage",
|
||||||
|
"PrimitiveBoolean",
|
||||||
|
"PrimitiveFloat",
|
||||||
|
"PrimitiveInt",
|
||||||
|
"PrimitiveString",
|
||||||
"RandomNoise",
|
"RandomNoise",
|
||||||
"RebatchImages",
|
"RebatchImages",
|
||||||
"RebatchLatents",
|
"RebatchLatents",
|
||||||
@@ -2765,6 +2925,7 @@
|
|||||||
"SaveAnimatedPNG",
|
"SaveAnimatedPNG",
|
||||||
"SaveAnimatedWEBP",
|
"SaveAnimatedWEBP",
|
||||||
"SaveAudio",
|
"SaveAudio",
|
||||||
|
"SaveGLB",
|
||||||
"SaveImage",
|
"SaveImage",
|
||||||
"SaveImageWebsocket",
|
"SaveImageWebsocket",
|
||||||
"SaveLatent",
|
"SaveLatent",
|
||||||
@@ -2835,6 +2996,7 @@
|
|||||||
"UpscaleModelLoader",
|
"UpscaleModelLoader",
|
||||||
"VAEDecode",
|
"VAEDecode",
|
||||||
"VAEDecodeAudio",
|
"VAEDecodeAudio",
|
||||||
|
"VAEDecodeHunyuan3D",
|
||||||
"VAEDecodeTiled",
|
"VAEDecodeTiled",
|
||||||
"VAEEncode",
|
"VAEEncode",
|
||||||
"VAEEncodeAudio",
|
"VAEEncodeAudio",
|
||||||
@@ -2845,6 +3007,7 @@
|
|||||||
"VPScheduler",
|
"VPScheduler",
|
||||||
"VideoLinearCFGGuidance",
|
"VideoLinearCFGGuidance",
|
||||||
"VideoTriangleCFGGuidance",
|
"VideoTriangleCFGGuidance",
|
||||||
|
"VoxelToMeshBasic",
|
||||||
"WanImageToVideo",
|
"WanImageToVideo",
|
||||||
"WebcamCapture",
|
"WebcamCapture",
|
||||||
"unCLIPCheckpointLoader",
|
"unCLIPCheckpointLoader",
|
||||||
@@ -3263,6 +3426,8 @@
|
|||||||
],
|
],
|
||||||
"https://github.com/grinlau18/ComfyUI_XISER_Nodes": [
|
"https://github.com/grinlau18/ComfyUI_XISER_Nodes": [
|
||||||
[
|
[
|
||||||
|
"XIS_CompositorProcessor",
|
||||||
|
"XIS_CropImage",
|
||||||
"XIS_Float_Slider",
|
"XIS_Float_Slider",
|
||||||
"XIS_FromListGet1Color",
|
"XIS_FromListGet1Color",
|
||||||
"XIS_FromListGet1Cond",
|
"XIS_FromListGet1Cond",
|
||||||
@@ -3274,10 +3439,16 @@
|
|||||||
"XIS_FromListGet1Model",
|
"XIS_FromListGet1Model",
|
||||||
"XIS_FromListGet1String",
|
"XIS_FromListGet1String",
|
||||||
"XIS_INT_Slider",
|
"XIS_INT_Slider",
|
||||||
|
"XIS_IPAStyleSettings",
|
||||||
|
"XIS_IfDataIsNone",
|
||||||
"XIS_ImageMaskMirror",
|
"XIS_ImageMaskMirror",
|
||||||
"XIS_InvertMask",
|
"XIS_InvertMask",
|
||||||
"XIS_IsThereAnyData",
|
"XIS_IsThereAnyData",
|
||||||
|
"XIS_KSamplerSettingsNode",
|
||||||
|
"XIS_KSamplerSettingsUnpackNode",
|
||||||
|
"XIS_MaskCompositeOperation",
|
||||||
"XIS_PromptsWithSwitches",
|
"XIS_PromptsWithSwitches",
|
||||||
|
"XIS_ReorderImageMaskGroups",
|
||||||
"XIS_ResizeImageOrMask",
|
"XIS_ResizeImageOrMask",
|
||||||
"XIS_ResizeToDivisible"
|
"XIS_ResizeToDivisible"
|
||||||
],
|
],
|
||||||
@@ -3611,6 +3782,7 @@
|
|||||||
"AsunaroOr",
|
"AsunaroOr",
|
||||||
"AsunaroPromptStripper",
|
"AsunaroPromptStripper",
|
||||||
"AsunaroRandomDice",
|
"AsunaroRandomDice",
|
||||||
|
"AsunaroResolutions",
|
||||||
"AsunaroSave",
|
"AsunaroSave",
|
||||||
"AsunaroTextConcatenator",
|
"AsunaroTextConcatenator",
|
||||||
"AsunaroWildCard"
|
"AsunaroWildCard"
|
||||||
@@ -3742,6 +3914,7 @@
|
|||||||
],
|
],
|
||||||
"https://github.com/jonnydolake/ComfyUI-AIR-Nodes": [
|
"https://github.com/jonnydolake/ComfyUI-AIR-Nodes": [
|
||||||
[
|
[
|
||||||
|
"DisplaceImage",
|
||||||
"ExtractBlackLines",
|
"ExtractBlackLines",
|
||||||
"ForceMinimumBatchSize",
|
"ForceMinimumBatchSize",
|
||||||
"ImageCompositeChained",
|
"ImageCompositeChained",
|
||||||
@@ -3921,6 +4094,7 @@
|
|||||||
"Hy3DExportMesh",
|
"Hy3DExportMesh",
|
||||||
"Hy3DFastSimplifyMesh",
|
"Hy3DFastSimplifyMesh",
|
||||||
"Hy3DGenerateMesh",
|
"Hy3DGenerateMesh",
|
||||||
|
"Hy3DGenerateMeshMultiView",
|
||||||
"Hy3DGetMeshPBRTextures",
|
"Hy3DGetMeshPBRTextures",
|
||||||
"Hy3DIMRemesh",
|
"Hy3DIMRemesh",
|
||||||
"Hy3DLoadMesh",
|
"Hy3DLoadMesh",
|
||||||
@@ -3938,7 +4112,8 @@
|
|||||||
"Hy3DSetMeshPBRTextures",
|
"Hy3DSetMeshPBRTextures",
|
||||||
"Hy3DTorchCompileSettings",
|
"Hy3DTorchCompileSettings",
|
||||||
"Hy3DUploadMesh",
|
"Hy3DUploadMesh",
|
||||||
"Hy3DVAEDecode"
|
"Hy3DVAEDecode",
|
||||||
|
"Hy3DVAELoader"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
"title_aux": "ComfyUI-ComfyUI-Hunyuan3DWrapper [WIP]"
|
"title_aux": "ComfyUI-ComfyUI-Hunyuan3DWrapper [WIP]"
|
||||||
@@ -3968,6 +4143,7 @@
|
|||||||
"HyVideoSTG",
|
"HyVideoSTG",
|
||||||
"HyVideoSampler",
|
"HyVideoSampler",
|
||||||
"HyVideoTeaCache",
|
"HyVideoTeaCache",
|
||||||
|
"HyVideoTextEmbedBridge",
|
||||||
"HyVideoTextEmbedsLoad",
|
"HyVideoTextEmbedsLoad",
|
||||||
"HyVideoTextEmbedsSave",
|
"HyVideoTextEmbedsSave",
|
||||||
"HyVideoTextEncode",
|
"HyVideoTextEncode",
|
||||||
@@ -4036,21 +4212,28 @@
|
|||||||
"LoadWanVideoClipTextEncoder",
|
"LoadWanVideoClipTextEncoder",
|
||||||
"LoadWanVideoT5TextEncoder",
|
"LoadWanVideoT5TextEncoder",
|
||||||
"WanVideoBlockSwap",
|
"WanVideoBlockSwap",
|
||||||
|
"WanVideoClipVisionEncode",
|
||||||
"WanVideoContextOptions",
|
"WanVideoContextOptions",
|
||||||
|
"WanVideoControlEmbeds",
|
||||||
"WanVideoDecode",
|
"WanVideoDecode",
|
||||||
"WanVideoEmptyEmbeds",
|
"WanVideoEmptyEmbeds",
|
||||||
"WanVideoEncode",
|
"WanVideoEncode",
|
||||||
"WanVideoEnhanceAVideo",
|
"WanVideoEnhanceAVideo",
|
||||||
"WanVideoFlowEdit",
|
"WanVideoFlowEdit",
|
||||||
"WanVideoImageClipEncode",
|
"WanVideoImageClipEncode",
|
||||||
|
"WanVideoImageResizeToClosest",
|
||||||
|
"WanVideoImageToVideoEncode",
|
||||||
"WanVideoLatentPreview",
|
"WanVideoLatentPreview",
|
||||||
|
"WanVideoLoopArgs",
|
||||||
"WanVideoLoraBlockEdit",
|
"WanVideoLoraBlockEdit",
|
||||||
"WanVideoLoraSelect",
|
"WanVideoLoraSelect",
|
||||||
"WanVideoModelLoader",
|
"WanVideoModelLoader",
|
||||||
|
"WanVideoSLG",
|
||||||
"WanVideoSampler",
|
"WanVideoSampler",
|
||||||
"WanVideoTeaCache",
|
"WanVideoTeaCache",
|
||||||
"WanVideoTextEmbedBridge",
|
"WanVideoTextEmbedBridge",
|
||||||
"WanVideoTextEncode",
|
"WanVideoTextEncode",
|
||||||
|
"WanVideoTinyVAELoader",
|
||||||
"WanVideoTorchCompileSettings",
|
"WanVideoTorchCompileSettings",
|
||||||
"WanVideoVAELoader",
|
"WanVideoVAELoader",
|
||||||
"WanVideoVRAMManagement"
|
"WanVideoVRAMManagement"
|
||||||
@@ -4082,12 +4265,18 @@
|
|||||||
"AIO_Translater",
|
"AIO_Translater",
|
||||||
"Abc_Math",
|
"Abc_Math",
|
||||||
"Baidu_Translater",
|
"Baidu_Translater",
|
||||||
"BiRefNet_Loader",
|
|
||||||
"Color_Adjustment",
|
"Color_Adjustment",
|
||||||
"Custom_Save_Image",
|
"Custom_Save_Image",
|
||||||
"Display_Any",
|
"Display_Any",
|
||||||
|
"Image_Composer",
|
||||||
|
"Image_Cropper",
|
||||||
|
"Image_Mask_Composer",
|
||||||
|
"Image_Resizer",
|
||||||
"Image_Size_Extractor",
|
"Image_Size_Extractor",
|
||||||
|
"Kay_BiRefNet_Loader",
|
||||||
|
"Load_Image_Folder",
|
||||||
"Mask_Blur_Plus",
|
"Mask_Blur_Plus",
|
||||||
|
"Mask_Filler",
|
||||||
"Preview_Mask",
|
"Preview_Mask",
|
||||||
"Preview_Mask_Plus",
|
"Preview_Mask_Plus",
|
||||||
"RemBG_Loader",
|
"RemBG_Loader",
|
||||||
@@ -4199,6 +4388,16 @@
|
|||||||
"title_aux": "comfyui-python-cowboy [UNSAFE]"
|
"title_aux": "comfyui-python-cowboy [UNSAFE]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/l1yongch1/ComfyUI-YcNodes": [
|
||||||
|
[
|
||||||
|
"PaddingAccordingToBackground",
|
||||||
|
"RemoveHighlightAndBlur",
|
||||||
|
"RoundedCorners"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "ComfyUI-YcNodes"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/laksjdjf/ssd-1b-comfyui": [
|
"https://github.com/laksjdjf/ssd-1b-comfyui": [
|
||||||
[
|
[
|
||||||
"SSD-1B-Loader"
|
"SSD-1B-Loader"
|
||||||
@@ -4827,32 +5026,26 @@
|
|||||||
"ClusterBroadcastTensor",
|
"ClusterBroadcastTensor",
|
||||||
"ClusterExecuteCurrentWorkflow",
|
"ClusterExecuteCurrentWorkflow",
|
||||||
"ClusterExecuteWorkflow",
|
"ClusterExecuteWorkflow",
|
||||||
|
"ClusterFanInImages",
|
||||||
"ClusterFanOutImage",
|
"ClusterFanOutImage",
|
||||||
"ClusterFanOutLatent",
|
"ClusterFanOutLatent",
|
||||||
"ClusterFanOutMask",
|
"ClusterFanOutMask",
|
||||||
|
"ClusterFinallyFree",
|
||||||
|
"ClusterFlattenBatchedImageList",
|
||||||
|
"ClusterFreeNow",
|
||||||
"ClusterGatherImages",
|
"ClusterGatherImages",
|
||||||
"ClusterGatherLatents",
|
"ClusterGatherLatents",
|
||||||
"ClusterGatherMasks",
|
"ClusterGatherMasks",
|
||||||
"ClusterGetInstanceWorkItemFromBatch",
|
"ClusterGetInstanceWorkItemFromBatch",
|
||||||
"ClusterInfo",
|
"ClusterInfo",
|
||||||
"ClusterListenTensorBroadcast"
|
"ClusterListenTensorBroadcast",
|
||||||
|
"ClusterSplitBatchToList",
|
||||||
|
"ClusterStridedReorder"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
"title_aux": "ComfyUI_Cluster [WIP]"
|
"title_aux": "ComfyUI_Cluster [WIP]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"https://github.com/nova-florealis/comfyui-alien": [
|
|
||||||
[
|
|
||||||
"ConvertMarkdown",
|
|
||||||
"ListDisplayNode",
|
|
||||||
"MarkdownConverterModule",
|
|
||||||
"TextOutput",
|
|
||||||
"TextToText"
|
|
||||||
],
|
|
||||||
{
|
|
||||||
"title_aux": "comfyui-alien"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"https://github.com/oshtz/ComfyUI-oshtz-nodes": [
|
"https://github.com/oshtz/ComfyUI-oshtz-nodes": [
|
||||||
[
|
[
|
||||||
"EasyAspectRatioNode",
|
"EasyAspectRatioNode",
|
||||||
@@ -5085,6 +5278,84 @@
|
|||||||
"title_aux": "ComfyUI-ODE"
|
"title_aux": "ComfyUI-ODE"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/rhinoflavored/comfyui_QT": [
|
||||||
|
[
|
||||||
|
"CSVDataMatcher",
|
||||||
|
"QTAutoCropByNPS",
|
||||||
|
"QTExcelImageReader",
|
||||||
|
"QTExcelReader",
|
||||||
|
"QTRandomSelectString",
|
||||||
|
"QTStringWrappingByNumber",
|
||||||
|
"QT_Alpha_Yaxis_Node",
|
||||||
|
"QT_AntiAliasing_Node",
|
||||||
|
"QT_Batch_Anything_Node",
|
||||||
|
"QT_Center_Rotation",
|
||||||
|
"QT_Character_Height_Difference",
|
||||||
|
"QT_Character_Size_Node",
|
||||||
|
"QT_Color_Image_Loop",
|
||||||
|
"QT_Content_Location_Node",
|
||||||
|
"QT_Crop_Alpha",
|
||||||
|
"QT_Crop_Alpha_V2",
|
||||||
|
"QT_Curves_Node",
|
||||||
|
"QT_Dictionary_Node",
|
||||||
|
"QT_Elements_Into_List_Node",
|
||||||
|
"QT_Float_To_Int",
|
||||||
|
"QT_Image_Array",
|
||||||
|
"QT_Image_Array_Circle",
|
||||||
|
"QT_Image_Array_Rectangle",
|
||||||
|
"QT_Image_Overlay",
|
||||||
|
"QT_Image_Overlay_BOOLEAN",
|
||||||
|
"QT_Image_Overlay_Rotation",
|
||||||
|
"QT_Image_Overlay_V2",
|
||||||
|
"QT_Image_Overlay_V3",
|
||||||
|
"QT_Image_Sorting_Node",
|
||||||
|
"QT_Image_Upscale_And_Crop_Node",
|
||||||
|
"QT_Image_Upscale_And_Crop_Node_V2",
|
||||||
|
"QT_Image_Upscale_And_Crop_Node_V3",
|
||||||
|
"QT_Image_Upscale_Node",
|
||||||
|
"QT_Image_Vision_Center_Node",
|
||||||
|
"QT_Join_Image_List_Node",
|
||||||
|
"QT_Line_Break",
|
||||||
|
"QT_Line_Break_V2",
|
||||||
|
"QT_List_Length",
|
||||||
|
"QT_List_Picker",
|
||||||
|
"QT_List_To_String",
|
||||||
|
"QT_Mask_Mix_Node",
|
||||||
|
"QT_Merge_Into_List_Node",
|
||||||
|
"QT_Pageturn_Node",
|
||||||
|
"QT_Pattern_Fill",
|
||||||
|
"QT_Piecewise_Function_Node",
|
||||||
|
"QT_Polar_Coordinate_Conversion_Node",
|
||||||
|
"QT_Rounded_Corner",
|
||||||
|
"QT_SUPIR_Upscale",
|
||||||
|
"QT_Simple_Text_Image_V2",
|
||||||
|
"QT_Sorting_Node",
|
||||||
|
"QT_Split_List_Node",
|
||||||
|
"QT_Split_List_Node_V2",
|
||||||
|
"QT_Split_Mask_Node",
|
||||||
|
"QT_Split_String",
|
||||||
|
"QT_String_Horizontal_To_Vertical",
|
||||||
|
"QT_String_To_List",
|
||||||
|
"QT_Text_Input_Switch_Node",
|
||||||
|
"QT_Text_Overlay_V2",
|
||||||
|
"QT_Text_To_Bool_Node",
|
||||||
|
"QT_Tilt_Transform",
|
||||||
|
"QT_Translucent_Node",
|
||||||
|
"QT_Vertical_Text_Overlay",
|
||||||
|
"QT_Video_Combine_Node"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "comfyui_QT"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"https://github.com/ricklove/ComfyUI-AutoSeg-SAM2": [
|
||||||
|
[
|
||||||
|
"AutoSegSAM2Node"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "ComfyUI-AutoSeg-SAM2"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/rishipandey125/ComfyUI-FramePacking": [
|
"https://github.com/rishipandey125/ComfyUI-FramePacking": [
|
||||||
[
|
[
|
||||||
"Add Grid Boundaries",
|
"Add Grid Boundaries",
|
||||||
@@ -5220,8 +5491,8 @@
|
|||||||
{
|
{
|
||||||
"author": "shinich39",
|
"author": "shinich39",
|
||||||
"description": "Javascript code will run when an event fires.",
|
"description": "Javascript code will run when an event fires.",
|
||||||
"nickname": "event-handler",
|
"nickname": "comfyui-event-handler",
|
||||||
"title": "event-handler",
|
"title": "comfyui-event-handler",
|
||||||
"title_aux": "comfyui-event-handler [USAFE]"
|
"title_aux": "comfyui-event-handler [USAFE]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -5241,6 +5512,17 @@
|
|||||||
"title_aux": "ComfyUI_CheckPointLoader_Ext [WIP]"
|
"title_aux": "ComfyUI_CheckPointLoader_Ext [WIP]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/silveroxides/ComfyUI-ModelUtils": [
|
||||||
|
[
|
||||||
|
"CLIPMetaKeys",
|
||||||
|
"CheckpointMetaKeys",
|
||||||
|
"LoRAMetaKeys",
|
||||||
|
"UNetMetaKeys"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "ComfyUI-ModelUtils [WIP]"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/sizzlebop/comfyui-llm-prompt-enhancer": [
|
"https://github.com/sizzlebop/comfyui-llm-prompt-enhancer": [
|
||||||
[
|
[
|
||||||
"PromptEnhancer"
|
"PromptEnhancer"
|
||||||
@@ -5249,6 +5531,15 @@
|
|||||||
"title_aux": "ComfyUI LLM Prompt Enhancer [WIP]"
|
"title_aux": "ComfyUI LLM Prompt Enhancer [WIP]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/smthemex/ComfyUI_GPT_SoVITS_Lite": [
|
||||||
|
[
|
||||||
|
"GPT_SoVITS_LoadModel",
|
||||||
|
"GPT_SoVITS_Sampler"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "ComfyUI_GPT_SoVITS_Lite"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/smthemex/ComfyUI_MangaNinjia": [
|
"https://github.com/smthemex/ComfyUI_MangaNinjia": [
|
||||||
[
|
[
|
||||||
"MangaNinjiaLoader",
|
"MangaNinjiaLoader",
|
||||||
@@ -5362,6 +5653,17 @@
|
|||||||
"title_aux": "ComfyUI-Terminal [UNSAFE]"
|
"title_aux": "ComfyUI-Terminal [UNSAFE]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/sugarkwork/comfyui_image_crop": [
|
||||||
|
[
|
||||||
|
"CropReapply",
|
||||||
|
"CropTransparent",
|
||||||
|
"ExpandMultiple",
|
||||||
|
"RestoreCrop"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "comfyui_image_crop"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/sugarkwork/comfyui_psd": [
|
"https://github.com/sugarkwork/comfyui_psd": [
|
||||||
[
|
[
|
||||||
"Convert PSD to Image",
|
"Convert PSD to Image",
|
||||||
@@ -5433,12 +5735,30 @@
|
|||||||
"https://github.com/thedivergentai/divergent_nodes": [
|
"https://github.com/thedivergentai/divergent_nodes": [
|
||||||
[
|
[
|
||||||
"CLIPTokenCounter",
|
"CLIPTokenCounter",
|
||||||
"DolphinVisionNode"
|
"DataStoreNode",
|
||||||
|
"GemmaMultimodal",
|
||||||
|
"Text Line Reader",
|
||||||
|
"UTF8EncoderNode"
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
"title_aux": "Divergent Nodes [WIP]"
|
"title_aux": "Divergent Nodes [WIP]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/thisiseddy-ab/ComfyUI-Edins-Ultimate-Pack": [
|
||||||
|
[
|
||||||
|
"EUP - Custom Aspect Ratio",
|
||||||
|
"EUP - Iterative Latent Upscaler",
|
||||||
|
"EUP - Latent Merger",
|
||||||
|
"EUP - Latent Tiler",
|
||||||
|
"EUP - Pixel TiledKSample Upscaler Provider",
|
||||||
|
"EUP - Pixel TiledKSample Upscaler Provider Pipe",
|
||||||
|
"EUP - Tiled KSampler",
|
||||||
|
"EUP - Tiled KSampler Advanced"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "ComfyUI-Edins-Ultimate-Pack"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/threadedblue/MLXnodes": [
|
"https://github.com/threadedblue/MLXnodes": [
|
||||||
[
|
[
|
||||||
"MLXImg2Img",
|
"MLXImg2Img",
|
||||||
@@ -5544,14 +5864,6 @@
|
|||||||
"title_aux": "ComfyUI-Dist [WIP]"
|
"title_aux": "ComfyUI-Dist [WIP]"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"https://github.com/vahidzxc/ComfyUI-My-Handy-Nodes": [
|
|
||||||
[
|
|
||||||
"VahCropImage"
|
|
||||||
],
|
|
||||||
{
|
|
||||||
"title_aux": "ComfyUI-My-Handy-Nodes"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"https://github.com/var1ableX/ComfyUI_Accessories": [
|
"https://github.com/var1ableX/ComfyUI_Accessories": [
|
||||||
[
|
[
|
||||||
"ACC_AnyCast",
|
"ACC_AnyCast",
|
||||||
@@ -5565,6 +5877,14 @@
|
|||||||
"title_aux": "ComfyUI_Accessories"
|
"title_aux": "ComfyUI_Accessories"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"https://github.com/vchopine/ComfyUI_Toolbox": [
|
||||||
|
[
|
||||||
|
"ModelAspectRatioSelector"
|
||||||
|
],
|
||||||
|
{
|
||||||
|
"title_aux": "ComfyUI_Toolbox"
|
||||||
|
}
|
||||||
|
],
|
||||||
"https://github.com/walterFeng/ComfyUI-Image-Utils": [
|
"https://github.com/walterFeng/ComfyUI-Image-Utils": [
|
||||||
[
|
[
|
||||||
"Calculate Image Brightness",
|
"Calculate Image Brightness",
|
||||||
@@ -5681,6 +6001,8 @@
|
|||||||
"AceIntegerX",
|
"AceIntegerX",
|
||||||
"CheckpointLoaderBNB_X",
|
"CheckpointLoaderBNB_X",
|
||||||
"CheckpointLoaderNF4_X",
|
"CheckpointLoaderNF4_X",
|
||||||
|
"ColorTransferNodeX",
|
||||||
|
"DeepSeekX",
|
||||||
"DepthDisplaceX",
|
"DepthDisplaceX",
|
||||||
"EmptyLatentX",
|
"EmptyLatentX",
|
||||||
"IfConditionX",
|
"IfConditionX",
|
||||||
@@ -5690,8 +6012,12 @@
|
|||||||
"LoopCloseX",
|
"LoopCloseX",
|
||||||
"LoopOpenX",
|
"LoopOpenX",
|
||||||
"LoraBatchSamplerX",
|
"LoraBatchSamplerX",
|
||||||
|
"PixtralVisionX",
|
||||||
|
"PixtralX",
|
||||||
|
"RegionTesterNodeX",
|
||||||
"RelightX",
|
"RelightX",
|
||||||
"RemoveBackgroundX",
|
"RemoveBackgroundX",
|
||||||
|
"SaveImageX",
|
||||||
"SelectiveDepthLoraBlocksX",
|
"SelectiveDepthLoraBlocksX",
|
||||||
"UnetLoaderBNB_X",
|
"UnetLoaderBNB_X",
|
||||||
"WhiteBalanceX"
|
"WhiteBalanceX"
|
||||||
@@ -5702,21 +6028,26 @@
|
|||||||
],
|
],
|
||||||
"https://github.com/yanhuifair/ComfyUI-FairLab": [
|
"https://github.com/yanhuifair/ComfyUI-FairLab": [
|
||||||
[
|
[
|
||||||
|
"AppendTagsNode",
|
||||||
|
"BlacklistTagsNode",
|
||||||
"CLIPTranslatedNode",
|
"CLIPTranslatedNode",
|
||||||
"DownloadImageNode",
|
"DownloadImageNode",
|
||||||
"FillAlphaNode",
|
"FillAlphaNode",
|
||||||
"FixUTF8StringNode",
|
"FixUTF8StringNode",
|
||||||
|
"FloatNode",
|
||||||
"ImageResizeNode",
|
"ImageResizeNode",
|
||||||
"ImageToVideoNode",
|
"ImageToVideoNode",
|
||||||
|
"IntNode",
|
||||||
"LoadImageFromDirectoryNode",
|
"LoadImageFromDirectoryNode",
|
||||||
"LoadImageFromURLNode",
|
"LoadImageFromURLNode",
|
||||||
|
"PrependTagsNode",
|
||||||
"PrintAnyNode",
|
"PrintAnyNode",
|
||||||
"PrintImageNode",
|
"PrintImageNode",
|
||||||
"SaveImageToDirectoryNode",
|
"SaveImageToDirectoryNode",
|
||||||
"SaveStringToDirectoryNode",
|
"SaveStringToDirectoryNode",
|
||||||
"SequenceStringListNode",
|
"SequenceStringListNode",
|
||||||
"StringCombineNode",
|
"StringCombineNode",
|
||||||
"StringFieldNode",
|
"StringNode",
|
||||||
"TranslateStringNode",
|
"TranslateStringNode",
|
||||||
"VideoToImageNode"
|
"VideoToImageNode"
|
||||||
],
|
],
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -11,6 +11,117 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
"author": "svetozarov",
|
||||||
|
"title": "AS_GeminiCaptioning Node [REMOVED]",
|
||||||
|
"reference": "https://github.com/svetozarov/AS_GeminiCaptioning",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/svetozarov/AS_GeminiCaptioning"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "A ComfyUI node that combines an image with simple text parameters to create a prompt, sends it to the Google Gemini API via the google-generativeai SDK, and returns the generated text response along with the original prompt and an execution log"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "shinich39",
|
||||||
|
"title": "comfyui-load-image-in-seq [REMOVED]",
|
||||||
|
"reference": "https://github.com/shinich39/comfyui-load-image-in-seq",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/shinich39/comfyui-load-image-in-seq"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "This node is load png image sequentially with metadata. Only supported for PNG format that has been created by ComfyUI.[w/renamed from comfyui-load-image-39. You need to remove previous one and reinstall to this.]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "shinich39",
|
||||||
|
"title": "comfyui-model-metadata [REMOVED]",
|
||||||
|
"reference": "https://github.com/shinich39/comfyui-model-metadata",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/shinich39/comfyui-model-metadata"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "Print model metadata on note node"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "shinich39",
|
||||||
|
"title": "comfyui-view-recommendations [REMOVED]",
|
||||||
|
"reference": "https://github.com/shinich39/comfyui-view-recommendations",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/shinich39/comfyui-view-recommendations"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "Load model generation data from civitai."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "jonstreeter",
|
||||||
|
"title": "Comfyui-PySceneDetect [REMOVED]",
|
||||||
|
"reference": "https://github.com/jonstreeter/Comfyui-PySceneDetect",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/jonstreeter/Comfyui-PySceneDetect"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "NODES: PySceneDetect Video Processor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "muxueChen",
|
||||||
|
"title": "ComfyUI-NTQwen25-VL [REMOVED]",
|
||||||
|
"reference": "https://github.com/muxueChen/ComfyUI-NTQwen25-VL",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/muxueChen/ComfyUI-NTQwen25-VL"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "Qwen25-VL is a plugin for ComfyU"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "Makki_Shizu",
|
||||||
|
"title": "ComfyUI-SaveAnimatedGIF [DEPRECATED]",
|
||||||
|
"id": "SaveAnimatedGIF",
|
||||||
|
"reference": "https://github.com/MakkiShizu/ComfyUI-SaveAnimatedGIF",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/MakkiShizu/ComfyUI-SaveAnimatedGIF"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "Save animated GIF format nodes in ComfyUI"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "l1yongch1",
|
||||||
|
"title": "ComfyUI_PhiCaption [REMOVED]",
|
||||||
|
"reference": "https://github.com/l1yongch1/ComfyUI_PhiCaption",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/l1yongch1/ComfyUI_PhiCaption"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "In addition to achieving conventional single-image, single-round reverse engineering, it can also achieve single-image multi-round and multi-image single-round reverse engineering. Moreover, the Phi model has a better understanding of prompts."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "nova-florealis",
|
||||||
|
"title": "comfyui-alien [REMOVED]",
|
||||||
|
"reference": "https://github.com/nova-florealis/comfyui-alien",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/nova-florealis/comfyui-alien"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "NODES: Text to Text (LLM), Text Output, Convert to Markdown, List Display (Debug)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "PluMaZero",
|
||||||
|
"title": "ComfyUI-SpaceFlower [REMOVED]",
|
||||||
|
"reference": "https://github.com/PluMaZero/ComfyUI-SpaceFlower",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/PluMaZero/ComfyUI-SpaceFlower"
|
||||||
|
],
|
||||||
|
"install_type": "git-clone",
|
||||||
|
"description": "Nodes: SpaceFlower_Prompt, SpaceFlower_HangulPrompt, ..."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "vahidzxc",
|
||||||
|
"title": "ComfyUI-My-Handy-Nodes [REMOVED]",
|
||||||
|
"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": "Samulebotin",
|
"author": "Samulebotin",
|
||||||
"title": "ComfyUI-FreeVC_wrapper [REMOVED]",
|
"title": "ComfyUI-FreeVC_wrapper [REMOVED]",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,208 @@
|
|||||||
{
|
{
|
||||||
"models": [
|
"models": [
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 480p 14B (bf16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 480p 14B (bf16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_480p_14B_bf16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_bf16.safetensors",
|
||||||
|
"size": "32.8GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 480p 14B (fp16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 480p 14B (fp16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_480p_14B_fp16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_fp16.safetensors",
|
||||||
|
"size": "32.8GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 480p 14B (fp8_e4m3fn)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 480p 14B (fp8_e4m3fn)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_480p_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"size": "16.4GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 480p 14B (fp8_scaled)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 480p 14B (fp8_scaled)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_480p_14B_fp8_scaled.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_480p_14B_fp8_scaled.safetensors",
|
||||||
|
"size": "16.4GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 720p 14B (bf16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 720p 14B (bf16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_720p_14B_bf16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_720p_14B_bf16.safetensors",
|
||||||
|
"size": "32.8GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 720p 14B (fp16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 720p 14B (fp16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_720p_14B_fp16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_720p_14B_fp16.safetensors",
|
||||||
|
"size": "32.8GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 720p 14B (fp8_e4m3fn)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 720p 14B (fp8_e4m3fn)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_720p_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"size": "16.4GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 i2v 720p 14B (fp8_scaled)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for i2v 720p 14B (fp8_scaled)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_i2v_720p_14B_fp8_scaled.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_i2v_720p_14B_fp8_scaled.safetensors",
|
||||||
|
"size": "16.4GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/clip_vision_h.safetensors",
|
||||||
|
"type": "clip_vision",
|
||||||
|
"base": "clip_vision_h",
|
||||||
|
"save_path": "clip_vision",
|
||||||
|
"description": "clip_vision_h model for Wan2.1",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "clip_vision_h.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors",
|
||||||
|
"size": "1.26GB"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 1.3B (bf16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 1.3B (bf16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_1.3B_bf16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_bf16.safetensors",
|
||||||
|
"size": "2.84GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 1.3B (fp16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 1.3B (fp16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_1.3B_fp16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_1.3B_fp16.safetensors",
|
||||||
|
"size": "2.84GB"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 14B (bf16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 14B (bf16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_14B_bf16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_bf16.safetensors",
|
||||||
|
"size": "28.6GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 14B (fp16)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 14B (fp16)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_14B_fp16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_fp,16.safetensors",
|
||||||
|
"size": "28.6GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 14B (fp8_e4m3fn)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 14B (fp8_e4m3fn)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_fp8_e4m3fn.safetensors",
|
||||||
|
"size": "14.3GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 t2v 14B (fp8_scaled)",
|
||||||
|
"type": "diffusion_model",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "diffusion_models/Wan2.1",
|
||||||
|
"description": "Wan2.1 difussion model for t2v 14B (fp8_scaled)",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan2.1_t2v_14B_fp8_scaled.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_fp8_scaled.safetensors",
|
||||||
|
"size": "14.3GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/Wan2.1 VAE",
|
||||||
|
"type": "vae",
|
||||||
|
"base": "Wan2.1",
|
||||||
|
"save_path": "vae",
|
||||||
|
"description": "Wan2.1 VAE model",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "wan_2.1_vae.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
|
||||||
|
"size": "254MB"
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/umt5_xxl_fp16.safetensors",
|
||||||
|
"type": "clip",
|
||||||
|
"base": "umt5_xxl",
|
||||||
|
"save_path": "text_encoders",
|
||||||
|
"description": "umt5_xxl_fp16 text encoder for Wan2.1",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "umt5_xxl_fp16.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors",
|
||||||
|
"size": "11.4GB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Comfy-Org/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
|
||||||
|
"type": "clip",
|
||||||
|
"base": "umt5_xxl",
|
||||||
|
"save_path": "text_encoders",
|
||||||
|
"description": "umt5_xxl_fp8_e4m3fn_scaled text encoder for Wan2.1",
|
||||||
|
"reference": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged",
|
||||||
|
"filename": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
|
||||||
|
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
|
||||||
|
"size": "6.74GB"
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "Comfy-Org/hunyuan_video_image_to_video_720p_bf16.safetensors",
|
"name": "Comfy-Org/hunyuan_video_image_to_video_720p_bf16.safetensors",
|
||||||
"type": "diffusion_model",
|
"type": "diffusion_model",
|
||||||
@@ -502,234 +705,6 @@
|
|||||||
"filename": "Kolors-IP-Adapter-FaceID-Plus.bin",
|
"filename": "Kolors-IP-Adapter-FaceID-Plus.bin",
|
||||||
"url": "https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-FaceID-Plus/resolve/main/ipa-faceid-plus.bin",
|
"url": "https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-FaceID-Plus/resolve/main/ipa-faceid-plus.bin",
|
||||||
"size": "2.39GB"
|
"size": "2.39GB"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "CLIPVision model (Kwai-Kolors/Kolors-IP-Adapter-Plus/clip-vit-large)",
|
|
||||||
"type": "clip_vision",
|
|
||||||
"base": "ViT-L",
|
|
||||||
"save_path": "clip_vision",
|
|
||||||
"description": "CLIPVision model (This is required in cubiq/ComfyUI_IPAdapter_plus)",
|
|
||||||
"reference": "https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-Plus",
|
|
||||||
"filename": "clip-vit-large-patch14-336.bin",
|
|
||||||
"url": "https://huggingface.co/Kwai-Kolors/Kolors-IP-Adapter-Plus/resolve/main/image_encoder/pytorch_model.bin",
|
|
||||||
"size": "1.71GB"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "kijai/lotus depth d model v1.1 (fp16)",
|
|
||||||
"type": "diffusion_model",
|
|
||||||
"base": "lotus",
|
|
||||||
"save_path": "diffusion_models",
|
|
||||||
"description": "lotus depth d model v1.1 (fp16). This model can be used in ComfyUI-Lotus custom nodes.",
|
|
||||||
"reference": "https://huggingface.co/Kijai/lotus-comfyui",
|
|
||||||
"filename": "lotus-depth-d-v-1-1-fp16.safetensors",
|
|
||||||
"url": "https://huggingface.co/Kijai/lotus-comfyui/resolve/main/lotus-depth-d-v-1-1-fp16.safetensors",
|
|
||||||
"size": "1.74GB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "kijai/lotus depth g model v1.0 (fp16)",
|
|
||||||
"type": "diffusion_model",
|
|
||||||
"base": "lotus",
|
|
||||||
"save_path": "diffusion_models",
|
|
||||||
"description": "lotus depth g model v1.0 (fp16). This model can be used in ComfyUI-Lotus custom nodes.",
|
|
||||||
"reference": "https://huggingface.co/Kijai/lotus-comfyui",
|
|
||||||
"filename": "lotus-depth-g-v1-0-fp16.safetensors",
|
|
||||||
"url": "https://huggingface.co/Kijai/lotus-comfyui/resolve/main/lotus-depth-g-v1-0-fp16.safetensors",
|
|
||||||
"size": "1.74GB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "kijai/lotus depth g model v1.0",
|
|
||||||
"type": "diffusion_model",
|
|
||||||
"base": "lotus",
|
|
||||||
"save_path": "diffusion_models",
|
|
||||||
"description": "lotus depth g model v1.0. This model can be used in ComfyUI-Lotus custom nodes.",
|
|
||||||
"reference": "https://huggingface.co/Kijai/lotus-comfyui",
|
|
||||||
"filename": "lotus-depth-g-v1-0.safetensors",
|
|
||||||
"url": "https://huggingface.co/Kijai/lotus-comfyui/resolve/main/lotus-depth-g-v1-0.safetensors",
|
|
||||||
"size": "3.47GB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "kijai/lotus normal d model v1.0 (fp16)",
|
|
||||||
"type": "diffusion_model",
|
|
||||||
"base": "lotus",
|
|
||||||
"save_path": "diffusion_models",
|
|
||||||
"description": "lotus normal d model v1.0 (fp16). This model can be used in ComfyUI-Lotus custom nodes.",
|
|
||||||
"reference": "https://huggingface.co/Kijai/lotus-comfyui",
|
|
||||||
"filename": "lotus-normal-d-v1-0-fp16.safetensors",
|
|
||||||
"url": "https://huggingface.co/Kijai/lotus-comfyui/resolve/main/lotus-normal-d-v1-0-fp16.safetensors",
|
|
||||||
"size": "1.74GB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "kijai/lotus normal d model v1.0",
|
|
||||||
"type": "diffusion_model",
|
|
||||||
"base": "lotus",
|
|
||||||
"save_path": "diffusion_models",
|
|
||||||
"description": "lotus normal d model v1.0. This model can be used in ComfyUI-Lotus custom nodes.",
|
|
||||||
"reference": "https://huggingface.co/Kijai/lotus-comfyui",
|
|
||||||
"filename": "lotus-normal-d-v1-0.safetensors",
|
|
||||||
"url": "https://huggingface.co/Kijai/lotus-comfyui/resolve/main/lotus-normal-d-v1-0.safetensors",
|
|
||||||
"size": "3.47GB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "kijai/lotus normal g model v1.0 (fp16)",
|
|
||||||
"type": "diffusion_model",
|
|
||||||
"base": "lotus",
|
|
||||||
"save_path": "diffusion_models",
|
|
||||||
"description": "lotus normal g model v1.0 (fp16). This model can be used in ComfyUI-Lotus custom nodes.",
|
|
||||||
"reference": "https://huggingface.co/Kijai/lotus-comfyui",
|
|
||||||
"filename": "lotus-normal-g-v1-0-fp16.safetensors",
|
|
||||||
"url": "https://huggingface.co/Kijai/lotus-comfyui/resolve/main/lotus-normal-g-v1-0-fp16.safetensors",
|
|
||||||
"size": "1.74GB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "kijai/lotus normal g model v1.0",
|
|
||||||
"type": "diffusion_model",
|
|
||||||
"base": "lotus",
|
|
||||||
"save_path": "diffusion_models",
|
|
||||||
"description": "lotus normal g model v1.0. This model can be used in ComfyUI-Lotus custom nodes.",
|
|
||||||
"reference": "https://huggingface.co/Kijai/lotus-comfyui",
|
|
||||||
"filename": "lotus-normal-g-v1-0.safetensors",
|
|
||||||
"url": "https://huggingface.co/Kijai/lotus-comfyui/resolve/main/lotus-normal-g-v1-0.safetensors",
|
|
||||||
"size": "3.47GB"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "Depth Pro model",
|
|
||||||
"type": "depth-pro",
|
|
||||||
"base": "depth-pro",
|
|
||||||
"save_path": "depth/ml-depth-pro",
|
|
||||||
"description": "Depth pro model for [a/ComfyUI-Depth-Pro](https://github.com/spacepxl/ComfyUI-Depth-Pro)",
|
|
||||||
"reference": "https://huggingface.co/spacepxl/ml-depth-pro",
|
|
||||||
"filename": "depth_pro.fp16.safetensors",
|
|
||||||
"url": "https://huggingface.co/spacepxl/ml-depth-pro/resolve/main/depth_pro.fp16.safetensors",
|
|
||||||
"size": "1.9GB"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "jasperai/FLUX.1-dev-Controlnet-Upscaler",
|
|
||||||
"type": "controlnet",
|
|
||||||
"base": "FLUX.1",
|
|
||||||
"save_path": "controlnet/FLUX.1/jasperai-dev-Upscaler",
|
|
||||||
"description": "This is Flux.1-dev ControlNet for low resolution images developed by Jasper research team.",
|
|
||||||
"reference": "https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Upscaler",
|
|
||||||
"filename": "diffusion_pytorch_model.safetensors",
|
|
||||||
"url": "https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Upscaler/resolve/main/diffusion_pytorch_model.safetensors",
|
|
||||||
"size": "3.58GB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "jasperai/FLUX.1-dev-Controlnet-Depth",
|
|
||||||
"type": "controlnet",
|
|
||||||
"base": "FLUX.1",
|
|
||||||
"save_path": "controlnet/FLUX.1/jasperai-dev-Depth",
|
|
||||||
"description": "This is Flux.1-dev ControlNet for Depth map developed by Jasper research team.",
|
|
||||||
"reference": "https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Depth",
|
|
||||||
"filename": "diffusion_pytorch_model.safetensors",
|
|
||||||
"url": "https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Depth/resolve/main/diffusion_pytorch_model.safetensors",
|
|
||||||
"size": "3.58GB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "jasperai/Flux.1-dev-Controlnet-Surface-Normals",
|
|
||||||
"type": "controlnet",
|
|
||||||
"base": "FLUX.1",
|
|
||||||
"save_path": "controlnet/FLUX.1/jasperai-dev-Surface-Normals",
|
|
||||||
"description": "This is Flux.1-dev ControlNet for Surface Normals map developed by Jasper research team.",
|
|
||||||
"reference": "https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Surface-Normals",
|
|
||||||
"filename": "diffusion_pytorch_model.safetensors",
|
|
||||||
"url": "https://huggingface.co/jasperai/Flux.1-dev-Controlnet-Surface-Normals/resolve/main/diffusion_pytorch_model.safetensors",
|
|
||||||
"size": "3.58GB"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro (fp8_e4m3fn) by Kijai",
|
|
||||||
"type": "controlnet",
|
|
||||||
"base": "FLUX.1",
|
|
||||||
"save_path": "controlnet/FLUX.1",
|
|
||||||
"description": "FLUX.1 [Dev] Union Controlnet. Supports Canny, Tile, Depth, Blur, Pose, Gray, Low Quality\nVersion quantized to fp8_e4m3fn by Kijai",
|
|
||||||
"reference": "https://huggingface.co/Kijai/flux-fp8",
|
|
||||||
"filename": "flux_shakker_labs_union_pro-fp8_e4m3fn.safetensors",
|
|
||||||
"url": "https://huggingface.co/Kijai/flux-fp8/resolve/main/flux_shakker_labs_union_pro-fp8_e4m3fn.safetensors",
|
|
||||||
"size": "3.3GB"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "ViT-L-14-TEXT-detail-improved-hiT-GmP-HF.safetensors [Long CLIP L]",
|
|
||||||
"type": "clip",
|
|
||||||
"base": "clip",
|
|
||||||
"save_path": "text_encoders/long_clip",
|
|
||||||
"description": "Greatly improved TEXT + Detail (as CLIP-L for Flux.1)",
|
|
||||||
"reference": "https://huggingface.co/zer0int",
|
|
||||||
"filename": "ViT-L-14-TEXT-detail-improved-hiT-GmP-HF.safetensors",
|
|
||||||
"url": "https://huggingface.co/zer0int/CLIP-GmP-ViT-L-14/resolve/main/ViT-L-14-TEXT-detail-improved-hiT-GmP-HF.safetensors",
|
|
||||||
"size": "931MB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ViT-L-14-TEXT-detail-improved-hiT-GmP-HF.safetensors [Long CLIP L]",
|
|
||||||
"type": "clip",
|
|
||||||
"base": "clip",
|
|
||||||
"save_path": "text_encoders/long_clip",
|
|
||||||
"description": "Greatly improved TEXT + Detail (as CLIP-L for Flux.1)",
|
|
||||||
"reference": "https://huggingface.co/zer0int",
|
|
||||||
"filename": "ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors",
|
|
||||||
"url": "https://huggingface.co/zer0int/CLIP-GmP-ViT-L-14/resolve/main/ViT-L-14-TEXT-detail-improved-hiT-GmP-TE-only-HF.safetensors",
|
|
||||||
"size": "323MB"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro",
|
|
||||||
"type": "controlnet",
|
|
||||||
"base": "FLUX.1",
|
|
||||||
"save_path": "controlnet/FLUX.1/Shakker-Labs-ControlNet-Union-Pro",
|
|
||||||
"description": "FLUX.1 [Dev] Union Controlnet. Supports Canny, Tile, Depth, Blur, Pose, Gray, Low Quality",
|
|
||||||
"reference": "https://huggingface.co/Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro",
|
|
||||||
"filename": "diffusion_pytorch_model.safetensors",
|
|
||||||
"url": "https://huggingface.co/Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro/resolve/main/diffusion_pytorch_model.safetensors",
|
|
||||||
"size": "6.6GB"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "Hyper-SD LoRA (8steps) - FLUX.1 [Dev]",
|
|
||||||
"type": "lora",
|
|
||||||
"base": "FLUX.1",
|
|
||||||
"save_path": "loras/HyperSD/FLUX.1",
|
|
||||||
"description": "Hyper-SD LoRA (8steps) - FLUX.1 [Dev]",
|
|
||||||
"reference": "https://huggingface.co/ByteDance/Hyper-SD",
|
|
||||||
"filename": "Hyper-FLUX.1-dev-8steps-lora.safetensors",
|
|
||||||
"url": "https://huggingface.co/ByteDance/Hyper-SD/resolve/main/Hyper-FLUX.1-dev-8steps-lora.safetensors",
|
|
||||||
"size": "1.39GB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Hyper-SD LoRA (16steps) - FLUX.1 [Dev]",
|
|
||||||
"type": "lora",
|
|
||||||
"base": "FLUX.1",
|
|
||||||
"save_path": "loras/HyperSD/FLUX.1",
|
|
||||||
"description": "Hyper-SD LoRA (16steps) - FLUX.1 [Dev]",
|
|
||||||
"reference": "https://huggingface.co/ByteDance/Hyper-SD",
|
|
||||||
"filename": "Hyper-FLUX.1-dev-16steps-lora.safetensors",
|
|
||||||
"url": "https://huggingface.co/ByteDance/Hyper-SD/resolve/main/Hyper-FLUX.1-dev-16steps-lora.safetensors",
|
|
||||||
"size": "1.39GB"
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"name": "DMD2 LoRA (4steps)",
|
|
||||||
"type": "lora",
|
|
||||||
"base": "SDXL",
|
|
||||||
"save_path": "loras/DMD2",
|
|
||||||
"description": "DMD2 LoRA (4steps)",
|
|
||||||
"reference": "https://huggingface.co/tianweiy/DMD2",
|
|
||||||
"filename": "dmd2_sdxl_4step_lora.safetensors",
|
|
||||||
"url": "https://huggingface.co/tianweiy/DMD2/resolve/main/dmd2_sdxl_4step_lora.safetensors",
|
|
||||||
"size": "787MB"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "DMD2 LoRA (4steps/fp16)",
|
|
||||||
"type": "lora",
|
|
||||||
"base": "SDXL",
|
|
||||||
"save_path": "loras/DMD2",
|
|
||||||
"description": "DMD2 LoRA (4steps/fp16)",
|
|
||||||
"reference": "https://huggingface.co/tianweiy/DMD2",
|
|
||||||
"filename": "dmd2_sdxl_4step_lora_fp16.safetensors",
|
|
||||||
"url": "https://huggingface.co/tianweiy/DMD2/resolve/main/dmd2_sdxl_4step_lora_fp16.safetensors",
|
|
||||||
"size": "394MB"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -311,6 +311,16 @@
|
|||||||
],
|
],
|
||||||
"description": "ComfyUI node for creating some Turtle Graphic demos.",
|
"description": "ComfyUI node for creating some Turtle Graphic demos.",
|
||||||
"install_type": "git-clone"
|
"install_type": "git-clone"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"author": "cozy-comfyui",
|
||||||
|
"title": "cozy_ex_dynamic",
|
||||||
|
"reference": "https://github.com/cozy-comfyui/cozy_ex_dynamic",
|
||||||
|
"files": [
|
||||||
|
"https://github.com/cozy-comfyui/cozy_ex_dynamic"
|
||||||
|
],
|
||||||
|
"description": "Dynamic Node examples for ComfyUI",
|
||||||
|
"install_type": "git-clone"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -21,22 +21,25 @@ import cm_global
|
|||||||
import manager_downloader
|
import manager_downloader
|
||||||
import folder_paths
|
import folder_paths
|
||||||
|
|
||||||
import datetime
|
manager_util.add_python_path_to_env()
|
||||||
if hasattr(datetime, 'datetime'):
|
|
||||||
from datetime import datetime
|
import datetime as dt
|
||||||
|
|
||||||
|
if hasattr(dt, 'datetime'):
|
||||||
|
from datetime import datetime as dt_datetime
|
||||||
|
|
||||||
def current_timestamp():
|
def current_timestamp():
|
||||||
return datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')[:-3]
|
return dt_datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')[:-3]
|
||||||
else:
|
else:
|
||||||
# NOTE: Occurs in some Mac environments.
|
# NOTE: Occurs in some Mac environments.
|
||||||
import time
|
import time
|
||||||
logging.error(f"[ComfyUI-Manager] fallback timestamp mode\n datetime module is invalid: '{datetime.__file__}'")
|
logging.error(f"[ComfyUI-Manager] fallback timestamp mode\n datetime module is invalid: '{dt.__file__}'")
|
||||||
|
|
||||||
def current_timestamp():
|
def current_timestamp():
|
||||||
return str(time.time()).split('.')[0]
|
return str(time.time()).split('.')[0]
|
||||||
|
|
||||||
security_check.security_check()
|
security_check.security_check()
|
||||||
|
|
||||||
manager_util.add_python_path_to_env()
|
|
||||||
|
|
||||||
cm_global.pip_blacklist = {'torch', 'torchsde', 'torchvision'}
|
cm_global.pip_blacklist = {'torch', 'torchsde', 'torchvision'}
|
||||||
cm_global.pip_downgrade_blacklist = ['torch', 'torchsde', 'torchvision', 'transformers', 'safetensors', 'kornia']
|
cm_global.pip_downgrade_blacklist = ['torch', 'torchsde', 'torchvision', 'transformers', 'safetensors', 'kornia']
|
||||||
|
|
||||||
@@ -689,14 +692,6 @@ def execute_lazy_cnr_switch(target, zip_url, from_path, to_path, no_deps, custom
|
|||||||
file.write('\n'.join(list(extracted)))
|
file.write('\n'.join(list(extracted)))
|
||||||
|
|
||||||
|
|
||||||
def execute_migration(moves):
|
|
||||||
import shutil
|
|
||||||
for x in moves:
|
|
||||||
if os.path.exists(x[0]) and not os.path.exists(x[1]):
|
|
||||||
shutil.move(x[0], x[1])
|
|
||||||
print(f"[ComfyUI-Manager] MIGRATION: '{x[0]}' -> '{x[1]}'")
|
|
||||||
|
|
||||||
|
|
||||||
script_executed = False
|
script_executed = False
|
||||||
|
|
||||||
def execute_startup_script():
|
def execute_startup_script():
|
||||||
@@ -754,9 +749,6 @@ def execute_startup_script():
|
|||||||
execute_lazy_cnr_switch(script[0], script[2], script[3], script[4], script[5], script[6])
|
execute_lazy_cnr_switch(script[0], script[2], script[3], script[4], script[5], script[6])
|
||||||
execute_lazy_install_script(script[3], script[7])
|
execute_lazy_install_script(script[3], script[7])
|
||||||
|
|
||||||
elif script[1] == "#LAZY-MIGRATION":
|
|
||||||
execute_migration(script[2])
|
|
||||||
|
|
||||||
elif script[1] == "#LAZY-DELETE-NODEPACK":
|
elif script[1] == "#LAZY-DELETE-NODEPACK":
|
||||||
execute_lazy_delete(script[2])
|
execute_lazy_delete(script[2])
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "comfyui-manager"
|
name = "comfyui-manager"
|
||||||
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
|
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
|
||||||
version = "3.30.7"
|
version = "3.31.8"
|
||||||
license = { file = "LICENSE.txt" }
|
license = { file = "LICENSE.txt" }
|
||||||
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions", "toml", "uv", "chardet"]
|
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions", "toml", "uv", "chardet"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user