Task Router Skill
Task Router
Nano Banana 生图联调
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install flywhale-666/nano-banana-image-t8-alluseInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
用户要求验证 nano-banana-2(或兼容模型)是否可用,并需要文生图和图生图的真实调用结果。
使用技能自带脚本执行联调(优先):
~/.whaleclaw/workspace/skills/nano-banana-image-t8/scripts/test_nano_banana_2.py
scripts/test_nano_banana_2.py
input/getpass)。file_write 生成 Python 脚本,不允许手写 curl 直连接口。https://ai.t8star.cn,禁止改为其它域名(如 api.nanobanana.ai)。--api-key 或环境变量传入;脚本会落盘到 ~/.whaleclaw/credentials/nano_banana_api_key.txt(权限 600)。文生图 / 图生图 / 都测试。--prompt)。--input-image 可重复);按接收顺序编号:第一张=图1,第二张=图2。~/.whaleclaw/workspace/nano_banana_test/(固定用户目录,不依赖当前项目 cwd)。NANO_BANANA_API_KEY
~/.whaleclaw/credentials/nano_banana_api_key.txt
test_nano_banana_2.py --check-key;禁止扫描其它项目目录或 .env 文件。sk- 开头 Key:/use nano-banana-image-t8
nanobanana/nano-banana 且语义是文生图/图生图These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# Nano Banana 生图联调 ## 触发条件 用户要求验证 `nano-banana-2`(或兼容模型)是否可用,并需要文生图和图生图的真实调用结果。 ## 指令 使用技能自带脚本执行联调(优先): - `~/.whaleclaw/workspace/skills/nano-banana-image-t8/scripts/test_nano_banana_2.py` - 若当前在 WhaleClaw 仓库内,也可用仓库脚本 `scripts/test_nano_banana_2.py` 1. WebChat 场景必须使用“对话参数驱动”,禁止依赖脚本后台交互输入(`input/getpass`)。 2. 必须只使用本技能脚本执行,不允许临时 `file_write` 生成 Python 脚本,不允许手写 `curl` 直连接口。 3. API 基地址固定为 `https://ai.t8star.cn`,禁止改为其它域名(如 `api.nanobanana.ai`)。 4. API Key 来自用户对话消息,执行时通过 `--api-key` 或环境变量传入;脚本会落盘到 `~/.whaleclaw/credentials/nano_banana_api_key.txt`(权限 600)。 5. 下次若用户未提供 Key,可直接使用已保存 Key;若用户提供新 Key,覆盖保存。 6. 模式来自用户对话:`文生图` / `图生图` / `都测试`。 7. 文生图只取用户提示词(`--prompt`)。 8. 图生图取用户提示词 + 用户上传图片路径(`--input-image` 可重复);按接收顺序编号:第一张=图1,第二张=图2。 9. 输出文件目录默认 `~/.whaleclaw/workspace/nano_banana_test/`(固定用户目录,不依赖当前项目 cwd)。 10. 用户若写了尺寸/比例(例如“4:3”“16:9”“1024x1024”),直接透传到脚本参数,不再重复追问。 11. 当用户只说“我要做文生图/图生图”时,只追问缺失的必要参数,不要给与 ComfyUI、本地部署、OpenAI 方案选择题。 12. 文生图最小必填:提示词(其余如尺寸/模型可用默认值);图生图最小必填:提示词 + 至少1张图片。 13. 回答风格简短直接,优先执行,不写长篇计划。 14. 当用户要求“先查有没有 API Key”时,只允许检查以下来源: - 环境变量 `NANO_BANANA_API_KEY` - 保存文件 `~/.whaleclaw/credentials/nano_banana_api_key.txt` 15. Key 检查必须优先调用脚本:`test_nano_banana_2.py --check-key`;禁止扫描其它项目目录或 `.env` 文件。 16. 仅在以下任一条件满足时,才允许提取并保存 `sk-` 开头 Key: - 用户显式发送 `/use nano-banana-image-t8` - 同一条消息明确包含 `nanobanana`/`nano-banana` 且语义是文生图/图生图 17. 非本技能场景(如用户在处理其它任务时提到 API Key)禁止捕获、禁止保存该 Key...
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.