{"openapi":"3.1.0","info":{"title":"YouTube Chapters & Shorts Clip Finder - AI","description":"Video transcript or file to YouTube chapters, summary, titles, tags, quotes and short-form clips with hooks and virality scores.","version":"v1"},"servers":[{"url":"https://youtube-chapters-shorts-clip-finder-ai.p.rapidapi.com","description":"RapidAPI"}],"paths":{"/v1/video-chapters/transcript":{"post":{"tags":["From Transcript"],"summary":"Transcript to YouTube chapters, short clips, titles and tags","description":"Turn a video transcript (SRT, VTT, timestamped text, JSON segments or\n`transcript_url`) into YouTube chapters, summary, title ideas, description,\ntags, timestamped quotes and short-form clip suggestions with virality\nscores. 10 credits up to 10 minutes, +1 per started minute beyond.","operationId":"analyzeTranscript","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TranscriptRequest"},"examples":{"Analyze Transcript":{"summary":"Analyze Transcript","value":{"clips":5,"clip_min_seconds":15,"clip_max_seconds":60,"language":"en","transcript":"[00:00] Welcome back to the channel. Today we are building a sourdough starter from scratch.\n[00:14] All you need is flour, water and a jar.\n[00:41] Day one: mix fifty grams of flour with fifty grams of water.\n[01:20] The biggest mistake people make is using chlorinated tap water.\n[02:05] By day four you should see bubbles and a sour smell.\n[02:50] Now let's bake our first loaf with it.","segments":[{}]}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChaptersResponse"},"examples":{"Analyze Transcript":{"summary":"Analyze Transcript (real response)","value":{"source":"transcript","duration_seconds":173.48,"minutes_billed":3,"language":"en","output_language":"en","summary":"NASA astronaut Serena Aunon-Chancellor answers a variety of questions from the public regarding the Artemis lunar program, the Orion spacecraft, and her personal experiences living and working in space. She explains the strategic importance of returning to the Moon as a stepping stone for future Mars missions, while also sharing lighthearted insights into astronaut life, including her favorite space snacks and what she misses most about Earth.","chapters":[{"start":0.0,"end":57.18,"timestamp":"00:00","title":"The Artemis Program","summary":"An overview of the Artemis mission goals and why the Moon serves as a training ground for Mars."},{"start":57.18,"end":112.22,"timestamp":"00:57","title":"Spacecraft and Personal Life","summary":"A look at the Orion vehicle and personal anecdotes about being an astronaut, including food and items taken to space."},{"start":112.22,"end":173.48,"timestamp":"01:52","title":"Life in Orbit","summary":"Reflections on the reality of living in space, missing Earth, and the human side of being an astronaut."}],"chapters_text":"00:00 The Artemis Program\n00:57 Spacecraft and Personal Life\n01:52 Life in Orbit","youtube_chapters_valid":true,"titles":["NASA Astronaut Answers Your Questions","What is the Artemis Program?","Life as an Astronaut: Q&A with Serena Aunon-Chancellor","Returning to the Moon: NASA's Artemis Mission Explained","Behind the Scenes with a NASA Astronaut"],"description":"Join NASA astronaut Serena Aunon-Chancellor as she answers questions about the future of lunar exploration and the Artemis program. She shares insights into the technology behind the Orion spacecraft and offers a personal look at what it is really like to live and work in space.","tags":["nasa","artemis","astronaut","space exploration","orion spacecraft","moon mission","mars exploration","space travel","asknasa","serena aunon-chancellor","space life","science education"],"hashtags":["#nasa","#artemis","#space","#astronaut"],"quotes":[{"start":44.43,"timestamp":"00:44","text":"Essentially we practice we have, it's an engineering battleground so we can go to Mars."},{"start":117.42,"timestamp":"01:57","text":"I missed feeling the Earth, so I missed the wind. I missed the rain, I missed the smell of the Earth, the smell of the grass."},{"start":128.96,"timestamp":"02:08","text":"It's not scary being in space. I mean it's, it's your home and it's a size of a five bedroom house it's absolutely huge and your friends are up there with you so what's better than that."}],"clips":[{"rank":1,"start":117.42,"end":136.78,"duration":19.36,"start_timestamp":"01:57","end_timestamp":"02:16","title":"What Astronauts Miss Most","hook":"I missed feeling the Earth, so I missed the wind.","caption":"Ever wonder what you'd miss most if you left Earth? Even astronauts get homesick for the simple things. #space #nasa #earth","hashtags":["#space","#nasa","#earth"],"score":85,"reason":"It provides a relatable, emotional connection to the experience of being in space.","text":"I missed feeling the Earth, so I missed the wind. I missed the rain, I missed the smell of the Earth, the smell of the grass. These are the things you just can't imitate on station. Is it scary being in space? It's not scary being in space. I mean it's, it's your home and it's a size of a five bedroom house it's absolutely huge and your friends are up there with you so what's better than that."},{"rank":2,"start":94.44,"end":110.16,"duration":15.72,"start_timestamp":"01:34","end_timestamp":"01:50","title":"Astronaut Essentials","hook":"Oh, I took multiple personal items it wasn't just one.","caption":"What would you bring to space? Turns out, a back scratcher is a must-have! #astronautlife #nasa #space","hashtags":["#astronautlife","#nasa","#space"],"score":75,"reason":"It's a fun, lighthearted look at the personal side of space travel.","text":"Oh, I took multiple personal items it wasn't just one. Funny enough , I took a back scratcher because you need a back scratcher wherever you go What food would you take to the Moon? Oh easy, cheeseburger french fries every time YUM If you were in a dance-off with an alien what song would you pick?"},{"rank":3,"start":18.72,"end":50.46,"duration":31.74,"start_timestamp":"00:18","end_timestamp":"00:50","title":"Why We Go To The Moon","hook":"so the Artemis program is our lunar exploration program.","caption":"The Moon is more than just a destination; it's our training ground for Mars. #artemis #nasa #spaceexploration","hashtags":["#artemis","#nasa","#spaceexploration"],"score":70,"reason":"It explains the strategic purpose of the Artemis program in a clear, concise way.","text":"so the Artemis program is our lunar exploration program. We will get to the South Pole of the Moon by 2024, landing the first American woman and the next man. Why are we doing this? Well, in order for us to head towards Mars we need a special place where we can practice, essentially develop robust engineering technologies, figure out how well the human does with long-duration spaceflight, learn how to build habitats. And we do all of this on the Moon. Essentially we practice we have, it's an engineering battleground so we can go to Mars."}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Analyze Transcript"}},"/v1/video-chapters/transcript/upload":{"post":{"tags":["From Transcript"],"summary":"Uploaded transcript file (SRT, VTT, TXT, JSON) to chapters and clips","description":"Same as /transcript, for a transcript file sent as multipart/form-data\n(field `file`): long talks and whole streams, up to 4 hours and 5 MB.\n10 credits up to 10 minutes, +1 per started minute beyond.","operationId":"analyzeTranscriptFile","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_Analyze_Transcript_File"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChaptersResponse"},"examples":{"Analyze Transcript File":{"summary":"Analyze Transcript File","value":{"source":"transcript","duration_seconds":205.0,"minutes_billed":4,"language":"en","output_language":"English","chapters":[{"start":0.0,"end":134.5,"timestamp":"00:00","title":"What you need","summary":"Flour, water and a jar are all it takes to begin."}],"chapters_text":"00:00 Intro\n00:41 Day one\n02:05 Signs it is ready","quotes":[{"start":80.0,"timestamp":"01:20","text":"The biggest mistake people make is using chlorinated tap water."}],"clips":[{"rank":1,"start":80.0,"end":125.0,"duration":45.0,"start_timestamp":"01:20","end_timestamp":"02:05","title":"Stop using tap water","hook":"The biggest mistake people make is using chlorinated tap water.","score":82}],"transcript":{"segments":[{}]}}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Analyze Transcript File"}},"/v1/video-chapters/media":{"post":{"tags":["From Video or Audio"],"summary":"Video or audio file URL to transcript, chapters and short clips","description":"Everything Analyze Transcript returns, from a direct video or audio\nfile URL (up to 150 MB and 90 minutes), transcript included. YouTube,\nTikTok or Instagram pages get 400 `unsupported_source`. 10 credits up to 10\nminutes, +1 per started minute beyond, +2 per started minute transcribed.","operationId":"analyzeVideoFromUrl","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaRequest"},"examples":{"Analyze Video from URL":{"summary":"Analyze Video from URL","value":{"clips":5,"clip_min_seconds":15,"clip_max_seconds":60,"language":"en","url":"https://archive.org/download/short_story_047_1102_librivox/shortstory047_emancipation_mgt_64kb.mp3","max_minutes":90}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChaptersResponse"},"examples":{"Analyze Video from URL":{"summary":"Analyze Video from URL","value":{"source":"transcript","duration_seconds":205.0,"minutes_billed":4,"language":"en","output_language":"English","chapters":[{"start":0.0,"end":134.5,"timestamp":"00:00","title":"What you need","summary":"Flour, water and a jar are all it takes to begin."}],"chapters_text":"00:00 Intro\n00:41 Day one\n02:05 Signs it is ready","quotes":[{"start":80.0,"timestamp":"01:20","text":"The biggest mistake people make is using chlorinated tap water."}],"clips":[{"rank":1,"start":80.0,"end":125.0,"duration":45.0,"start_timestamp":"01:20","end_timestamp":"02:05","title":"Stop using tap water","hook":"The biggest mistake people make is using chlorinated tap water.","score":82}],"transcript":{"segments":[{}]}}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Analyze Video from URL"}},"/v1/video-chapters/media/upload":{"post":{"tags":["From Video or Audio"],"summary":"Uploaded video or audio file to transcript, chapters and short clips","description":"Same as /media, for a file sent as multipart/form-data (field `file`),\nup to 30 MB (a 60-minute MP3 at 64 kbit/s; for a video, send its audio\ntrack). 10 credits up to 10 minutes, +1 per started minute beyond, +2 per\nstarted minute transcribed.","operationId":"analyzeUploadedVideo","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_Analyze_Uploaded_Video"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChaptersResponse"},"examples":{"Analyze Uploaded Video":{"summary":"Analyze Uploaded Video","value":{"source":"transcript","duration_seconds":205.0,"minutes_billed":4,"language":"en","output_language":"English","chapters":[{"start":0.0,"end":134.5,"timestamp":"00:00","title":"What you need","summary":"Flour, water and a jar are all it takes to begin."}],"chapters_text":"00:00 Intro\n00:41 Day one\n02:05 Signs it is ready","quotes":[{"start":80.0,"timestamp":"01:20","text":"The biggest mistake people make is using chlorinated tap water."}],"clips":[{"rank":1,"start":80.0,"end":125.0,"duration":45.0,"start_timestamp":"01:20","end_timestamp":"02:05","title":"Stop using tap water","hook":"The biggest mistake people make is using chlorinated tap water.","score":82}],"transcript":{"segments":[{}]}}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Analyze Uploaded Video"}}},"components":{"schemas":{"Body_Analyze_Transcript_File":{"properties":{"file":{"type":"string","title":"File","description":"Transcript file, up to 5 MB: SRT, VTT, timestamped TXT, or JSON (segments, or a transcript scraper's item or dataset export).","format":"binary"},"clips":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Clips","description":"Short-form clip suggestions to return (0-10), best first.","default":5},"clip_min_seconds":{"type":"integer","maximum":170.0,"minimum":5.0,"title":"Clip Min Seconds","description":"Shortest clip, in seconds (5-170).","default":15},"clip_max_seconds":{"type":"integer","maximum":180.0,"minimum":10.0,"title":"Clip Max Seconds","description":"Longest clip, in seconds (10-180; YouTube Shorts allow 180).","default":60},"language":{"type":"string","maxLength":40,"title":"Language","description":"Language of the titles, summaries and captions written for you (e.g. 'en', 'French'). The transcript's language by default. Quotes stay verbatim."},"title":{"type":"string","maxLength":300,"title":"Title","description":"The video's working title or topic, if you have one: it helps the titles and tags. Optional."},"duration_seconds":{"type":"number","maximum":86400.0,"exclusiveMinimum":0.0,"title":"Duration Seconds","description":"Length of the video, if known: chapters and clips stay inside it. The end of the last segment otherwise."}},"type":"object","required":["file"],"title":"Body_Analyze Transcript File"},"Body_Analyze_Uploaded_Video":{"properties":{"file":{"type":"string","title":"File","description":"Video or audio file, up to 30 MB.","format":"binary"},"clips":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Clips","description":"Short-form clip suggestions to return (0-10), best first.","default":5},"clip_min_seconds":{"type":"integer","maximum":170.0,"minimum":5.0,"title":"Clip Min Seconds","description":"Shortest clip, in seconds (5-170).","default":15},"clip_max_seconds":{"type":"integer","maximum":180.0,"minimum":10.0,"title":"Clip Max Seconds","description":"Longest clip, in seconds (10-180; YouTube Shorts allow 180).","default":60},"language":{"type":"string","maxLength":40,"title":"Language","description":"Language of the titles, summaries and captions written for you (e.g. 'en', 'French'). The transcript's language by default. Quotes stay verbatim."},"title":{"type":"string","maxLength":300,"title":"Title","description":"The video's working title or topic, if you have one: it helps the titles and tags. Optional."},"spoken_language":{"type":"string","maxLength":40,"title":"Spoken Language","description":"Spoken language, if you know it (e.g. 'en'); detected otherwise."},"max_minutes":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Max Minutes","description":"Refuse (400 media_too_long, not billed) files longer than this. 90 at most.","default":90}},"type":"object","required":["file"],"title":"Body_Analyze Uploaded Video"},"ChaptersResponse":{"properties":{"source":{"type":"string","enum":["transcript","url","upload"],"title":"Source","examples":["transcript"]},"duration_seconds":{"type":"number","title":"Duration Seconds","examples":[205.0]},"minutes_billed":{"type":"integer","title":"Minutes Billed","examples":[4]},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language","description":"Spoken language detected.","examples":["en"]},"output_language":{"type":"string","title":"Output Language","examples":["English"]},"summary":{"type":"string","title":"Summary"},"chapters":{"items":{"$ref":"#/components/schemas/VideoChapter"},"type":"array","title":"Chapters"},"chapters_text":{"type":"string","title":"Chapters Text","description":"Ready to paste in a YouTube description: one '00:00 Title' line per chapter.","examples":["00:00 Intro\n00:41 Day one\n02:05 Signs it is ready"]},"youtube_chapters_valid":{"type":"boolean","title":"Youtube Chapters Valid","description":"True when the chapters follow YouTube's rules: first at 00:00, at least 3, each at least 10 seconds long."},"titles":{"items":{"type":"string"},"type":"array","title":"Titles"},"description":{"type":"string","title":"Description","description":"Video description draft, no chapters."},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"hashtags":{"items":{"type":"string"},"type":"array","title":"Hashtags"},"quotes":{"items":{"$ref":"#/components/schemas/Quote"},"type":"array","title":"Quotes"},"clips":{"items":{"$ref":"#/components/schemas/Clip"},"type":"array","title":"Clips"},"notes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Notes","description":"What was adjusted: transcript repairs, chapters merged, clips dropped."},"transcript":{"anyOf":[{"$ref":"#/components/schemas/TranscriptOut"},{"type":"null"}],"description":"Media input only: the transcript the analysis used."}},"type":"object","required":["source","duration_seconds","minutes_billed","output_language","summary","chapters","chapters_text","youtube_chapters_valid","titles","description","tags","hashtags","quotes","clips"],"title":"ChaptersResponse"},"Clip":{"properties":{"rank":{"type":"integer","title":"Rank","examples":[1]},"start":{"type":"number","title":"Start","examples":[80.0]},"end":{"type":"number","title":"End","examples":[125.0]},"duration":{"type":"number","title":"Duration","examples":[45.0]},"start_timestamp":{"type":"string","title":"Start Timestamp","examples":["01:20"]},"end_timestamp":{"type":"string","title":"End Timestamp","examples":["02:05"]},"title":{"type":"string","title":"Title","description":"On-screen title.","examples":["Stop using tap water"]},"hook":{"type":"string","title":"Hook","description":"The opening line spoken in the clip, verbatim.","examples":["The biggest mistake people make is using chlorinated tap water."]},"caption":{"type":"string","title":"Caption","description":"Caption to post with the clip."},"hashtags":{"items":{"type":"string"},"type":"array","title":"Hashtags"},"score":{"type":"integer","title":"Score","description":"Virality score, 0-100.","examples":[82]},"reason":{"type":"string","title":"Reason"},"text":{"type":"string","title":"Text","description":"Everything said in the clip."}},"type":"object","required":["rank","start","end","duration","start_timestamp","end_timestamp","title","hook","caption","score","reason","text"],"title":"Clip"},"ErrorBody":{"properties":{"status":{"type":"integer","title":"Status","examples":[400]},"code":{"type":"string","title":"Code","examples":["invalid_url"]},"message":{"type":"string","title":"Message","examples":["A website URL is required."]}},"type":"object","required":["status","code","message"],"title":"ErrorBody"},"ErrorEnvelope":{"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"type":"object","required":["error"],"title":"ErrorEnvelope"},"MediaRequest":{"properties":{"clips":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Clips","description":"Short-form clip suggestions to return (0-10), best first.","default":5},"clip_min_seconds":{"type":"integer","maximum":170.0,"minimum":5.0,"title":"Clip Min Seconds","description":"Shortest clip, in seconds (5-170).","default":15},"clip_max_seconds":{"type":"integer","maximum":180.0,"minimum":10.0,"title":"Clip Max Seconds","description":"Longest clip, in seconds (10-180; YouTube Shorts allow 180).","default":60},"language":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Language","description":"Language of the titles, summaries and captions written for you (e.g. 'en', 'French'). The transcript's language by default. Quotes stay verbatim.","examples":["en"]},"title":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Title","description":"The video's working title or topic, if you have one: it helps the titles and tags. Optional."},"url":{"type":"string","maxLength":2048,"title":"Url","description":"Direct link to an audio or video file you have the right to use (MP4, MOV, WEBM, MP3, M4A, WAV...), up to 150 MB and 90 minutes. Not a YouTube, TikTok or Instagram page: send their transcript to /transcript instead.","examples":["https://archive.org/download/short_story_047_1102_librivox/shortstory047_emancipation_mgt_64kb.mp3"]},"spoken_language":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Spoken Language","description":"Spoken language, if you know it (e.g. 'en'); detected otherwise."},"max_minutes":{"type":"integer","maximum":90.0,"minimum":1.0,"title":"Max Minutes","description":"Refuse (400 media_too_long, not billed) files longer than this. 90 at most.","default":90}},"type":"object","required":["url"],"title":"MediaRequest"},"Quote":{"properties":{"start":{"type":"number","title":"Start","examples":[80.0]},"timestamp":{"type":"string","title":"Timestamp","examples":["01:20"]},"text":{"type":"string","title":"Text","examples":["The biggest mistake people make is using chlorinated tap water."]}},"type":"object","required":["start","timestamp","text"],"title":"Quote"},"TranscriptOut":{"properties":{"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"text":{"type":"string","title":"Text"},"segments":{"items":{"$ref":"#/components/schemas/VideoSegment"},"type":"array","title":"Segments"}},"type":"object","required":["text","segments"],"title":"TranscriptOut"},"TranscriptRequest":{"properties":{"clips":{"type":"integer","maximum":10.0,"minimum":0.0,"title":"Clips","description":"Short-form clip suggestions to return (0-10), best first.","default":5},"clip_min_seconds":{"type":"integer","maximum":170.0,"minimum":5.0,"title":"Clip Min Seconds","description":"Shortest clip, in seconds (5-170).","default":15},"clip_max_seconds":{"type":"integer","maximum":180.0,"minimum":10.0,"title":"Clip Max Seconds","description":"Longest clip, in seconds (10-180; YouTube Shorts allow 180).","default":60},"language":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Language","description":"Language of the titles, summaries and captions written for you (e.g. 'en', 'French'). The transcript's language by default. Quotes stay verbatim.","examples":["en"]},"title":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Title","description":"The video's working title or topic, if you have one: it helps the titles and tags. Optional."},"transcript":{"anyOf":[{"type":"string","maxLength":60000},{"type":"null"}],"title":"Transcript","description":"The transcript, with timestamps: SRT, WebVTT, lines such as '[01:23] words' or '1:23 words', or a JSON array of segments. Up to 64 KB in this JSON body; send longer transcripts to /transcript/upload or as `transcript_url`.","examples":["[00:00] Welcome back to the channel. Today we are building a sourdough starter from scratch.\n[00:14] All you need is flour, water and a jar.\n[00:41] Day one: mix fifty grams of flour with fifty grams of water.\n[01:20] The biggest mistake people make is using chlorinated tap water.\n[02:05] By day four you should see bubbles and a sour smell.\n[02:50] Now let's bake our first loaf with it."]},"segments":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":5000},{"type":"null"}],"title":"Segments","description":"Transcript segments as JSON objects, e.g. the `transcript`, `captions`, `timestamped` or `data` array of a YouTube transcript scraper. Each needs a start (`start`, `offset`, `startMs`, `start_time`, `tStartMs`... in seconds, milliseconds for *Ms keys, or '01:23') and `text`; an end or a duration is optional."},"transcript_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Transcript Url","description":"Link to a transcript file (SRT, VTT, TXT or JSON, up to 5 MB), e.g. an Apify dataset item or a subtitle file."},"duration_seconds":{"anyOf":[{"type":"number","maximum":86400.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Duration Seconds","description":"Length of the video, if known: chapters and clips stay inside it. The end of the last segment otherwise."}},"type":"object","title":"TranscriptRequest"},"VideoChapter":{"properties":{"start":{"type":"number","title":"Start","description":"Seconds from the start.","examples":[0.0]},"end":{"type":"number","title":"End","examples":[134.5]},"timestamp":{"type":"string","title":"Timestamp","examples":["00:00"]},"title":{"type":"string","title":"Title","examples":["What you need"]},"summary":{"type":"string","title":"Summary","examples":["Flour, water and a jar are all it takes to begin."]}},"type":"object","required":["start","end","timestamp","title","summary"],"title":"VideoChapter"},"VideoSegment":{"properties":{"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"text":{"type":"string","title":"Text"}},"type":"object","required":["start","end","text"],"title":"VideoSegment"}},"securitySchemes":{"RapidAPIKey":{"type":"apiKey","in":"header","name":"X-RapidAPI-Key"},"RapidAPIHost":{"type":"apiKey","in":"header","name":"X-RapidAPI-Host"}}},"tags":[{"name":"From Transcript","description":"Chapters, clips and metadata from a transcript you already have: SRT, VTT, text or JSON segments."},{"name":"From Video or Audio","description":"The same from an audio or video file, transcribed first."}],"security":[{"RapidAPIKey":[],"RapidAPIHost":[]}]}