bizyengine 1.2.14__py3-none-any.whl → 1.2.16__py3-none-any.whl
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/bizy_server/api_client.py +2 -1
- bizyengine/bizy_server/server.py +2 -1
- bizyengine/bizyair_extras/nodes_controlnet.py +2 -1
- bizyengine/bizyair_extras/nodes_image_utils.py +2 -1
- bizyengine/bizyair_extras/nodes_ipadapter_plus/nodes_ipadapter_plus.py +1 -0
- bizyengine/bizyair_extras/nodes_model_advanced.py +1 -0
- bizyengine/bizyair_extras/nodes_segment_anything.py +1 -1
- bizyengine/bizyair_extras/nodes_testing_utils.py +2 -1
- bizyengine/bizyair_extras/nodes_trellis.py +1 -0
- bizyengine/bizyair_extras/nodes_ultimatesdupscale.py +1 -0
- bizyengine/bizyair_extras/route_bizyair_tools.py +3 -2
- bizyengine/core/commands/servers/prompt_server.py +1 -0
- bizyengine/core/nodes_base.py +2 -1
- bizyengine/core/path_utils/utils.py +1 -0
- bizyengine/misc/auth.py +2 -1
- bizyengine/misc/llm.py +2 -1
- bizyengine/misc/mzkolors.py +1 -0
- bizyengine/misc/nodes.py +1 -0
- bizyengine/misc/nodes_controlnet_aux.py +1 -0
- bizyengine/misc/nodes_controlnet_union_sdxl.py +1 -0
- bizyengine/misc/segment_anything.py +3 -2
- bizyengine/misc/supernode.py +3 -2
- bizyengine/misc/utils.py +1 -0
- bizyengine/version.txt +1 -1
- bizyengine-1.2.16.dist-info/METADATA +18 -0
- {bizyengine-1.2.14.dist-info → bizyengine-1.2.16.dist-info}/RECORD +28 -28
- bizyengine-1.2.14.dist-info/METADATA +0 -211
- {bizyengine-1.2.14.dist-info → bizyengine-1.2.16.dist-info}/WHEEL +0 -0
- {bizyengine-1.2.14.dist-info → bizyengine-1.2.16.dist-info}/top_level.txt +0 -0
|
@@ -4,6 +4,8 @@ import os
|
|
|
4
4
|
import urllib
|
|
5
5
|
|
|
6
6
|
import aiohttp
|
|
7
|
+
from openai import OpenAI
|
|
8
|
+
|
|
7
9
|
import bizyengine.core as core
|
|
8
10
|
from bizyengine.core.common import get_api_key
|
|
9
11
|
from bizyengine.core.common.env_var import (
|
|
@@ -12,7 +14,6 @@ from bizyengine.core.common.env_var import (
|
|
|
12
14
|
BIZYAIR_X_SERVER,
|
|
13
15
|
BIZYAIR_Y_SERVER,
|
|
14
16
|
)
|
|
15
|
-
from openai import OpenAI
|
|
16
17
|
|
|
17
18
|
from .errno import ErrorNo, errnos
|
|
18
19
|
from .error_handler import ErrorHandler
|
bizyengine/bizy_server/server.py
CHANGED
|
@@ -12,9 +12,10 @@ import uuid
|
|
|
12
12
|
import aiohttp
|
|
13
13
|
import execution
|
|
14
14
|
import openai
|
|
15
|
-
from bizyengine.core.common.env_var import BIZYAIR_SERVER_MODE
|
|
16
15
|
from server import PromptServer
|
|
17
16
|
|
|
17
|
+
from bizyengine.core.common.env_var import BIZYAIR_SERVER_MODE
|
|
18
|
+
|
|
18
19
|
from .api_client import APIClient
|
|
19
20
|
from .errno import ErrorNo, errnos
|
|
20
21
|
from .error_handler import ErrorHandler
|
|
@@ -5,9 +5,10 @@ import re
|
|
|
5
5
|
import urllib.request
|
|
6
6
|
|
|
7
7
|
import folder_paths
|
|
8
|
+
from nodes import LoadImage
|
|
9
|
+
|
|
8
10
|
from bizyengine.core import BizyAirBaseNode
|
|
9
11
|
from bizyengine.core.image_utils import encode_data
|
|
10
|
-
from nodes import LoadImage
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
class LoadImageURL(BizyAirBaseNode):
|
|
@@ -8,9 +8,10 @@ import random
|
|
|
8
8
|
|
|
9
9
|
import folder_paths
|
|
10
10
|
import numpy as np
|
|
11
|
+
from PIL import Image
|
|
12
|
+
|
|
11
13
|
from bizyengine.core import NODE_CLASS_MAPPINGS
|
|
12
14
|
from bizyengine.core.image_utils import decode_data, encode_data
|
|
13
|
-
from PIL import Image
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
class ImagesTest:
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import pprint
|
|
3
3
|
|
|
4
|
-
import bizyengine.core as bizyair
|
|
5
4
|
from aiohttp import web
|
|
6
|
-
from bizyengine.core.data_types import BIZYAIR_TYPE_MAP
|
|
7
5
|
from server import PromptServer
|
|
8
6
|
|
|
7
|
+
import bizyengine.core as bizyair
|
|
8
|
+
from bizyengine.core.data_types import BIZYAIR_TYPE_MAP
|
|
9
|
+
|
|
9
10
|
|
|
10
11
|
def get_bizyair_display_name(class_type: str) -> str:
|
|
11
12
|
bizyair_cls_prefix = bizyair.nodes_base.PREFIX
|
|
@@ -7,6 +7,7 @@ from dataclasses import dataclass, field
|
|
|
7
7
|
from typing import Any, Dict, List
|
|
8
8
|
|
|
9
9
|
import comfy
|
|
10
|
+
|
|
10
11
|
from bizyengine.core.commands.base import Command, Processor # type: ignore
|
|
11
12
|
from bizyengine.core.common.caching import BizyAirTaskCache, CacheConfig
|
|
12
13
|
from bizyengine.core.common.client import headers, send_request
|
bizyengine/core/nodes_base.py
CHANGED
|
@@ -4,9 +4,10 @@ import warnings
|
|
|
4
4
|
from functools import wraps
|
|
5
5
|
from typing import List
|
|
6
6
|
|
|
7
|
+
from server import PromptServer
|
|
8
|
+
|
|
7
9
|
from bizyengine.core.common.env_var import BIZYAIR_DEBUG, BIZYAIR_SERVER_MODE
|
|
8
10
|
from bizyengine.core.configs.conf import config_manager
|
|
9
|
-
from server import PromptServer
|
|
10
11
|
|
|
11
12
|
from .common.client import get_api_key
|
|
12
13
|
from .data_types import is_send_request_datatype
|
bizyengine/misc/auth.py
CHANGED
|
@@ -3,10 +3,11 @@ import os
|
|
|
3
3
|
import uuid
|
|
4
4
|
from pathlib import Path
|
|
5
5
|
|
|
6
|
-
import bizyengine.core.common
|
|
7
6
|
import server
|
|
8
7
|
from aiohttp import web
|
|
9
8
|
|
|
9
|
+
import bizyengine.core.common
|
|
10
|
+
|
|
10
11
|
# html_file_path = Path(os.path.dirname(os.path.abspath(__file__))) / "set_api_key.html"
|
|
11
12
|
# with open(html_file_path, "r", encoding="utf-8") as htmlfile:
|
|
12
13
|
# set_api_key_html = htmlfile.read()
|
bizyengine/misc/llm.py
CHANGED
|
@@ -3,11 +3,12 @@ import json
|
|
|
3
3
|
|
|
4
4
|
import aiohttp
|
|
5
5
|
from aiohttp import web
|
|
6
|
+
from server import PromptServer
|
|
7
|
+
|
|
6
8
|
from bizyengine.core import BizyAirMiscBaseNode, pop_api_key_and_prompt_id
|
|
7
9
|
from bizyengine.core.common import client
|
|
8
10
|
from bizyengine.core.common.env_var import BIZYAIR_SERVER_ADDRESS
|
|
9
11
|
from bizyengine.core.image_utils import decode_data, encode_comfy_image, encode_data
|
|
10
|
-
from server import PromptServer
|
|
11
12
|
|
|
12
13
|
from .utils import (
|
|
13
14
|
decode_and_deserialize,
|
bizyengine/misc/mzkolors.py
CHANGED
bizyengine/misc/nodes.py
CHANGED
|
@@ -2,6 +2,7 @@ import os
|
|
|
2
2
|
from typing import List
|
|
3
3
|
|
|
4
4
|
import comfy
|
|
5
|
+
|
|
5
6
|
from bizyengine.core import BizyAirBaseNode, BizyAirNodeIO, create_node_data, data_types
|
|
6
7
|
from bizyengine.core.configs.conf import config_manager
|
|
7
8
|
from bizyengine.core.path_utils import path_manager as folder_paths
|
|
@@ -6,12 +6,13 @@ from enum import Enum
|
|
|
6
6
|
import folder_paths
|
|
7
7
|
import numpy as np
|
|
8
8
|
import torch
|
|
9
|
+
from nodes import LoadImage
|
|
10
|
+
from PIL import Image, ImageOps, ImageSequence
|
|
11
|
+
|
|
9
12
|
from bizyengine.core import BizyAirMiscBaseNode, pop_api_key_and_prompt_id
|
|
10
13
|
from bizyengine.core.common import client
|
|
11
14
|
from bizyengine.core.common.env_var import BIZYAIR_SERVER_ADDRESS
|
|
12
15
|
from bizyengine.core.image_utils import decode_base64_to_np, encode_image_to_base64
|
|
13
|
-
from nodes import LoadImage
|
|
14
|
-
from PIL import Image, ImageOps, ImageSequence
|
|
15
16
|
|
|
16
17
|
from .route_sam import SAM_COORDINATE
|
|
17
18
|
|
bizyengine/misc/supernode.py
CHANGED
|
@@ -8,6 +8,9 @@ import folder_paths
|
|
|
8
8
|
import node_helpers
|
|
9
9
|
import numpy as np
|
|
10
10
|
import torch
|
|
11
|
+
from nodes import LoadImage
|
|
12
|
+
from PIL import Image, ImageOps, ImageSequence
|
|
13
|
+
|
|
11
14
|
from bizyengine.core import BizyAirMiscBaseNode
|
|
12
15
|
from bizyengine.core.common import client
|
|
13
16
|
from bizyengine.core.common.env_var import BIZYAIR_SERVER_ADDRESS
|
|
@@ -17,8 +20,6 @@ from bizyengine.core.image_utils import (
|
|
|
17
20
|
encode_data,
|
|
18
21
|
encode_image_to_base64,
|
|
19
22
|
)
|
|
20
|
-
from nodes import LoadImage
|
|
21
|
-
from PIL import Image, ImageOps, ImageSequence
|
|
22
23
|
|
|
23
24
|
from .utils import (
|
|
24
25
|
decode_and_deserialize,
|
bizyengine/misc/utils.py
CHANGED
bizyengine/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.16
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: bizyengine
|
|
3
|
+
Version: 1.2.16
|
|
4
|
+
Summary: [a/BizyAir](https://github.com/siliconflow/BizyAir) Comfy Nodes that can run in any environment.
|
|
5
|
+
Author-email: SiliconFlow <yaochi@siliconflow.cn>
|
|
6
|
+
Project-URL: Repository, https://github.com/siliconflow/BizyAir
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: requests
|
|
13
|
+
Requires-Dist: inputimeout
|
|
14
|
+
Requires-Dist: openai>=1.77.0
|
|
15
|
+
|
|
16
|
+
## BizyEngine
|
|
17
|
+
|
|
18
|
+
Python Engine for BizyAir https://github.com/siliconflow/BizyAir
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
bizyengine/__init__.py,sha256=GP9V-JM07fz7uv_qTB43QEA2rKdrVJxi5I7LRnn_3ZQ,914
|
|
2
|
-
bizyengine/version.txt,sha256=
|
|
2
|
+
bizyengine/version.txt,sha256=4VkQEA8HJ0Uo1YxpYgTG7ZV380aDnxGbtKY9rf37tsU,7
|
|
3
3
|
bizyengine/bizy_server/__init__.py,sha256=SP9oSblnPo4KQyh7yOGD26YCskFAcQHAZy04nQBNRIw,200
|
|
4
|
-
bizyengine/bizy_server/api_client.py,sha256=
|
|
4
|
+
bizyengine/bizy_server/api_client.py,sha256=qY1hQ11AeDf5m647qrYvn3YPBzP6Yaw8n2Z9hTk5Wtg,43624
|
|
5
5
|
bizyengine/bizy_server/errno.py,sha256=Q-U96XnZQCuPH_44Om8wnc2-Kh7qFqwLKtox27msU54,16095
|
|
6
6
|
bizyengine/bizy_server/error_handler.py,sha256=MGrfO1AEqbfEgMWPL8B6Ypew_zHiQAdYGlhN9bZohrY,167
|
|
7
7
|
bizyengine/bizy_server/execution.py,sha256=ayaEf6eGJKQsVZV-1_UlGlvwwmlH7FEek31Uq-MbUjA,1644
|
|
8
8
|
bizyengine/bizy_server/profile.py,sha256=f4juAzJ73gCm0AhagYpt9WnG8HEI6xze_U96-omBLqU,3044
|
|
9
9
|
bizyengine/bizy_server/resp.py,sha256=iOFT5Ud7VJBP2uqkojJIgc3y2ifMjjEXoj0ewneL9lc,710
|
|
10
|
-
bizyengine/bizy_server/server.py,sha256=
|
|
10
|
+
bizyengine/bizy_server/server.py,sha256=gGEmErgYNut6FuqjvDo9k1GtdsmtUc_gqIeawvb5E74,51596
|
|
11
11
|
bizyengine/bizy_server/stream_response.py,sha256=H2XHqlVRtQMhgdztAuG7l8-iV_Pm42u2x6WJ0gNVIW0,9654
|
|
12
12
|
bizyengine/bizy_server/utils.py,sha256=C5tnMhvdtrrvwuCex3oERIGWrTWVb5dkXD1Txb5sJaE,2568
|
|
13
13
|
bizyengine/bizyair_extras/__init__.py,sha256=oaKC7QzFbgJ_BWuc3o05gmIq-8ZhUB7VEzYXnlWjGv8,951
|
|
@@ -17,34 +17,34 @@ bizyengine/bizyair_extras/nodes_comfyui_detail_daemon.py,sha256=i71it24tiGvZ3h-X
|
|
|
17
17
|
bizyengine/bizyair_extras/nodes_comfyui_instantid.py,sha256=9tyyFFxVPA8Hh9tfrjNWkRkT1AR8jfBdxExabb6susA,5197
|
|
18
18
|
bizyengine/bizyair_extras/nodes_comfyui_layerstyle_advance.py,sha256=vJLHe31gyVIdmPZc52R5isj-XhUwtNbE-pTsonypieA,4652
|
|
19
19
|
bizyengine/bizyair_extras/nodes_comfyui_pulid_flux.py,sha256=1vWot44oArFjMVddLaEnpLVvXJsH-YQeJGPu8IHjrJk,2892
|
|
20
|
-
bizyengine/bizyair_extras/nodes_controlnet.py,sha256=
|
|
20
|
+
bizyengine/bizyair_extras/nodes_controlnet.py,sha256=79eM_Q-5iddWamIQo5T47HPchqQryYOQ-PDLgWwKqAU,1658
|
|
21
21
|
bizyengine/bizyair_extras/nodes_custom_sampler.py,sha256=NK-7sdcp8oxJisjTEFfBskknQJF5I1fRwQkJbG3dKfc,3457
|
|
22
22
|
bizyengine/bizyair_extras/nodes_dataset.py,sha256=htF0YZb_FHncLhLDEbJfNCVqJ6rvlo1ZLk7iY42Rylc,3440
|
|
23
23
|
bizyengine/bizyair_extras/nodes_differential_diffusion.py,sha256=nSrbD-w0XtrwktwzME5M0Vmi1sI7Z08AqwgymTdThqo,370
|
|
24
24
|
bizyengine/bizyair_extras/nodes_flux.py,sha256=jdi8KM_s8a_2mEksHyM1StHVW0Odm0d3JXNOztOOrxA,2157
|
|
25
|
-
bizyengine/bizyair_extras/nodes_image_utils.py,sha256=
|
|
25
|
+
bizyengine/bizyair_extras/nodes_image_utils.py,sha256=BldF_CKD2M01K8-SnG-QV86u3HZqFz_GP5GrCQ5CFDQ,2875
|
|
26
26
|
bizyengine/bizyair_extras/nodes_ip2p.py,sha256=GSEFJvrs4f2tv0xwYkWqc8uhsXrzAJVPvvwcw0gTjR0,619
|
|
27
27
|
bizyengine/bizyair_extras/nodes_janus_pro.py,sha256=hAdMsS09RkRHZn9cNwpmyOaH7ODOMjVt9SbBsD-UvbM,2665
|
|
28
|
-
bizyengine/bizyair_extras/nodes_model_advanced.py,sha256=
|
|
28
|
+
bizyengine/bizyair_extras/nodes_model_advanced.py,sha256=RR2pzvlNW7NEcgtRcQSLZ8Vy7_ygA0NOZDjd7ZfzX5k,1756
|
|
29
29
|
bizyengine/bizyair_extras/nodes_nunchaku.py,sha256=drrDHZEPflmH9c5KVazdiHx_vFwJTRIjSlTWwp1kGKM,6809
|
|
30
30
|
bizyengine/bizyair_extras/nodes_sd3.py,sha256=lZCxj0IFmuxk1fZTDcRKgVV5QWHjkUdpR4w9-DZbMf4,1727
|
|
31
|
-
bizyengine/bizyair_extras/nodes_segment_anything.py,sha256=
|
|
31
|
+
bizyengine/bizyair_extras/nodes_segment_anything.py,sha256=x1ei2UggHnB8T6aUtK_ZcUehMALEyLUnDoD5SNJCbFU,7249
|
|
32
32
|
bizyengine/bizyair_extras/nodes_segment_anything_utils.py,sha256=ZefAqrFrevDH3XY_wipr_VwKfeXrgpZEUFaqg_JGOdU,4714
|
|
33
|
-
bizyengine/bizyair_extras/nodes_testing_utils.py,sha256=
|
|
34
|
-
bizyengine/bizyair_extras/nodes_trellis.py,sha256=
|
|
35
|
-
bizyengine/bizyair_extras/nodes_ultimatesdupscale.py,sha256
|
|
33
|
+
bizyengine/bizyair_extras/nodes_testing_utils.py,sha256=lYmcyCIkTkQ7WOZfpEPU9wUbEvC_mL6_A46ks68WzZA,3988
|
|
34
|
+
bizyengine/bizyair_extras/nodes_trellis.py,sha256=YFhn8j3jSafH3ZuLqLqHVUkBqVQrUIxOLsu4Y3WrvSU,7432
|
|
35
|
+
bizyengine/bizyair_extras/nodes_ultimatesdupscale.py,sha256=-_SsLTAWAQDv4uw-4Z7IGP2tXTe73BJ3N5D6RqVVAK4,4133
|
|
36
36
|
bizyengine/bizyair_extras/nodes_upscale_model.py,sha256=lrzA1BFI2w5aEPCmNPMh07s-WDzG-xTT49uU6WCnlP8,1151
|
|
37
37
|
bizyengine/bizyair_extras/nodes_wan_i2v.py,sha256=yGOq20YsqTAy8BpOWMnXZaeiXAO9Wdsqxtg3By9HSNw,7718
|
|
38
38
|
bizyengine/bizyair_extras/nodes_wan_video.py,sha256=d1mCcW9jCj-5Oymmymy0Vz-nwWv36FMGE5Gn-E7Rul4,1632
|
|
39
|
-
bizyengine/bizyair_extras/route_bizyair_tools.py,sha256=
|
|
39
|
+
bizyengine/bizyair_extras/route_bizyair_tools.py,sha256=DMVc7J0oT3H_cdAzoaog-ulhE7zj__w1t-HlWnIpCg0,2080
|
|
40
40
|
bizyengine/bizyair_extras/nodes_ipadapter_plus/__init__.py,sha256=ECKATm_EKi_4G47-FJI4-3rHO3iiF9FVakfSTE-pooE,36
|
|
41
|
-
bizyengine/bizyair_extras/nodes_ipadapter_plus/nodes_ipadapter_plus.py,sha256=
|
|
41
|
+
bizyengine/bizyair_extras/nodes_ipadapter_plus/nodes_ipadapter_plus.py,sha256=lOKRem7oiPs8ZkA_p68HxagAgiCSvn3Rk-L4fSXIjyE,54846
|
|
42
42
|
bizyengine/bizyair_extras/nodes_kolors_mz/__init__.py,sha256=HsCCCphW8q0SrWEiFlZKK_W2lQr1T0UJIJL7gEn37ME,3729
|
|
43
43
|
bizyengine/bizyair_extras/oauth_callback/main.py,sha256=KQOZWor3kyNx8xvUNHYNMoHfCF9g_ht13_iPk4K_5YM,3633
|
|
44
44
|
bizyengine/core/__init__.py,sha256=EV9ZtTwOHC0S_eNvCu-tltIydfxfMsH59LbgVX4e_1c,359
|
|
45
45
|
bizyengine/core/data_types.py,sha256=U1Ai149lvbVA-z59sfgniES9KSsyFIbDs_vcjpjlUK4,967
|
|
46
46
|
bizyengine/core/image_utils.py,sha256=--DmQb3R9Ev21MfZG9rfgOGsU2zRywJ-hpiNNN0N8p8,8586
|
|
47
|
-
bizyengine/core/nodes_base.py,sha256=
|
|
47
|
+
bizyengine/core/nodes_base.py,sha256=n54RfLRnCb3lNd2euYj-IVQWlf7_CkVr33bzpPmVyEU,8821
|
|
48
48
|
bizyengine/core/nodes_io.py,sha256=VhwRwYkGp0g3Mh0hx1OSwNZbV06NEV13w2aODSiAm5M,2832
|
|
49
49
|
bizyengine/core/commands/__init__.py,sha256=82yRdMT23RTiZPkFW_G3fVa-fj3-TUAXnj6cnGA3xRA,22
|
|
50
50
|
bizyengine/core/commands/base.py,sha256=TYH9lhr033B2roBLPkWkxcvoz_fW3cdzx_bvP_FI7dg,635
|
|
@@ -52,7 +52,7 @@ bizyengine/core/commands/invoker.py,sha256=8wcIMd8k44o96LAvxFrIiKOlVtf1MW-AcMDXs
|
|
|
52
52
|
bizyengine/core/commands/processors/model_hosting_processor.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
53
|
bizyengine/core/commands/processors/prompt_processor.py,sha256=RpNFzlFwpf_PsgmKpIcuqg9eTOm-EB_sNsyfyRDBaho,4391
|
|
54
54
|
bizyengine/core/commands/servers/model_server.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
|
-
bizyengine/core/commands/servers/prompt_server.py,sha256=
|
|
55
|
+
bizyengine/core/commands/servers/prompt_server.py,sha256=f5qTTyoe7_cFJ8xESG--mvP2axATKUgHyTBeV6JrBCI,8529
|
|
56
56
|
bizyengine/core/common/__init__.py,sha256=GicZw6YeAZk1PsKmFDt9dm1F75zPUlpia9Q_ki5vW1Y,179
|
|
57
57
|
bizyengine/core/common/caching.py,sha256=hRNsSrfNxgc1zzvBzLVjMY0iMkKqA0TBCr-iYhEpzik,6946
|
|
58
58
|
bizyengine/core/common/client.py,sha256=1Ka8DIjbmD9Gme9c_Q1zwXXueSCP3_OSdEDyGYEol50,10396
|
|
@@ -63,19 +63,19 @@ bizyengine/core/configs/models.json,sha256=jCrqQgjVeHugLb191Xay5rg0m3duTVISPp_Gx
|
|
|
63
63
|
bizyengine/core/configs/models.yaml,sha256=Gbr5k-Yak_ybbPK50eK5wb6gKfDIWjdQ9QCVc7BvZ0Y,8399
|
|
64
64
|
bizyengine/core/path_utils/__init__.py,sha256=JVpqNHgaKiEtTI8_r47af8GtWHxrtOockQ6Qpzp9_MQ,260
|
|
65
65
|
bizyengine/core/path_utils/path_manager.py,sha256=tRVAcpsYvfWD-tK7khLvNCZayB0wpU9L0tRTH4ZESzM,10549
|
|
66
|
-
bizyengine/core/path_utils/utils.py,sha256=
|
|
66
|
+
bizyengine/core/path_utils/utils.py,sha256=kQfPQjGU27qF9iyzRxLSRg5cMsd-VixuCUldART7cgY,2394
|
|
67
67
|
bizyengine/misc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
68
|
-
bizyengine/misc/auth.py,sha256=
|
|
69
|
-
bizyengine/misc/llm.py,sha256=
|
|
70
|
-
bizyengine/misc/mzkolors.py,sha256=
|
|
71
|
-
bizyengine/misc/nodes.py,sha256=
|
|
72
|
-
bizyengine/misc/nodes_controlnet_aux.py,sha256=
|
|
73
|
-
bizyengine/misc/nodes_controlnet_union_sdxl.py,sha256=
|
|
68
|
+
bizyengine/misc/auth.py,sha256=DwKy4en1a58RgO5TRdE0EMjjEjlxmerNHAOMNVZRacE,2672
|
|
69
|
+
bizyengine/misc/llm.py,sha256=d0GEnY7CzDZ9AokBkOsshZ-KC7KpR_VzEcBvHTfwVoc,13528
|
|
70
|
+
bizyengine/misc/mzkolors.py,sha256=xjJZ5Ct5Wh3WxSOK-ojX7a_fPvl_hA8qWIDKFUwBuvk,2827
|
|
71
|
+
bizyengine/misc/nodes.py,sha256=e5TkJAFRPXT7OtLt1Lwnk7_tpu4q2zgiWNWDClRaIhA,43655
|
|
72
|
+
bizyengine/misc/nodes_controlnet_aux.py,sha256=w7rASZmnBqhZCalDd7oVPjJpx6b31sPFxqlo3aWoAHc,16399
|
|
73
|
+
bizyengine/misc/nodes_controlnet_union_sdxl.py,sha256=fYyu_XMY7mcX1Ad9x30q1tYB8mmCurMY48lCEylKrA4,5831
|
|
74
74
|
bizyengine/misc/route_sam.py,sha256=-bMIR2QalfnszipGxSxvDAHGJa5gPSrjkYPb5baaRg4,1561
|
|
75
|
-
bizyengine/misc/segment_anything.py,sha256=
|
|
76
|
-
bizyengine/misc/supernode.py,sha256=
|
|
77
|
-
bizyengine/misc/utils.py,sha256=
|
|
78
|
-
bizyengine-1.2.
|
|
79
|
-
bizyengine-1.2.
|
|
80
|
-
bizyengine-1.2.
|
|
81
|
-
bizyengine-1.2.
|
|
75
|
+
bizyengine/misc/segment_anything.py,sha256=wNKYwlYPMszfwj23524geFZJjZaG4eye65SGaUnh77I,8941
|
|
76
|
+
bizyengine/misc/supernode.py,sha256=STN9gaxfTSErH8OiHeZa47d8z-G9S0I7fXuJvHQOBFM,4532
|
|
77
|
+
bizyengine/misc/utils.py,sha256=deQjBgLAkxIr-NaOMm77TcgBT3ExAp0MFm5ehUJ3CGs,6829
|
|
78
|
+
bizyengine-1.2.16.dist-info/METADATA,sha256=h1ChWCK8zsmLTqMOeiDML7G5fW9m_cb7L_ikh_Srckk,647
|
|
79
|
+
bizyengine-1.2.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
80
|
+
bizyengine-1.2.16.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
|
|
81
|
+
bizyengine-1.2.16.dist-info/RECORD,,
|
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: bizyengine
|
|
3
|
-
Version: 1.2.14
|
|
4
|
-
Summary: [a/BizyAir](https://github.com/siliconflow/BizyAir) Comfy Nodes that can run in any environment.
|
|
5
|
-
Author-email: SiliconFlow <yaochi@siliconflow.cn>
|
|
6
|
-
Project-URL: Repository, https://github.com/siliconflow/BizyAir
|
|
7
|
-
Classifier: Programming Language :: Python :: 3
|
|
8
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
-
Classifier: Operating System :: OS Independent
|
|
10
|
-
Requires-Python: >=3.10
|
|
11
|
-
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: requests
|
|
13
|
-
|
|
14
|
-
## Server Mode
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
export BIZYAIR_API_KEY="your api key"
|
|
18
|
-
export BIZYAIR_SERVER_MODE=1
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
```python
|
|
22
|
-
import json
|
|
23
|
-
import os
|
|
24
|
-
from urllib import request
|
|
25
|
-
|
|
26
|
-
BIZYAIR_API_KEY=os.getenv("BIZYAIR_API_KEY", "")
|
|
27
|
-
|
|
28
|
-
prompt_text = """
|
|
29
|
-
{
|
|
30
|
-
"36": {
|
|
31
|
-
"inputs": {
|
|
32
|
-
"clip_name1": "t5xxl_fp16.safetensors",
|
|
33
|
-
"clip_name2": "clip_l.safetensors",
|
|
34
|
-
"type": "flux"
|
|
35
|
-
},
|
|
36
|
-
"class_type": "BizyAir_DualCLIPLoader",
|
|
37
|
-
"_meta": {
|
|
38
|
-
"title": "☁️BizyAir DualCLIPLoader"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"37": {
|
|
42
|
-
"inputs": {
|
|
43
|
-
"text": "close up photo of a rabbit, forest in spring, haze, halation, bloom, dramatic atmosphere, centred, rule of thirds, 200mm 1.4f macro shot",
|
|
44
|
-
"clip": [
|
|
45
|
-
"36",
|
|
46
|
-
0
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
"class_type": "BizyAir_CLIPTextEncode",
|
|
50
|
-
"_meta": {
|
|
51
|
-
"title": "☁️BizyAir CLIP Text Encode (Prompt)"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"47": {
|
|
55
|
-
"inputs": {
|
|
56
|
-
"model": [
|
|
57
|
-
"48",
|
|
58
|
-
0
|
|
59
|
-
],
|
|
60
|
-
"conditioning": [
|
|
61
|
-
"37",
|
|
62
|
-
0
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
"class_type": "BizyAir_BasicGuider",
|
|
66
|
-
"_meta": {
|
|
67
|
-
"title": "☁️BizyAir BasicGuider"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"48": {
|
|
71
|
-
"inputs": {
|
|
72
|
-
"unet_name": "flux/pixelwave-flux1-dev.safetensors",
|
|
73
|
-
"weight_dtype": "default"
|
|
74
|
-
},
|
|
75
|
-
"class_type": "BizyAir_UNETLoader",
|
|
76
|
-
"_meta": {
|
|
77
|
-
"title": "☁️BizyAir Load Diffusion Model"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"50": {
|
|
81
|
-
"inputs": {
|
|
82
|
-
"noise": [
|
|
83
|
-
"59",
|
|
84
|
-
0
|
|
85
|
-
],
|
|
86
|
-
"guider": [
|
|
87
|
-
"47",
|
|
88
|
-
0
|
|
89
|
-
],
|
|
90
|
-
"sampler": [
|
|
91
|
-
"60",
|
|
92
|
-
0
|
|
93
|
-
],
|
|
94
|
-
"sigmas": [
|
|
95
|
-
"58",
|
|
96
|
-
0
|
|
97
|
-
],
|
|
98
|
-
"latent_image": [
|
|
99
|
-
"66",
|
|
100
|
-
0
|
|
101
|
-
]
|
|
102
|
-
},
|
|
103
|
-
"class_type": "BizyAir_SamplerCustomAdvanced",
|
|
104
|
-
"_meta": {
|
|
105
|
-
"title": "☁️BizyAir SamplerCustomAdvanced"
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"54": {
|
|
109
|
-
"inputs": {
|
|
110
|
-
"samples": [
|
|
111
|
-
"50",
|
|
112
|
-
0
|
|
113
|
-
],
|
|
114
|
-
"vae": [
|
|
115
|
-
"55",
|
|
116
|
-
0
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
"class_type": "BizyAir_VAEDecode",
|
|
120
|
-
"_meta": {
|
|
121
|
-
"title": "☁️BizyAir VAE Decode"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"55": {
|
|
125
|
-
"inputs": {
|
|
126
|
-
"vae_name": "flux/ae.sft"
|
|
127
|
-
},
|
|
128
|
-
"class_type": "BizyAir_VAELoader",
|
|
129
|
-
"_meta": {
|
|
130
|
-
"title": "☁️BizyAir Load VAE"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
"56": {
|
|
134
|
-
"inputs": {
|
|
135
|
-
"images": [
|
|
136
|
-
"54",
|
|
137
|
-
0
|
|
138
|
-
]
|
|
139
|
-
},
|
|
140
|
-
"class_type": "PreviewImage",
|
|
141
|
-
"_meta": {
|
|
142
|
-
"title": "预览图像"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"58": {
|
|
146
|
-
"inputs": {
|
|
147
|
-
"scheduler": "simple",
|
|
148
|
-
"steps": 20,
|
|
149
|
-
"denoise": 1,
|
|
150
|
-
"model": [
|
|
151
|
-
"48",
|
|
152
|
-
0
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
"class_type": "BizyAir_BasicScheduler",
|
|
156
|
-
"_meta": {
|
|
157
|
-
"title": "☁️BizyAir BasicScheduler"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"59": {
|
|
161
|
-
"inputs": {
|
|
162
|
-
"noise_seed": 0
|
|
163
|
-
},
|
|
164
|
-
"class_type": "BizyAir_RandomNoise",
|
|
165
|
-
"_meta": {
|
|
166
|
-
"title": "☁️BizyAir RandomNoise"
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
"60": {
|
|
170
|
-
"inputs": {
|
|
171
|
-
"sampler_name": "euler"
|
|
172
|
-
},
|
|
173
|
-
"class_type": "BizyAir_KSamplerSelect",
|
|
174
|
-
"_meta": {
|
|
175
|
-
"title": "☁️BizyAir KSamplerSelect"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"66": {
|
|
179
|
-
"inputs": {
|
|
180
|
-
"width": 1024,
|
|
181
|
-
"height": 1024,
|
|
182
|
-
"batch_size": 1
|
|
183
|
-
},
|
|
184
|
-
"class_type": "EmptySD3LatentImage",
|
|
185
|
-
"_meta": {
|
|
186
|
-
"title": "空Latent图像(SD3)"
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
"""
|
|
191
|
-
|
|
192
|
-
def queue_prompt(prompt):
|
|
193
|
-
p = {"prompt": prompt}
|
|
194
|
-
data = json.dumps(p).encode('utf-8')
|
|
195
|
-
req = request.Request("http://127.0.0.1:9111/prompt", data=data)
|
|
196
|
-
request.urlopen(req)
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
prompt = json.loads(prompt_text)
|
|
200
|
-
param_node = {
|
|
201
|
-
"inputs": {},
|
|
202
|
-
"class_type": "BizyAir_PassParameter",
|
|
203
|
-
"_meta": {
|
|
204
|
-
"title": "☁️BizyAir PassParameter",
|
|
205
|
-
"api_key": BIZYAIR_API_KEY,
|
|
206
|
-
"prompt_id": "a-unique-prompt-id"
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
prompt["bizyair_magic_node"]=param_node
|
|
210
|
-
queue_prompt(prompt)
|
|
211
|
-
```
|
|
File without changes
|
|
File without changes
|