YooTube Summarizer 馃敟 Summarize Video | PDF | Web

YooTube Summarizer 馃敟 Summarize Video | PDF | Web 路 Acciones GPT

YouTube Video Info

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

  • POST /dev2/convertVideoToArticle_sum10k_pro/ytsum10k/releaseConvert Video To Article
  • POST /dev2/getWebPageTextPart1_sum10kGet webpage text and SEO content from a url
  • POST /dev2/browsingResults_sum10kBrowse the results with Topics
  • POST /dev2/searchVideo_sum10kFind some videos with English wording
  • POST /dev3/generateDiagramsGenerate Diagrams with Mermaid syntax code
  • POST /dev2/getYoutubeInfo10kGet the YouTube transcript and metadata
Esquema original API
{
  "openapi": "3.1.0",
  "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"
    }
  ],
  "security": [
    {
      "oauth2": [
        "openid"
      ]
    }
  ],
  "paths": {
    "/dev2/convertVideoToArticle_sum10k_pro/ytsum10k/release": {
      "post": {
        "operationId": "convertVideoToArticle_sum10k_pro",
        "x-openai-isConsequential": false,
        "summary": "Convert Video To Article",
        "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/convertVideoToArticle_sum10k_pro"
                }
              }
            }
          }
        }
      }
    },
    "/dev2/getWebPageTextPart1_sum10k": {
      "post": {
        "operationId": "getWebPageTextPart1_sum10k",
        "x-openai-isConsequential": false,
        "summary": "Get webpage text and SEO content from a url",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "link": {
                    "type": "string",
                    "description": "The Url of the WebPage"
                  }
                }
              }
            }
          }
        },
        "security": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getWebPageTextPart1_sum10k"
                }
              }
            }
          }
        }
      }
    },
    "/dev2/browsingResults_sum10k": {
      "post": {
        "operationId": "browsingResults_sum10k",
        "x-openai-isConsequential": false,
        "summary": "Browse the results with Topics",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "original_topic": {
                    "type": "string",
                    "description": "User query topic"
                  },
                  "english_topic": {
                    "type": "string",
                    "description": "User query topic in english"
                  }
                },
                "required": [
                  "original_topic",
                  "english_topic"
                ]
              }
            }
          }
        },
        "security": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/browsingResults_sum10k"
                }
              }
            }
          }
        }
      }
    },
    "/dev2/searchVideo_sum10k": {
      "post": {
        "operationId": "searchVideo_sum10k",
        "x-openai-isConsequential": false,
        "summary": "Find some videos with English wording",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "search_wording": {
                    "type": "array",
                    "description": "English search wording",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "search_wording"
                ]
              }
            }
          }
        },
        "security": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/searchVideo_sum10k"
                }
              }
            }
          }
        }
      }
    },
    "/dev3/generateDiagrams": {
      "post": {
        "operationId": "generateDiagrams",
        "x-openai-isConsequential": false,
        "summary": "Generate Diagrams with Mermaid syntax code",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "mermaidCode": {
                    "type": "string",
                    "description": "The Diagrams Mermaid syntax code"
                  }
                },
                "required": [
                  "mermaidCode"
                ]
              }
            }
          }
        },
        "security": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/generateDiagrams"
                }
              }
            }
          }
        }
      }
    },
    "/dev2/getYoutubeInfo10k": {
      "post": {
        "operationId": "getYoutubeInfo10k",
        "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"
                ]
              }
            }
          }
        },
        "security": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getYoutubeInfo10k"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://ct2.alici.ai/dev2/sign_v2/ytsum10k",
            "tokenUrl": "https://ct2.alici.ai/dev2/oauth/token",
            "scopes": {
              "openid": "OpenID Connect scope"
            }
          }
        }
      }
    },
    "schemas": {
      "convertVideoToArticle_sum10k_pro": {
        "type": "object",
        "properties": {
          "state": {
            "type": "boolean",
            "description": "request success or fail"
          },
          "article_link": {
            "type": "string",
            "description": "Article webpage link"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "getWebPageTextPart1_sum10k": {
        "type": "object",
        "properties": {
          "state": {
            "type": "boolean",
            "description": "request success or fail"
          },
          "webpage_text": {
            "type": "string",
            "description": "The text of webpage"
          },
          "webpage_seo_content": {
            "type": "string",
            "description": "The SEO content of webpage"
          },
          "NeedToGetTheNextPartOfTheWebPageText": {
            "type": "string",
            "description": "Is Need To Get the Next Part Of The WebPage Text"
          }
        }
      },
      "browsingResults_sum10k": {
        "type": "object",
        "properties": {
          "state": {
            "type": "boolean",
            "description": "request success or fail"
          },
          "results": {
            "description": "Browsing results",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "description": "webpage title",
                  "type": "string"
                },
                "link": {
                  "description": "webpage link",
                  "type": "string"
                },
                "snippet": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "searchVideo_sum10k": {
        "type": "object",
        "properties": {
          "state": {
            "type": "boolean",
            "description": "request success or fail"
          },
          "gpts_data": {
            "description": "GPTs data",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "description": "title of the video",
                  "type": "string"
                },
                "snippet": {
                  "description": "snippet",
                  "type": "string"
                },
                "link": {
                  "description": "link of the video",
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "generateDiagrams": {
        "type": "object",
        "properties": {
          "state": {
            "type": "boolean",
            "description": "request success or fail"
          },
          "generateDiagrams": {
            "type": "string",
            "url": "The url of Diagrams"
          }
        }
      },
      "getYoutubeInfo10k": {
        "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"
              }
            }
          }
        }
      }
    }
  }
}