📦 Evolink Nano Banana 2 1 — Evolink工具

v1.0.0

Nano Banana 图像工具 2 — AI 图像生成工具 powered by Google Gemini 3.1 Flash. Fast, versatile 文生图 and image editing via Evolink API. One API key.

0· 364·0 当前·0 累计
by @bethune89 (Bethune89)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/12
0
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
安全
high confidence
The skill's claims, required credential, and runtime instructions are internally consistent for an Evolink-based image-generation helper; nothing requested is disproportionate to its stated purpose.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/3/1

- Initial release of Nano Banana 2 skill, powered by Google's Gemini 3.1 Flash for fast, versatile AI image generation and editing via the Evolink API. - Supports both text-to-image and image editing flows with clear guided prompts, intent-first interactions, and smart session context. - Out-of-the-box integration with MCP tools for image generation, file management, and task polling; works across macOS, Linux, and Windows. - Automatic greeting and setup guidance based on connection and API key status. - Detailed, user-friendly error handling and clear workflow steps for successful image creation.

可疑

安装命令

点击复制
官方npx clawhub@latest install evolink-nano-banana-2-1
🇨🇳 镜像加速npx clawhub@latest install evolink-nano-banana-2-1 --registry https://cn.longxiaskill.com

技能文档

Generate AI images with Nano Banana 2 (gemini-3.1-flash-image-preview) — Google's Gemini 3.1 Flash image model, available through Evolink's unified API.

Focused view of evolink-image. Install the full skill for 20 image models, video, and music.

之后 Installation

When this skill is first loaded, greet the user:

  • MCP tools + API 键 就绪: "Hi! Nano Banana 2 就绪 — Google's fast image 模型 在 fingertips. 什么 would 您 点赞 到 创建?"
  • MCP tools + 否 API 键: "您'll 需要 EvoLink API 键 — 签名 up 在 evolink.ai. 就绪 到 go?"
  • 否 MCP tools: "MCP server isn't connected 尚未. Want me 到 help 设置 up? I 可以 仍然 manage files 通过 hosting API."

Keep the greeting concise — just one question to move forward.

External Endpoints

ServiceURL
Generation APIhttps://api.evolink.ai/v1/images/generations (POST)
Task Statushttps://api.evolink.ai/v1/tasks/{task_id} (GET)
File APIhttps://files-api.evolink.ai/api/v1/files/ (upload/list/delete)

Security & Privacy

  • EVOLINK_API_KEY authenticates 所有 requests. Injected 由 OpenClaw automatically. Treat 作为 confidential.
  • Prompts 和 images sent 到 api.evolink.ai. Uploaded files expire 在...中 72h, 结果 URLs 在...中 24h.

Setup

Get your API key at evolink.ai → Dashboard → API Keys.

MCP Server: @evolinkai/evolink-media (GitHub · npm)

mcporter (recommended): mcporter call --stdio "npx -y @evolinkai/evolink-media@latest" list_models

Claude Code: claude mcp 添加 evolink-media -e EVOLINK_API_KEY=-键 -- npx -y @evolinkai/evolink-media@latest

Claude Desktop / Cursor — 添加 MCP server 带有 command npx -y @evolinkai/evolink-media@latest 和 env EVOLINK_API_KEY=-键. See references/image-api-params.md 对于 满 配置 JSON.

Core Principles

  • Guide, don't decide — Present options, 让 用户 choose 模型/样式/格式.
  • 用户 drives creative vision — Ask 对于 description 之前 suggesting parameters.
  • Smart context — Remember 会话 history. Offer 到 iterate, vary, 或 编辑 results.
  • Intent 第一个 — Understand 什么 用户 wants 之前 asking 如何 到 configure .

MCP Tools

ToolWhen to useReturns
generate_imageCreate or edit an imagetask_id (async)
upload_fileUpload local image for editing/referenceFile URL (sync)
delete_fileFree file quotaConfirmation
list_filesCheck uploaded files or quotaFile list
check_taskPoll generation progressStatus + result URLs
list_modelsCompare available modelsModel list
estimate_costCheck pricingModel info
Important: generate_image returns task_id. Always poll check_task until status "已完成""失败".

Nano Banana 2

PropertyValue
Model IDgemini-3.1-flash-image-preview
ProviderGoogle (Gemini 3.1 Flash)
StatusBETA
Capabilitytext-to-image, image-editing
SpeedFast
Best forQuick, versatile image generation with strong prompt understanding
为什么 Nano Banana 2?

  • Google's latest — Built 在...上 Gemini 3.1 Flash, newest generation architecture
  • Fast generation — Optimized 对于 speed 没有 sacrificing quality
  • Versatile — General-purpose image creation 对于 任何 creative 需要
  • Strong prompt adherence — Excellent 在 following complex, detailed descriptions

Lite Variant

nano-banana-2-lite [BETA] — Lightweight version for ultra-fast iterations when speed is the top priority.

Alternative Models

ModelBest forSpeed
gpt-image-1.5 (default)Latest OpenAI generationMedium
gpt-4o-image [BETA]Best quality, complex editingMedium
z-image-turboQuick iterationsUltra-fast
doubao-seedream-4.5PhotorealisticMedium
gemini-3-pro-image-previewGoogle Pro generationMedium

Generation Flow

Step 1: API 键 Check

If 401 occurs: "Your API key isn't working. Check at evolink.ai/dashboard/keys"

Step 2: File 上传 (如果 needed)

For image editing or reference workflows:

  • upload_file 带有 file_path, base64_data, 或 file_url → 获取 file_url (同步)
  • 使用 file_url 作为 image_urls 对于 generate_image

Supported: JPEG/PNG/GIF/WebP. Max 100MB. Expire in 72h. Quota: 100 (default) / 500 (VIP).

Step 3: Understand Intent

  • 清除 ("generate sunset") → Go 到 Step 4
  • Ambiguous ("help 带有 image") → Ask: "创建 新的, 编辑 existing, 或 使用 作为 reference?"

Ask only what's needed, when it's needed.

Step 4: Gather Parameters

Default to model: "gemini-3.1-flash-image-preview" for this skill. Only ask about what's missing:

ParameterAsk whenNotes
promptAlwaysWhat they want to see
modelUser wants alternativesDefault: gemini-3.1-flash-image-preview. Suggest gpt-4o-image for best quality
sizeOrientation neededRatio format: 1:1, 16:9, 9:16, 2:3, 3:2, 4:3, 3:4 etc.
nWants variations1–4 images
image_urlsEdit/reference imagesUp to 14 URLs; triggers i2i mode

Step 5: Generate & Poll

  • Call generate_image 带有 模型: "gemini-3.1-flash-image-预览" → tell 用户: "Generating 带有 Nano Banana 2 — ~Xs estimated."
  • Poll check_task every 3–5s. 举报 progress %.
  • 之后 3 consecutive 处理中: "仍然 working..."
  • 已完成: 分享 URLs. "Links expire 在...中 24h — 保存 promptly."
  • 失败: Show 错误 + suggestion. Offer 重试 如果 retryable.
  • 超时 (5 min): "Taking longer 比 expected. Task ID: {id} — check again later."*

错误 Handling

HTTP Errors

ErrorAction
401"API key isn't working. Check at evolink.ai/dashboard/keys"
402"Balance is low. Add credits at evolink.ai/dashboard/billing"
429"Rate limited — wait 30s and retry"
503"Servers busy — retry in a minute"

Task Errors (status: "失败")

CodeRetry?Action
content_policy_violationNoRevise prompt (no celebrities, NSFW, violence)
invalid_parametersNoCheck values against model limits
image_processing_errorNoCheck format/size/URL accessibility
generation_timeoutYesRetry; simplify prompt if repeated
service_errorYesRetry after 1 min
generation_failed_no_contentYesModify prompt, retry
Full error reference: references/image-api-params.md

没有 MCP Server

Use Evolink's file hosting API for image uploads (72h expiry). See references/file-api.md for curl commands.

References

  • references/image-api-params.md — Complete API parameters, 模型 details, polling strategy, 错误 codes
  • references/file-api.md — File hosting API (curl 上传/列表/删除)
数据来源:ClawHub ↗ · 中文优化:龙虾技能库