feat relight 增加打光方向

fix
This commit is contained in:
zhouchengrong
2024-07-03 10:26:40 +08:00
parent 72428a73ab
commit 48eaa9c2e3
3 changed files with 8 additions and 6 deletions

View File

@@ -151,12 +151,14 @@ def generate_relight_image(request_item: GenerateRelightImageModel, background_t
- **tasks_id**: 任务id 用于取消生成任务和获取生成结果
- **prompt**: 想要生成图片的描述词
- **image_url**: 被生成图片的S3或minio url地址
- **direction**: 光源方向 Right Light Left Light Top Light Bottom Light
示例参数:
{
"tasks_id": "123-89",
"prompt": "beautiful woman, detailed face, sunshine, outdoor, warm atmosphere",
"image_url": "aida-results/result_0000b606-1902-11ef-9424-0242ac180002.png"
"image_url": "aida-results/result_0000b606-1902-11ef-9424-0242ac180002.png",
"direction": "Right Light"
}
"""
try: