From 4d80290d5c346058ed48a3a35d48fb34b7249d7c Mon Sep 17 00:00:00 2001 From: "kyj@bowong.ai" Date: Wed, 16 Jul 2025 15:31:32 +0800 Subject: [PATCH] =?UTF-8?q?PERF=20=E4=BC=98=E5=8C=96=E5=8D=B3=E6=A2=A6?= =?UTF-8?q?=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nodes/image_gesture_nodes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nodes/image_gesture_nodes.py b/nodes/image_gesture_nodes.py index c8f628b..db237b1 100644 --- a/nodes/image_gesture_nodes.py +++ b/nodes/image_gesture_nodes.py @@ -38,7 +38,7 @@ class JMUtils: self.cos_secret_key = yaml_config["cos_secret_key"] self.cos_bucket_name = yaml_config["cos_sucai_bucket_name"] - def submit_task(self, prompt: str, img_url: str, duration: str = "5"): + def submit_task(self, prompt: str, img_url: str, duration: str = "10"): try: headers = { "Content-Type": "application/json", @@ -46,11 +46,11 @@ class JMUtils: } json_data = { - "model": "doubao-seedance-1-0-lite-i2v-250428", + "model": "doubao-seedance-1-0-pro-250528", "content": [ { "type": "text", - "text": f"{prompt} --resolution 720p --dur {duration} --camerafixed false", + "text": f"{prompt} --resolution 1080p --dur {duration} --camerafixed false", }, { "type": "image_url", @@ -331,7 +331,7 @@ class JMCustom: "prompt": ("STRING", { "default": "Stand straight ahead, facing the camera, showing your full body, maintaining a proper posture, keeping the camera still, and ensuring that your head and feet are all within the frame", "multiline": True}), - "duration": ("INT", {"default": 5, "min": 2, "max": 30}), + "duration": ("INT", {"default": 5, "min": 2, "max": 10}), } }