Jasper.ai
  1. Tones
Jasper.ai
  • 入门
  • 验证
  • Jasper 人工智能引擎
  • 版本控制
  • 速率限制
  • 状态代码和错误
  • Command
    • Run command
      POST
  • Knowledge
    • Create knowledge
      POST
    • Retrieve knowledge
      GET
    • Retrieve a specific knowledge
      GET
    • Update a knowledge
      PATCH
    • Delete knowledge by ID
      DELETE
  • Tones
    • Run Tone Detector template
      POST
    • Create a tone
      POST
    • Retrieve tones
      GET
    • Retrieve tone by ID
      GET
    • Update a tone by ID
      PATCH
    • Delete a tone by ID
      DELETE
  • keep writing
    • Run keep writing
      POST
  • Templates
    • Retrieve templates
      GET
    • Retrieve a template by ID
      GET
    • Run Text Summarizer template
      POST
    • Run One-Shot Blog template
      POST
    • Run Facebook Ad Primary Text template
      POST
  • Usage
    • Retrieve API usage
  1. Tones

Create a tone

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v1/tones
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v1/tones' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Dove Soap", 
    "value" : "The Brand Voice is always empathetic, helpful, and informative. It always maintains a caring and understanding tone, focusing on providing solutions to common problems. The brand voice is never professional or formal, but always casual and friendly, aiming to establish a close connection with the audience. It never falls on the serious end of the spectrum, occasionally incorporating a touch of humor to keep the tone light and engaging.",
    "metadata" : {
        "customer_id": "customer123"
    }, 
    "settings": {
        "appVisibility": "visible"
    }
}'
响应示例响应示例
{}

请求参数

Body 参数application/json
name
string 
必需
value
string 
必需
metadata
object 
必需
customer_id
string 
必需
settings
object 
必需
appVisibility
string 
必需
示例

返回响应

🟢200成功
application/json
Body
object {0}
上一页
Run Tone Detector template
下一页
Retrieve tones
Built with