feat(新功能): generate product relight pose_transform 开发,设置batch generate 的优先级为100 ,single generate 的优先级为1

fix(修复bug):
docs(文档变更):
refactor(重构):
test(增加测试):
This commit is contained in:
zchengrong
2025-04-21 10:04:40 +08:00
parent 88c9d6ef93
commit 4e55275e6e
12 changed files with 712 additions and 7 deletions

View File

@@ -36,3 +36,26 @@ class GenerateRelightImageModel(BaseModel):
image_url: str
direction: str
product_type: str
"""
batch generate image
"""
class BatchGenerateProductImageModel(BaseModel):
tasks_id: str
prompt: str
image_url: str
image_strength: float
product_type: str
batch_size: int
class BatchGenerateRelightImageModel(BaseModel):
tasks_id: str
prompt: str
image_url: str
direction: str
product_type: str
batch_size: int

View File

@@ -5,3 +5,10 @@ class PoseTransformModel(BaseModel):
image_url: str
tasks_id: str
pose_id: str
class BatchPoseTransformModel(BaseModel):
image_url: str
tasks_id: str
pose_id: str
batch_size: int