Gemini All-for-One
A comprehensive AI image platform powered by Google's Gemini AI. Provides image generation, analysis, editing, and multimodal chat capabilities.
Features
- High-Quality Image Generation: Text-to-image generation with multiple artistic styles and aspect ratios
- Advanced Image Analysis: Intelligent image understanding and detailed descriptions
- AI-Powered Image Editing: Edit images while preserving the same object using text prompts
- Multimodal Chat: Conversations with text and image support using Gemini AI
- Free Image Generation: Alternative image generation via Pollinations.ai (no API key required)
- Serverless Ready: Base64 I/O implementation perfect for serverless deployments
Quick Start
from gemini_all_for_one import ImageGenerator, ImageAnalyzer, ImageEditor, GeminiChatClient
# Generate images
generator = ImageGenerator()
result = generator.generate_image("A beautiful sunset over mountains")
image_data = result['image_base64']
# Analyze images
analyzer = ImageAnalyzer()
analysis = analyzer.analyze_image(image_bytes)
# Edit images (preserves same object)
editor = ImageEditor()
edited = editor.edit_image(image_bytes, "add sunglasses")
# Multimodal chat
chat = GeminiChatClient()
response = chat.send_message("What's in this image?", image=image_bytes)
Requirements
- Python 3.8+
- Google Gemini API key (get one at https://aistudio.google.com/app/apikey)
- Set
GEMINI_API_KEYenvironment variable
Installation
pip install gemini-all-for-one
License
MIT License - see LICENSE file for details.
Metadata
Release files for gemini-all-for-one 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gemini_all_for_one-1.0.2.tar.gz | 35.4 kB | Without provenance | Details for gemini_all_for_one-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gemini_all_for_one-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for gemini_all_for_one-1.0.2-py3-none-any.whl |
Total release size: 76.7 kB
Release files / gemini_all_for_one-1.0.2.tar.gz
| Download URL | gemini_all_for_one-1.0.2.tar.gz |
|---|---|
| Size | 35.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
340309e29aee9ecf5f41ebba20d1fcd05b535792999b6d65545c099badbb688e
|
|
BLAKE2b-256 checksum How to use checksums |
3f5a93f4d3f71a5ae8d9d707347d769065a41b7281eefd21ec948a3e865f0ac4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / gemini_all_for_one-1.0.2-py3-none-any.whl
| Download URL | gemini_all_for_one-1.0.2-py3-none-any.whl |
|---|---|
| Size | 41.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7c7c925e25c3cc092d80876dd3be2b71510bdbc331fc8cddd9cbb5c84aa09de
|
|
BLAKE2b-256 checksum How to use checksums |
ef9dcae626dfc60d5b63c758366543de97785372c13dea3468c10f91d3600697
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for gemini-all-for-one 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.