bizyengine 1.1.0__tar.gz → 1.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bizyengine-1.1.0 → bizyengine-1.1.3}/PKG-INFO +2 -2
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/__init__.py +1 -0
- bizyengine-1.1.3/bizyengine/bizyair_extras/route_bizyair_tools.py +57 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/common/env_var.py +1 -1
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/data_types.py +13 -0
- bizyengine-1.1.3/bizyengine/version.txt +1 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine.egg-info/PKG-INFO +2 -2
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine.egg-info/SOURCES.txt +1 -0
- bizyengine-1.1.0/bizyengine/version.txt +0 -1
- {bizyengine-1.1.0 → bizyengine-1.1.3}/MANIFEST.in +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/README.md +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/__init__.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizy_server/__init__.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizy_server/api_client.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizy_server/errno.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizy_server/error_handler.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizy_server/execution.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizy_server/resp.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizy_server/server.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizy_server/utils.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_advanced_refluxcontrol.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_cogview4.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_comfyui_detail_daemon.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_comfyui_instantid.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_comfyui_layerstyle_advance.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_comfyui_pulid_flux.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_controlnet.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_custom_sampler.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_dataset.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_differential_diffusion.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_flux.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_image_utils.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_ip2p.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_ipadapter_plus/__init__.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_ipadapter_plus/nodes_ipadapter_plus.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_janus_pro.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_kolors_mz/__init__.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_model_advanced.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_sd3.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_segment_anything.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_segment_anything_utils.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_testing_utils.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_trellis.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_ultimatesdupscale.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_upscale_model.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_wan_video.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/oauth_callback/main.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/__init__.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/commands/__init__.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/commands/base.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/commands/invoker.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/commands/processors/model_hosting_processor.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/commands/processors/prompt_processor.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/commands/servers/model_server.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/commands/servers/prompt_server.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/common/__init__.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/common/caching.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/common/client.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/common/utils.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/configs/conf.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/configs/models.json +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/configs/models.yaml +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/image_utils.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/nodes_base.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/nodes_io.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/path_utils/__init__.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/path_utils/path_manager.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/path_utils/utils.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/__init__.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/auth.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/llm.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/mzkolors.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/nodes.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/nodes_controlnet_aux.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/nodes_controlnet_union_sdxl.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/route_sam.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/segment_anything.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/supernode.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/misc/utils.py +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine.egg-info/dependency_links.txt +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine.egg-info/requires.txt +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine.egg-info/top_level.txt +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/pyproject.toml +0 -0
- {bizyengine-1.1.0 → bizyengine-1.1.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: bizyengine
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: [a/BizyAir](https://github.com/siliconflow/BizyAir) Comfy Nodes that can run in any environment.
|
|
5
5
|
Author-email: SiliconFlow <yaochi@siliconflow.cn>
|
|
6
6
|
Project-URL: Repository, https://github.com/siliconflow/BizyAir
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import json
|
|
2
|
+
import pprint
|
|
3
|
+
|
|
4
|
+
import bizyengine.core as bizyair
|
|
5
|
+
from aiohttp import web
|
|
6
|
+
from bizyengine.core.data_types import BIZYAIR_TYPE_MAP
|
|
7
|
+
from server import PromptServer
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def get_bizyair_display_name(class_type: str) -> str:
|
|
11
|
+
bizyair_cls_prefix = bizyair.nodes_base.PREFIX
|
|
12
|
+
bizyair_logo = bizyair.nodes_base.LOGO
|
|
13
|
+
return f"{bizyair_logo}{bizyair_cls_prefix} {bizyair.NODE_DISPLAY_NAME_MAPPINGS.get(class_type, class_type)}"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def workflow_convert(inputs: dict):
|
|
17
|
+
nodes = inputs["nodes"]
|
|
18
|
+
for node in nodes:
|
|
19
|
+
class_type = node["type"]
|
|
20
|
+
node_inputs = node.get("inputs")
|
|
21
|
+
node_outputs = node.get("outputs")
|
|
22
|
+
bizyair_cls_type = f"{bizyair.nodes_base.PREFIX}_{class_type}"
|
|
23
|
+
is_converted = False
|
|
24
|
+
if bizyair_cls_type in bizyair.NODE_CLASS_MAPPINGS:
|
|
25
|
+
node["type"] = bizyair_cls_type
|
|
26
|
+
display_name = get_bizyair_display_name(class_type)
|
|
27
|
+
node["properties"]["Node name for S&R"] = display_name
|
|
28
|
+
if node_inputs:
|
|
29
|
+
for input_node in node_inputs:
|
|
30
|
+
input_type = input_node["type"]
|
|
31
|
+
input_node["type"] = BIZYAIR_TYPE_MAP.get(input_type, input_type)
|
|
32
|
+
if node_outputs:
|
|
33
|
+
for output_node in node_outputs:
|
|
34
|
+
output_type = output_node["type"]
|
|
35
|
+
output_node["type"] = BIZYAIR_TYPE_MAP.get(output_type, output_type)
|
|
36
|
+
is_converted = True
|
|
37
|
+
pprint.pprint(
|
|
38
|
+
{
|
|
39
|
+
"original_class_type": class_type,
|
|
40
|
+
"bizyair_cls_type": bizyair_cls_type,
|
|
41
|
+
"is_converted": is_converted,
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
return inputs
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
@PromptServer.instance.routes.post("/bizyair/node_converter")
|
|
48
|
+
async def convert(request):
|
|
49
|
+
try:
|
|
50
|
+
data = await request.json()
|
|
51
|
+
ret = workflow_convert(data)
|
|
52
|
+
return web.Response(
|
|
53
|
+
text=json.dumps(ret),
|
|
54
|
+
content_type="application/json",
|
|
55
|
+
)
|
|
56
|
+
except Exception as e:
|
|
57
|
+
return web.json_response({"status": "error", "message": str(e)}, status=400)
|
|
@@ -88,7 +88,7 @@ def create_api_key_file(api_key):
|
|
|
88
88
|
# uat:
|
|
89
89
|
# service_address: https://uat-bizyair-api.siliconflow.cn/x/v1
|
|
90
90
|
_BIZYAIR_SERVER_ADDRESS = os.getenv(
|
|
91
|
-
"BIZYAIR_SERVER_ADDRESS", "https://bizyair-api.siliconflow.cn/x/v1"
|
|
91
|
+
"BIZYAIR_SERVER_ADDRESS", "https://bizyair-api-st.siliconflow.cn/x/v1"
|
|
92
92
|
)
|
|
93
93
|
BIZYAIR_SERVER_ADDRESS = ServerAddress(_BIZYAIR_SERVER_ADDRESS)
|
|
94
94
|
BIZYAIR_API_KEY = env("BIZYAIR_API_KEY", str, load_api_key()[1])
|
|
@@ -11,6 +11,19 @@ FACEANALYSIS = "BIZYAIR_FACEANALYSIS"
|
|
|
11
11
|
STYLE_MODEL = "BIZYAIR_STYLE_MODEL"
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
BIZYAIR_TYPE_MAP = {
|
|
15
|
+
"MODEL": MODEL,
|
|
16
|
+
"CLIP": CLIP,
|
|
17
|
+
"VAE": VAE,
|
|
18
|
+
"CONDITIONING": CONDITIONING,
|
|
19
|
+
"CONTROL_NET": CONTROL_NET,
|
|
20
|
+
"UPSCALE_MODEL": UPSCALE_MODEL,
|
|
21
|
+
"INSTANTID": INSTANTID,
|
|
22
|
+
"FACEANALYSIS": FACEANALYSIS,
|
|
23
|
+
"STYLE_MODEL": STYLE_MODEL,
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
14
27
|
def is_model_datatype(datatype):
|
|
15
28
|
return datatype in [MODEL, CLIP, VAE, CONDITIONING, CONTROL_NET, STYLE_MODEL]
|
|
16
29
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.1.3
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: bizyengine
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: [a/BizyAir](https://github.com/siliconflow/BizyAir) Comfy Nodes that can run in any environment.
|
|
5
5
|
Author-email: SiliconFlow <yaochi@siliconflow.cn>
|
|
6
6
|
Project-URL: Repository, https://github.com/siliconflow/BizyAir
|
|
@@ -40,6 +40,7 @@ bizyengine/bizyair_extras/nodes_trellis.py
|
|
|
40
40
|
bizyengine/bizyair_extras/nodes_ultimatesdupscale.py
|
|
41
41
|
bizyengine/bizyair_extras/nodes_upscale_model.py
|
|
42
42
|
bizyengine/bizyair_extras/nodes_wan_video.py
|
|
43
|
+
bizyengine/bizyair_extras/route_bizyair_tools.py
|
|
43
44
|
bizyengine/bizyair_extras/nodes_ipadapter_plus/__init__.py
|
|
44
45
|
bizyengine/bizyair_extras/nodes_ipadapter_plus/nodes_ipadapter_plus.py
|
|
45
46
|
bizyengine/bizyair_extras/nodes_kolors_mz/__init__.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_advanced_refluxcontrol.py
RENAMED
|
File without changes
|
|
File without changes
|
{bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_comfyui_detail_daemon.py
RENAMED
|
File without changes
|
|
File without changes
|
{bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_comfyui_layerstyle_advance.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_differential_diffusion.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_ipadapter_plus/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/bizyair_extras/nodes_segment_anything_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/commands/processors/model_hosting_processor.py
RENAMED
|
File without changes
|
{bizyengine-1.1.0 → bizyengine-1.1.3}/bizyengine/core/commands/processors/prompt_processor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|