Video Summarizer 2024 for FREE

Video Summarizer 2024 for FREE · Ações GPT

YouTube Video Summarized Transcript API

  • POST /getSummarizedTranscriptRetrieves a summarized transcript of a YouTube video.
Esquema API original
{
  "openapi": "3.1.0",
  "info": {
    "title": "YouTube Video Summarized Transcript API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://youtube.api.iridiumstudio.com"
    }
  ],
  "paths": {
    "/getSummarizedTranscript": {
      "post": {
        "summary": "Retrieves a summarized transcript of a YouTube video.",
        "operationId": "getSummarizedTranscript",
        "requestBody": {
          "description": "The YouTube video ID and index of the video section to analyze.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "videoID": {
                    "type": "string",
                    "description": "The YouTube video ID for which to get a summarized transcript."
                  },
                  "index": {
                    "type": "integer",
                    "description": "Index of the video section to analyze, starting from 0. If not provided, defaults to 0.",
                    "default": 0
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successfully retrieved the summarized transcript.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "all_time": {
                      "type": "integer",
                      "description": "The total duration of the video in seconds.",
                      "example": 196
                    },
                    "videoTitle": {
                      "type": "string",
                      "description": "The title of the video.",
                      "example": "OpenAI DevDay: Keynote Recap"
                    },
                    "video_section_length_in_minutes": {
                      "type": "integer",
                      "description": "Length of the video section in minutes being analyzed."
                    },
                    "summary_instructions": {
                      "type": "string",
                      "description": "Guidelines on how to create a summary from the video's content."
                    },
                    "total_quantity_of_video_sections": {
                      "type": "integer",
                      "description": "Total number of video sections in the video."
                    },
                    "index": {
                      "type": "integer",
                      "description": "The index of the current video section."
                    },
                    "are_there_other_sections": {
                      "type": "string",
                      "description": "Information on the availability of additional sections."
                    },
                    "captions": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}