Gemini API CLI is an open-source, experimental command-line utility that gives AI coding agents, shell scripts, and developers direct access to Google's Gemini API. Written in Go, it runs on Windows, macOS, and Linux as a standalone binary. It supports text generation, reasoning, image editing, music creation, video generation, and text-to-speech synthesis. Users can analyze PDFs, images, audio, videos, and YouTube content or generate transcripts and subtitles. The software also launches managed AI agents for asynchronous research and other complex tasks. Built-in commands manage models, uploaded files, credentials, and agent environments. Structured JSON output, dry-run validation, and automatic command discovery simplify integration with Codex, Claude Code, and other AI assistants. The project is currently in beta.

Features

  • Unified Gemini API Command-Line Access
  • Multimodal Text, Image, Audio, and Video Generation
  • PDF, Media, and YouTube Content Analysis
  • Background AI Agent Execution and Management
  • Structured JSON Output and Dry-Run Validation
  • Cross-Platform AI Coding Agent Integration

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Gemini API CLI

Gemini API CLI Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Gemini API CLI!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Command Line Tools

Registered

4 days ago