← 返回
内容创作 Key 中文

Video Intelligence

Download videos and get transcripts, summaries, or metadata from YouTube, TikTok, Instagram, and X (Twitter). Use when the user shares a video URL and wants...
下载视频并获取字幕、摘要或元数据,支持YouTube、TikTok、Instagram和X(Twitter)。当用户分享视频链接并想要...时使用。
nogara
内容创作 clawhub v1.0.1 1 版本 99849.8 Key: 需要
★ 0
Stars
📥 665
下载
💾 20
安装
1
版本
#instagram#latest#tiktok#transcript#video#whisper#youtube#yt-dlp

概述

video-intel

Downloads videos and extracts transcripts using yt-dlp (captions) with OpenAI Whisper fallback.

Required Dependencies

DependencyPurposeRequired?
---------
yt-dlpFetch captions and download audio/video✅ Always
python3Parse VTT/SRT caption files✅ Always
curlCall OpenAI Whisper API✅ For Whisper fallback
ffmpegExtract audio from TikTok/Instagram/X⚠️ Non-YouTube only
OPENAI_API_KEYAuthenticate with OpenAI Whisper API⚠️ Only if captions unavailable

Install binaries:

# yt-dlp
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/bin/yt-dlp && chmod +x ~/bin/yt-dlp

# ffmpeg (Debian/Ubuntu)
sudo apt install ffmpeg

⚠️ Privacy Notice — OpenAI Audio Upload

When captions are unavailable (common for TikTok, Instagram, X), the script downloads the audio and uploads it to OpenAI's transcription API (https://api.openai.com/v1/audio/transcriptions). This means:

  • Audio content leaves your machine and is sent to OpenAI
  • Requires OPENAI_API_KEY to be set
  • If you don't want external transmission: don't set OPENAI_API_KEY, or use a local transcription model

YouTube videos almost always have captions and will not trigger an upload.

Script

~/.openclaw/skills/video-intel/scripts/video-intel.sh

Workflows

Get transcript

~/.openclaw/skills/video-intel/scripts/video-intel.sh transcript <url>
  • YouTube: uses built-in captions/auto-subs (fast, no audio download or external upload)
  • TikTok/Instagram/X: downloads audio → uploads to OpenAI Whisper for transcription
  • Preferred language: --lang pt for Portuguese

Get video info

~/.openclaw/skills/video-intel/scripts/video-intel.sh info <url>

List available caption tracks

~/.openclaw/skills/video-intel/scripts/video-intel.sh captions <url>

Download video

~/.openclaw/skills/video-intel/scripts/video-intel.sh download <url> [--format audio|720p|best]

After getting transcript

  • Summary: Summarize in 3-5 bullet points
  • Key quotes: Extract most notable quotes
  • Full summary: Write a paragraph summary with context
  • Translation: Translate to the user's language if different

Notes

  • YouTube auto-captions are usually available even without ffmpeg
  • TikTok/Instagram/X require ffmpeg for audio extraction
  • Large videos (>25MB audio) may hit OpenAI's file size limit — use --format audio to get a smaller mp3
  • Output cached in /tmp/video-intel/ by default

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 01:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,204
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,864
developer-tools

Chief Feature Workflow

nogara
使用 Chief CLI 在 Chief 管理的项目中创建并实现新功能。适用于创建新 PRD、使用 Chief 实现功能或搭建...
★ 1 📥 819