banana-claude

作者 AgriciDaniel已验证

AI image generation skill for Claude Code -- Creative Director powered by Gemini

968
Stars
203
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/AgriciDaniel/banana-claude

快速入门

使用 banana-claude 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Banana Claude

Banana Claude

AI image generation skill for Claude Code where Claude acts as Creative Director using Google's Gemini Nano Banana models.

Unlike simple API wrappers, Claude interprets your intent, selects domain expertise, constructs optimized prompts using Google's official 5-component formula, and orchestrates Gemini for the best possible results.

Claude Code Skill Version License: MIT

Blog: See banana-claude in action

Table of Contents

Installation

Plugin Install (Recommended)

Add the marketplace and install:

/plugin marketplace add AgriciDaniel/banana-claude
/plugin install banana-claude@banana-claude-marketplace

Or test locally:

git clone --depth 1 https://github.com/AgriciDaniel/banana-claude.git
claude --plugin-dir ./banana-claude
Standalone Install (without plugin system)
git clone --depth 1 https://github.com/AgriciDaniel/banana-claude.git
bash banana-claude/install.sh

One-liner (curl):

curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/banana-claude/main/install.sh | bash

With MCP Setup:

git clone --depth 1 https://github.com/AgriciDaniel/banana-claude.git
cd banana-claude
./install.sh --with-mcp YOUR_API_KEY

Get a free API key at Google AI Studio.

Quick Start

# Start Claude Code
claude

# Generate an image
/banana generate "a hero image for a coffee shop website"

# Edit an existing image
/banana edit ~/photo.png "remove the background"

# Multi-turn creative session
/banana chat

# Browse 2,500+ prompt database
/banana inspire

Claude will ask about your brand, select the right domain mode (Cinema, Product, Portrait, Editorial, UI, Logo, Landscape, Infographic, Abstract), construct a detailed prompt with lighting and composition, set the right aspect ratio, and generate.

Banana Claude in action

Commands

CommandDescription
/bananaInteractive -- Claude detects intent and guides you
/banana generate <idea>Full Creative Director pipeline
/banana edit <path> <instructions>Intelligent image editing
/banana chatMulti-turn visual session (maintains consistency)
/banana inspire [category]Browse 2,500+ prompt database
/banana batch <idea> [N]Generate N variations (default: 3)
/banana setupConfigure MCP and API key
/banana preset [list|create|show|delete]Manage brand/style presets
/banana cost [summary|today|estimate]View cost tracking and estimates

How It Works

Creative Director Pipeline

What Makes This Different

  • Intent Analysis -- Understands what you actually need (blog header? app icon? product shot?)
  • Domain Expertise -- Selects the right creative lens (Cinema, Product, Portrait, Editorial, UI, Logo, Landscape, Infographic, Abstract)
  • 5-Component Prompt Formula -- Constructs prompts with Subject + Action + Location/Context + Composition + Style (includes lighting)
  • Prompt Adaptation -- Translates patterns from a 2,500+ curated prompt database to Gemini's natural language format
  • Post-Processing -- Crops, removes backgrounds, converts formats, resizes for platforms
  • Batch Variations -- Generates N variations rotating different components
  • Session Consistency -- Maintains character/style across multi-turn conversations
  • 4K Resolution Output -- Up to 4096×4096 with imageSize control
  • 14 Aspect Ratios -- Including ultra-wide 21:9 for cinematic compositions

The 5-Component Prompt Formula

Prompt Formula

Instead of sending "a cat in space" to Gemini, Claude constructs:

A medium shot of a tabby cat floating weightlessly inside the cupola module of the International Space Station, paws outstretched toward a floating droplet of water, Earth visible through the circular windows behind. Soft directional light from the windows illuminates the cat's fur with a blue-white rim light, while the interior has warm amber instrument panel glow. Captured with a Canon EOS R5, 35mm f/2.0 lens, slight barrel distortion emphasizing the curved module interior. In the style of a National Geographic cover story on the ISS, with the sharp documentary clarity of NASA mission photography.

Components used: Subject (tabby cat, physical detail) → Action (floating, paw gesture) → Location/Context (ISS cupola, Earth visible) → Composition (medium shot, curved framing) → Style (Canon R5, National Geographic documentary, directional window light + amber instruments)

Domain Modes

Domain Modes

ModeBest ForExample
CinemaDramatic, storytelling"A noir detective scene in a rain-soaked alley"
ProductE-commerce, packshots"Photograph my handmade candle for Etsy"
PortraitPeople, characters"A cyberpunk character portrait for my game"
EditorialFashion, lifestyle"Vogue-style fashion shot for my brand"
UI/WebIcons, illustrations"A set of onboarding illustrations"
LogoBranding, identity"A minimalist logo for a tech startup"
LandscapeBackgrounds, wallpapers"A misty mountain sunrise for my desktop"
InfographicData, diagrams"Visualize our Q1 sales growth"
AbstractGenerative art, textures"Voronoi tessellation in neon gradients"

Models

ModelIDNotes
Flash 3.1 (default)gemini-3.1-flash-image-previewFastest, newest, 14 aspect ratios, up to 4K
Flash 2.5gemini-2.5-flash-imageStable fallback

Architecture

banana-claude/                         # Claude Code Plugin
├── .claude-plugin/
│   ├── plugin.json                    # Plugin manifest
│   └── marketplace.json               # Marketplace catalog
├── skills/banana/                     # Main skill
│   ├── SKILL.md                       # Creative Director orchestration (v1.4)
│   ├── references/
│   │   ├── prompt-engineering.md      # 5-component formula, banned keywords, safety rephrase
│   │   ├── gemini-models.md           # Model specs, rate limits, capabilities
│   │   ├── mcp-tools.md              # MCP tool parameters and responses
│   │   ├── post-processing.md        # ImageMagick/FFmpeg pipelines, green screen
│   │   ├── cost-tracking.md          # Pricing table, usage guide
│   │   └── presets.md                # Brand preset schema and examples
│   └── scripts/
│       ├── setup_mcp.py              # Configure MCP in Claude Code
│       ├── validate_setup.py         # Verify installation
│       ├── generate.py               # Direct API fallback -- generation
│       ├── edit.py                   # Direct API fallback -- editing
│       ├── cost_tracker.py           # Cost logging and summaries
│       ├── presets.py                # Brand/style preset management
│       └── batch.py                  # CSV batch workflow parser
└── agents/
    └── brief-constructor.md           # Subagent for prompt construction

Requirements

  • Claude Code
  • Node.js 18+ (for npx)
  • Google AI API key (free tier: ~5-15 RPM / ~20-500 RPD, cut ~92% Dec 2025)
  • ImageMagick (optional, for post-processing)

Uninstall

Plugin:

/plugin uninstall banana-claude@banana-claude-marketplace

Standalone:

bash banana-claude/install.sh --uninstall

Contributing

Contributions welcome! Please open an issue or submit a pull request.

License

MIT License -- see LICENSE for details.


Built for Claude Code by @AgriciDaniel


Author

Built by Agrici Daniel - AI Workflow Architect.

常见问题

What is banana-claude?

banana-claude is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by AgriciDaniel. AI image generation skill for Claude Code -- Creative Director powered by Gemini. It has 968 GitHub stars.

Is banana-claude safe to use?

Yes. banana-claude passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install banana-claude?

Clone the repository with "git clone https://github.com/AgriciDaniel/banana-claude" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is banana-claude written in?

banana-claude is primarily written in Python. It is open-source under AgriciDaniel on GitHub, so you can review or fork the full source.

Are there alternatives to banana-claude?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh banana-claude against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情