feat(新功能): 新增 骨架/图片+prompt/首尾帧+prompt -> 视频接口

fix(修复bug):
docs(文档变更):
refactor(重构):
test(增加测试):
This commit is contained in:
zchengrong
2025-11-05 17:08:40 +08:00
parent 0e7ef80eed
commit 85c486c3dc
5 changed files with 1367 additions and 18 deletions

View File

@@ -0,0 +1,23 @@
from pydantic import BaseModel
class ComfyuiPose2VModel(BaseModel):
# 骨架生成视频
image_url: str
tasks_id: str
pose_id: str
class ComfyuiI2VModel(BaseModel):
# 图生视频
image_url: str
prompt: str
tasks_id: str
class ComfyuiFLF2VModel(BaseModel):
# 首尾帧生视频
start_image_url: str
end_image_url: str
prompt: str
tasks_id: str