bizyengine 1.2.75__py3-none-any.whl → 1.2.76__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/bizyair_extras/third_party_api/nodes_kling.py +12 -1
- bizyengine/version.txt +1 -1
- {bizyengine-1.2.75.dist-info → bizyengine-1.2.76.dist-info}/METADATA +1 -1
- {bizyengine-1.2.75.dist-info → bizyengine-1.2.76.dist-info}/RECORD +6 -6
- {bizyengine-1.2.75.dist-info → bizyengine-1.2.76.dist-info}/WHEEL +0 -0
- {bizyengine-1.2.75.dist-info → bizyengine-1.2.76.dist-info}/top_level.txt +0 -0
|
@@ -239,6 +239,9 @@ class Kling_2_5_I2V_API(BizyAirTrdApiBaseNode):
|
|
|
239
239
|
"model_name": (["kling-v2-5-turbo"], {"default": "kling-v2-5-turbo"}),
|
|
240
240
|
"duration": ([5, 10], {"default": 5}),
|
|
241
241
|
},
|
|
242
|
+
"optional": {
|
|
243
|
+
"last_frame_image": ("IMAGE", {"tooltip": "末帧图片"}),
|
|
244
|
+
},
|
|
242
245
|
}
|
|
243
246
|
|
|
244
247
|
def handle_inputs(self, headers, prompt_id, **kwargs):
|
|
@@ -247,6 +250,7 @@ class Kling_2_5_I2V_API(BizyAirTrdApiBaseNode):
|
|
|
247
250
|
negative_prompt = kwargs.get("negative_prompt", "")
|
|
248
251
|
duration = kwargs.get("duration", 5)
|
|
249
252
|
first_frame_image = kwargs.get("first_frame_image", None)
|
|
253
|
+
last_frame_image = kwargs.get("last_frame_image", None)
|
|
250
254
|
if first_frame_image is None:
|
|
251
255
|
raise ValueError("First frame image is required")
|
|
252
256
|
if len(prompt) > 2500 or len(negative_prompt) > 2500:
|
|
@@ -256,7 +260,7 @@ class Kling_2_5_I2V_API(BizyAirTrdApiBaseNode):
|
|
|
256
260
|
# 上传图片
|
|
257
261
|
url = self.upload_file(
|
|
258
262
|
tensor_to_bytesio(image=first_frame_image, total_pixels=4096 * 4096),
|
|
259
|
-
f"{prompt_id}.png",
|
|
263
|
+
f"{prompt_id}_first.png",
|
|
260
264
|
headers,
|
|
261
265
|
)
|
|
262
266
|
data = {
|
|
@@ -266,6 +270,13 @@ class Kling_2_5_I2V_API(BizyAirTrdApiBaseNode):
|
|
|
266
270
|
"duration": duration,
|
|
267
271
|
"first_frame_image": url,
|
|
268
272
|
}
|
|
273
|
+
if last_frame_image is not None:
|
|
274
|
+
last_frame_image_url = self.upload_file(
|
|
275
|
+
tensor_to_bytesio(image=last_frame_image, total_pixels=4096 * 4096),
|
|
276
|
+
f"{prompt_id}_last.png",
|
|
277
|
+
headers,
|
|
278
|
+
)
|
|
279
|
+
data["last_frame_image"] = last_frame_image_url
|
|
269
280
|
return data, "kling-v2-5"
|
|
270
281
|
|
|
271
282
|
def handle_outputs(self, outputs):
|
bizyengine/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.76
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bizyengine
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.76
|
|
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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
bizyengine/__init__.py,sha256=GP9V-JM07fz7uv_qTB43QEA2rKdrVJxi5I7LRnn_3ZQ,914
|
|
2
|
-
bizyengine/version.txt,sha256=
|
|
2
|
+
bizyengine/version.txt,sha256=TyBvX2lRbFHbsOP6JcbacJtjOAnXtSQa91b766suWhE,7
|
|
3
3
|
bizyengine/bizy_server/__init__.py,sha256=SP9oSblnPo4KQyh7yOGD26YCskFAcQHAZy04nQBNRIw,200
|
|
4
4
|
bizyengine/bizy_server/api_client.py,sha256=fF2VApJjPcPWGQwYWSEaIN12c8WT95lj1_QHX83WbeQ,44630
|
|
5
5
|
bizyengine/bizy_server/errno.py,sha256=ikb4Z3MRMTjosi9AC1epaOwE3kJsD6CcFcFp56AKF-Y,16986
|
|
@@ -51,7 +51,7 @@ bizyengine/bizyair_extras/third_party_api/nodes_flux.py,sha256=9o7imVDn9qXnUokkA
|
|
|
51
51
|
bizyengine/bizyair_extras/third_party_api/nodes_gemini.py,sha256=uI0PnSwoCUvn5_J2gK8X_ZcjvTMhnfO7X0NyZwWLl3M,17335
|
|
52
52
|
bizyengine/bizyair_extras/third_party_api/nodes_gpt.py,sha256=pvIlwjjHnk_XCa4eJERBcsWonaBd24xP0jFVQLJXdQc,3098
|
|
53
53
|
bizyengine/bizyair_extras/third_party_api/nodes_hailuo.py,sha256=hBmt6AHVXzsbO-Uq3Go-06yNLocV6sCtutKCVUz4P9E,3746
|
|
54
|
-
bizyengine/bizyair_extras/third_party_api/nodes_kling.py,sha256=
|
|
54
|
+
bizyengine/bizyair_extras/third_party_api/nodes_kling.py,sha256=zyQF9NM0vnOeOzuCayj3oA2x_s9Nm-S23YcgGuiC5ig,18796
|
|
55
55
|
bizyengine/bizyair_extras/third_party_api/nodes_sora.py,sha256=alxI3zNDSUKdc2IOOv5csIWFcHSAqL_55H9Zp4BdcN4,6976
|
|
56
56
|
bizyengine/bizyair_extras/third_party_api/nodes_veo3.py,sha256=H-6zWsUSTKaMMIUrMaH205-hnegvXxs1SQmKi4uY8rI,6489
|
|
57
57
|
bizyengine/bizyair_extras/third_party_api/nodes_wan_api.py,sha256=qkbXFHlnirqUTqnN-X5mu7MyHRYjtGv6e233PjlyUxg,6776
|
|
@@ -103,7 +103,7 @@ bizyengine/misc/route_sam.py,sha256=-bMIR2QalfnszipGxSxvDAHGJa5gPSrjkYPb5baaRg4,
|
|
|
103
103
|
bizyengine/misc/segment_anything.py,sha256=wNKYwlYPMszfwj23524geFZJjZaG4eye65SGaUnh77I,8941
|
|
104
104
|
bizyengine/misc/supernode.py,sha256=STN9gaxfTSErH8OiHeZa47d8z-G9S0I7fXuJvHQOBFM,4532
|
|
105
105
|
bizyengine/misc/utils.py,sha256=nXXTPkj4WBvds4EWjI9c-ydeWwmXl8Vwrdu-4Fh62g8,12914
|
|
106
|
-
bizyengine-1.2.
|
|
107
|
-
bizyengine-1.2.
|
|
108
|
-
bizyengine-1.2.
|
|
109
|
-
bizyengine-1.2.
|
|
106
|
+
bizyengine-1.2.76.dist-info/METADATA,sha256=6TobovQIQmNcfvYr0d56gUDT8VpRrwmgh_F6kyzKTNk,735
|
|
107
|
+
bizyengine-1.2.76.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
108
|
+
bizyengine-1.2.76.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
|
|
109
|
+
bizyengine-1.2.76.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|