feat(新功能):

fix(修复bug):   骨架生成视频 首帧曝光问题
docs(文档变更):
refactor(重构):
test(增加测试):
This commit is contained in:
zchengrong
2025-11-07 17:44:19 +08:00
parent e8d8b715ae
commit 30bfd22e3e

View File

@@ -36,9 +36,9 @@ workflow_json = {
}, },
"163": { "163": {
"inputs": { "inputs": {
"fps": 16, "fps": 24,
"images": [ "images": [
"164", "192",
0 0
] ]
}, },
@@ -256,9 +256,9 @@ workflow_json = {
}, },
"180": { "180": {
"inputs": { "inputs": {
"width": 512, "width": 480,
"height": 768, "height": 720,
"length": 81, "length": 121,
"batch_size": 1, "batch_size": 1,
"positive": [ "positive": [
"179", "179",
@@ -313,8 +313,47 @@ workflow_json = {
"_meta": { "_meta": {
"title": "LoRA加载器仅模型" "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 = { video_map = {
"1": "input_pose_video/1.mp4", "1": "input_pose_video/1.mp4",
@@ -691,7 +730,7 @@ class ComfyUIServerPose2V:
if __name__ == '__main__': if __name__ == '__main__':
request_data = ComfyuiPose2VModel( 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", image_url="aida-users/89/product_image/a6949500-2393-42ac-8723-440b5d5da2b2-0-89.png",
pose_id="6" pose_id="6"
) )