Socket
Book a DemoInstallSign in
Socket

gemini-batch

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gemini-batch

Batch processing for Google Gemini AI

1.0.11
latest
Source
npmnpm
Version published
Weekly downloads
69
-92.05%
Maintainers
1
Weekly downloads
 
Created
Source

Gemini-Batch

A TypeScript CLI tool for managing batch processing jobs with Google Gemini API.

Use cases:

  • Batch content tagging and classification
  • Large-scale file translation
  • Bulk text analysis and processing

Learn more about Gemini Batch Mode.

Installation

npm install -g gemini-batch

Quick Start

  • Configure your API key:
gemini-batch config set-key your-gemini-key

# or
export GEMINI_API_KEY="your-gemini-key"

# or
export GOOGLE_GENERATIVE_AI_API_KEY="your-gemini-key"
  • Create a input file:
gemini-batch file create \
  --prompt "translate this file to Chinese" \
  --input "blog/*.md" \
  --output batch.jsonl
  • Submit batch jobs:
gemini-batch job submit batch.jsonl
  • Check job status and download results:
gemini-batch job list
gemini-batch job get your-job-id
gemini-batch job download your-job-id

For detailed usage, run gemini-batch --help or gemini-batch <command> --help.

License

MIT

Keywords

gemini

FAQs

Package last updated on 25 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.