Skip to content
Back to skills

Gemini Gen

ASecurity

Generates images using Google's Gemini model. Prioritizes standard resolution to save quota. Automatically opens images on macOS.

  • 30 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 12, 2026
ai-agentspythongobash

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill gemini-gen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gemini Gen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gemini Gen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-gemini-gen-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-gemini-gen-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gemini-gen
description: Generates images using Google's Gemini model. Prioritizes standard resolution to save quota. Automatically opens images on macOS.
---

# Gemini Image Generator

This skill generates images using Google's Gemini model. It is configured to be cost-efficient by defaulting to standard resolution models.

## Usage

```bash
python3 {script_path} "Prompt" [--model model_name] [--output filename.png] [--no-open]
```

## IMPORTANT: Model Selection Policy (Quota Saving)
**Always default to standard resolution models.** Do NOT use 4K models unless the user explicitly mentions "4K", "Ultra HD", or "High Definition".

### Available Models

| Model Name | Aspect Ratio | Resolution | Cost Category |
| :--- | :--- | :--- | :--- |
| **`gemini-3-pro-image` (Default)** | 1:1 | Standard | **Low (Recommended)** |
| `gemini-3-pro-image-16x9` | 16:9 | Standard | **Low (Recommended)** |
| `gemini-3-pro-image-9x16` | 9:16 | Standard | **Low (Recommended)** |
| `gemini-3-pro-image-4k` | 1:1 | 4K | High |
| `gemini-3-pro-image-4k-16x9` | 16:9 | 4K | High |
| `gemini-3-pro-image-4k-9x16` | 9:16 | 4K | High |

## Decision Logic for Alma
1. **Default**: Use `gemini-3-pro-image`.
2. **Aspect Ratio**: 
   - If "landscape/widescreen/16:9", use `gemini-3-pro-image-16x9`.
   - If "portrait/mobile/9:16", use `gemini-3-pro-image-9x16`.
3. **4K (Only if explicitly requested)**:
   - Only upgrade to a `-4k` model if the user explicitly says "4K" or equivalent high-res keywords.

### Note on Display
Alma's chat UI does not render local images. The skill uses `open` to show the image in the system viewer.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.