feat(新功能): 新增wan2.2 pose-transform模型接口,comfyui-api形式

fix(修复bug):
docs(文档变更):
refactor(重构):
test(增加测试):
This commit is contained in:
zhh
2025-11-03 17:37:33 +08:00
parent 98468ea7aa
commit 8ccbbe41b1

View File

@@ -345,7 +345,7 @@ class ComfyUIServerI2V:
in_memory_file, object_name = self.download_from_minio_in_memory()
if in_memory_file and object_name:
uploaded_filename = self.upload_in_memory_file_to_comfyui(in_memory_file, object_name)
workflow_json['178']['inputs']['image'] = uploaded_filename
# 1. 提交任务
prompt_response = self.queue_prompt(workflow_json, self.tasks_id)
if not prompt_response:
@@ -690,8 +690,8 @@ class ComfyUIServerI2V:
if __name__ == '__main__':
request_data = PoseTransformModel(
tasks_id="1515151123-89111",
image_url="aida-results/result_0000b606-1902-11ef-9424-0242ac180002.png",
tasks_id="12222515151123-89111",
image_url="aida-users/89/product_image/a6949500-2393-42ac-8723-440b5d5da2b2-0-89.png",
pose_id="6"
)