Compare commits
12
Commits
jialin.sun
...
v1.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4c7c0c6df | ||
|
|
89cbf2a433 | ||
|
|
0f5c8ac35b | ||
|
|
e0de88df3a | ||
|
|
17b1b62444 | ||
|
|
988fe90de8 | ||
|
|
9b8eec9a6f | ||
|
|
72095fb17d | ||
|
|
8ca697beff | ||
|
|
7066ded9cc | ||
|
|
fb78171702 | ||
|
|
7f71f3f89d |
@@ -0,0 +1,20 @@
|
||||
name: Publish to Comfy registry
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "pyproject.toml"
|
||||
|
||||
jobs:
|
||||
publish-node:
|
||||
name: Publish Custom Node to registry
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- name: Publish Custom Node
|
||||
uses: Comfy-Org/publish-node-action@main
|
||||
with:
|
||||
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here.
|
||||
+2
-2
@@ -97,7 +97,7 @@ class FluxDevNode:
|
||||
CATEGORY = "UCLOUD_MODELVERSE"
|
||||
FUNCTION = "execute"
|
||||
|
||||
def execute(self,
|
||||
async def execute(self,
|
||||
client,
|
||||
prompt,
|
||||
width=864,
|
||||
@@ -129,7 +129,7 @@ class FluxDevNode:
|
||||
))
|
||||
for i in range(num_requests)]
|
||||
|
||||
image_urls = asyncio.run(client.run_tasks(tasks))
|
||||
image_urls = await client.run_tasks(tasks)
|
||||
|
||||
output_images_list = []
|
||||
for image_url in image_urls:
|
||||
|
||||
@@ -59,7 +59,7 @@ class FluxKontextMaxNode:
|
||||
CATEGORY = "UCLOUD_MODELVERSE"
|
||||
FUNCTION = "execute"
|
||||
|
||||
def execute(self,
|
||||
async def execute(self,
|
||||
client,
|
||||
prompt,
|
||||
images,
|
||||
@@ -100,7 +100,7 @@ class FluxKontextMaxNode:
|
||||
))
|
||||
for i in range(num_requests)]
|
||||
|
||||
image_urls = asyncio.run(client.run_tasks(tasks))
|
||||
image_urls = await client.run_tasks(tasks)
|
||||
|
||||
output_images_list = []
|
||||
for image_url in image_urls:
|
||||
|
||||
@@ -63,7 +63,7 @@ class FluxKontextMaxT2INode:
|
||||
CATEGORY = "UCLOUD_MODELVERSE"
|
||||
FUNCTION = "execute"
|
||||
|
||||
def execute(self,
|
||||
async def execute(self,
|
||||
client,
|
||||
prompt,
|
||||
num_images=1,
|
||||
@@ -88,7 +88,7 @@ class FluxKontextMaxT2INode:
|
||||
))
|
||||
for i in range(num_requests)]
|
||||
|
||||
image_urls = asyncio.run(client.run_tasks(tasks))
|
||||
image_urls = await client.run_tasks(tasks)
|
||||
|
||||
output_images_list = []
|
||||
for image_url in image_urls:
|
||||
|
||||
@@ -59,7 +59,7 @@ class FluxKontextProNode:
|
||||
CATEGORY = "UCLOUD_MODELVERSE"
|
||||
FUNCTION = "execute"
|
||||
|
||||
def execute(self,
|
||||
async def execute(self,
|
||||
client,
|
||||
prompt,
|
||||
images,
|
||||
@@ -100,7 +100,7 @@ class FluxKontextProNode:
|
||||
))
|
||||
for i in range(num_requests)]
|
||||
|
||||
image_urls = asyncio.run(client.run_tasks(tasks))
|
||||
image_urls = await client.run_tasks(tasks)
|
||||
|
||||
output_images_list = []
|
||||
for image_url in image_urls:
|
||||
|
||||
@@ -63,7 +63,7 @@ class FluxKontextProT2INode:
|
||||
CATEGORY = "UCLOUD_MODELVERSE"
|
||||
FUNCTION = "execute"
|
||||
|
||||
def execute(self,
|
||||
async def execute(self,
|
||||
client,
|
||||
prompt,
|
||||
num_images=1,
|
||||
@@ -88,7 +88,7 @@ class FluxKontextProT2INode:
|
||||
))
|
||||
for i in range(num_requests)]
|
||||
|
||||
image_urls = asyncio.run(client.run_tasks(tasks))
|
||||
image_urls = await client.run_tasks(tasks)
|
||||
|
||||
output_images_list = []
|
||||
for image_url in image_urls:
|
||||
|
||||
+2
-2
@@ -60,7 +60,7 @@ class Step1xEditNode:
|
||||
CATEGORY = "UCLOUD_MODELVERSE"
|
||||
FUNCTION = "execute"
|
||||
|
||||
def execute(self,
|
||||
async def execute(self,
|
||||
client,
|
||||
prompt,
|
||||
image,
|
||||
@@ -89,7 +89,7 @@ class Step1xEditNode:
|
||||
))
|
||||
for i in range(num_requests)]
|
||||
|
||||
image_urls = asyncio.run(client.run_tasks(tasks))
|
||||
image_urls = await client.run_tasks(tasks)
|
||||
|
||||
output_images_list = []
|
||||
for image_url in image_urls:
|
||||
|
||||
+5
-5
@@ -1,15 +1,15 @@
|
||||
[project]
|
||||
name = "ucloud-comfyui"
|
||||
description = "This is a set of ComfyUI nodes for UCloud Moderlverse Image generation model API."
|
||||
version = "1.0.0"
|
||||
version = "1.0.2"
|
||||
license = {file = "LICENSE"}
|
||||
dependencies = ["requests", "pillow"]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/ucloud/ucloud-comfyui"
|
||||
Repository = "https://github.com/ucloud/comfyui-plugin"
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "ucloud-modelverse"
|
||||
DisplayName = "ucloud-comfyui"
|
||||
Icon = ""
|
||||
PublisherId = "khalil-song"
|
||||
DisplayName = "ComfyUl-UCloud"
|
||||
Icon = "https://www-s.ucloud.cn/2025/07/4a29a785049191245cea58d2176157d2_1753185180124.jpg"
|
||||
includes = []
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
requests >= 3.32.4
|
||||
requests >= 2.32.4
|
||||
pillow >= 11
|
||||
|
||||
Reference in New Issue
Block a user