jichengdu
/
cosyvoice-instruct
- Public
- 74 runs
Run jichengdu/cosyvoice-instruct 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
|
你好,我是通义生成式语音大模型,请问有什么可以帮您的吗?
|
要合成的文本内容
|
prompt |
string
|
|
描述性指令,可以设定说话的风格,说话人的特质,使用方言等
|
prompt_audio |
string
|
参考语音文件,必须是 大于 16kHz 的 WAV 文件,小于30s。留空则使用默认参考样本。
|
{
"type": "object",
"title": "Input",
"properties": {
"text": {
"type": "string",
"title": "Text",
"default": "\u4f60\u597d\uff0c\u6211\u662f\u901a\u4e49\u751f\u6210\u5f0f\u8bed\u97f3\u5927\u6a21\u578b\uff0c\u8bf7\u95ee\u6709\u4ec0\u4e48\u53ef\u4ee5\u5e2e\u60a8\u7684\u5417\uff1f",
"x-order": 0,
"description": "\u8981\u5408\u6210\u7684\u6587\u672c\u5185\u5bb9"
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "",
"x-order": 1,
"description": "\u63cf\u8ff0\u6027\u6307\u4ee4\uff0c\u53ef\u4ee5\u8bbe\u5b9a\u8bf4\u8bdd\u7684\u98ce\u683c\uff0c\u8bf4\u8bdd\u4eba\u7684\u7279\u8d28\uff0c\u4f7f\u7528\u65b9\u8a00\u7b49"
},
"prompt_audio": {
"type": "string",
"title": "Prompt Audio",
"format": "uri",
"x-order": 2,
"description": "\u53c2\u8003\u8bed\u97f3\u6587\u4ef6\uff0c\u5fc5\u987b\u662f \u5927\u4e8e 16kHz \u7684 WAV \u6587\u4ef6\uff0c\u5c0f\u4e8e30s\u3002\u7559\u7a7a\u5219\u4f7f\u7528\u9ed8\u8ba4\u53c2\u8003\u6837\u672c\u3002"
}
}
}
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"
}