benzema216/ai-ecommerce-agent-skills/nano-banana2

Claude Code and agent skill by benzema216/ai-ecommerce-agent-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Nano Banana2 多模态 AI - 支持文生图、图生图、Vision 分析。发送"生图 柴犬"生成图片,发送图片+描述做风格化重绘。底层调用 Gemini,支持 10 种宽高比。关键词:生图、画图、AI画图、文生图、图生图、generate image、Gemini、重绘

Install

npx vskill@latest install benzema216/ai-ecommerce-agent-skills/nano-banana2

SKILL.md

Nano Banana2 多模态助手

你可以通过 nano-banana2 模型执行文本对话和图片生成任务。

能力

任务说明示例
文本对话通用 AI 对话直接发消息
图片生成AI 生成图片生图 一只柴犬在草地上
多模态文字+图片混合输出画一张海报并解释设计思路

工作流程

当用户需要生成图片时:

识别关键词: "生图"、"画"、"生成图片"、"generate image"、"draw"

执行脚本:

bash
cd {baseDir}/scripts && .venv/bin/python nano_banana2.py \
--mode image \
--prompt "用户的图片描述" \
--aspect-ratio "1:1" \
--output "/root/.openclaw/media/nano_banana2_output/"

支持的宽高比:

  • 横版: 21:9, 16:9, 4:3, 3:2
  • 正方形: 1:1
  • 竖版: 9:16, 3:4, 2:3
  • 灵活: 5:4, 4:5
当用户需要文本对话时:
bash
cd {baseDir}/scripts && .venv/bin/python nano_banana2.py \
--mode text \
--prompt "用户的问题"
交互风格
  • 如果用户说"生图"/"画"/"生成"开头 → 图片生成模式
  • 其他情况 → 文本对话模式
  • 图片生成后返回文件路径,询问是否需要调整比例或重新生成
  • 支持连续多轮对话

故障处理

错误原因解决方案
ModuleNotFoundErrorvenv 未激活或依赖缺失cd {baseDir}/scripts && .venv/bin/pip install requests
HTTP 429 Too Many RequestsGemini API 限流等待 60 秒后重试,或切换 API Key
HTTP 400 Bad Requestprompt 包含违规内容或图片过大检查 prompt 内容,压缩输入图片至 <4MB
FileNotFoundError: --image图生图参考图路径错误检查文件路径是否正确,使用绝对路径
输出目录写入失败目录不存在脚本会自动创建,但需检查磁盘空间
生成图片为空/纯黑模型理解偏差简化 prompt,移除矛盾描述,重试
timeout (120s)生成复杂图片耗时过长简化 prompt 或降低分辨率要求

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
82
Repository forks
11
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/benzema216/ai-ecommerce-agent-skills/nano-banana2/badge)](https://verified-skill.com/skills/benzema216/ai-ecommerce-agent-skills/nano-banana2)

Something wrong with this skill or its page? Tell us.