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

    验证

    使用 Jasper 的 Postman Collection 简化您的开发。
    Jasper API 使用 API 密钥来验证请求。 API 令牌的管理范围仅限于具有给定工作区管理员角色的用户。
    管理员可以通过“设置/API 令牌”页面在其工作区中生成 API 令牌。
    img
    生成 API 令牌后,您需要将其传递到HTTP 标头中:X-API-KEY
    样本
    curl --request GET \
         --url https://api.jasper.ai/v1/templates \
         --header 'X-API-Key: YOUR_JASPER_API_KEY' \
         --header 'accept: application/json' \
         --header 'content-type: application/json'

    ℹ️重要的提示:#

    您的 API 密钥是一个秘密,因此请务必采取适当的措施来保护它。不要与其他人共享它或在客户端应用程序中公开它。对 Jasper API 的请求应通过您自己的后端服务器进行路由,并且所有请求都必须通过 HTTPS 发出。
    修改于 2024-01-30 06:50:11
    上一页
    入门
    下一页
    Jasper 人工智能引擎
    Built with