POST OpenAI/SaveDigitalVideoDraft
保存视频草稿
请求信息
URI 参数
None.
Body 参数
AmemoriDigitalVideoDraft名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
Id | integer |
None. |
|
IdStr | string |
None. |
|
modelSrc | string |
None. |
|
content |
文本内容,长度限制500 |
string |
None. |
modelId |
模特ID |
string |
None. |
voiceId |
声音ID |
string |
None. |
voiceSpeed |
语速,取值范围[-2,2],0.1为1个档位,不传默认0 |
integer |
None. |
volume |
音量,取值范围[-2,2],0.1为1个档位,不传默认0 |
integer |
None. |
voiceUrl |
音频链接,voiceUrl和content同时存在的情况下,content无效 |
string |
None. |
showText | integer |
None. |
|
fontSize | integer |
None. |
请求格式
application/json, text/json
Sample:
{ "Id": 1, "IdStr": "1", "modelSrc": "sample string 2", "content": "sample string 3", "modelId": "sample string 4", "voiceId": "sample string 5", "voiceSpeed": 6, "volume": 7, "voiceUrl": "sample string 8", "showText": 9, "fontSize": 10 }
application/xml, text/xml
Sample:
<AmemoriDigitalVideoDraft xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ReturnModels"> <content xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels">sample string 3</content> <fontSize xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels">10</fontSize> <modelId xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels">sample string 4</modelId> <showText xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels">9</showText> <voiceId xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels">sample string 5</voiceId> <voiceSpeed xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels">6</voiceSpeed> <voiceUrl xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels">sample string 8</voiceUrl> <volume xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels">7</volume> <Id>1</Id> <modelSrc>sample string 2</modelSrc> </AmemoriDigitalVideoDraft>
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
保存视频草稿
ApiJsonBaseOfObject名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
Result | boolean |
None. |
|
Message | string |
None. |
|
State | integer |
None. |
|
BizData | Object |
None. |
响应格式
application/json, text/json
Sample:
{ "Result": true, "Message": "sample string 2", "State": 3, "BizData": {} }
application/xml, text/xml
Sample:
<ApiJsonBaseOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.API.Models"> <BizData /> <Message>sample string 2</Message> <Result>true</Result> <State>3</State> </ApiJsonBaseOfanyType>