From 30bfd22e3e9a5d7420a63d28aacfefeb5037431d Mon Sep 17 00:00:00 2001 From: zchengrong <124802516+zchengrong@users.noreply.github.com> Date: Fri, 7 Nov 2025 17:44:19 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=88=E6=96=B0=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=EF=BC=89:=20fix=EF=BC=88=E4=BF=AE=E5=A4=8Dbug=EF=BC=89:=20=20?= =?UTF-8?q?=20=E9=AA=A8=E6=9E=B6=E7=94=9F=E6=88=90=E8=A7=86=E9=A2=91=20?= =?UTF-8?q?=E9=A6=96=E5=B8=A7=E6=9B=9D=E5=85=89=E9=97=AE=E9=A2=98=20docs?= =?UTF-8?q?=EF=BC=88=E6=96=87=E6=A1=A3=E5=8F=98=E6=9B=B4=EF=BC=89:=20refac?= =?UTF-8?q?tor=EF=BC=88=E9=87=8D=E6=9E=84=EF=BC=89:=20test(=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=B5=8B=E8=AF=95):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/comfyui_I2V/pose2v_server.py | 51 +++++++++++++++++++++--- 1 file changed, 45 insertions(+), 6 deletions(-) diff --git a/app/service/comfyui_I2V/pose2v_server.py b/app/service/comfyui_I2V/pose2v_server.py index 7b33ded..d1db7bc 100644 --- a/app/service/comfyui_I2V/pose2v_server.py +++ b/app/service/comfyui_I2V/pose2v_server.py @@ -36,9 +36,9 @@ workflow_json = { }, "163": { "inputs": { - "fps": 16, + "fps": 24, "images": [ - "164", + "192", 0 ] }, @@ -256,9 +256,9 @@ workflow_json = { }, "180": { "inputs": { - "width": 512, - "height": 768, - "length": 81, + "width": 480, + "height": 720, + "length": 121, "batch_size": 1, "positive": [ "179", @@ -313,8 +313,47 @@ workflow_json = { "_meta": { "title": "LoRA加载器(仅模型)" } + }, + "189": { + "inputs": { + "images": [ + "171", + 0 + ] + }, + "class_type": "PreviewImage", + "_meta": { + "title": "预览图像" + } + }, + "190": { + "inputs": { + "images": [ + "192", + 0 + ] + }, + "class_type": "PreviewImage", + "_meta": { + "title": "预览图像" + } + }, + "192": { + "inputs": { + "batch_index": 4, + "length": 117, + "image": [ + "164", + 0 + ] + }, + "class_type": "ImageFromBatch", + "_meta": { + "title": "从批次获取图像" + } } } + # 骨架映射 video_map = { "1": "input_pose_video/1.mp4", @@ -691,7 +730,7 @@ class ComfyUIServerPose2V: if __name__ == '__main__': request_data = ComfyuiPose2VModel( - tasks_id="122225115151123-89111", + tasks_id="122522251123-89111", image_url="aida-users/89/product_image/a6949500-2393-42ac-8723-440b5d5da2b2-0-89.png", pose_id="6" )