Skip to content

gemini-ai-toolkit

Python

Python wrapper and CLI for Google Gemini.

A lightweight Python API wrapper and CLI for Google's Gemini language models. Supports chat, text generation, and multimodal interactions with PDFs, images, videos, audio, and code.

python gemini ai cli

[features]

Multimodal

Process PDFs, images, videos, audio, code

Interactive Chat

Context-aware conversations

Smart File Handling

Upload from paths or URLs

Minimal Dependencies

Primarily uses requests package

[install]

git clone https://github.com/RMNCLDYO/gemini-ai-toolkit.git
cd gemini-ai-toolkit
pip install -r requirements.txt

[usage]

# CLI
python cli.py --chat
python cli.py --text --prompt "Write a story"
python cli.py --multimodal --prompt "Analyze" --files file.pdf

# Python
from gemini import Chat, Text, Multimodal
Chat().run()
Text().run(prompt="Write a story")

[requirements]

[license]

This project is licensed under the MIT license.

[links]