Skip to content
Back to skills

uni-image

ASecurity

Unified multi-platform AI image generation. Supports Volcengine Seedream, Alibaba Qwen Image, and Google Gemini (Nano Banana). Switch between models with a dropdown selector.

  • 2 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added May 27, 2026
code-qualitygobashnodegitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add sangjiexun/openclaw-skill-UniImage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of uni-image?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for uni-image
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sangjiexun-uni-image/badge)](https://www.skillsdirectory.com/skills/sangjiexun-uni-image)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: uni-image
description: Unified multi-platform AI image generation. Supports Volcengine Seedream, Alibaba Qwen Image, and Google Gemini (Nano Banana). Switch between models with a dropdown selector.
homepage: https://github.com/sangjiexun/openclaw-skill-UniImage
metadata:
  {
    "openclaw":
      {
        "emoji": "🖼️",
        "requires":
          {
            "env":
              [
                "ARK_API_KEY",
                "DASHSCOPE_IMAGE_KEY",
                "GOOGLE_API_KEY",
              ],
          },
        "primaryEnv": "ARK_API_KEY",
      },
  }
---

# UniImage — 统一多平台 AI 图片生成

Multi-platform AI image generation skill for OpenClaw. Supports switching between providers via a dropdown model selector on the paint page.

## Supported Platforms

| Model ID | Display Name | Provider | Description |
|----------|-------------|----------|-------------|
| `doubao-seedream-5-0-260128` | Seedream 5.0 | Volcengine Ark | 多角色超强一致性,中文处理能力极强 |
| `qwen-image-plus` | Qwen Image | Alibaba DashScope | 单图一致性强,适合中文相关的多图处理场景 |
| `gemini-3-pro-image-preview` | 香蕉 Pro | Google Gemini | 最强修图模型,适合电商和专业设计 |
| `gemini-3.1-flash-image-preview` | 香蕉 V2 | Google Gemini | 最新香蕉模型,极致速度和超高性价比 |

## Architecture

```
Renderer (paint page)
  ↓  fetch(/v1/images/generations)
  ↓  [fetch interceptor rewrites URL + model]
UniImage Proxy (port 18800)
  ├── Volcengine Ark API (Seedream)
  ├── DashScope API (Qwen Image, async poll)
  └── Google Gemini API (Nano Banana)
```

## Files

- `uni-image-proxy.js` — HTTP proxy server with multi-provider routing
- `uni-image-inject.js` — Renderer injection script (fetch wrapper + model selector UI)
- `SKILL.md` — This skill manifest

## Configuration

Configure API keys via the 🔑 button on the paint page, or set environment variables:

```bash
# Volcengine Ark (Seedream)
ARK_API_KEY=your-volcengine-key

# Alibaba DashScope (Qwen Image)
DASHSCOPE_IMAGE_KEY=your-dashscope-key

# Google AI (Nano Banana / Gemini)
GOOGLE_API_KEY=your-google-api-key
```

Keys are stored in `~/.openclaw-dev/uni-image-config.json`.

## Usage

1. Navigate to the **绘画助手** (Paint) page
2. Select a model from the **模型平台** dropdown
3. Click **🔑** to configure the API key for the selected provider
4. Enter a prompt and generate images

## Run (CLI)

```bash
# Seedream (default)
node uni-image-proxy.js &
curl -X POST http://127.0.0.1:18800/v1/images/generations \
  -H "Content-Type: application/json" \
  -d '{"model":"doubao-seedream-5-0-260128","prompt":"a cute cat","size":"1024x1024"}'

# Qwen Image
curl -X POST http://127.0.0.1:18800/v1/images/generations \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen-image-plus","prompt":"a cute cat","size":"1024*1024"}'

# Google Gemini (Nano Banana)
curl -X POST http://127.0.0.1:18800/v1/images/generations \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-3.1-flash-image-preview","prompt":"a cute cat"}'
```

Files in this skill

  • README.zh-CN.md5.9 KB
  • SKILL.md3.1 KB
  • logger.js1.1 KB
  • package.json659 B
  • uni-image-inject.js7 KB
  • uni-image-proxy.js14.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…