gemini-image-gen
Generate images using Google's Gemini API — hero backgrounds, OG images, placeholder photos, textures, and style-matched variants. Uses free-tier models for drafts, paid for finals. No dependencies beyond Python 3. Trigger with 'generate image', 'gemini image', 'make a hero background', 'create placeholder photo', 'generate OG image', 'AI image', or 'need an image for'.
npx skills add majiayu000/claude-skill-registry --skill gemini-image-gen-jezweb-claude-skills --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Gemini Image Generator Generate contextual images for web projects using the Gemini API. Produces hero backgrounds, OG cards, placeholder photos, textures, and style-matched variants. ## Setup **API Key**: Set `GEMINI_API_KEY` as an environment variable. Get a key from https://aistudio.google.com/apikey if you don't have one. ```bash export GEMINI_API_KEY="your-key-here" ``` ## Workflow ### Step 1: Understand What's Needed Gather from the user or project context: - **What**: hero background, product photo, texture, OG image, placeholder - **Style**: warm/cool/minimal/luxurious/bold — check project's colour palette (input.css, tailwind config) - **Dimensions**: hero (1920x1080), OG (1200x630), square (1024x1024), custom - **Count**: single image or multiple variants to choose from ### Step 2: Build the Prompt Use concrete photography parameters, not abstract adjectives. Read [references/prompting-guide.md](references/prompting-guide.md) for the full framework. **Quick rules**: - Narrate like directing a photographer - Use camera specs: "85mm f/1.8", "wide angle 24mm" - Use colour anchors from the project palette: "warm terracotta (#C66A52) and cream (#F5F0EB) tones" - Use lighting
- Setup
- Workflow
- Step 1: Understand What's Needed
- Step 2: Build the Prompt
- Step 3: Generate
- Step 4: Post-Process (Optional)
- Step 5: Present to User
- Presets
- Model Selection
- Reference Files
export GEMINI_API_KEY="your-key-here"
What does the gemini-image-gen skill do?
Generate images using Google's Gemini API — hero backgrounds, OG images, placeholder photos, textures, and style-matched variants. Uses free-tier models for drafts, paid for finals. No dependencies beyond Python 3. Trigger with 'generate image', 'gemini image', 'make a hero background', 'create placeholder photo', 'generate OG image', 'AI image', or 'need an image for'.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill gemini-image-gen-jezweb-claude-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
