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" )