跳到正文
TakoAPI
返回技能列表

captions

由 therohitdas 提供

Image & Video Generation
3.0k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Extract closed captions and subtitles from YouTube videos.

描述

该技能的功能

Extracts closed captions and subtitles from YouTube videos using TranscriptAPI.com. Returns timestamped JSON or plain text transcripts. Supports both auto-generated and manually created CC tracks.

Returns structured JSON with per-caption start times and durations, making it usable for accessibility tools and timing-sensitive workflows, not just reading.

何时使用

  • Pulling a transcript from a lecture video to take notes
  • Finding the exact timestamp of a spoken quote in a video
  • Reviewing video content without watching it
  • Creating accessible text versions of YouTube content
  • Extracting dialogue for translation or subtitling

示例工作流

输入

User asks: Get the transcript for https://www.youtube.com/watch?v=dQw4w9WgXcQ

智能体
  1. 1

    Check that TRANSCRIPT_API_KEY is set

  2. 2

    Call TranscriptAPI with the video URL, format=json, and include_timestamp=true

  3. 3

    Parse the transcript array from the response

  4. 4

    Format each entry as [MM:SS] text and return to user

输出

[00:00:18] We're no strangers to love [00:00:21] You know the rules and so do I...

前置要求

  • TRANSCRIPT_API_KEY environment variable (obtain from transcriptapi.com)

安装

clawhub install therohitdas/captions

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接