POST OpenAI/ImgCommodity2
请求信息
URI 参数
None.
Body 参数
AIProductParameter名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
inputImg | string |
None. |
|
prompt | string |
None. |
|
refImg | string |
None. |
|
refSth | decimal number |
None. |
|
imgNum | integer |
None. |
|
refMode | integer |
None. |
请求格式
application/json, text/json
Sample:
{ "inputImg": "sample string 1", "prompt": "sample string 2", "refImg": "sample string 3", "refSth": 4.0, "imgNum": 5, "refMode": 6 }
application/xml, text/xml
Sample:
<AIProductParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UDenCloudProject.Model.ParameterModels"> <imgNum>5</imgNum> <inputImg>sample string 1</inputImg> <prompt>sample string 2</prompt> <refImg>sample string 3</refImg> <refMode>6</refMode> <refSth>4</refSth> </AIProductParameter>
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>