generating-images
CommunityGenerate Gemini AI images and save them to repo.
Authorblackjiro
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill automates image generation using the Gemini API and stores the resulting assets in your repository, streamlining the creation of visual content for sites, apps, and marketing.
Core Features & Use Cases
- Automated image generation: Generate high-quality images from descriptive prompts using Gemini's flash and pro models.
- Flexible outputs: Supports multiple aspect ratios (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3) to fit landing pages, hero sections, product images, avatars, and placeholders.
- Seamless asset management: Saves generated PNGs directly into your project/assets directory for immediate integration.
Quick Start
Set your Gemini API key and generate an image with a descriptive prompt. Example: export GEMINI_API_KEY="your-api-key" python ~/.claude/skills/generating-images/scripts/generate_image.py --prompt "A modern hero image for a tech startup" --output "./assets/images/hero.png" --aspect-ratio "16:9"
Dependency Matrix
Required Modules
google-genaiPillow
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: generating-images Download link: https://github.com/blackjiro/dotfiles/archive/main.zip#generating-images Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.