bizyengine 1.2.14__py3-none-any.whl → 1.2.15__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.
@@ -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
@@ -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
@@ -1,6 +1,7 @@
1
- from bizyengine.core import BizyAirBaseNode, data_types
2
1
  from comfy.cldm.control_types import UNION_CONTROLNET_TYPES
3
2
 
3
+ from bizyengine.core import BizyAirBaseNode, data_types
4
+
4
5
 
5
6
  class SetUnionControlNetType(BizyAirBaseNode):
6
7
  @classmethod
@@ -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):
@@ -3,6 +3,7 @@ import os
3
3
 
4
4
  import folder_paths
5
5
  import torch
6
+
6
7
  from bizyengine.core import BizyAirBaseNode, BizyAirNodeIO, create_node_data
7
8
  from bizyengine.core.configs.conf import config_manager
8
9
  from bizyengine.core.data_types import CLIP, CONDITIONING, MODEL
@@ -1,5 +1,6 @@
1
1
  # ComfyUI/comfy_extras/nodes_model_advanced.py
2
2
  import nodes
3
+
3
4
  from bizyengine.core import BizyAirBaseNode, BizyAirNodeIO, data_types
4
5
 
5
6
 
@@ -219,7 +219,7 @@ class BizyAirDetailMethodPredict(BizyAirBaseNode):
219
219
  detail_dilate,
220
220
  black_point,
221
221
  white_point,
222
- **kwargs
222
+ **kwargs,
223
223
  ):
224
224
 
225
225
  ret_images = []
@@ -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:
@@ -4,6 +4,7 @@ import uuid
4
4
  import folder_paths
5
5
  import requests
6
6
  import torch
7
+
7
8
  from bizyengine.core import BizyAirBaseNode
8
9
 
9
10
 
@@ -1,6 +1,7 @@
1
1
  from enum import Enum
2
2
 
3
3
  import comfy
4
+
4
5
  from bizyengine.core import BizyAirBaseNode, BizyAirNodeIO
5
6
  from bizyengine.core.data_types import CONDITIONING, MODEL, UPSCALE_MODEL, VAE
6
7
 
@@ -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
@@ -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
@@ -3,6 +3,7 @@ from collections.abc import Collection
3
3
  from typing import Dict, Optional, Union
4
4
 
5
5
  import yaml
6
+
6
7
  from bizyengine.core.common.env_var import BIZYAIR_SERVER_ADDRESS
7
8
  from bizyengine.core.configs.conf import config_manager
8
9
 
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,
@@ -3,6 +3,7 @@ import os
3
3
  import uuid
4
4
 
5
5
  import torch
6
+
6
7
  from bizyengine.core import (
7
8
  BizyAirBaseNode,
8
9
  BizyAirMiscBaseNode,
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
@@ -3,6 +3,7 @@ import os
3
3
 
4
4
  import numpy as np
5
5
  import torch
6
+
6
7
  from bizyengine.core import BizyAirMiscBaseNode, pop_api_key_and_prompt_id
7
8
  from bizyengine.core.common import client
8
9
  from bizyengine.core.common.env_var import BIZYAIR_SERVER_ADDRESS
@@ -8,6 +8,7 @@ import os
8
8
 
9
9
  import numpy as np
10
10
  import requests
11
+
11
12
  from bizyengine.core import BizyAirMiscBaseNode, pop_api_key_and_prompt_id
12
13
  from bizyengine.core.common import client
13
14
  from bizyengine.core.common.env_var import BIZYAIR_SERVER_ADDRESS
@@ -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
 
@@ -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
@@ -8,6 +8,7 @@ import zlib
8
8
  from typing import List, Tuple, Union
9
9
 
10
10
  import numpy as np
11
+
11
12
  from bizyengine.core import pop_api_key_and_prompt_id
12
13
  from bizyengine.core.common import client
13
14
  from bizyengine.core.common.env_var import BIZYAIR_SERVER_ADDRESS
@@ -0,0 +1,18 @@
1
+ Metadata-Version: 2.4
2
+ Name: bizyengine
3
+ Version: 1.2.15
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,12 @@
1
1
  bizyengine/__init__.py,sha256=GP9V-JM07fz7uv_qTB43QEA2rKdrVJxi5I7LRnn_3ZQ,914
2
- bizyengine/version.txt,sha256=IumIv7ISfYWEzIKfdoaMLIXhOK8y_gmJsp91gLiKAKU,7
3
2
  bizyengine/bizy_server/__init__.py,sha256=SP9oSblnPo4KQyh7yOGD26YCskFAcQHAZy04nQBNRIw,200
4
- bizyengine/bizy_server/api_client.py,sha256=F2kSe5FVQz5b47-QzSH5kB9S-wP921MPWrtVbbQ3nEY,43623
3
+ bizyengine/bizy_server/api_client.py,sha256=qY1hQ11AeDf5m647qrYvn3YPBzP6Yaw8n2Z9hTk5Wtg,43624
5
4
  bizyengine/bizy_server/errno.py,sha256=Q-U96XnZQCuPH_44Om8wnc2-Kh7qFqwLKtox27msU54,16095
6
5
  bizyengine/bizy_server/error_handler.py,sha256=MGrfO1AEqbfEgMWPL8B6Ypew_zHiQAdYGlhN9bZohrY,167
7
6
  bizyengine/bizy_server/execution.py,sha256=ayaEf6eGJKQsVZV-1_UlGlvwwmlH7FEek31Uq-MbUjA,1644
8
7
  bizyengine/bizy_server/profile.py,sha256=f4juAzJ73gCm0AhagYpt9WnG8HEI6xze_U96-omBLqU,3044
9
8
  bizyengine/bizy_server/resp.py,sha256=iOFT5Ud7VJBP2uqkojJIgc3y2ifMjjEXoj0ewneL9lc,710
10
- bizyengine/bizy_server/server.py,sha256=3Qsuv2y-ARpCyCd-cqNjQTuwWKaJvSJPk4og5a_BEDQ,51595
9
+ bizyengine/bizy_server/server.py,sha256=gGEmErgYNut6FuqjvDo9k1GtdsmtUc_gqIeawvb5E74,51596
11
10
  bizyengine/bizy_server/stream_response.py,sha256=H2XHqlVRtQMhgdztAuG7l8-iV_Pm42u2x6WJ0gNVIW0,9654
12
11
  bizyengine/bizy_server/utils.py,sha256=C5tnMhvdtrrvwuCex3oERIGWrTWVb5dkXD1Txb5sJaE,2568
13
12
  bizyengine/bizyair_extras/__init__.py,sha256=oaKC7QzFbgJ_BWuc3o05gmIq-8ZhUB7VEzYXnlWjGv8,951
@@ -17,34 +16,34 @@ bizyengine/bizyair_extras/nodes_comfyui_detail_daemon.py,sha256=i71it24tiGvZ3h-X
17
16
  bizyengine/bizyair_extras/nodes_comfyui_instantid.py,sha256=9tyyFFxVPA8Hh9tfrjNWkRkT1AR8jfBdxExabb6susA,5197
18
17
  bizyengine/bizyair_extras/nodes_comfyui_layerstyle_advance.py,sha256=vJLHe31gyVIdmPZc52R5isj-XhUwtNbE-pTsonypieA,4652
19
18
  bizyengine/bizyair_extras/nodes_comfyui_pulid_flux.py,sha256=1vWot44oArFjMVddLaEnpLVvXJsH-YQeJGPu8IHjrJk,2892
20
- bizyengine/bizyair_extras/nodes_controlnet.py,sha256=9ikMPACNaGMmG_ZN7bPzsSyVIzXOPpNMjgy1nWZFu7c,1657
19
+ bizyengine/bizyair_extras/nodes_controlnet.py,sha256=79eM_Q-5iddWamIQo5T47HPchqQryYOQ-PDLgWwKqAU,1658
21
20
  bizyengine/bizyair_extras/nodes_custom_sampler.py,sha256=NK-7sdcp8oxJisjTEFfBskknQJF5I1fRwQkJbG3dKfc,3457
22
21
  bizyengine/bizyair_extras/nodes_dataset.py,sha256=htF0YZb_FHncLhLDEbJfNCVqJ6rvlo1ZLk7iY42Rylc,3440
23
22
  bizyengine/bizyair_extras/nodes_differential_diffusion.py,sha256=nSrbD-w0XtrwktwzME5M0Vmi1sI7Z08AqwgymTdThqo,370
24
23
  bizyengine/bizyair_extras/nodes_flux.py,sha256=jdi8KM_s8a_2mEksHyM1StHVW0Odm0d3JXNOztOOrxA,2157
25
- bizyengine/bizyair_extras/nodes_image_utils.py,sha256=ovcQkm8PA_Z3kFnE5mmCPwqQtOh0gjfxkiKCht4Vmk4,2874
24
+ bizyengine/bizyair_extras/nodes_image_utils.py,sha256=BldF_CKD2M01K8-SnG-QV86u3HZqFz_GP5GrCQ5CFDQ,2875
26
25
  bizyengine/bizyair_extras/nodes_ip2p.py,sha256=GSEFJvrs4f2tv0xwYkWqc8uhsXrzAJVPvvwcw0gTjR0,619
27
26
  bizyengine/bizyair_extras/nodes_janus_pro.py,sha256=hAdMsS09RkRHZn9cNwpmyOaH7ODOMjVt9SbBsD-UvbM,2665
28
- bizyengine/bizyair_extras/nodes_model_advanced.py,sha256=s-dbFRWCdsTxctFYaZtmVwZ8-xuPPHixtkHFCmR7zcs,1755
27
+ bizyengine/bizyair_extras/nodes_model_advanced.py,sha256=RR2pzvlNW7NEcgtRcQSLZ8Vy7_ygA0NOZDjd7ZfzX5k,1756
29
28
  bizyengine/bizyair_extras/nodes_nunchaku.py,sha256=drrDHZEPflmH9c5KVazdiHx_vFwJTRIjSlTWwp1kGKM,6809
30
29
  bizyengine/bizyair_extras/nodes_sd3.py,sha256=lZCxj0IFmuxk1fZTDcRKgVV5QWHjkUdpR4w9-DZbMf4,1727
31
- bizyengine/bizyair_extras/nodes_segment_anything.py,sha256=6aMO6gLXEjAP1pFrVhqxOA36qSmgBvieaG3iYLfJN-Y,7248
30
+ bizyengine/bizyair_extras/nodes_segment_anything.py,sha256=x1ei2UggHnB8T6aUtK_ZcUehMALEyLUnDoD5SNJCbFU,7249
32
31
  bizyengine/bizyair_extras/nodes_segment_anything_utils.py,sha256=ZefAqrFrevDH3XY_wipr_VwKfeXrgpZEUFaqg_JGOdU,4714
33
- bizyengine/bizyair_extras/nodes_testing_utils.py,sha256=qeJHlSq-c21Vx8H0oZw878Q0ENciMjuSGTcZEVnSkRY,3987
34
- bizyengine/bizyair_extras/nodes_trellis.py,sha256=BTpFfar_Byge-WNTdIrkHaIX3VMmfoQgxUnoYTl_OnA,7431
35
- bizyengine/bizyair_extras/nodes_ultimatesdupscale.py,sha256=effgVSPOjEDXOjdZpQ7-tJrkxcKPRXxfKtq0KDmNUqI,4132
32
+ bizyengine/bizyair_extras/nodes_testing_utils.py,sha256=lYmcyCIkTkQ7WOZfpEPU9wUbEvC_mL6_A46ks68WzZA,3988
33
+ bizyengine/bizyair_extras/nodes_trellis.py,sha256=YFhn8j3jSafH3ZuLqLqHVUkBqVQrUIxOLsu4Y3WrvSU,7432
34
+ bizyengine/bizyair_extras/nodes_ultimatesdupscale.py,sha256=-_SsLTAWAQDv4uw-4Z7IGP2tXTe73BJ3N5D6RqVVAK4,4133
36
35
  bizyengine/bizyair_extras/nodes_upscale_model.py,sha256=lrzA1BFI2w5aEPCmNPMh07s-WDzG-xTT49uU6WCnlP8,1151
37
36
  bizyengine/bizyair_extras/nodes_wan_i2v.py,sha256=yGOq20YsqTAy8BpOWMnXZaeiXAO9Wdsqxtg3By9HSNw,7718
38
37
  bizyengine/bizyair_extras/nodes_wan_video.py,sha256=d1mCcW9jCj-5Oymmymy0Vz-nwWv36FMGE5Gn-E7Rul4,1632
39
- bizyengine/bizyair_extras/route_bizyair_tools.py,sha256=QdgfiKeF6c4-5Bx5Pmz9RKlaAHreypy9SIg_krmLk-o,2079
38
+ bizyengine/bizyair_extras/route_bizyair_tools.py,sha256=DMVc7J0oT3H_cdAzoaog-ulhE7zj__w1t-HlWnIpCg0,2080
40
39
  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=OqR7Vca2c2bx3DH2jVLz0hH6fzz2_Gh6VG9LBrs7RBY,54845
40
+ bizyengine/bizyair_extras/nodes_ipadapter_plus/nodes_ipadapter_plus.py,sha256=lOKRem7oiPs8ZkA_p68HxagAgiCSvn3Rk-L4fSXIjyE,54846
42
41
  bizyengine/bizyair_extras/nodes_kolors_mz/__init__.py,sha256=HsCCCphW8q0SrWEiFlZKK_W2lQr1T0UJIJL7gEn37ME,3729
43
42
  bizyengine/bizyair_extras/oauth_callback/main.py,sha256=KQOZWor3kyNx8xvUNHYNMoHfCF9g_ht13_iPk4K_5YM,3633
44
43
  bizyengine/core/__init__.py,sha256=EV9ZtTwOHC0S_eNvCu-tltIydfxfMsH59LbgVX4e_1c,359
45
44
  bizyengine/core/data_types.py,sha256=U1Ai149lvbVA-z59sfgniES9KSsyFIbDs_vcjpjlUK4,967
46
45
  bizyengine/core/image_utils.py,sha256=--DmQb3R9Ev21MfZG9rfgOGsU2zRywJ-hpiNNN0N8p8,8586
47
- bizyengine/core/nodes_base.py,sha256=Kg6I1xTpyfTiB0fLy8GYb7GCK8NaHxgDSat9ywgXa00,8820
46
+ bizyengine/core/nodes_base.py,sha256=n54RfLRnCb3lNd2euYj-IVQWlf7_CkVr33bzpPmVyEU,8821
48
47
  bizyengine/core/nodes_io.py,sha256=VhwRwYkGp0g3Mh0hx1OSwNZbV06NEV13w2aODSiAm5M,2832
49
48
  bizyengine/core/commands/__init__.py,sha256=82yRdMT23RTiZPkFW_G3fVa-fj3-TUAXnj6cnGA3xRA,22
50
49
  bizyengine/core/commands/base.py,sha256=TYH9lhr033B2roBLPkWkxcvoz_fW3cdzx_bvP_FI7dg,635
@@ -52,7 +51,7 @@ bizyengine/core/commands/invoker.py,sha256=8wcIMd8k44o96LAvxFrIiKOlVtf1MW-AcMDXs
52
51
  bizyengine/core/commands/processors/model_hosting_processor.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
52
  bizyengine/core/commands/processors/prompt_processor.py,sha256=RpNFzlFwpf_PsgmKpIcuqg9eTOm-EB_sNsyfyRDBaho,4391
54
53
  bizyengine/core/commands/servers/model_server.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
- bizyengine/core/commands/servers/prompt_server.py,sha256=giJXPMW-Mph2ccGbs9dQXs6ESiufYDhmGF1GgBsj-gw,8528
54
+ bizyengine/core/commands/servers/prompt_server.py,sha256=f5qTTyoe7_cFJ8xESG--mvP2axATKUgHyTBeV6JrBCI,8529
56
55
  bizyengine/core/common/__init__.py,sha256=GicZw6YeAZk1PsKmFDt9dm1F75zPUlpia9Q_ki5vW1Y,179
57
56
  bizyengine/core/common/caching.py,sha256=hRNsSrfNxgc1zzvBzLVjMY0iMkKqA0TBCr-iYhEpzik,6946
58
57
  bizyengine/core/common/client.py,sha256=1Ka8DIjbmD9Gme9c_Q1zwXXueSCP3_OSdEDyGYEol50,10396
@@ -63,19 +62,19 @@ bizyengine/core/configs/models.json,sha256=jCrqQgjVeHugLb191Xay5rg0m3duTVISPp_Gx
63
62
  bizyengine/core/configs/models.yaml,sha256=Gbr5k-Yak_ybbPK50eK5wb6gKfDIWjdQ9QCVc7BvZ0Y,8399
64
63
  bizyengine/core/path_utils/__init__.py,sha256=JVpqNHgaKiEtTI8_r47af8GtWHxrtOockQ6Qpzp9_MQ,260
65
64
  bizyengine/core/path_utils/path_manager.py,sha256=tRVAcpsYvfWD-tK7khLvNCZayB0wpU9L0tRTH4ZESzM,10549
66
- bizyengine/core/path_utils/utils.py,sha256=SY5TDoOV5Sr_n3Ez2xbcMRsll1A1J7hPZ8Zn4tpjF3c,2393
65
+ bizyengine/core/path_utils/utils.py,sha256=kQfPQjGU27qF9iyzRxLSRg5cMsd-VixuCUldART7cgY,2394
67
66
  bizyengine/misc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
- bizyengine/misc/auth.py,sha256=V7VoHZ9-ljT_gUUOOh7AeNnAyVuyiK8fiqSM8T8k948,2671
69
- bizyengine/misc/llm.py,sha256=3k7QlDNtfeovlDId4OZi6Wx3kgpUARAGl7ehnT5ICLs,13527
70
- bizyengine/misc/mzkolors.py,sha256=mWQh2XDdRza1iNacGZ3YApqbs5RHrW0nDIPGN1ZfC8g,2826
71
- bizyengine/misc/nodes.py,sha256=HhLfYc_8Z7akcmtrvOviYdZ_GG5KhF5eoSjCzMK4pq4,43654
72
- bizyengine/misc/nodes_controlnet_aux.py,sha256=Tza7XgStfmTm29bVl7qupE--ELTDfk8JaGFb93DxL_Q,16398
73
- bizyengine/misc/nodes_controlnet_union_sdxl.py,sha256=Z_dWwv3dzJDL9ocMfn4mH2WqGPCt78t2QecIOH0w9WU,5830
67
+ bizyengine/misc/auth.py,sha256=DwKy4en1a58RgO5TRdE0EMjjEjlxmerNHAOMNVZRacE,2672
68
+ bizyengine/misc/llm.py,sha256=d0GEnY7CzDZ9AokBkOsshZ-KC7KpR_VzEcBvHTfwVoc,13528
69
+ bizyengine/misc/mzkolors.py,sha256=xjJZ5Ct5Wh3WxSOK-ojX7a_fPvl_hA8qWIDKFUwBuvk,2827
70
+ bizyengine/misc/nodes.py,sha256=e5TkJAFRPXT7OtLt1Lwnk7_tpu4q2zgiWNWDClRaIhA,43655
71
+ bizyengine/misc/nodes_controlnet_aux.py,sha256=w7rASZmnBqhZCalDd7oVPjJpx6b31sPFxqlo3aWoAHc,16399
72
+ bizyengine/misc/nodes_controlnet_union_sdxl.py,sha256=fYyu_XMY7mcX1Ad9x30q1tYB8mmCurMY48lCEylKrA4,5831
74
73
  bizyengine/misc/route_sam.py,sha256=-bMIR2QalfnszipGxSxvDAHGJa5gPSrjkYPb5baaRg4,1561
75
- bizyengine/misc/segment_anything.py,sha256=m-G0PsuP6IgpdUzhEqiqzPg1_svMVH5MTivOsoVR1-Y,8940
76
- bizyengine/misc/supernode.py,sha256=ox1_ufOFbm4zlpPQD8TGd0JKv94vsscu1cCJOdbaZPY,4531
77
- bizyengine/misc/utils.py,sha256=SkU_qHU3n3dnzq68mdg_E8380ivRDVZwIb4UgnakhMM,6828
78
- bizyengine-1.2.14.dist-info/METADATA,sha256=CcFG4em4r_TbocNlH1ZjwwvgdweaG3wDzbsIDtKnMvY,4210
79
- bizyengine-1.2.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
- bizyengine-1.2.14.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
81
- bizyengine-1.2.14.dist-info/RECORD,,
74
+ bizyengine/misc/segment_anything.py,sha256=wNKYwlYPMszfwj23524geFZJjZaG4eye65SGaUnh77I,8941
75
+ bizyengine/misc/supernode.py,sha256=STN9gaxfTSErH8OiHeZa47d8z-G9S0I7fXuJvHQOBFM,4532
76
+ bizyengine/misc/utils.py,sha256=deQjBgLAkxIr-NaOMm77TcgBT3ExAp0MFm5ehUJ3CGs,6829
77
+ bizyengine-1.2.15.dist-info/METADATA,sha256=mqHvFtrfyq_RWfCYFWOv0n0Jmj_N5I5M8jVl6lrC5gI,647
78
+ bizyengine-1.2.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
+ bizyengine-1.2.15.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
80
+ bizyengine-1.2.15.dist-info/RECORD,,
bizyengine/version.txt DELETED
@@ -1 +0,0 @@
1
- 1.2.14
@@ -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
- ```