返回顶部
n

nano-banana-pro-enhanced

Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro).

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
327
下载量
0
收藏
概述
安装方式
版本历史

nano-banana-pro-enhanced

# Nano Banana Pro (Gemini 3 Pro Image) Use the bundled script to generate or edit images. Generate ```bash uv run {baseDir}/scripts/generate_image.py --prompt "your image description" --filename "output.png" --resolution 1K --aspect-ratio 16:9 ``` Edit ```bash uv run {baseDir}/scripts/generate_image.py --prompt "edit instructions" --filename "output.png" --input-image "/path/in.png" --resolution 2K ``` Batch API (50% cheaper, non-blocking) ```bash # Single image uv run {baseDir}/scripts/generate_image.py --prompt "description" --filename "output.png" --batch # Multiple images from JSON file uv run {baseDir}/scripts/generate_image.py --batch-file .tmp/requests.json # Check / retrieve result of a previous job uv run {baseDir}/scripts/generate_image.py --batch-check "batches/abc123" --filename "output.png" ``` Batch file format (JSON array): ```json [ { "prompt": "a cute cat", "filename": "cat.png", "resolution": "1K", "aspect_ratio": "16:9" }, { "prompt": "a dog running", "filename": "dog.png", "resolution": "2K" } ] ``` Batch notes - `--batch` is always non-blocking: submits the job, prints `BATCH_JOB:` token, and exits immediately. - After submitting, add a temporary check list to HEARTBEAT.md. Include **why** this image was requested (context/intent), so it's clear even after a session reset. ``` # Temporary Check List - **Nano Banana Batch job**: <why this image was requested>. Check `batches/abc123` for job result. When ready, retrieve and send to user with mediaUrl parameter. Remove this item after reporting the result. ``` - If the user explicitly requests a timed check, use a cronjob instead of HEARTBEAT.md. - The script tracks pending jobs in `memory/pending-batch-jobs.json`. Created on batch submit, removed on `--batch-check` completion. Format: `[{"job_name", "filename", "prompt", "created_at"}]`. File is deleted when empty. API key - `GEMINI_API_KEY` env var - Or set `skills."nano-banana-pro".apiKey` / `skills."nano-banana-pro".env.GEMINI_API_KEY` in `~/.clawdbot/clawdbot.json` Notes - Resolutions: `1K` (default), `2K`, `4K`. - Aspect ratios: `1:1`, `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`, `21:9`. Generation only (ignored for editing). - Use timestamps in filenames: `YYYYMMDD-hhmmss-name.png`. - The script outputs the saved file path. To send images via messaging channels, use the `mediaUrl` parameter in your channel action (e.g., `mediaUrl: "/absolute/path/to/output.png"`). - Do not read the image back; report the saved path and use it with mediaUrl to deliver the image to the user.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 nano-banana-pro-enhanced-1776420090 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 nano-banana-pro-enhanced-1776420090 技能

通过命令行安装

skillhub install nano-banana-pro-enhanced-1776420090

下载 Zip 包

⬇ 下载 nano-banana-pro-enhanced v1.0.1

文件大小: 7.05 KB | 发布时间: 2026-4-17 18:23

v1.0.1 最新 2026-4-17 18:23
- Clarified batch job checklist: now requires including the reason/context for the image request in HEARTBEAT.md, so intent is clear after session resets.
- No code or logic changes; documentation update only.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部