Task Router Skill
Task Router
Generate and edit images with Gemini API using pure Python stdlib. Zero dependencies - works on locked-down environments where pip/uv aren't available.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install cluka-399/gemini-image-simple打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) - the highest quality image generation model.
| Feature | This Skill | Others (nano-banana-pro, etc.) |
|---|---|---|
| Dependencies | None (stdlib only) | google-genai, pillow, etc. |
| Requires pip/uv | ❌ No | ✅ Yes |
| Works on Fly.io free | ✅ Yes | ❌ Fails |
| Works in containers | ✅ Yes | ❌ Often fails |
| Image generation | ✅ Full | ✅ Full |
| Image editing | ✅ Yes | ✅ Yes |
| Setup complexity | Just set API key | Install packages first |
Bottom line: This skill works anywhere Python 3 exists. No package managers, no virtual environments, no permission issues.
# 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
python3 {baseDir}/scripts/generate.py "your prompt" output.png
python3 {baseDir}/scripts/generate.py "edit instructions" output.png --input source.png
Supported input formats: PNG, JPG, JPEG, GIF, WEBP
Set GEMINI_API_KEY environment variable. Get one at https://aistudio.google.com/apikey
Uses Nano Banana Pro (nano-banana-pro-preview) - Google's highest quality image generation model:
urllib.request for HTTP (no requests library)json for parsing (stdlib)base64 for encoding (stdlib)That's it. No external packages. Works on any Python 3.10+ installation.
Currently using: nano-banana-pro-preview (also known as Gemini 3 Pro Image)
Other available models (can be changed in generate.py if needed):
gemini-3-pro-image-preview - Same as Nano Banan...这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Gemini Image Simple
Generate and edit images using Google's **Nano Banana Pro** (Gemini 3 Pro Image) - the highest quality image generation model.
## Why This Skill
| Feature | This Skill | Others (nano-banana-pro, etc.) |
|---------|------------|-------------------------------|
| **Dependencies** | None (stdlib only) | google-genai, pillow, etc. |
| **Requires pip/uv** | ❌ No | ✅ Yes |
| **Works on Fly.io free** | ✅ Yes | ❌ Fails |
| **Works in containers** | ✅ Yes | ❌ Often fails |
| **Image generation** | ✅ Full | ✅ Full |
| **Image editing** | ✅ Yes | ✅ Yes |
| **Setup complexity** | Just set API key | Install packages first |
**Bottom line:** This skill works anywhere Python 3 exists. No package managers, no virtual environments, no permission issues.
## Quick Start
```bash
# 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 `GEMINI_API_KEY` environment variable. Get one at https://aistudio.google.com/apikey
## How It Works
Uses **Nano Banana Pro** (`nano-banana-pro-preview`) - Google's highest quality image generation model:
- Pure `urllib.request` for HTTP (no requests library)
- Pure `json` for parsing (stdlib)
- Pure `base64` for encoding (stdlib)
That's it. No external packages. Works on any Python 3.10+ installation.
## Model
Currently using: `nano-banana-pro-preview` (also known as Gemini 3 Pro Image)
Other available models (can be changed in generate.py if needed):
- `gemini-3-pro-image-preview` - Same as Nano Banan...Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.