Agent skill · creative production · sundial-org
gemini-image-simple
Generate and edit images with Gemini API using pure Python stdlib. Zero dependencies - works on locked-down environments where pip/uv aren't available.
Why this skill is useful
Adds executable scripts for image generation and editing using the Gemini API without external dependencies, enabling use in restricted environments.
What it needs
Requires gemini account access. About 1k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
Gemini Image Simple Generate and edit images using Google's Gemini 2.0 Flash image generation API. Why This Skill Feature This Skill Others (nano-banana-pro, etc.) --------- ------------ ------------------------------- Dependencies None (stdlib only) google-genai, pillow, etc. Requires pip/uv ❌ No ✅ Yes Works on Fly.io free ✅ Yes ❌ Fails Works in containers ✅ Yes ❌ Often fails Image generation ✅ Full ✅ Full Image editing ✅ Yes ✅ Yes Setup complexity Just set API key Install packages first Bottom line: This skill works anywhere Python 3 exists. No package managers, no virtual environments, no permission issues. Quick Start Usage Generate new image Edit existing image Supported input formats: PNG, JPG, JPEG, GIF, WEBP Environment Set GEMINIAPIKEY environment variable. Get one at https://aistudio.google.com/apikey How It Works Uses Gemini 2.0 Flash experimental image generation: Pure urllib.request for HTTP (no requests library) Pure json for parsing (stdlib) Pure base64 for encoding (stdlib) That's it. No external packages. Works on any Python 3.10+ installation. Examples
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/gemini-image-simple