跳转到主要内容

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.

使用系统或克隆 voiceId 将文本合成为语音。获取 ID 见 音色

同步与异步

模式接口结果
同步POST /openapi/v1/task/tts/createHTTP data.results[].uri(CDN 音频)
异步POST /openapi/v1/task/tts/create-asyncWebhookeventopenapi-ttsdata.results
createcreate-async 均须 X-Idempotency-Key;异步还须配置 Webhook

流程(同步)

完整 curl 见 快速开始 主要字段:
  • provider — 克隆引擎版本(V1V5);见支持的克隆方式
  • language.target支持的语言
  • data[] — 最多 50 条;每条需 textvoiceId(或 timbreRefAudio
  • outputFormatwavmp3m4a

流程(异步)

  1. 配置 Webhooks
  2. 带幂等键 POST create-async
  3. 从 Webhook data.results 取音频 URL

音色

  • 系统音色POST /openapi/v1/assets/voice/basic/list
  • 克隆音色声音克隆 成功后使用返回的 voiceId
完整 schema:API 参考 → TTS

相关