Skip to main content

A comprehensive AI image platform powered by Google's Gemini AI

Project description

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

Installation

pip install gemini-all-for-one

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gemini_all_for_one-1.0.2.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gemini_all_for_one-1.0.2-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file gemini_all_for_one-1.0.2.tar.gz.

File metadata

  • Download URL: gemini_all_for_one-1.0.2.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for gemini_all_for_one-1.0.2.tar.gz
Algorithm Hash digest
SHA256 340309e29aee9ecf5f41ebba20d1fcd05b535792999b6d65545c099badbb688e
MD5 6824b7969c49b5f00c6e05f911c362f0
BLAKE2b-256 3f5a93f4d3f71a5ae8d9d707347d769065a41b7281eefd21ec948a3e865f0ac4

See more details on using hashes here.

File details

Details for the file gemini_all_for_one-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gemini_all_for_one-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b7c7c925e25c3cc092d80876dd3be2b71510bdbc331fc8cddd9cbb5c84aa09de
MD5 c45ceb720237e341da594a71272cc5bf
BLAKE2b-256 ef9dcae626dfc60d5b63c758366543de97785372c13dea3468c10f91d3600697

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page