Integration
Poe Image
OpenClaw plugin for image generation via Poe API — nano-banana-2, flux, seedream, dalle-3, and more
Install
openclaw plugins install @imcaptor/openclaw-poe-image
README
[English](./README_en.md) | [中文](./README.md)
# @imcaptor/openclaw-poe-image
通过 [Poe API](https://poe.com/docs) 为 OpenClaw 提供图片生成能力的插件。
一个 API key 即可使用多种模型:nano-banana-2、flux-1、flux-2-pro、seedream-4.0、dalle-3 等。
## 安装
```bash
openclaw plugins install @imcaptor/openclaw-poe-image
```
## 配置
设置 Poe API key:
```bash
export POE_API_KEY="your-key-here"
```
或通过 OpenClaw 命令配置:
```bash
openclaw config set plugins.entries.poe-image.config.poeApiKey "your-key-here"
```
## 使用
安装后,`image_generate` 工具会自动将 Poe 加入可用的图片生成 provider。直接让 agent 生成图片即可:
```
用 poe/nano-banana-2 生成一只可爱的猫咪
```
也可以将 Poe 设为默认图片生成 provider:
```json5
{
agents: {
defaults: {
imageGenerationModel: {
primary: "poe/nano-banana-2",
},
},
},
}
```
或使用命令行:
```bash
openclaw config set agents.defaults.imageGenerationModel.primary "poe/nano-banana-2"
```
### 支持的模型
| 模型 | 速度 | 质量 | 成本 | 适用场景 |
|------|------|------|------|----------|
| `nano-banana-2` | 最快 | 良好 | 最便宜 | 快速测试、批量生成 |
| `nano-banana` | 很快 | 良好 | 便宜 | 快速迭代 |
| `flux-1` | 中等 | 优秀 | 适中 | 专业创意作品 |
| `flux-2-pro` | 较慢 | 超高 | 较贵 | 逼真照片级图片 |
| `flux-kontext-pro` | 较慢 | 超高 | 较贵 | 布局控制、参考图引导 |
| `flux-schnell` | 快 | 很好 | 适中 | 质量与速度平衡 |
| `seedream-4.0` | 中等 | 良好 | 便宜 | 中文提示、国画、文化艺术 |
| `seedream-4.5` | 中等 | 很好 | 适中 | 中文文字渲染 |
| `dalle-3` | 中等 | 优秀 | 较贵 | 精确控制、图片编辑 |
| `gpt-image-1.5` | 中等 | 优秀 | 较贵 | 指令跟随、文字渲染 |
| `stable-diffusion-xl` | 中等 | 良好 | 便宜 | 开源工作流 |
### 指定模型
```
用 poe/flux-2-pro 生成一张逼真的人像
```
### 图片编辑
部分模型(dalle-3、gpt-image-1.5、flux-kontext-pro)支持基于参考图的编辑:
```
把这张照片变成水彩画风格
```
## 许可证
MIT
integration
Comments
Sign in to leave a comment