Spiral gives your agent every tool with one account. Browse the tools →

Gemini · Social Media

How to Use YouTube video transcript in Gemini

Fetch a video's spoken content from its available YouTube captions. Use it to summarize a talk, find a passage, or compare explanations without relying on the video's title and description.

Prompts to try with YouTube video transcript in Gemini

Copy an example into Gemini, or ask in your own words.

Use YouTube video transcript for https://www.youtube.com/watch?v=iG9CE55wbtY. Summarize the main argument in five bullets and explain which examples support it.

YouTube video transcriptGemini
Try asking
  • Use YouTube video transcript for https://www.youtube.com/watch?v=qp0HIF3SfI4. Identify the speaker's central framework and distinguish the examples from the conclusions.

  • Use YouTube video transcript for https://www.youtube.com/watch?v=arj7oStGLkU. Explain the argument about procrastination and give me five discussion questions based on the talk.

  • Use YouTube video transcript for https://www.youtube.com/watch?v=D9Ihs241zeg. Find the passages about stereotypes and explain their role in the speaker's argument.

  • Use YouTube video transcript for https://www.youtube.com/watch?v=rfscVS0vtbw. Make a beginner's glossary from the Python concepts explained in the returned text.

How to set up YouTube video transcript in Gemini

Pick the way that suits you. Each takes about two minutes.

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run YouTube video transcript

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "youtube-com/videos/video_transcript",
        "input": {
          "video_id": "<video_id>"
        }
      }'

Then paste one of the prompts above: Gemini finds YouTube video transcript on Spiral, shows the price and runs it.

YouTube video transcript providers and prices

Spiral runs YouTube video transcript through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSocial Media
YouTube · Video transcript
youtube-com/videos/video_transcript

What can you do with YouTube video transcript in Gemini?

Get a brief grounded in the actual caption text of a YouTube talk. A chat app can explain the argument, collect supporting passages, and help you decide which sections deserve closer listening.

Brief a long talk

Turn a captioned public talk into a concise brief covering its main argument, examples, and conclusions, with links back to the video.

Find passages for audio review

Search caption text for a topic or phrase and collect candidate passages to verify against the speaker's audio before quoting.

Compare public explanations

Compare how two educational videos explain the same concept. Identify shared points, different examples, and claims that need further checking.

Create study questions

Build a glossary, review questions, and an answer key from a captioned lecture, keeping each answer tied to the lecture's wording.

Check documentation against a tutorial

Compare a public software tutorial's spoken instructions with project documentation and flag differences for a developer to investigate.

Review caption revisions

Compare caption text from repeated retrievals of a selected public video and report changes to wording that affect an existing summary.

Prepare discussion notes

Extract a talk's central claims and supporting examples, then draft discussion questions that distinguish the speaker's statements from your analysis.

Questions about YouTube video transcript in Gemini

Can Gemini use YouTube video transcript?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run YouTube video transcript like any built-in tool.

How much does YouTube video transcript cost in Gemini?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.

Do I need an Alexandria account to use YouTube video transcript in Gemini?

No. Spiral runs YouTube video transcript on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up YouTube video transcript in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while YouTube video transcript runs?

YouTube video transcript runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

Does every YouTube video have a transcript?

No. YouTube makes its full transcript available for videos that have captions, so a watchable video does not by itself establish transcript availability.

Are automatic captions available as soon as a video is uploaded?

Not always. YouTube says automatic captions may not be ready at upload, and processing time depends on the complexity of the video's audio.

How accurate are YouTube's automatic captions?

YouTube warns that mispronunciations, accents, dialects, and background noise can cause captions to misrepresent speech. Check the audio before treating a caption passage as an exact quotation.

Does YouTube automatically caption a video in every language?

No. YouTube says automatic captions are in the video's default language only; do not assume a separate caption track exists for every language.

Can a video's transcript change after publication?

Yes. Creators can edit caption text and timestamps or delete captions completely, so the same video can later have revised text or lose its captions.

Get started

Start using YouTube video transcript in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options