Token导航 LogoToken导航

Agent Skill · 效率

ai-nano-banana-ima(ai 纳米香蕉 ima)

ai-nano-banana-ima 用于处理图像、截图、视觉识别或图片素材相关工作,适合在 OpenClaw 中需要让 Agent 分析图片、整理视觉素材或辅助图像流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ai-nano-banana-ima 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 4,142。

总安装 14,247周安装 612GitHub Stars 公开资料未说明下载 4,994核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.9

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install ai-nano-banana-ima

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

该技能专用于生成 Nano Banana 主题的图像内容。支持文本转图像与图像转图像两种模式,基于 Gemini 模型。适用于需要特定风格插画或测试图像生成的场景。ai-nano-banana-ima 属于效率类 Skill,可作为该场景下的辅助能力补充。使用预算型与高性能模型可选,注意 API 调用配额限制。

集成于 OpenClaw,通过 clawhub 安装后直接调用生成服务。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install ai-nano-banana-ima;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ai-nano-banana-ima 怎么安装?

在终端执行 openclaw skills install ai-nano-banana-ima。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ai-nano-banana-ima 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ai-nano-banana-ima 需要什么权限?

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

ai-nano-banana-ima 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ai-nano-banana-ima 用的人多吗?

公开数据是累计安装 14,247 次,近一周安装 612 次,下载 4,994 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ai-nano-banana-ima 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
ai-nano-banana-ima

ai 纳米香蕉 ima · 本页

14,247—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
IMA Nano Banana Image Generator
version
1.1.0
category
file-generation
author
IMA Studio (imastudio.com)
keywords
nano banana, nano banana 2, nano banana pro, image generation, gemini image, text to image, image to image, ima studio, ai-nano-banana
argument-hint
[text prompt or image URL]
description
>
requires
env
primaryCredential
IMA_API_KEY
credentialNote
>
persistence
readWrite
retention
Logs are auto-cleaned after 7 days; preferences remain until user deletes them.

IMA Nano Banana Image Generator

Scope

This skill is for IMA Open API image generation with strict Nano Banana scope:

  • Task types: text_to_image, image_to_image
  • Allowed model IDs only:

- gemini-3.1-flash-image - gemini-3-pro-image

  • Always execute through bundled script: scripts/ima_image_create.py

Out of scope:

  • Video or non-image tasks
  • Non-IMA providers
  • Non-Nano-Banana model families (for example SeeDream, Midjourney)
  • Handcrafted API requests (do not bypass script)

Quick Runbook (Authoritative)

If any later section conflicts with this runbook, follow this runbook.

  1. Confirm request is in scope (IMA + Nano Banana image generation/editing).
  2. Resolve task_type:

- No reference image -> text_to_image - With reference image/edit request -> image_to_image

  1. Resolve model:

- Premium/best quality -> gemini-3-pro-image - Cheapest/budget -> gemini-3.1-flash-image + --size 512 - Otherwise -> gemini-3.1-flash-image

  1. Resolve parameters:

- Size -> --size (512,1K,2K,4K) - Ratio -> --extra-params JSON (for example {"aspect_ratio":"16:9"})

  1. If user asks 8K, explain unsupported and downgrade to 4K.
  2. For image_to_image, require at least one input image.
  3. For remote image URLs:

- Prefer https:// - If user gives http://, ask for https:// URL or local file

  1. Endpoint policy is fixed:

- Main API: https://api.imastudio.com - Upload API: https://imapi.liveme.com - No CLI/env override for these domains in this skill.

  1. Run only scripts/ima_image_create.py; do not call API endpoints manually.
  2. Use messaging Step 0-4 flow. If message tool is unavailable, use normal replies with same content.
  3. On success, prefer rendered media output; if media unsupported, return URL + model + elapsed/credit summary.

FAQ (For Ambiguous Inputs)

Q1) How to map intent to task_type?

Situationtask_type
Prompt-only generationtext_to_image
Edit/transform from URL/local imageimage_to_image

Q2) How to map user wording to model?

User wordingmodel_idExtra rule
默认 / 平衡 / Banana2 / NB2gemini-3.1-flash-imagenone
最便宜 / budget / cheapgemini-3.1-flash-imageforce --size 512
最好 / 高质量 / Pro / premiumgemini-3-pro-imagenone

Q3) How to set ratio and size?

TargetSetting
Size (512,1K,2K,4K)--size
Aspect ratio (1:1,16:9,9:16,4:3,3:4)--extra-params '{"aspect_ratio":"16:9"}'

8K is not supported; downgrade to 4K.

Q4) What placeholder substitutions are required?

  • {baseDir} -> current skill root path
  • {user_id} -> real user/session id string

User-Facing Messaging Protocol

Step 0: Acknowledge immediately

Use a short warm reply in user language, for example:

  • 收到,马上开始生成。
  • OK, generating now.

Step 1: Start notification

🎨 开始生成图片,请稍候…
• 模型:[Model Name]
• 预计耗时:[X~Y 秒]
• 消耗积分:[N pts]

Step 2: Progress notification

ModelTypical DurationPoll IntervalPush Interval
gemini-3.1-flash-image20–40s5s15s
gemini-3-pro-image60–120s5s30s

Progress format:

⏳ 正在生成中… [P]%
已等待 [elapsed]s,预计最长 [max]s

P = min(95, floor(elapsed / max * 100)) until success.

Step 3: Success notification

✅ 图片生成成功!
• 模型:[Model Name]
• 耗时:预计 [X~Y]s,实际 [actual]s
• 消耗积分:[N pts]
🔗 原始链接:{image_url}

Prefer media attachment; fallback to plain text message if media is not supported.

Step 4: Failure notification

❌ 图片生成失败
• 原因:[natural language reason]
• 建议:[retry strategy or model switch]
需要我帮你重试吗?

After Step 4, stop. Do not send duplicate completion messages.

Command Templates (Minimal)

# 1) List models
python3 {baseDir}/scripts/ima_image_create.py \
  --api-key "$IMA_API_KEY" \
  --task-type text_to_image \
  --list-models

# 2) text_to_image (default/premium/budget/ratio via params)
python3 {baseDir}/scripts/ima_image_create.py \
  --api-key "$IMA_API_KEY" \
  --task-type text_to_image \
  --model-id gemini-3.1-flash-image \
  --prompt "a cute puppy on grass" \
  --size 1K \
  --extra-params '{"aspect_ratio":"1:1"}' \
  --user-id {user_id} \
  --output-json
# Notes:
# - Premium: set --model-id gemini-3-pro-image
# - Cheapest: keep flash model and set --size 512

# 3) image_to_image with remote URL input
python3 {baseDir}/scripts/ima_image_create.py \
  --api-key "$IMA_API_KEY" \
  --task-type image_to_image \
  --model-id gemini-3.1-flash-image \
  --prompt "turn into oil painting" \
  --input-images "https://example.com/photo.jpg" \
  --user-id {user_id} \
  --output-json

# 4) image_to_image with local file input
python3 {baseDir}/scripts/ima_image_create.py \
  --api-key "$IMA_API_KEY" \
  --task-type image_to_image \
  --model-id gemini-3.1-flash-image \
  --prompt "turn into oil painting" \
  --input-images "./local-photo.jpg" \
  --user-id {user_id} \
  --output-json

Security And Data Handling

Network domains

DomainUsageTrigger
api.imastudio.comProduct list, create task, poll detailAll generation tasks
imapi.liveme.comUpload token + file uploadimage_to_image with local files

Why two domains?

  • api.imastudio.com: IMA's image generation API (handles task orchestration)
  • imapi.liveme.com: IMA's media storage infrastructure (handles large file uploads)
  • Both services are owned and operated by IMA Studio

Credential flow

CredentialWhere SentWhy
IMA_API_KEYapi.imastudio.comOpen API auth (Authorization: Bearer ...)
IMA_API_KEYimapi.liveme.comUpload-token auth for local image uploads

Notes:

  • Upload signing uses shared built-in credentials (same as ima-image-ai skill).
  • No API key is sent to presigned upload hosts during binary upload.
  • API domains are fixed in script and not user-overridable.
  • Never print or persist raw API keys in chat or repo files.

Local persistence

PathPurposeRetention
~/.openclaw/memory/ima_prefs.jsonPer-user model preference cacheUntil removed
~/.openclaw/logs/ima_skills/Operational logsAuto-cleaned after 7 days

Error Handling Playbook

Error patternUser-facing explanationSuggested action
401 / unauthorizedAPI key invalid or unauthorizedRegenerate key: https://www.imaclaw.ai/imaclaw/apikey
4008 / insufficient pointsCredits are insufficientRecharge: https://www.imaclaw.ai/imaclaw/subscription
6009 / 6010 / invalid attributeParameter-rule mismatchRetry with defaults or lower complexity
timeoutTask took too longRetry with faster/lower-cost setup
network / rate limitTemporary connectivity/limit issueWait and retry

Fallback messages:

  • Chinese: 图片生成遇到问题,请稍后重试或换个模型试试。
  • English: Image generation encountered an issue, please retry or switch model.

Quick Defaults

  1. Default model: gemini-3.1-flash-image
  2. Premium model: gemini-3-pro-image
  3. Cheapest profile: flash model + --size 512
  4. Max output: 4K
  5. Recommended ratios: 1:1, 16:9, 9:16, 4:3, 3:4

平台分布

OpenClaw

92.15%
按下载量换算4,602

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills