refresh-gpt-chat
    refresh-gpt-chat
    • 🦊 【开始】了解 refresh-gpt-chat !
    • 🦄 【基础】教你部署refresh-gpt-chat
    • ⭐【基础】教你使用refresh-gpt-chat
    • 自定义Chat接口
      POST
    • 自定义edits接口
      POST
    • 自定义Image接口
      POST
    • 自定义Speech接口
      POST
    • 自定义Transcriptions接口
      POST
    • 获取ChatGPT-Account-ID
      POST

      自定义Transcriptions接口

      POST
      /v1/audio/transcriptions

      请求参数

      Header 参数
      Authorization
      string 
      必需
      示例值:
      Bearer refresh_token,requrest_url,ChatGPT-Account-ID
      Body 参数multipart/form-data
      model
      string 
      可选
      示例值:
      whisper-1
      file
      file 
      可选
      示例值:
      cmMtdXBsb2FkLTE3MTI1MDgwOTU5NjAtMg==/response.mp3

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/v1/audio/transcriptions' \
      --header 'Authorization: Bearer refresh_token,requrest_url,ChatGPT-Account-ID' \
      --form 'model="whisper-1"' \
      --form 'file=@"cmMtdXBsb2FkLTE3MTI1MDgwOTU5NjAtMg==/response.mp3"'

      返回响应

      🟢200成功
      application/json
      Body
      object {0}
      示例
      {}
      修改于 2024-04-08 06:17:22
      上一页
      自定义Speech接口
      下一页
      获取ChatGPT-Account-ID
      Built with