gemini-image-gen
Skill77 starsChanged 8 months agoMITView on GitHub
Generate or edit images with Google Gemini. Alternative to DALL-E for image generation. Requires GEMINI_API_KEY.
- Reads credentials
- Sends data out
Files
Gemini Image Generation
Generate images using Google's Gemini model.
When to Use
- User asks for image generation and DALL-E is not available
- User specifically requests Gemini
- Image editing with text instructions
Generate an Image
curl -s -X POST "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash-exp:generateContent?key=$GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Generate an image of: detailed description here"}]}],
"generationConfig": {"responseModalities": ["TEXT", "IMAGE"]}
}'Response
Response contains candidates[0].content.parts[]. Image data appears in parts with:
inlineData.mimeType(e.g.,image/png)inlineData.data(base64-encoded)
Save to file:
echo "BASE64_DATA" | base64 -d > image.pngNotes
- Free tier available with rate limits
- Model availability may vary — check Google AI Studio
- Supports both generation and editing via text prompts
Other versions7 projects use a version of this.
Word for word · 1
- yourkenike/ciana-parrot★ 1100% same
Edited · 0
None found.
Wrote their own version · 6
- maystudios/claude-skills★ 21same name
- kaiye/skills★ 19same name
- seanwinslow28/anima★ 2same name
- boltguo/skills★ 1same name
- JIANMORIVER/hermes-skills★ 1same name
- dogank85/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- 1passwordSkill
- apple-remindersSkill
- bear-notesSkill
- blogwatcherSkill
- blucliSkill
- camsnapSkill
- elevenlabs-ttsSkill
- gifgrepSkill
- githubSkill
- google-placesSkill
- imessageSkill
- nano-pdfSkill
- notionSkill
- obsidianSkill
- openai-image-genSkill
- openhueSkill
- peekabooSkill
- skill-creationSkill
- sonosSkill
- spotifySkill
- thingsSkill
- trelloSkill
- troubleshootingSkill
- video-framesSkill
- weatherSkill
- whatsappSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

