auto-save 2026-05-13 11:17 (~2)

This commit is contained in:
2026-05-13 11:17:52 +08:00
parent 7841e56519
commit f4ce533b8d
2 changed files with 15 additions and 2 deletions

View File

@@ -997,8 +997,8 @@ def describe_frame(job_id: str, idx: int) -> Job:
# ---------- 清洗水印 / 元素提取(关键帧二阶段加工) ----------
class CleanupReq(BaseModel):
# 可选 region相对坐标 0-1限制清洗范围
region: dict | None = None # {"x": float, "y": float, "w": float, "h": float}
# 多个相对坐标矩形 0-1限制清洗范围;空 / None = 全图清洗
regions: list[dict] | None = None # [{"x","y","w","h"}, ...]
def _region_to_phrase(r: dict) -> str: