Free YouTube Summarizer

Free YouTube Summarizer · GPT-Aktionen

YouTube Video Transcriptor

API for transcribing YouTube videos

  • GET /get_transcripcionGet video transcription

    Get transcription of a YouTube video.

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "YouTube Video Transcriptor",
    "description": "API for transcribing YouTube videos",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://youtube-summary-natzir.vercel.app"
    }
  ],
  "paths": {
    "/get_transcripcion": {
      "get": {
        "tags": [
          "Transcription"
        ],
        "summary": "Get video transcription",
        "description": "Get transcription of a YouTube video.",
        "operationId": "get_video_transcription",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Video URL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "start": {
                        "type": "number"
                      },
                      "duration": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid URL or Video ID",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Video not found or not available for transcription",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "detail": {
            "type": "string",
            "description": "Detail of the error."
          }
        },
        "required": [
          "detail"
        ],
        "title": "Error"
      }
    }
  }
}