Install
openclaw skills install skill-paintinginterfaceGenerate images using NanaBanana 2 for daily needs or switch to NanaBanana Pro for high-quality, realistic, or final draft artwork.
openclaw skills install skill-paintinginterface调用 NanaBanana 2 和 NanaBanana Pro 生成图片。
| 模型 | 适用场景 | 优先级 |
|---|---|---|
| NanaBanana 2 | 日常绘图、文字图、快速出图、批量生成 | ⭐ 默认优先使用 |
| NanaBanana Pro | 用户明确要求"高质量""写实""最终稿""电影感"时使用 | 备选 |
默认始终使用 NanaBanana 2,除非用户明确要求更高画质才切换到 Pro。
所有接口共用同一密钥:【你的密钥】
https://api.wuyinkeji.com/api/async/image_nanoBanana2【你的密钥】{
"key": "【你的密钥】",
"prompt": "详细的英文图片描述",
"size": "1K",
"aspectRatio": "auto"
}
https://api.wuyinkeji.com/api/async/detail?key=【你的密钥】&id={task_id}【你的密钥】https://api.wuyinkeji.com/api/async/image_nanoBanana_pro【你的密钥】{
"key": "【你的密钥】",
"prompt": "详细的英文图片描述",
"size": "1K",
"aspectRatio": "auto"
}
https://api.wuyinkeji.com/api/async/detail?key=【你的密钥】&id={task_id}【你的密钥】| 参数 | 必填 | 说明 |
|---|---|---|
| prompt | ✅ | 图片描述,务必翻译为英文,越详细越好 |
| size | ❌ | 分辨率,可选 1K / 2K / 4K,默认 1K |
| aspectRatio | ❌ | 画面比例,可选 auto / 1:1 / 16:9 / 9:16 / 4:3 / 3:4 / 3:2 / 2:3 / 5:4 / 4:5 / 21:9,默认 auto |
data.id 获取 task_idcode=200 且 data.status=2 且 data.result 包含图片URL时,视为成功| status | 说明 |
|---|---|
| 0 | 处理中 |
| 1 | 排队中 |
| 2 | ✅ 成功,result字段包含图片URL |
| 3 | 失败,message字段包含错误信息 |
<qqimg>URL</qqimg> 标签发送给用户