闲社服务运行正常AI智能体自动化平台
u

统一图像生成

技能标识:uni-image

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

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

统一图像生成

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

面向 OpenClaw 的多平台 AI 图片生成技能。支持通过绘画页面上的下拉模型选择器切换提供商。

支持的平台

模型 ID显示名称提供商描述
doubao-seedream-5-0-260128Seedream 5.0火山引擎方舟多角色超强一致性,中文处理能力极强
qwen-image-plus
通义千问图像 | 阿里云百炼 | 单图一致性强,适合中文相关的多图处理场景 | | gemini-3-pro-image-preview | 香蕉 Pro | Google Gemini | 最强修图模型,适合电商和专业设计 | | gemini-3.1-flash-image-preview | 香蕉 V2 | Google Gemini | 最新香蕉模型,极致速度和超高性价比 |

架构

渲染器(绘画页面)
↓ fetch(/v1/images/generations)
↓ [fetch 拦截器重写 URL + 模型]
UniImage 代理(端口 18800)
├── 火山引擎方舟 API(Seedream)
├── 阿里云百炼 API(通义千问图像,异步轮询)
└── Google Gemini API(纳米香蕉)

文件

  • - uni-image-proxy.js — 支持多提供商路由的 HTTP 代理服务器
  • uni-image-inject.js — 渲染器注入脚本(fetch 包装器 + 模型选择器 UI)
  • SKILL.md — 技能清单文件

配置

通过绘画页面上的 🔑 按钮配置 API 密钥,或设置环境变量:

bash

火山引擎方舟(Seedream)


ARKAPIKEY=your-volcengine-key

阿里云百炼(通义千问图像)

DASHSCOPEIMAGEKEY=your-dashscope-key

Google AI(纳米香蕉 / Gemini)

GOOGLEAPIKEY=your-google-api-key

密钥存储在 ~/.openclaw-dev/uni-image-config.json 文件中。

使用方法

  1. 1. 导航到绘画助手页面
  2. 从模型平台下拉菜单中选择一个模型
  3. 点击 🔑 配置所选提供商的 API 密钥
  4. 输入提示词并生成图片

运行(命令行)

bash

Seedream(默认)


node {baseDir}/../../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:一只可爱的猫,size:1024x1024}

通义千问图像

curl -X POST http://127.0.0.1:18800/v1/images/generations \ -H Content-Type: application/json \ -d {model:qwen-image-plus,prompt:一只可爱的猫,size:1024*1024}

Google Gemini(纳米香蕉)

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:一只可爱的猫}

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 uni-image-1776117001 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 uni-image-1776117001 技能

通过命令行安装

skillhub install uni-image-1776117001

下载

⬇ 下载 uni-image v1.0.0(免费)

文件大小: 2.06 KB | 发布时间: 2026-4-14 12:40

v1.0.0 最新 2026-4-14 12:40
- Initial release of UniImage: unified multi-platform AI image generation.
- Supports Volcengine Seedream, Alibaba Qwen Image, and Google Gemini (Nano Banana) providers.
- Add dropdown selector on the paint page for easy switching between image generation models.
- Proxy server routes requests to the appropriate provider API based on model selection.
- API key configuration via UI or environment variables.
- Includes CLI usage examples and setup instructions.
返回顶部