Typeframes
    Typeframes
    • KEY
    • Create video from text
      POST
    • Create video from slides
      POST
    • Create video from url
      POST
    • Get slides
      POST
    • Create TikTok video from text
      POST

      Get slides

      开发环境
      开发环境
      POST
      /api/public/slides
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/api/public/slides' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "text": "this is a super cool video, introducing typeframes",
          "audio": "https://www.typeframes.com/audio/dont-blink.mp3" // optional
      }'
      响应示例响应示例
      {
          "success": 1,
          "slides": [
              {
                  "text": "this",
                  "transitions": {
                      "in": "slide"
                  }
              },
              {
                  "text": "is",
                  "transitions": {
                      "in": "fade-in"
                  }
              },
              {
                  "text": "a",
                  "transitions": {
                      "in": "zoom"
                  }
              },
              {
                  "text": "super"
              },
              {
                  "text": "cool"
              },
              {
                  "text": "video,"
              },
              {
                  "text": "introducing typeframes"
              }
          ],
          "audio": "https://www.typeframes.com/audio/dont-blink.mp3",
          "frameDurationMultiplier": 1
      }

      请求参数

      Body 参数application/json
      text
      string 
      必需
      audio
      string 
      必需
      示例

      返回响应

      🟢200Get slides examples
      application/json
      Body
      success
      integer 
      必需
      slides
      array [object {2}] 
      必需
      text
      string 
      必需
      transitions
      object 
      必需
      audio
      string 
      必需
      frameDurationMultiplier
      integer 
      必需
      修改于 2024-03-27 06:28:10
      上一页
      Create video from url
      下一页
      Create TikTok video from text
      Built with