ai-gateway
    ai-gateway
    • Suno
      • Suno Generate
        POST
      • Suno Feed
        GET
      • Suno Concat
        POST
      • Suno Generate (Extend)
        POST
    • Stable Diffusion
      • Stable Diffusion 文生图
        POST
      • Stable Diffusion 图生图
        POST
      • ReActor image
        POST
    • Create chat completion
      POST
    • Create chat completion with stream
      POST
    • Create image
      POST
    • Create speech
      POST
    • Create transcription
      POST
    • asr
      POST
    • asr Copy
      POST
    • Create transcription Copy
      POST

      Create transcription

      POST
      /v1/audio/transcriptions
      原文参考:https://platform.openai.com/docs/api-reference/audio/createTranscription

      请求参数

      Authorization
      在 Header 添加参数
      Authorization
      ,其值为在 Bearer 之后拼接 Token
      示例:
      Authorization: Bearer ********************
      Body 参数multipart/form-data

      请求示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://api.aigateway.work/v1/audio/transcriptions' \
      --header 'Authorization: Bearer <token>' \
      --form 'model="whisper-1"' \
      --form 'file=@"/Users/huxiao/Downloads/2024-02-22 14-47-35.mp3"'

      返回响应

      🟢200成功
      application/json
      Body

      示例
      {
        "text": "你好,我是Chad GPT,有什么可以帮您?"
      }
      修改于 2024-02-22 06:53:17
      上一页
      Create speech
      下一页
      asr
      Built with