据 AlphaMoat 统计,截至 2026-09,Gemini Image Proxy 累计下载 2,534 次、获 4 个星标,在全部 5,078 个 AI 技能中排名第 4,074 位,在「设计创意」分类(512 个)中排名第 394 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 77 | 2,379 | 4 | - |
| SkillHub ↗ | 217 | 2,534 | 4 | — |
各平台的计数口径不同,统计时间不一致。
该技能使用 OpenAI 兼容接口连接图像模型,可根据文本提示生成新图,也可在提供原图后进行编辑。主文要求安装 OpenAI SDK,并配置代理 API key 和 base URL;列出的输入格式包括 PNG、JPG、JPEG、GIF 与 WEBP。提示词和图片会发送给所配置的代理/模型服务;只提交获准远程处理的素材,并妥善保护 API key。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 2,534 | — | 4 |
| 2026-08 | 2,297 | +3.3% | 4 |
| 2026-07 | 2,223 | +8.7% | 4 |
| 2026-06 | 2,046 | +4.5% | 4 |
| 2026-05 | 1,958 | — | 4 |
| 2026-03 | 1,747 | — | 4 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
---
name: gemini-image-proxy
version: 1.0.0
description: Generate and edit images with Gemini API using the OpenAI Python SDK.
metadata:
openclaw:
emoji: "🎨"
requires:
env: ["GOOGLE_PROXY_API_KEY", "GOOGLE_PROXY_BASE_URL"]
---
# Gemini Image Simple
Generate and edit images using **Gemini 3 Pro Image** via the OpenAI Python SDK and an OpenAI-compatible API endpoint.
## Why This Skill
| Feature | This Skill | Others (nano-banana-pro, etc.) |
| ------------------------ | ------------------------- | ------------------------------ |
| **Dependencies** | openai (SDK) | google-genai, pillow, etc. |
| **Requires pip/uv** | ✅ Yes | ✅ Yes |
| **Works on Fly.io free** | ✅ Yes (with pip) | ❌ Fails |
| **Works in containers** | ✅ Yes (with pip) | ❌ Often fails |
| **Image generation** | ✅ Full | ✅ Full |
| **Image editing** | ✅ Yes | ✅ Yes |
| **Setup complexity** | Install SDK + set API key | Install packages first |
**Bottom line:** This skill uses the OpenAI SDK, so you must install `openai` once with pip.
## Install
```bash
python3 -m pip install openai
```
## Quick Start
```bash
# Set env
export GOOGLE_PROXY_API_KEY="your_api_key"
export GOOGLE_PROXY_BASE_URL="https://example.com/v1"
# Generate
python3 /data/clawd/skills/gemini-image-simple/scripts/generate.py "A cat wearing a tiny hat" cat.png
# Edit existing image
python3 /data/clawd/skills/gemini-image-simple/scripts/generate.py "Make it sunset lighting" edited.png --input original.png
```
## Usage
### Generate new image
```bash
python3 {baseDir}/scripts/generate.py "your prompt" output.png
```
### Edit existing image
```bash
python3 {baseDir}/scripts/generate.py "edit instructions" output.png --input source.png
```
Supported input formats: PNG, JPG, JPEG, GIF, WEBP
## Environment
Set these environment variables:
- `GOOGLE_PROXY_API_KEY` (your API key)
- `GOOGLE_PROXY_BASE_URL` (OpenAI-compatible base URL, e.g. https://example.com/v1)
## How It Works
Uses **Gemini 3 Pro Image** (`gemini-3-pro-image`) via the OpenAI Python SDK:
- `client.images.generate(...)` for new images
- `client.images.edits(...)` for edits
- Requires the `openai` package
That's it. Works on any Python 3.10+ installation with `openai` installed.
## Model
Currently using: `gemini-3-pro-image`
Other available models (can be changed in generate.py if needed):
- `gemini-3-pro-image-preview` - Preview variant
- `imagen-4.0-ultra-generate-001` - Imagen 4.0 Ultra
- `imagen-4.0-generate-001` - Imagen 4.0
- `gemini-2.5-flash-image` - Gemini 2.5 Flash with image gen
## Examples
```bash
# Landscape
python3 {baseDir}/scripts/generate.py "Misty mountains at sunrise, photorealistic" mountains.png
# Product shot
python3 {baseDir}/scripts/generate.py "Minimalist product photo of a coffee cup, white background" coffee.png
# Edit: change style
python3 {baseDir}/scripts/generate.py "Convert to watercolor painting style" watercolor.png --input photo.jpg
# Edit: add element
python3 {baseDir}/scripts/generate.py "Add a rainbow in the sky" rainbow.png --input landscape.png
```
ContextWeave 架构图一键生成
用 Nano Banana Pro 生成或编辑图片的脚本技能。
用 whisper 命令行在本地把音频转写成文字或做翻译的技能。
通过 MCP 服务生成与编辑图表的技能。
面向界面设计的思路与落地建议技能,覆盖布局、交互流程、设计令牌与前端改动。
面向多家视频模型 API 的 AI 视频生成与编排技能。
用 ffmpeg 从视频里取出画面帧,或生成便于快速查看的缩略图。
用本地 Whisper 把音频文件转成文字,模型下载完成后可完全离线运行。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。