{"openapi":"3.0.1","info":{"title":"AI Video Summarizer","description":"Allows users to load and query YouTube videos. Users must first provide a YouTube video URL that they can query, analyze, or ask questions from that video id without needing to specify every time. When you load a video you must specify both the video URL and query.","version":"v1"},"servers":[{"url":"https://chatwithvideo.sdan.io"}],"paths":{"/video/load":{"post":{"operationId":"loadVideo","summary":"Load a YouTube video","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/loadVideoRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/queryVideoResponse"}}}}}}}},"components":{"schemas":{"loadVideoRequest":{"type":"object","required":["video_id","video_query"],"properties":{"video_id":{"type":"string","format":"uri","description":"The ID of the YouTube video to load.","required":true},"video_query":{"type":"string","description":"The query or question to ask the Youtube video.","required":true}}},"queryVideoResponse":{"type":"object","properties":{"results":{"type":"array","items":{"type":"string"},"description":"The list of text chunks from the YouTube video transcript that are relevant to the user's query."}}}}}}