https://ai.jimmie.top

吉米智能AI
    吉米智能AI
    • 聊天请求
      POST
    • 列出模型
      GET
    • TTS请求
      POST

      TTS请求

      POST
      http://prod-cn.your-api-server.comhttps://ai.jimmie.top/v1/audio/speech
      相关指南:本转换为音频
      将输入文本转录为音频。

      请求参数

      Header 参数

      Body 参数application/json

      示例
      {
          "model": "string",
          "input": "string",
          "voice": "string",
          "response_format": "string",
          "speed": 0
      }

      请求示例代码

      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://ai.jimmie.top/v1/audio/speech' \
      --header 'Authorization: Bearer {{YOUR_API_KEY}}' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "model": "string",
          "input": "string",
          "voice": "string",
          "response_format": "string",
          "speed": 0
      }'

      返回响应

      🟢200成功
      application/json
      Body

      示例
      {
          "model": "tts-1",
          "input": "你好.",
          "voice": "alloy"
      }
      修改于 2024-07-10 08:38:41
      上一页
      列出模型
      Built with