产品多源确认精选

Google 发布 Gemini API CLI:给现有智能体调用的命令行工具

精选理由

Google 出了个命令行工具,让 Claude Code、Cursor 这些智能体直接调 Gemini API 生成视频、转录音、跑 Deep Research,本身不带对话功能。

Google 发布 Gemini API CLI,定位是让 Claude Code、Codex、Cursor 等已有智能体直接调用 Gemini API,而非新的编程智能体。它支持生成图像、视频、语音、音乐,可分析 PDF、图像、音频、视频和 YouTube 链接,还能把录音转写成 md、json、srt 格式。该工具无状态、无记忆、无聊天模式,上下文和规划由智能体自己掌握,CLI 只负责 API 调用。它自带 --help 和 --dry-run 等自描述命令,方便智能体自主使用。

图片来源 · Philipp Schmid
原文 · Philipp Schmid

We launched the Gemini API CLI. A CLI for calling the Gemini API. Give it to the agent you already use (Claude Code, Codex, Antigravity, Cursor, OpenClaw, Hermes...). It's NOT a new coding agent you can use it too: 1. Generate images, video, speech, music. 2. Analyze PDFs, images, audio, video, YouTube URLs, 3. Transcribe recordings to md / json / srt, 4. Run Deep Research in the background. Stateless. No memory, no chat mode. Your agent owns the context and the plan, gemini-api does the API call. Build for Agents, it's self-describing. `--help`, `--dry-run`... Start here: aistudio.google.com/learn/introduc… Your browser does not support the video tag. 🔗 View on Twitter 💬 39 🔄 5 ❤️ 69 👀 3730 📊 42 ⚡