xianyu110/awesome-openclaw-tutorial / .claude/.skills/bananapro-image-gen
Banana Pro Image Generation
Unverified使用 Gemini 3 Pro Image 生成图片,支持白板图、Logo设计、社交媒体配图等多种场景
| File | Kind | Size |
|---|---|---|
| .gitignore | other | 226 B |
| README.md | markdown | 3.6 KB |
| SKILL.md | skill md | 9.4 KB |
| UPLOAD_GUIDE.md | markdown | 5.1 KB |
| prepare-upload.shexecutable | script | 5.0 KB |
| release/UPLOAD_INFO.txt | markdown | 1.2 KB |
| release/bananapro-image-gen.tar.gz | binary | 9.5 KB |
| release/bananapro-image-gen.zip | binary | 11.6 KB |
| requirements.txt | manifest | 31 B |
| scripts/generate_image.py | script | 10.9 KB |
| skill.json | config | 1.8 KB |
| test.sh | script | 1.7 KB |
| test_chapters.sh | script | 4.7 KB |
test.sh
View on GitHub#!/bin/bash
# Nano Banana Image Generation - 测试脚本
set -e
echo "🧪 Nano Banana Image Generation - 测试脚本"
echo "=================================================="
echo ""
# 创建输出目录
TEST_OUTPUT_DIR="test_output"
mkdir -p "$TEST_OUTPUT_DIR"
echo "📁 创建测试输出目录:$TEST_OUTPUT_DIR"
echo ""
# 测试1:基础文生图
echo "🎨 测试1:基础文生图"
echo "Prompt: 画一只可爱的橙色猫咪"
echo ""
python3 scripts/generate_image.py \
--prompt "画一只可爱的橙色猫咪,阳光明媚,高清摄影" \
--filename "$TEST_OUTPUT_DIR/test1_cat.png"
echo ""
echo "✅ 测试1 完成"
echo ""
# 测试2:白板图
echo "🎨 测试2:白板图生成"
echo "Prompt: OpenClaw 核心概念白板图"
echo ""
python3 scripts/generate_image.py \
--prompt "生成一张白板图片,手写字体风格,内容是OpenClaw核心概念:本地部署、文件访问、Skills扩展、多平台支持,用箭头和框图展示" \
--filename "$TEST_OUTPUT_DIR/test2_whiteboard.png"
echo ""
echo "✅ 测试2 完成"
echo ""
# 测试3:Logo 设计
echo "🎨 测试3:Logo 设计"
echo "Prompt: AI 助手 Logo"
echo ""
python3 scripts/generate_image.py \
--prompt "设计一个极简风格的AI机器人Logo,蓝色和白色配色,线条简洁" \
--filename "$TEST_OUTPUT_DIR/test3_logo.png"
echo ""
echo "✅ 测试3 完成"
echo ""
# 显示测试结果
echo "=================================================="
echo "🎉 所有测试完成!"
echo ""
echo "生成的图片:"
ls -lh "$TEST_OUTPUT_DIR"/*.png 2>/dev/null || echo "未找到生成的图片"
echo ""
echo "查看图片:"
echo " open $TEST_OUTPUT_DIR"
echo ""
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |