搜索

PythonReactSEOPDF
OpenClaw

IMA Nano Banana

Image generation with IMA Open API using only Nano Banana series: Nano Banana, Nano Banana Pro, Nano Banana 2. Budget (Nano Banana2 512px), balanced (Nano Banana2/Pro), premium (Nano Banana Pro 4K). Native aspect_ratio (1:1, 16:9, 9:16, 4:3, 3:4). Requires ima_* API key. Bundled script: scripts/ima_image_create.py.

allenfancy-gan0 来源安装数☆ 0 仓库 Starsv1.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install allenfancy-gan/ai-nano-banana-ima

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

IMA Nano Banana (Image Generation)

Overview

This skill calls the IMA Open API for image generation using only the Nano Banana series: Nano Banana, Nano Banana Pro, Nano Banana 2. No other models (e.g. SeeDream, Midjourney) are used or documented here.

Supported task types: text_to_image, image_to_image.


📥 User Input Parsing (Model & Parameter Recognition)

Normalize user wording (case-insensitive), then map to task_type, model_id, and parameters.

1. User phrasing → task_type
User intent / phrasing task_type Notes
Only text, no input image text_to_image "画一张…" / "生成图片" / "text to image"
One input image + edit/transform image_to_image "把这张图…" / "参考这张图生成" / "图生图" / "风格迁移"

If the user attaches or links one image and asks to change it or generate something "like this", use image_to_image with that image as input.

2. Model name / alias → model_id (Nano Banana only)
User says (examples) model_id Notes
Nano Banana / 香蕉 / Banana2 / NB2 / 最便宜 / budget gemini-3.1-flash-image Nano Banana2, 4–13 pts
Nano Banana Pro / Banana Pro / NB Pro / 最好 / premium gemini-3-pro-image 10–18 pts
默认 / 不指定 gemini-3.1-flash-image Default: balanced, fast
3. User phrasing → size / aspect_ratio
User says (examples) Parameter Normalized value Notes
16:9 / 横图 / 9:16 / 竖图 / 4:3 / 3:4 / 1:1 aspect_ratio 16:9, 9:16, 4:3, 3:4, 1:1 Native support
4K / 2K / 1K / 512 size 4K, 2K, 1K, 512px Via attribute_id

Nano Banana 系列均原生支持 aspect_ratio。8K 不支持,最高 4K;若用户要求 8K,告知并改用 4K。


💬 User Experience Protocol (IM / Feishu / Discord)

This skill runs inside IM platforms (Feishu, Discord via OpenClaw).
**Never...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/allenfancy-gan/ai-nano-banana-ima
Version
1.0.0
Commit
940488d900b756a6c77116fc4c03d18031fd841d
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# IMA Nano Banana (Image Generation)

## Overview

This skill calls the IMA Open API for **image generation** using **only the Nano Banana series**: **Nano Banana**, **Nano Banana Pro**, **Nano Banana 2**. No other models (e.g. SeeDream, Midjourney) are used or documented here.

**Supported task types:** `text_to_image`, `image_to_image`.

---

## 📥 User Input Parsing (Model & Parameter Recognition)

Normalize user wording (case-insensitive), then map to **task_type**, **model_id**, and **parameters**.

### 1. User phrasing → task_type

| User intent / phrasing | task_type | Notes |
|------------------------|-----------|--------|
| Only text, no input image | `text_to_image` | "画一张…" / "生成图片" / "text to image" |
| One input image + edit/transform | `image_to_image` | "把这张图…" / "参考这张图生成" / "图生图" / "风格迁移" |

If the user attaches or links one image and asks to change it or generate something "like this", use `image_to_image` with that image as input.

### 2. Model name / alias → model_id (Nano Banana only)

| User says (examples) | model_id | Notes |
|----------------------|----------|--------|
| Nano Banana / 香蕉 / Banana2 / NB2 / 最便宜 / budget | `gemini-3.1-flash-image` | Nano Banana2, 4–13 pts |
| Nano Banana Pro / Banana Pro / NB Pro / 最好 / premium | `gemini-3-pro-image` | 10–18 pts |
| 默认 / 不指定 | `gemini-3.1-flash-image` | Default: balanced, fast |

### 3. User phrasing → size / aspect_ratio

| User says (examples) | Parameter | Normalized value | Notes |
|----------------------|-----------|------------------|-------|
| 16:9 / 横图 / 9:16 / 竖图 / 4:3 / 3:4 / 1:1 | aspect_ratio | 16:9, 9:16, 4:3, 3:4, 1:1 | Native support |
| 4K / 2K / 1K / 512 | size | 4K, 2K, 1K, 512px | Via attribute_id |

Nano Banana 系列均**原生支持** aspect_ratio。**8K** 不支持,最高 4K;若用户要求 8K,告知并改用 4K。

---

## 💬 User Experience Protocol (IM / Feishu / Discord)

This skill runs inside IM platforms (Feishu, Discord via OpenClaw).  
**Never...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.