Voice Wonderful

Voice Wonderful · GPT 작업

Voice Generator Service

  • GET /getvoiceGenerate spoken audio from text
원본 API 스키마
{
  "info": {
    "title": "Voice Generator Service",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://voice.sablevista.com"
    }
  ],
  "paths": {
    "/getvoice": {
      "get": {
        "summary": "Generate spoken audio from text",
        "operationId": "generateVoice",
        "x-openai-isConsequential": false,
        "deprecated": false,
        "parameters": [
          {
            "name": "voice",
            "in": "query",
            "description": "This is the voice to say it in.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "text",
            "in": "query",
            "description": "This is the text to convert to voice.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Audio generation successful.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "filename": {
                      "type": "string",
                      "description": "The URL to access the generated MP3 file.",
                      "example": "123456789.mp3"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}