gemini-image-simple
Generate and edit images using Google's Gemini API with pure Python stdlib, no dependencies, and works on locked-down environments.
Overview: Generate and edit high-quality images using Google’s Gemini API with this skill, which uses pure Python stdlib and has no dependencies. This makes it ideal for use in locked-down environments where pip/uv aren’t available. Key Features: * Generate new images using the Gemini API * Edit existing images using the Gemini API * Supports various input formats (PNG, JPG, JPEG, GIF, WEBP) * Works on any Python 3.10+ installation How It Works: This skill uses the Gemini API to generate and edit images. It uses pure urllib.request for HTTP requests, pure json for parsing, and pure base64 for encoding. Use Cases: * Generate product images for e-commerce websites * Create photorealistic landscapes for art projects * Edit existing images to change their style or add elements
Yorumlar
Henüz yorum yok.