Skip to content

xianyu110/awesome-openclaw-tutorial / .claude/.skills/bananapro-image-gen

Banana Pro Image Generation

Unverified

使用 Gemini 3 Pro Image 生成图片,支持白板图、Logo设计、社交媒体配图等多种场景

FileKindSize
.gitignoreother226 B
README.mdmarkdown3.6 KB
SKILL.mdskill md9.4 KB
UPLOAD_GUIDE.mdmarkdown5.1 KB
prepare-upload.shexecutablescript5.0 KB
release/UPLOAD_INFO.txtmarkdown1.2 KB
release/bananapro-image-gen.tar.gzbinary9.5 KB
release/bananapro-image-gen.zipbinary11.6 KB
requirements.txtmanifest31 B
scripts/generate_image.pyscript10.9 KB
skill.jsonconfig1.8 KB
test.shscript1.7 KB
test_chapters.shscript4.7 KB
#!/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 ""
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall