Agent skill · Backend & API

gemini-image

Reference guide for using google-genai Python library to generate images with gemini-3-pro-image-preview model. Use this skill when building new projects that need Gemini image generation capabilities, to understand the correct API patterns, configuration options, and best practices.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill gemini-image --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
Path: skills/ai-llm/gemini-image/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 Generation Guide Reference for generating images with Google's `gemini-3-pro-image-preview` model. ## Language References Load the appropriate reference based on the project's language: | Language | Reference File | |----------|------------------------| | Python | `references/python.md` | **Instructions:** When implementing Gemini image generation, read the corresponding language reference file for complete code patterns and examples. --- ## Model Information | Property | Value | |----------------------|------------------------------| | Model ID | `gemini-3-pro-image-preview` | | Cost | ~$0.134 per image (2K) | | Max Reference Images | 5+ (high fidelity) | | Resolutions | 1K, 2K, 4K | ## Supported Aspect Ratios | Ratio | Use Case | |--------|----------------------------| | `1:1` | Square, social media posts | | `2:3` | Portrait photos | | `3:2` | Landscape photos | | `3:4` | Portrait, mobile screens | | `4:3` | Standard display | | `4:5` | Instagram portrait | | `5:4` | Large format | | `9:16` | Vertical video, stories | | `16:9` | Widescreen, presentations | | `21:9` | Ultra-wide, cinematic | ## Image Sizes | Size | Resolution | Use Case | |------|------------|-----

What's inside
Steps it walks through
  1. Language References
  2. Model Information
  3. Supported Aspect Ratios
  4. Image Sizes
  5. Environment Setup
  6. Core Capabilities
  7. 1. Text-to-Image Generation
  8. 2. Style Transfer with Reference Images
  9. 3. Image Editing
  10. 4. Batch Generation
  11. Prompt Engineering Tips
  12. Be Descriptive
  13. Specify Visual Elements
  14. For Style Transfer
Ships with 1 file
  • metadata.json
Commands it runs
export GOOGLE_API_KEY='your-api-key-here'
More from claude-skill-registry
All skills →
About this skill
What does the gemini-image skill do?

Reference guide for using google-genai Python library to generate images with gemini-3-pro-image-preview model. Use this skill when building new projects that need Gemini image generation capabilities, to understand the correct API patterns, configuration options, and best practices.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill gemini-image --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