BNBOT Mascot Generator
Generate BNBOT's lobster-bot mascot in various poses and scenarios while maintaining consistent character design, using existing reference images for style matching.
How It Works
- Takes a reference image from the pre-approved set (V6/V7/V8 candidates)
- Sends it to Gemini as style reference along with the action prompt
- Gemini generates a new image matching the style
- Green-screen chromakey removes background for transparent PNG
Prerequisites
- Python:
/Users/jacklee/Projects/BNBOT/backend/.venv/bin/python
- Dependencies:
google-genai, numpy, Pillow (already installed)
- API key:
GOOGLE_AI_API_KEY in /Users/jacklee/Projects/BNBOT/.env
- Reference images in
~/.claude/skills/bnbot-mascot/references/
Usage
Quick generation via CLI
/Users/jacklee/Projects/BNBOT/backend/.venv/bin/python \
~/.claude/skills/bnbot-mascot/scripts/generate_mascot.py \
"waving hello cheerfully" \
output.png \
full-body-front
In Python script
import sys
sys.path.insert(0, "/Users/jacklee/.claude/skills/bnbot-mascot/scripts")
from generate_mascot import generate_mascot
# Full body mascot
result = generate_mascot(
action="waving hello cheerfully",
output_path="mascot_wave.png",
reference="full-body-front", # style reference
background="transparent", # or "black", "white"
)
# Logo/icon version (head + claws only)
result = generate_mascot(
action="looking excited",
output_path="mascot_icon.png",
reference="logo-head-claws",
)
Available References
| Reference |
Description |
Best for |
full-body-front |
Front facing, symmetric, claws raised |
General mascot, banners |
full-body-side |
Playful side pose, one claw up |
Dynamic illustrations |
full-body-action |
Action pose, LED heart eye |
Exciting/promo content |
full-body-cute |
Cute pose, CRT head, winking |
Friendly/approachable content |
logo-head-claws |
Head + claws only, no body |
Icons, logos, small sizes |
Action Ideas
For tweets / social media
waving hello cheerfully - 打招呼
giving a thumbs up with one claw - 点赞
holding a golden trophy - 庆祝成就
sitting at a computer typing - 工作中
wearing sunglasses, looking cool - 耍酷
holding a megaphone, announcing something - 宣传
celebrating with confetti - 庆祝
thinking with one claw on chin - 思考
For stickers / reactions
laughing happily - 开心
crying with pixel tears on screen - 伤心
angry with pixel fire eyes - 生气
sleeping with pixel ZZZ on screen - 睡觉
shocked with pixel exclamation marks - 惊讶
heart eyes, both eyes showing pixel hearts - 喜爱
For branded content
holding a sign that says BNBOT - 品牌展示
standing next to the Twitter/X logo - 社交媒体
emerging from a computer screen - 科技感
riding a rocket - 增长/发射
Saving Output
For tweet images, save to a convenient location:
result = generate_mascot(
action="your action here",
output_path="/Users/jacklee/Desktop/mascot_tweet.png",
background="black", # use "black" for tweet-ready images
)
Character Identity (DO NOT MODIFY)
The mascot is a Lobster Bot with these immutable features:
- Head: Golden retro TV/monitor frame, dark screen
- Face: LED pixel style - pink heart left eye, golden dash right eye, pixel smirk
- Antenna: Two with golden ball tips
- Claws: Golden with gear joints (mechanical but clean)
- Body: Red-orange lobster, chibi proportions
- Style: Cartoon vector, cel-shaded, thick outlines, sticker art
- Colors: Gold #FFD700, Pink #FF4466, Red-orange #E85D3A, Dark screen #1A1A2E
1---2name: bnbot-mascot3description: Generate BNBOT lobster-bot mascot images in consistent style using reference images. Use when the user asks to generate mascot illustrations, character poses, tweet images, stickers, or any BNBOT branded artwork. Triggers on requests like "generate a mascot image", "make a BNBOT illustration", "create a tweet image with the lobster", "generate mascot sticker".4---56# BNBOT Mascot Generator78Generate BNBOT's lobster-bot mascot in various poses and scenarios while maintaining consistent character design, using existing reference images for style matching.910## How It Works11121. Takes a reference image from the pre-approved set (V6/V7/V8 candidates)132. Sends it to Gemini as style reference along with the action prompt143. Gemini generates a new image matching the style154. Green-screen chromakey removes background for transparent PNG1617## Prerequisites1819- Python: `/Users/jacklee/Projects/BNBOT/backend/.venv/bin/python`20- Dependencies: `google-genai`, `numpy`, `Pillow` (already installed)21- API key: `GOOGLE_AI_API_KEY` in `/Users/jacklee/Projects/BNBOT/.env`22- Reference images in `~/.claude/skills/bnbot-mascot/references/`2324## Usage2526### Quick generation via CLI2728```bash29/Users/jacklee/Projects/BNBOT/backend/.venv/bin/python \30 ~/.claude/skills/bnbot-mascot/scripts/generate_mascot.py \31 "waving hello cheerfully" \32 output.png \33 full-body-front34```3536### In Python script3738```python39import sys40sys.path.insert(0, "/Users/jacklee/.claude/skills/bnbot-mascot/scripts")41from generate_mascot import generate_mascot4243# Full body mascot44result = generate_mascot(45 action="waving hello cheerfully",46 output_path="mascot_wave.png",47 reference="full-body-front", # style reference48 background="transparent", # or "black", "white"49)5051# Logo/icon version (head + claws only)52result = generate_mascot(53 action="looking excited",54 output_path="mascot_icon.png",55 reference="logo-head-claws",56)57```5859## Available References6061| Reference | Description | Best for |62|-----------|-------------|----------|63| `full-body-front` | Front facing, symmetric, claws raised | General mascot, banners |64| `full-body-side` | Playful side pose, one claw up | Dynamic illustrations |65| `full-body-action` | Action pose, LED heart eye | Exciting/promo content |66| `full-body-cute` | Cute pose, CRT head, winking | Friendly/approachable content |67| `logo-head-claws` | Head + claws only, no body | Icons, logos, small sizes |6869## Action Ideas7071### For tweets / social media72- `waving hello cheerfully` - 打招呼73- `giving a thumbs up with one claw` - 点赞74- `holding a golden trophy` - 庆祝成就75- `sitting at a computer typing` - 工作中76- `wearing sunglasses, looking cool` - 耍酷77- `holding a megaphone, announcing something` - 宣传78- `celebrating with confetti` - 庆祝79- `thinking with one claw on chin` - 思考8081### For stickers / reactions82- `laughing happily` - 开心83- `crying with pixel tears on screen` - 伤心84- `angry with pixel fire eyes` - 生气85- `sleeping with pixel ZZZ on screen` - 睡觉86- `shocked with pixel exclamation marks` - 惊讶87- `heart eyes, both eyes showing pixel hearts` - 喜爱8889### For branded content90- `holding a sign that says BNBOT` - 品牌展示91- `standing next to the Twitter/X logo` - 社交媒体92- `emerging from a computer screen` - 科技感93- `riding a rocket` - 增长/发射9495## Saving Output9697For tweet images, save to a convenient location:98```python99result = generate_mascot(100 action="your action here",101 output_path="/Users/jacklee/Desktop/mascot_tweet.png",102 background="black", # use "black" for tweet-ready images103)104```105106## Character Identity (DO NOT MODIFY)107108The mascot is a **Lobster Bot** with these immutable features:109- **Head**: Golden retro TV/monitor frame, dark screen110- **Face**: LED pixel style - pink heart left eye, golden dash right eye, pixel smirk111- **Antenna**: Two with golden ball tips112- **Claws**: Golden with gear joints (mechanical but clean)113- **Body**: Red-orange lobster, chibi proportions114- **Style**: Cartoon vector, cel-shaded, thick outlines, sticker art115- **Colors**: Gold #FFD700, Pink #FF4466, Red-orange #E85D3A, Dark screen #1A1A2E