aodianyun/xtts-v2

Public
2 runs

Run aodianyun/xtts-v2 with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
text
string
要合成的文本内容。
speaker
string
参考说话人音色的音频,本地路径或可直接访问的 URL,建议时长 >= 6 秒,单声道更佳。
language
None
en
目标语音的语言代码。支持的语言:en, es, fr, de, it, pt, pl, tr, ru, nl, cs, ar, zh-cn, ja, hu, ko, hi

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}