feat : 新增seg anything 接口
All checks were successful
git commit AiDA python develop 分支构建部署 / scheduled_deploy (push) Has been skipped

This commit is contained in:
zcr
2026-01-08 17:33:54 +08:00
parent f6963070fb
commit 9ba3a0ca49
2 changed files with 19 additions and 1 deletions

View File

@@ -1,6 +1,12 @@
from pydantic import BaseModel
class SAMRequestModel(BaseModel):
image_path: str
points: list[list[float]]
labels: list[int]
class DesignModel(BaseModel):
objects: list[dict]
process_id: str