跳转到主要内容

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.

对已上传视频或音频做翻译、配音等流水线处理。仅异步 — 结果通过 Webhook 送达。

任务类型

请求 taskType含义
vt视频翻译
at音频翻译
若请求 at 但素材为视频,服务端可能按 视频翻译(vt 执行。请以受理响应与 Webhook 中的 taskType 为准。

流程

1

上传素材

素材上传materialId
2

配置 Webhook

API 配置 设置 Webhook URL,并复制页面展示的 Secret 用于验签
3

提交任务

POST /openapi/v1/task/media-translation/create-async,携带 X-Idempotency-Key
4

接收结果

eventopenapi-media-translationWebhook 请求体

请求概要

必填包括 taskTypesource.materialIdlanguage(源/目标 locale)、options(配音、ASR、翻译等)。 区域代码见 支持的语言。完整 options 树见 创建媒体翻译(异步) 的请求体。

响应

  • HTTP Response(立即):受理信息 — taskIdstatuscreatedAt、实际 taskType
  • Webhook(完成时):data.result 中的交付物 CDN URL
不要在 create-async 的 HTTP 响应中等待最终音视频 URL。

任务管理

可轮询 GET /openapi/v1/tasks/detail 作为兜底。见 产品概览