Search

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 source installs☆ 0 Repository starsv1.0.0

Installation

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 allenfancy-gan/ai-nano-banana-ima

Inspect 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.

View source ↗Guides

Skill instructions

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 information

Source
github
Repository
openclaw/skills
Path
skills/allenfancy-gan/ai-nano-banana-ima
Version
1.0.0
Commit
940488d900b756a6c77116fc4c03d18031fd841d
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

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...

Related skills

OpenClaw

x402hub

capncoconut

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,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.