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

Gemini · Social Media

How to Use YouTube video captions in Gemini

Returns available caption languages or existing subtitle text for a video. Use it to summarize or review spoken content; it does not generate a transcript for videos without captions.

Prompts to try with YouTube video captions in Gemini

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

Use YouTube video captions for https://www.youtube.com/watch?v=M7lc1UVf-VE and summarize the English captions if available.

YouTube video captionsGemini
Try asking
  • Use YouTube video captions to look this up and give me the result as a table.

  • Pull the latest numbers from YouTube video captions and tell me what changed since last week.

  • Check YouTube video captions and summarize what you find in three bullet points.

  • Pull the newest data from YouTube video captions and give me the result as a table.

How to set up YouTube video captions 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 captions

    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": "tikhub",
        "model": "tikhub/youtube-web-v2-get-video-captions",
        "input": {
          "format": "srt"
        }
      }'

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

YouTube video captions providers and prices

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

TikHubSocial Media
YouTube Web V2 · Get video captions
tikhub/youtube-web-v2-get-video-captions

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Formatsrt, xml, json3, or txtsrt

Caption format

Every API field of YouTube Web V2 · Get video captions is on its tool page: open its card above.

What can you do with YouTube video captions in Gemini?

Create a YouTube research brief with links back to the retrieved posts, videos, or discussions. A chat app can summarize the selected evidence and distinguish the source's wording from its own interpretation.

Review a public product launch

Compare a brand's community announcement, launch-video captions, audience questions, Shorts coverage, related videos, and autocomplete phrases. Separate what the brand announced from what viewers asked about.

Draft a product education FAQ

Collect recurring questions from comments and replies, compare them with tutorial captions and community posts, and use search suggestions and Shorts examples to identify gaps in the explanation.

Build a course viewing list

Find lesson candidates through Shorts searches, autocomplete, and related videos. Review available captions and educators' community posts to write a viewing list with a clear purpose for each selection.

Check subtitle timing on authorized media

Retrieve existing captions and a signed playback link for media you are authorized to inspect. Compare subtitle timing with playback and flag passages that need editorial review.

Review a multilingual publication

Compare an organization's community announcement and audience questions with its available caption languages. For authorized media, inspect playback alongside the captions to flag terminology and subtitle issues.

Questions about YouTube video captions in Gemini

Can Gemini use YouTube video captions?

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

How much does YouTube video captions cost in Gemini?

$0.0104 per request. 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 a TikHub account to use YouTube video captions in Gemini?

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

How long does it take to set up YouTube video captions 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 captions runs?

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

Can public YouTube search reveal private videos?

Private videos do not appear in YouTube search results. Unlisted videos generally stay out of search, with an exception when someone adds one to a public playlist.

How fresh are YouTube engagement counts?

YouTube says metrics may take time to appear during the first few hours after publication. Counts can also slow down, freeze, or change while YouTube verifies engagement.

Why can YouTube recommendations differ between viewers?

YouTube uses viewing habits and other signals to personalize recommendations. For Up Next, the video currently being watched is the main recommendation signal.

Does language or region affect YouTube's suggested search terms?

Yes. TikHub documents different autocomplete suggestions by language and region, typically returning 10–20 phrases for a query.

Are YouTube's automatic captions accurate enough to quote?

YouTube warns that automatic captions can misrepresent speech because of accents, mispronunciations, dialects, or background noise. Check the relevant passage before using it as a direct quote.

Get started

Start using YouTube video captions 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