自动笔记系统
    自动笔记系统
    • 测试连通性
      GET
    • 上传录音
      POST
    • 生成笔记要素
      POST
    • 生成知识点网络
      POST
    • 导出笔记PDF
      POST

      上传录音

      测试中
      POST
      http://127.0.0.1:5100/record
      用户上传录音文件,接收对录音的解析结果。

      请求参数

      Body 参数multipart/form-data
      file
      file 
      必需
      仅接收音频类文件。限制大小待定。

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'http://127.0.0.1:5100/record' \
      --form 'file=@""'

      返回响应

      🟢200成功
      application/json
      Body
      id
      integer 
      id
      必需
      课程的唯一id。可以随机生成但不能重复。
      duration
      integer 
      课程时长
      必需
      单位为秒。
      topic
      string 
      课程主题
      必需
      限制长度不能超过10个字。
      abstract
      string 
      课程摘要
      必需
      长度大约为2行。
      raw_recognition
      array[object (RawRecognition) {3}] 
      原始转文字结果
      必需
      强调:这里生成的数组的每一项的时间起止是固定的,应该和笔记要素中识别结果的时间起止是对应的。
      start
      integer 
      开始时刻
      必需
      单位为秒。
      end
      integer 
      结束时刻
      可选
      单位为秒。非必填。
      text
      string 
      识别内容
      必需
      示例
      {
          "id": 0,
          "duration": 0,
          "topic": "string",
          "abstract": "string",
          "raw_recognition": [
              {
                  "start": 0,
                  "end": 0,
                  "text": "string"
              }
          ]
      }
      修改于 2025-01-25 04:04:16
      上一页
      测试连通性
      下一页
      生成笔记要素
      Built with