Summarize Everything ✨ㅤYoutube / PDF / Web Summary

Summarize Everything ✨ㅤYoutube / PDF / Web Summary · GPT 작업

webPilot

This API provides the 'webPageReader' functionality for information gathering from web pages. Users can request content from a specific web page, and the API will retrieve and return the relevant information. This is particularly useful for tasks that require data collection and summarization from various online sources. The 'webPageReader' service is ideal for gathering information before content creation, ensuring users have access to the latest and most relevant data from the internet. The service can be used for a variety of purposes, including research, data analysis, and content preparation.

  • POST /api/readVisit a web page and retrieve content.
원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "webPilot",
    "description": "This API provides the 'webPageReader' functionality for information gathering from web pages. Users can request  content from a specific web page, and the API will retrieve and return the relevant information. This is particularly  useful for tasks that require data collection and summarization from various online sources.\nThe 'webPageReader' service is ideal for gathering information before content creation, ensuring users have access  to the latest and most relevant data from the internet. The service can be used for a variety of purposes, including  research, data analysis, and content preparation.",
    "version": "v1.1"
  },
  "servers": [
    {
      "url": "https://gpts.webpilot.ai"
    }
  ],
  "paths": {
    "/api/read": {
      "post": {
        "operationId": "webPageReader",
        "x-openai-isConsequential": false,
        "summary": "Visit a web page and retrieve content.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/visitWebPageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/visitWebPageResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/visitWebPageError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "visitWebPageRequest": {
        "type": "object",
        "required": [
          "link",
          "ur"
        ],
        "properties": {
          "link": {
            "type": "string",
            "description": "The web page's URL to visit and retrieve content from."
          },
          "ur": {
            "type": "string",
            "description": "A clear statement of the user's request, can be used as a search query and may include search operators."
          },
          "lp": {
            "type": "boolean",
            "description": "Whether the link is directly provided by the user."
          },
          "rt": {
            "type": "boolean",
            "description": "Set this to true to retry another request if the last request doesn't meet user's need."
          },
          "l": {
            "type": "string",
            "description": "The language used by the user in the request, according to the ISO 639-1 standard. For Chinese, use zh-CN for Simplified Chinese and zh-TW for Traditional Chinese."
          }
        }
      },
      "visitWebPageResponse": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of the web page."
          },
          "content": {
            "type": "string",
            "description": "The content of the web page's URL to be summarized."
          },
          "meta": {
            "type": "object",
            "description": "The HTML meta info of the web page."
          },
          "links": {
            "type": "array",
            "description": "Some links in the web page.",
            "items": {
              "type": "string"
            }
          },
          "extra_search_results": {
            "type": "array",
            "description": "Additional search results.",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "description": "The title of this search result."
                },
                "link": {
                  "type": "string",
                  "description": "The link of this search result."
                },
                "snippet": {
                  "type": "string",
                  "description": "The snippet of this search result."
                }
              }
            }
          }
        }
      },
      "visitWebPageError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code."
          },
          "message": {
            "type": "string",
            "description": "Error message."
          },
          "detail": {
            "type": "string",
            "description": "Error detail."
          }
        }
      }
    }
  }
}

YouTube Transcript API

This API allows you to retrieve the transcript of a YouTube video. The script is optionally returned with time timestamp information (start time and duration).

  • GET /yttranscriptGet YouTube video transcripts

    Returns the script and time information for the given YouTube video ID.

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "YouTube Transcript API",
    "description": "This API allows you to retrieve the transcript of a YouTube video. The script is optionally returned with time timestamp information (start time and duration).",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://apis.sjgpts.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    },
    "schemas": {}
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/yttranscript": {
      "get": {
        "summary": "Get YouTube video transcripts",
        "description": "Returns the script and time information for the given YouTube video ID.",
        "operationId": "getYouTubeTranscript",
        "parameters": [
          {
            "name": "video_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "The ID of the YouTube video."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적으로 스크립트를 조회했습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "text": {
                        "type": "string",
                        "description": "스크립트의 텍스트 부분입니다."
                      },
                      "start": {
                        "type": "number",
                        "format": "float",
                        "description": "스크립트 텍스트가 시작하는 시간(초)입니다."
                      },
                      "duration": {
                        "type": "number",
                        "format": "float",
                        "description": "스크립트 텍스트의 지속 시간(초)입니다."
                      }
                    }
                  },
                  "description": "스크립트와 관련된 정보가 포함된 배열입니다."
                }
              }
            }
          },
          "400": {
            "description": "잘못된 요청입니다. 요청 본문을 확인해주세요."
          },
          "404": {
            "description": "주어진 ID의 유튜브 영상을 찾을 수 없습니다."
          },
          "500": {
            "description": "서버 내부 오류입니다."
          }
        }
      }
    }
  }
}