Skip to content
Agentmart
Submit a tool

gemini-image

Generate and edit images using Gemini image models (gemini-3-pro-image-preview, gemini-3.1-flash-image-preview).

Skill by spoj

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/spoj-gemini-image

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate and edit images using Gemini image models (gemini-3-pro-image-preview, gemini-3.1-flash-image-preview). Use when the user wants to create, generate, edit, or transform images via AI. Triggers on requests like "generate an image", "create a picture", "edit this photo", "make a logo", or any image creation/manipulation task.

Use cases: design, writing, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/gemini-image

What's inside

Skill name
gemini-image
Description
Generate and edit images using Gemini image models (gemini-3-pro-image-preview, gemini-3.1-flash-image-preview). Use when the user wants to create, generate, edit, or transform images via AI. Triggers on requests like "generate an image", "create a picture", "edit this photo", "make a logo", or any image creation/manipulation task.
License
MIT
Compatibility
Requires `uv` and a Gemini API key (via `llm keys set gemini`, LLM_GEMINI_KEY, or GEMINI_API_KEY).
Instructions
41 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • generate.py · scripts/

SKILL.md (first lines)

# Gemini Image Generation

Generate and edit images using Gemini's native image output models.

## Generate an image

```bash
uv run --with httpx scripts/generate.py "a cat astronaut floating in space" -o cat.png
```

## Edit an existing image

```bash
uv run --with httpx scripts/generate.py "make the background blue" -i input.jpg -o edited.png
```

## Models

| Model | Flag | Notes |
|---|---|---|
| `gemini-3-pro-image-preview` | (default) | Best quality |
| `gemini-3.1-flash-image-preview` | `-m gemini-3.1-flash-image-preview` | Faster |
| `gemini-2.5-flash-image` | `-m gemini-2.5-flash-image` | Older, still available |

## Options

| Flag | Description | Default |
|---|---|---|
| `-o`, `--output` | Output file path | `output.png` |
| `-i`, `--input` | Input image for editing | None |
| `-m`, `--model` | Model to use | `gemini-3-pro-image-preview` |
| `--timeout` | Request timeout in seconds | `120` |

## API key

The script finds the Gemini API key in this order:
1. `LLM_GEMINI_KEY` env var
2. `GEMINI_API_KEY` env var
3. `llm keys get gemini` (llm keystore)

From spoj/skills, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Apr 18, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from spoj

Cite this page

gemini-image skill. Agent Mart. https://agentmart.dev/skills/spoj-gemini-image (last updated 2026-10-24)