气泡音生成器

气泡音生成器 · GPT アクション

OpenAI Audio Generation

Generates audio from the input text using OpenAI's text-to-speech models

  • POST /ttsGenerateSpeech

    Generates audio from the input text.

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "OpenAI Audio Generation",
    "description": "Generates audio from the input text using OpenAI's text-to-speech models",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://jly7j7.laf.dev"
    }
  ],
  "paths": {
    "/tts": {
      "post": {
        "description": "Generates audio from the input text.",
        "operationId": "GenerateSpeech",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateSpeechRequestSchema"
              }
            }
          },
          "required": true
        },
        "deprecated": false,
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "GenerateSpeechRequestSchema": {
        "type": "object",
        "properties": {
          "input": {
            "type": "string",
            "title": "input",
            "description": "The text to generate audio for. The maximum length is 4096 characters."
          },
          "voice": {
            "type": "string",
            "title": "voice",
            "description": "The voice to use when generating the audio. Supported voices are alloy, echo, fable, onyx, nova, and shimmer."
          }
        },
        "required": [
          "input",
          "voice"
        ],
        "title": "GenerateSpeechRequestSchema"
      }
    }
  }
}