语音合成
POST /alibailian/api/v1/services/aigc/multimodal-generation/generation
概览
| Method | POST |
|---|---|
| Path | /alibailian/api/v1/services/aigc/multimodal-generation/generation |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 77281650 |
参数
{ "header": [ { "required": false, "description": "", "type": "string", "id": "vtctkXfpU7", "enable": true, "name": "Content-Type", "sampleValue": "application/json" }, { "required": false, "description": "", "type": "string", "id": "ho03ggVKiX", "enable": true, "name": "Authorization", "sampleValue": "Bearer {{YOUR_API_KEY}}" } ] }
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": { "model": { "type": "string" }, "input": { "type": "object", "properties": { "text": { "type": "string" }, "voice": { "type": "string" }, "language_type": { "type": "string" } }, "required": [ "text", "voice" ], "x-apifox-orders": [ "text", "voice", "language_type" ] } }, "required": [ "model", "input" ], "x-apifox-orders": [ "model", "input" ] }, "required": true, "mediaType": "", "examples": [], "oasExtensions": "" }
响应
[ { "id": 108870795, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": {} }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [] } ]