Agent skill · Backend & API

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'.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Requires: claude-code-only
Path: skills/ai-llm/gemini-image-gen-jezweb-claude-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Setup
  2. Workflow
  3. Step 1: Understand What's Needed
  4. Step 2: Build the Prompt
  5. Step 3: Generate
  6. Step 4: Post-Process (Optional)
  7. Step 5: Present to User
  8. Presets
  9. Model Selection
  10. Reference Files
Ships with 1 file
  • metadata.json
Commands it runs
export GEMINI_API_KEY="your-key-here"
More from claude-skill-registry
All skills →
About this skill
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.

Keep going