用 Google 免费 gemini-api CLI 给 Claude Code 加上看视频能力
Claude can't watch videos. Google's free gemini-api CLI gives Claude Code eyes: paste a YouTube link, get a breakdown by timestamps. #claudecode #gemini #contentcreator #aitools The tool: the Gemini API CLI (command gemini-api), the official command line client from Google, built for agents with shell access (works with Claude Code, Cursor, Antigravity). Open source, Apache-2.0. github.com/google-gemini/gemini-api-cli Docs: ai.google.dev/gemini-api/docs/cli 1. Install (add the https prefix to the address): macOS / Linux: curl -fsSL raw.githubusercontent.com/google-gemini/gemini-api-cli/main/scripts/install.sh | bash Windows PowerShell: iwr -useb raw.githubusercontent.com/google-gemini/gemini-api-cli/main/scripts/install.ps1 | iex 2. Free key from Google AI Studio: aistudio.google.com/apikey gemini-api configure --api-key YOUR_KEY 3. Add this line to your CLAUDE.md: When I give you a video link, run gemini-api analyze -i " " " " and use the answer. For several videos, repeat -i (up to 1
Google 开源 Apache-2.0 的 Gemini API CLI(命令 gemini-api),可让 Claude Code、Cursor、Antigravity 等有 shell 权限的智能体分析 YouTube 视频。
原文给出完整安装命令、免费 key 和 CLAUDE.md 配置,适合录屏演示粘贴 YouTube 链接后按时间戳拆解爆款视频钩子。
粉丝 1.9万
- 浏览
- 5.8万
- 点赞
- 3649
- 评论
- 35
- 分享
- 809
- 收藏
- 4113
数字来自平台,为最近一次抓取时的数据。
以下是视频口播的自动转写,可能有错字。
Claude can't watch videos, so you're stuck pausing viral reels frame by frame. Gemini can and it's free for up to eight hours of youtube a day.
Three steps, hook it up to claude first install the gemini api cli, google's command line tool, grab a free key in google ai studio and save it with one command.
Then one line in your claude md makes claude hand every video link to gemini paste a youtube link and ask about the first three seconds.
Gemini watches one frame every second. So you get timestamps for the hook and every cut plus where people probably scroll away.
Now, give it a rivals 10 biggest hits in one request and claude tells you which hooks and cuts they all repeat on the free tier.
Google can use what you send to improve its products. No code words, everything's in the description follow. If you'd rather know why a video went viral, then pause it frame by frame.
来源:TikTok · 搜「ai tools」 · tiktok.com