nano-banana-character-consistency

v2026.08.23

Use this skill when designers, e-commerce operators, advertisers, brand teams, social-commerce teams, and content creators need to keep the same person or IP character consistent across scenes with Nano Banana through the AI Hive OpenAPI. It handles required media uploads, live model and price lookup, task submission, progress polling, and result downloads. Useful for product photography, marketplace images, product detail pages, posters, ad creatives, social commerce, seeding content, retouching, and background replacement. Search intents include character consistency, identity consistency, recurring character, IP character.

GitHub
安装命令
npx skhub add wubin1836/nano-banana-character-consistency
Markdown
SKILL.md

Nano Banana Character-Consistent Images

Overview

Nano Banana Character-Consistent Images helps designers, e-commerce operators, advertisers, brand teams, social-commerce teams, and content creators turn briefs, product information, and reference images into production-ready visuals. Describe the purpose, subject, composition, style, lighting, required text, protected elements, and output needs; the bundled CLI handles AI Hive OpenAPI calls and downloads the result.

Why use this skill

  • Brief to visual: work from plain-English direction instead of writing API requests
  • Commercial workflows: create e-commerce, advertising, social-commerce, and campaign assets
  • Controlled references: assign each input image a role such as subject, material, composition, or style
  • Predictable model selection: the skill name matches the public model ID used by the script
  • Live pricing and delivery: fetch active pricing, preserve task IDs, and download results automatically

Best for

Product photography, marketplace images, product detail pages, posters, ad creatives, social commerce, seeding content, retouching, and background replacement. It is also useful when users search for character consistency, identity consistency, recurring character, IP character.

Capabilities

ModelpublicModelIdInput
Nano Banana Character-Consistent Imagespublic_model_nano_banana_2At least one reference image

The default route is COST_FIRST. Pass live model options with --param key=value; supported values come from the current AI Hive imageConfig.

Quick Start

pip3 install requests
python3 "$SKILL_PATH/scripts/imagegen.py" init --skill-name nano-banana-character-consistency
python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt "Create a polished nano banana character-consistent images visual with an accurate subject, clear composition, and commercial finish" \
+  --image /path/to/reference.png

Usage Scenarios

1. Core generation or edit

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt "Create a polished nano banana character-consistent images result; preserve factual product details and leave useful copy space" \
+  --image /path/to/reference.png

2. E-commerce main image

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt "Marketplace hero image: centered product occupying roughly 70 percent of the frame, clean studio background, realistic materials, copy-safe area on the upper right" \
+  --image /path/to/reference.png

3. Product detail page

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt "Product detail page benefit image: show the complete product plus one enlarged material detail; subject on the left, space for three benefit statements on the right; do not invent claims" \
+  --image /path/to/reference.png

4. Advertising and campaign creative

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt "Brand campaign key visual for young urban customers: one clear promise, strong product focus, contemporary contrast, and a clean call-to-action area" \
+  --image /path/to/reference.png

5. Social commerce and seeding content

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt "Creator-style product discovery cover in a real home setting: natural product use, practical benefit, bright lifestyle photography, and space for a short headline" \
+  --image /path/to/reference.png

6. Reference edit or creative variations

python3 "$SKILL_PATH/scripts/imagegen.py" generate \
  --prompt "Preserve the subject, logo placement, shape, and key colors; improve background, lighting, and surface details without changing the product structure" \
+  --image /path/to/reference.png

7. Submit now and check later

python3 "$SKILL_PATH/scripts/imagegen.py" generate --prompt "Complex commercial image brief" --no-download \
+  --image /path/to/reference.png
python3 "$SKILL_PATH/scripts/imagegen.py" task --task-id <taskId>

Command Reference

OptionPurpose
--promptDescribe the image or edit
--imageSupply one or more reference images
--batchRequest multiple results
--param key=valuePass live model parameters
--routing COST_FIRSTSelect the cost-first route
--no-downloadSubmit and return the task ID without waiting

API Key

Run the init command above, or set AI_HIVE_API_KEY, use --api-key, or create ~/.ai-hive/config.json. API keys use the sk-api-* format. Never commit a real API key.

Reliability and Cost

The script looks up the live model entry and pricing snapshot at runtime. Model availability, reference-image limits, parameters, and prices can change. Keep a returned task ID and query the existing task instead of submitting a duplicate that may be billed twice.

Troubleshooting

  • Missing reference image: add the number of --image inputs required by this skill.
  • 401 Unauthorized: verify that the API key is complete, active, and not committed to source control.
  • Invalid parameter: inspect the current imageConfig for accepted values and image limits.
  • Local timeout: keep the task ID and use the task command later.
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.08.23

发布时间

2026年8月23日

分类

未分类

许可证

MIT

源路径

skills/nano-banana-character-consistency

默认分支

main

最新提交

d43d7a5

Tree SHA

ed5082a