POST OpenAI/SubmitVideoNew

请求信息

URI 参数

None.

Body 参数

YoumiDigitalVideoParameter
名称描述类型附加信息
modelType

integer

None.

modelId

integer

None.

voiceId

string

None.

voiceType

integer

None.

content

string

None.

voiceSpeed

decimal number

None.

videoName

string

None.

showText

integer

None.

fontSize

integer

None.

请求格式

application/json, text/json

Sample:
{
  "modelType": 1,
  "modelId": 2,
  "voiceId": "sample string 3",
  "voiceType": 4,
  "content": "sample string 5",
  "voiceSpeed": 6.0,
  "videoName": "sample string 7",
  "showText": 8,
  "fontSize": 9
}

application/xml, text/xml

Sample:
<YoumiDigitalVideoParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels">
  <content>sample string 5</content>
  <fontSize>9</fontSize>
  <modelId>2</modelId>
  <modelType>1</modelType>
  <showText>8</showText>
  <videoName>sample string 7</videoName>
  <voiceId>sample string 3</voiceId>
  <voiceSpeed>6</voiceSpeed>
  <voiceType>4</voiceType>
</YoumiDigitalVideoParameter>

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>