Ask Keith

Ask Keith · GPT 작업

Resemble AI Keith Voice Integration

This API allows the ChatGPT instance to interact with Resemble.ai to generate speech using the "Keith" voice. It includes endpoints to generate audio clips by providing text input and receiving the synthesized speech as output.

  • POST /projects/{project_uuid}/clipsGenerate speech using the "Keith" voice from Resemble.ai

    This endpoint generates an audio clip using the "Keith" voice by providing text input.

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "Resemble AI Keith Voice Integration",
    "version": "1.0.0",
    "description": "This API allows the ChatGPT instance to interact with Resemble.ai to generate speech using the \"Keith\" voice.\nIt includes endpoints to generate audio clips by providing text input and receiving the synthesized speech as output.\n"
  },
  "servers": [
    {
      "url": "https://app.resemble.ai/api/v2",
      "description": "Resemble.ai API Server"
    }
  ],
  "paths": {
    "/projects/{project_uuid}/clips": {
      "post": {
        "operationId": "generateKeithClip",
        "summary": "Generate speech using the \"Keith\" voice from Resemble.ai",
        "description": "This endpoint generates an audio clip using the \"Keith\" voice by providing text input.\n",
        "parameters": [
          {
            "name": "project_uuid",
            "in": "path",
            "required": true,
            "description": "The UUID of the project in Resemble.ai.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "voice_uuid": {
                    "type": "string",
                    "description": "The UUID of the \"Keith\" voice.",
                    "example": "MLmJEJ3pXqFBaHnJbTFO"
                  },
                  "text": {
                    "type": "string",
                    "description": "The text to convert to speech.",
                    "example": "Hello, this is Keith speaking."
                  },
                  "sample_rate": {
                    "type": "integer",
                    "description": "The audio sample rate (in Hz).",
                    "default": 22050
                  },
                  "output_format": {
                    "type": "string",
                    "description": "The format of the output audio.",
                    "default": "mp4",
                    "enum": [
                      "mp4",
                      "wav"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successfully created the audio clip.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "audio_src": {
                      "type": "string",
                      "description": "URL to the generated audio file.",
                      "example": "https://app.resemble.ai/api/v2/audio/clip_id.mp3"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request, possible issues with input parameters."
          },
          "401": {
            "description": "Unauthorized, API key might be invalid."
          },
          "500": {
            "description": "Internal server error, something went wrong on Resemble.ai's side."
          }
        }
      }
    }
  },
  "components": null,
  "security": [
    {
      "apiKeyAuth": [
        "sk_0a49cb28fb16285c68db49f2792f156991ce498e0e03097b"
      ]
    }
  ]
}