Run keep writing
POST
/v1/keep-writing请求参数
Header 参数
content-type
string
必需
示例值:
application/json
Body 参数application/json
inputs
object
必需
type
string
必需
options
object
必需
outputLanguage
string
必需
inputLanguage
string
必需
languageFormality
string
必需
示例
{
"inputs": {
"type": "text"
},
"options": {
"outputLanguage": "English",
"inputLanguage": "English",
"languageFormality": "default"
}
}
示例代码
返回响应
成功(201)
HTTP 状态码: 201
内容格式: JSONapplication/json
数据结构
requestId
string
必需
resource
string
必需
data
array [object {2}]
必需
text
string
可选
id
string
可选
示例
{
"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"
}
]
}
最后修改时间: 10 个月前