sk-xxxxxxxx,我们后面需要用到。.env文件(没有可以创建)中添加两个环境变量# VAPI
VAPI_BASE_URL=https://api.v3.cm/v1
VAPI_API_KEY=sk-xxxxxxVAPI_BASE_URL 可选项配置VAPI_API_KEY 必填,填写您从api.v3.cm获取的apikey。clawhub install vapi-image-gen
# 或
clawhub install popdo/vapi-image-genopenclaw gateway restart| English | 中文 |
|---|---|
| Draw a sunset over the ocean | 画一张海上日落的风景 |
| Generate a cyberpunk city at night | 生成一张赛博朋克风格的城市夜景 |
| Create a cute cartoon cat illustration | 画一只可爱的卡通猫咪插画 |
| English | 中文 |
|---|---|
| Generate a 16:9 wallpaper of a starry sky | 生成一张 16:9 的星空壁纸 |
| Draw a 2:3 portrait of a fantasy warrior | 画一张 2:3 竖版奇幻战士肖像 |
| Create a 1:1 square avatar of a fox in a suit | 画一个穿西装的狐狸头像,1:1 方形 |
| English | 中文 |
|---|---|
| Generate a forest scene and save it | 生成一张森林场景的图片,保存到本地 |
| Draw 3 variations of a mountain landscape and save | 画 3 张山景图,保存到本地 |
| English | 中文 |
|---|---|
| Generate a high-res 4K illustration of a dragon | 用高清 4K 模型画一条龙的插画 |
| Create a 2K detailed city map illustration | 生成一张 2K 高清城市地图插画 |
| Model | Quality | Output |
|---|---|---|
nano-banana | Standard | URL |
nano-banana-pro ⭐ | Better — Default | URL |
nano-banana-2 | Gen 2 | URL |
nano-banana-pro-2k | High-res 2K | URL |
nano-banana-pro-4k | Ultra 4K | URL |
gpt-image-1 | High quality | Saved file |
gpt-image-1.5 | Higher quality | Saved file |
| Flag | Behavior |
|---|---|
| (default) | Returns image URL only, no local file |
--save | Saves to ~/.openclaw/media/ |
--oss | Saves to ~/.openclaw/oss/ |
gpt-image models | Always saved (API returns base64 only) |