AISEO
开发环境
开发环境
POST
/v2/rewrite
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v2/rewrite' \
--header 'Authorization: Bearer <Your secret key>' \
--header 'Content-Type: application/json' \
--data-raw '{ "text" : "Your text that need to rewritten.", "audience": "general", "formality": "neutral", "intent": "inform" }'
响应示例响应示例
{}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Authorization
string
必需
示例值:
Bearer <Your secret key>
Body 参数application/json
返回响应
修改于 2024-04-02 08:08:20