Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

captions

bởi therohitdas

Image & Video Generation
3.0kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Extract closed captions and subtitles from YouTube videos.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

  • TRANSCRIPT_API_KEY environment variable (obtain from transcriptapi.com)

Cài đặt

clawhub install therohitdas/captions

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết