hex/claude-image-generation

7 stars · Last commit 2026-07-13

Claude Code plugin for generating and editing images using Google Gemini and OpenAI GPT Image APIs

README preview

# claude-image-generation

Claude Code plugin for generating and editing images using Google Gemini, OpenAI GPT Image, and xAI Grok Image APIs.

## Features

- **Text-to-image generation** with Google Gemini, OpenAI GPT Image 2, or xAI Grok Image
- **Image editing** with text instructions (all providers)
- **Multi-image input** — repeatable `--input-image` for multi-image edits (all providers) and Gemini reference-based generation
- **Parallel generation** across all providers via `scripts/run-all.sh` — one shared streaming pane, council-style colored banners, and a pending-provider spinner shown until the first image renders
- **Interactive provider selection** via AskUserQuestion at runtime
- **Inline image preview** -- generated images display directly in the terminal (iTerm2, Kitty, Ghostty, WezTerm, Sixel terminals)
- **Tmux pane display** -- opens a split pane for image preview when running inside tmux (works with Claude Code)
- **Streaming display** -- images appear progressively in a shared pane during parallel generation, accumulating as each provider finishes
- **Open in Finder/Preview** -- press 'f' for Finder or 'p' for Preview in the display pane

## Installation

### From marketplace (recommended)

View full repository on GitHub →