Parameter Name | Type | Nested Key | Required | Example |
---|---|---|---|---|
audio_man | string | Yes | f6254806192e4ef99189ae899d89943e | |
speed | number | Yes | 1 | |
pitch | number | Yes | 1 | |
volume | number | Yes | 100 | |
text | object | Yes | ||
text | Yes | Hello, I am your Cicada Digital Human (text length limit below 4000 characters) | ||
plain_text | No | Hello, I am your Cicada Digital Human | ||
font_size | number | No | 64 | |
width | number | No | 1000 | |
height | number | No | 90 |
{
"audio_man": "C-CASE-56069e0e255c43239cf39f899cfedb42",
"speed": 1,
"pitch": 1,
"volume": 100,
"text": {
"text": "Hello, I am your Cicada Digital Human",
"plain_text": "Hello, I am your Cicada Digital Human"
},
"font_size": 64,
"width": 1000,
"height": 90,
"callback": ""
}
curl --location --request POST 'https://api.302.ai/chanjing/open/v1/create_audio_task' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"audio_man": "C-CASE-56069e0e255c43239cf39f899cfedb42",
"speed": 1,
"pitch": 1,
"volume": 100,
"text": {
"text": "Hello, I am your Cicada Digital Human",
"plain_text": "Hello, I am your Cicada Digital Human"
},
"font_size": 64,
"width": 1000,
"height": 90,
"callback": ""
}'
{
"code": 0,
"data": {
"task_id": "4df5a37f015547649de8d35f55ca191c"
},
"msg": "success",
"trace_id": "07026f836eae4982cec5107e2a2991ab"
}