AISEO
    AISEO
    • 简介
    • AISEO
      POST

      AISEO

      开发环境
      http://dev-cn.your-api-server.com
      开发环境
      http://dev-cn.your-api-server.com
      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
      text
      string 
      要重写的输入文本。
      必需
      audience
      string 
      可选
      表示重写文本的目标受众。允许的值为“知识渊博”、“专家”和“一般”。默认为“一般”。
      formality
      string 
      可选
      表示重写文本所需的形式级别。允许的值为“非正式”、“中性”或“正式”。默认为“中性”。
      intent
      string 
      可选
      表示重写文本的意图。允许的值为“通知”、“说服”和“描述”。默认为“通知”。
      示例

      返回响应

      🟢200成功
      application/json
      Body
      object {0}
      上一页
      简介
      Built with