在 支持的语言 所列 locale 之间翻译一个或多个文本片段。Documentation Index
Fetch the complete documentation index at: https://docs.vmeg.ai/llms.txt
Use this file to discover all available pages before exploring further.
同步与异步
| 模式 | 接口 | 结果 |
|---|---|---|
| 同步 | POST /openapi/v1/task/translate/create | HTTP 响应 data.items |
| 异步 | POST /openapi/v1/task/translate/create-async | Webhook,event 为 openapi-translate(data.items) |
create 与 create-async 均须 X-Idempotency-Key;异步还须配置 Webhook。
流程(同步)
data.items 中,与输入 segments 对齐。
流程(异步)
- 配置 Webhooks
- 带幂等键 POST
create-async - 保存受理响应中的
taskId - 从 Webhook
data.items读取译文
请求细节
segments 与options 见 创建文本翻译(同步)。仅异步可用的 extraData(Webhook 回显)见 创建文本翻译(异步)。

