docs(gateway): 补充接口1/6 竖线坐标 vertical_lines

网关继续盲转发,该字段是坐标 JSON,不参与 base64 改写。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
xsl
2026-11-05 22:25:55 +08:00
co-authored by Cursor
parent 14ec4964a0
commit 5f569caa5d
3 changed files with 64 additions and 4 deletions
+11
View File
@@ -243,6 +243,17 @@ curl -s -X POST http://127.0.0.1:8080/api/v1/face/special-points \
---
## 10. ✅【无需改代码】接口1/6 增加竖线坐标 `vertical_lines`
worker(`ubuntu3090_debug`,提交 `b64313d`)已在接口 1、接口 6,以及接口 5/52 内嵌的 `face_measure` 中返回 `vertical_lines`。字段说明见 [`接口文档.md`](接口文档.md) 接口 1。
网关保持现有盲转发即可:
- `vertical_lines` 是坐标 JSON,不是 `*_base64`,`rewrite_base64_to_url` 不会改写它。
- 接口 1 含人头两端 `left_head_edge` / `right_head_edge`(耳朵不可见时该条不出现)。接口 6 只有中间 6 条,`y_top`/`y_bottom` 为发际线到下巴尖。
---
## 已经做好、无需再动的
- **接口4 在网关本机实现**(调豆包,不转发 worker)——已完成;config 里配 `ark`。