Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

sudocode-nano-banana2sudocode 纳米香蕉 2

Agent Skill

sudocode-nano-banana2 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,872

周安装

203

GitHub Stars

公开资料未说明

下载量

1,624
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sudocode-nano-banana2(sudocode 纳米香蕉 2)
来源仓库:https://github.com/shengy983/sudocode-nano-banana2
安装命令:
openclaw skills install sudocode-nano-banana2
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install sudocode-nano-banana2

简介

利用 Sudocode 图像服务生成或编辑文本到图像内容。

  • 支持 nano-banana2 模型,适用于创意视觉开发。
  • 可结合提示词生成定制化图像素材。sudocode-nano-banana2 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 需遵守服务条款,不得用于非法或敏感内容。
  • 安装命令:openclaw skills install sudocode-nano-banana2

SKILL.md

name
sudocode-nano-banana2
description
Generate or edit images with Sudocode's nano-banana2 image service. Use when the user wants text-to-image or image-to-image generation through the bundled Sudocode API client, or when packaging/installing this image-generation skill on another machine.

Sudocode Nano Banana2

Generate images from text prompts or edit a local image with a prompt through the remote Sudocode API.

Initialize environment on first run

Before the first real use, check whether the required variables exist:

uv run python <skill_dir>/scripts/init_env.py --check-only

If the check reports missing variables, tell the user to first register at https://sudocode.us and apply for an API key, then run:

uv run python <skill_dir>/scripts/init_env.py

The initializer will prompt for values and persist them to ~/.openclaw/.env.

Use the bundled script

Run:

uv run python <skill_dir>/scripts/sudocode_nano_banana2.py --prompt "..." [--input_image path] [--output path]

Inputs:

  • --prompt: required
  • --input_image: optional local image path for image-to-image editing
  • --output: optional output path, defaults to output.png

Environment:

  • SUDOCODE_IMAGE_API_KEY: required API key; if missing, direct the user to register at https://sudocode.us and apply for an API key first
  • SUDOCODE_BASE_URL: optional API base URL for the remote Sudocode service, defaults to https://sudocode.run

Behavior notes:

  • This skill is an API client, not a local inference model
  • It sends prompts and optional input images to the configured Sudocode endpoint
  • It stores credentials in ~/.openclaw/.env only when the initializer is used
  • It writes generated image files and per-run logs to local disk near the chosen output path

The initializer writes these values into ~/.openclaw/.env so future sessions can reuse them.

Remote API and model naming

This skill is named sudocode-nano-banana2 because it packages Sudocode's Nano Banana 2 image capability for OpenClaw.

The bundled script currently calls the upstream model identifier gemini-3.1-flash-image-preview exposed by the configured Sudocode-compatible endpoint. The skill name and upstream model identifier are intentionally different: one is the packaged skill name, the other is the current backend route used by the service.

If requests is missing, install it with:

uv pip install requests

Packaging and portability

This skill is structured as a standard skill package:

  • SKILL.md: trigger metadata and operating instructions
  • scripts/init_env.py: first-run environment bootstrap helper
  • scripts/sudocode_nano_banana2.py: bundled runtime script

Do not include generated images, logs, or other local run artifacts in the distributable package.

Delivering generated images

When using this skill inside OpenClaw, send the generated file with the message tool so the user can actually receive the image.

Use:

message(action="send", filePath="/absolute/path/to/output.png")

Then reply NO_REPLY to avoid duplicate text.

Do not rely on reading the image file or pasting a local path into chat.

Error handling

If the script exits with code 2, relay this message to the user:

❌ 额度不足或请求过于频繁!
👉 请前往 https://sudocode.us 登录并充值后重试。

For other failures, show the script output directly.

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.09%
按下载量换算1,544

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills