Authorization: Bearer ********************
{
"contents": [
{
"voiceId": "d1969f83-1891-4da0-8232-1014382428d1",
"text": "大家好啊,今天的天气真不错啊,你觉得呢?",
"promptId": "8c4a7d21"
},
{
"voiceId": "6c69eac1-34aa-43ad-89f1-6ba1b9f5e004",
"text": "巧了,我也觉得很不错,我们想到一块去了",
"promptId": "e7263005"
}
],
"preset": "v2_creative",
"randomness": 100,
"stability_boost": 1024,
"probability_optimization": 100,
"break_clone": true,
"sharpen": true,
"flash": false,
"stream": true,
"srt": true,
"seed": null,
"dictionary": []
}
curl --location --request POST 'https://v1.vocu.ai/api/tts/generate' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"voiceId": "d1969f83-1891-4da0-8232-1014382428d1",
"text": "大家好啊,今天的天气真不错啊,你觉得呢?",
"promptId": "8c4a7d21"
},
{
"voiceId": "6c69eac1-34aa-43ad-89f1-6ba1b9f5e004",
"text": "巧了,我也觉得很不错,我们想到一块去了",
"promptId": "e7263005"
}
],
"preset": "v2_creative",
"randomness": 100,
"stability_boost": 1024,
"probability_optimization": 100,
"break_clone": true,
"sharpen": true,
"flash": false,
"stream": true,
"srt": true,
"seed": null,
"dictionary": []
}'
{
"status": 200,
"message": "OK",
"data": {
"id": "ec138706-823b-420f-a78b-9c5cf2053997",
"userId": "0bc323ca-7be4-4526-af56-3f9f3052a838",
"status": "failed",
"type": "vocu-neural-voice-001",
"metadata": {
"contents": [
{
"voiceId": "9946da5f-8212-48c3-8041-f56a4bb0d853",
"text": "酥脆的炸蛇肉小块,撒上麻椒调味,配上一款黑莓酱作为蘸料。",
"audio": "https://storage.vocu.ai/generate/7cdaabdf-b066-46c1-a05a-0f28f82a33ae/a3be0533-dec7-4a96-8c52-f46ce48b96aa-13.mp3",
"generatedAt": "2022-12-14T11:35:53.880Z"
},
{
"voiceId": "42dcfc75-0d56-45eb-9cd4-4003b0515354",
"text": "一款令人愉悦的果挞,融合了松软的的番茄干和甜美的李子,装在一个黄油味十足的酥皮壳中,最后淋上一丝甘草提味。",
"audio": "https://storage.vocu.ai/generate/1c96d289-fd72-441b-8979-575522fb8e56/71d9f624-ea36-4f9b-8fcf-bf850a7e1807-14.mp3",
"generatedAt": "1964-02-04T21:19:38.944Z"
},
{
"voiceId": "71741003-7260-417b-ad90-65d7ebaebe18",
"text": "一个简单的木瓜派。不加花哨的东西,就是派。",
"audio": "https://storage.vocu.ai/generate/300a4ed1-d313-4079-a827-13067b66fc00/35c366d9-2bf3-4fe0-9984-d25d1d55e116-15.mp3",
"generatedAt": "1948-07-29T22:04:22.900Z"
}
],
"characters": 97,
"voices": [
{
"id": "4798e410-1774-4f02-a461-efa48e430f75",
"idForGenerate": "c5c650a2-0657-4c56-94a7-5b56ddf02232",
"name": "柴熙瑶",
"status": "lora-failed",
"metadata": {
"avatar": "https://picsum.photos/seed/adLqxCP8/623/417",
"description": "父母,极客,美食家",
"prompts": [
{
"id": "4f22aac1-1e86-4d19-b419-e7dd8b175dd0",
"name": "鲁莽",
"promptOriginAudioStorageUrl": "https://storage.vocu.ai/prompt/570095/643676-playback-4bk7te.mp3",
"description": "鲁莽的情感风格"
},
{
"id": "5b7036ad-6faa-451e-9258-aef2db25f454",
"name": "笔直",
"promptOriginAudioStorageUrl": "https://storage.vocu.ai/prompt/845026/577993-playback-hexto7.mp3",
"description": "笔直的情感风格"
}
]
}
}
],
"temperature": 1,
"top_k": 1024,
"top_p": 1,
"isPremium": false,
"audio": "https://storage.vocu.ai/generate/2f09e6c1-d560-483a-ade8-7b6923de4d47/851c7cf9-db66-41a7-9f26-5f27f46c7788-merged.mp3",
"generatedAt": "1971-07-21T05:54:29.797Z",
"regenerates": [
{
"contents": [
1
],
"characters": 82
},
{
"contents": [
1,
2
],
"characters": 29
}
]
}
}
}