Run command
开发环境
开发环境
POST
/v1/command
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v1/command?members&reference&Type&_postman_listIndexKey=key&_postman_listAllowsMultipleValues' \
--data-raw '{
"options": {
"outputCount": 1,
"outputLanguage": "English",
"inputLanguage": "English",
"languageFormality": "default",
"completionType": "performance"
}
}'
响应示例响应示例
{
"requestId": "bce766ea-a4ef-48e5-9da1-d9602bfecf2d",
"resource": "content",
"data": [
{
"text": "\n\nFurry friends so sweet,\nNibbling on fresh kale leaves,\nSoft hops fill the breeze.",
"id": "txt_bce766eaa4ef48e59da1d9602bfecf2d"
}
]
}
请求参数
Header 参数
content-type
string
必需
示例值:
application/json
Body 参数application/json
返回响应
修改于 2024-01-30 03:50:31