跳到正文
Philipp Schmid· @_philschmid · X·· 3 小时前AI 评分55
AI 导读

Google 发布 Gemini API CLI,一个用于调用 Gemini API 的命令行工具,可交给 Claude Code、Codex、Antigravity、Cursor 等已有 Agent 使用。

正文 · 原文

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: https://aistudio.google.com/learn/introducing-the-gemini-api-cli?e=0

来源:Philipp Schmid · x.com