のYouTube to のTikTok Video Script Copilot

のYouTube to のTikTok Video Script Copilot · GPT-Aktionen

YouTube Video Info

This plugin allows users to input a YouTube URL and returns a transcript and metadata of it.

  • POST /dev2/getYoutubeInfoGet the YouTube transcript and metadata
Ursprüngliches API-Schema
{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Video Info",
    "description": "This plugin allows users to input a YouTube URL and returns a transcript and metadata of it. ",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://ct2.alici.ai"
    }
  ],
  "paths": {
    "/dev2/getYoutubeInfo": {
      "post": {
        "operationId": "getYoutubeInfo",
        "x-openai-isConsequential": false,
        "summary": "Get the YouTube transcript and metadata",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The URL of the YouTube video."
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getYoutubeInfo"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "getYoutubeInfo": {
        "type": "object",
        "properties": {
          "transcript": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The list of transcript text."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "title": {
                "type": "string"
              },
              "author_name": {
                "type": "string"
              },
              "author_url": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "height": {
                "type": "integer"
              },
              "width": {
                "type": "integer"
              },
              "version": {
                "type": "string"
              },
              "provider_name": {
                "type": "string"
              },
              "provider_url": {
                "type": "string"
              },
              "thumbnail_height": {
                "type": "integer"
              },
              "thumbnail_width": {
                "type": "integer"
              },
              "thumbnail_url": {
                "type": "string"
              },
              "html": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}