Hainrixz/claude-banana

★ 96⑂ 27

AI agent that turns your rough ideas into perfect image generation prompts. 7-component formula, 70+ creative techniques, 9 domain modes.

About Hainrixz/claude-banana

Hainrixz/claude-banana is an open-source project on GitHub, mainly written in Python. AI agent that turns your rough ideas into perfect image generation prompts. 7-component formula, 70+ creative techniques, 9 domain modes. It currently holds 96 stars and 27 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Prompt Engineering board.

GitHub Repository Details

Repository Hainrixz/claude-banana · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

Claude Banana

You tell it what picture you want. It writes the perfect instructions to make that picture.

That's it. That's what Claude Banana does.

---

The Problem

You want AI to make you an image. You type "a cool sunset." You get... something okay. But not what you imagined.

Why? Because AI image generators need very specific instructions. The more detail you give them — lighting, camera angle, colors, mood, textures — the better the result. But writing those detailed instructions is hard and takes practice.

The Solution

Claude Banana is your creative assistant. You describe what you want in plain words, and it:

1. Asks you a few quick questions to understand your vision 2. Builds a detailed, optimized prompt using a proven formula 3. Gives you a ready-to-copy prompt that gets amazing results from image generators

Think of it like having a professional photographer in your pocket who translates "I want a cool sunset" into a paragraph of perfect instructions that the AI actually understands.

---

How to Use It

Step 1: Get Claude Code

Install Claude Code (Anthropic's command-line tool).

Step 2: Download This Project

git clone https://github.com/Hainrixz/claude-banana.git
cd claude-banana

Step 3: Start Claude and Ask

claude

Then just describe what you want in plain words:

"Help me create a prompt for a cozy coffee shop with warm lighting and a cat sleeping on some books"

Claude automatically picks up the prompt-architect agent and knowledge base from this project. It will ask you a couple of questions (like "What's the mood?" or "Where will you use this image?"), and then give you a perfect prompt ready to paste into any image generator.

---

What Makes It Special

The 7-Piece Formula

Every prompt Claude Banana creates has 7 carefully balanced ingredients:

| Ingredient | What It Does | Example | |-----------|-------------|---------| | Subject | Who or what is in the picture | "A gray tabby cat curled up on a stack of books" | | Style | How it looks visually | "Warm watercolor illustration with soft edges" | | Environment | Where it takes place | "Inside a small bookshop cafe with wooden shelves" | | Lighting | How light falls on the scene | "Honey-gold afternoon light from a bay window" | | Action | What's happening | "The cat is sleeping with one paw draped over a book spine" | | Camera | How the picture is framed | "Eye-level close-up, slightly overhead angle" | | Texture | What things feel like | "Worn leather book covers, soft fur, steam rising from a mug" |

9 Expertise Modes

The agent adjusts its formula depending on what kind of image you want:

70+ Creative Techniques

Want something special? The agent knows how to do things like:

Works With Your Existing Prompts

Already have prompts from Midjourney, DALL-E, or Stable Diffusion? Paste them in and Claude Banana converts them to work better with Nano Banana Pro (Google's image generator).

Brand Presets

Making images for a brand? Load a preset with your brand colors, style, and mood so every image stays consistent.

---

What's Inside

claude-banana/
  knowledge/           -- The brain: everything the agent knows about making great prompts
  templates/examples/  -- 25 ready-to-use prompt templates you can customize
  presets/             -- Brand style presets (colors, fonts, mood)
  scripts/             -- Python tools for generating images directly
  .claude/agents/      -- The agent itself

Optional: Generate Images Directly

If you have a Google AI API key (free from aistudio.google.com), you can generate images without leaving your terminal:

# Check your setup
python3 scripts/validate_setup.py

Generate an image from a prompt

python3 scripts/generate.py --prompt "your optimized prompt here"

Generate from a template with custom values

python3 scripts/generate.py --template templates/examples/cinematic-landscape.md \ --vars '{"location": "mountain lake", "time_of_day": "sunset"}'

Edit an existing image

python3 scripts/edit.py --image photo.png --instruction "make it look like autumn"

Generate a batch of variations

python3 scripts/batch.py --template templates/examples/product-showcase.md \ --variations my_products.json

---

Want to Contribute?

We'd love your help! You can:

See the issue templates for easy submission forms.

---

License

MIT — free to use, modify, and share. See LICENSE.

---

Leer en Espanol / Read in Spanish

GitHub Stars & Activity

96Stars
27Forks
0Open issues
PythonLanguage

GitHub Popularity

GitHub stars96
Forks27
Open issues0
Primary languagePython
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

microsoft / promptflow

Python★ 11,244⑂ 1,123
2

promptslab / Promptify

Python★ 4,635⑂ 364
3
4

hegelai / prompttools

Python★ 3,055⑂ 256
5

Eladlev / AutoPrompt

Python★ 3,019⑂ 264
6

microsoftarchive / promptbench

Python★ 2,821⑂ 222
7

yaojingang / yao-open-prompts

Python★ 2,817⑂ 461
8

YiVal / YiVal

Python★ 2,134⑂ 328

More AI Rankings