Chat with Video Pro

Chat with Video Pro · GPT 작업

YouTube Subtitle API

A simple API to get YouTube subtitles in plain text.

  • POST /videogetSubtitles

    Get subtitles for a YouTube video

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "YouTube Subtitle API",
    "description": "A simple API to get YouTube subtitles in plain text.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://yt-subtitles.m1guelpf.me"
    }
  ],
  "paths": {
    "/video": {
      "post": {
        "description": "Get subtitles for a YouTube video",
        "operationId": "getSubtitles",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "video_url"
                ],
                "properties": {
                  "language": {
                    "description": "The ISO 639-1 language code of the subtitles. Defaults to `en` if not provided.",
                    "default": "en",
                    "type": "string"
                  },
                  "video_url": {
                    "description": "The URL to the YouTube video.",
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            }
          },
          "required": true
        },
        "x-openai-isConsequential": false
      }
    }
  }
}