跳到正文
TikTok · 搜「ai tools」· Arti Miller·· 1 天前精选AI 评分60

用 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

AI 导读

Google 开源 Apache-2.0 的 Gemini API CLI(命令 gemini-api),可让 Claude Code、Cursor、Antigravity 等有 shell 权限的智能体分析 YouTube 视频。

打开原文tiktok.com
选题角度

原文给出完整安装命令、免费 key 和 CLAUDE.md 配置,适合录屏演示粘贴 YouTube 链接后按时间戳拆解爆款视频钩子。

博主
Arti Miller@viralex.aii

粉丝 1.9万

互动数据
浏览
5.8万
点赞
3649
评论
35
分享
809
收藏
4113

数字来自平台,为最近一次抓取时的数据。

正文 · AI 翻译

以下是视频口播的自动转写,可能有错字。

Claude 无法观看视频,所以你只能逐帧暂停爆款短视频。Gemini 可以,而且每天免费观看长达八小时的 YouTube 内容。

三步搞定,先把它接入 Claude:安装 Gemini API CLI,这是 Google 的命令行工具,在 Google AI Studio 获取一个免费密钥,用一条命令保存。

然后在你的 claude md 里加一行,让 Claude 把每个视频链接都交给 Gemini,粘贴一个 YouTube 链接,询问前三秒的内容。

Gemini 每秒观看一帧。因此你能得到钩子和每个剪辑点的时间戳,还有人们可能划走的位置。

现在,一次请求给它对手的 10 个最热门作品,Claude 就会告诉你它们在免费额度内都重复了哪些钩子和剪辑。

Google 可能会使用你发送的内容来改进其产品。没有暗语,一切都在描述里,关注。如果你更想知道一个视频为什么爆火,那就逐帧暂停它吧。

来源:TikTok · 搜「ai tools」 · tiktok.com