Jasper.ai
  1. Templates
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. Templates

Run One-Shot Blog template

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v1/templates/skl_CCA6A61C9FE841F9B44B55BFE2549A53/run
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v1/templates/skl_CCA6A61C9FE841F9B44B55BFE2549A53/run' \
--header 'Content-Type: application/json' \
--data-raw '{
    "inputs": {
        "blogtopic": "Why software development teams should conduct incident retrospectives and the value they provide to organizations.",
        "tone": "informative",
        "intendedaudience": "DevOps Managers"
    },
    "options": {
        "outputCount": 1,
        "inputLanguage": "English",
        "outputLanguage": "English",
        "languageFormality": "less"
    }
}'
响应示例响应示例
{}

请求参数

Body 参数application/json
inputs
object 
必需
blogtopic
string 
必需
tone
string 
必需
intendedaudience
string 
必需
options
object 
必需
outputCount
integer 
必需
inputLanguage
string 
必需
outputLanguage
string 
必需
languageFormality
string 
必需
示例

返回响应

🟢200成功
application/json
Body
object {0}
上一页
Run Text Summarizer template
下一页
Run Facebook Ad Primary Text template
Built with