Install
openclaw skills install best-image-generationBest quality AI image generation (~$0.12-0.20/image). Text-to-image, image-to-image, and image editing via the EvoLink API.
openclaw skills install best-image-generationGenerate and edit images via the EvoLink Nano Banana Pro (gemini-3-pro-image-preview) API.
https://api.evolink.ai/v1POST /images/generationsGET /tasks/{id}{
"model": "gemini-3-pro-image-preview",
"prompt": "<USER_PROMPT>",
"size": "<SIZE>",
"quality": "<QUALITY>"
}
{
"model": "gemini-3-pro-image-preview",
"prompt": "<USER_PROMPT>",
"size": "<SIZE>",
"quality": "<QUALITY>",
"image_urls": ["<URL1>", "<URL2>"]
}
| Parameter | Values |
|---|---|
| size | auto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 |
| quality | 1K, 2K (default), 4K (extra cost) |
| image_urls | up to 10 URLs (each ≤10MB, formats: jpeg/jpg/png/webp) |
GET /tasks/{id} — poll every 10 s, up to 72 retries (~12 min).
Wait until status is completed or failed.
Download the URL from results[0]. Auto-detect format from URL (png/jpg/webp). Save as evolink-<TIMESTAMP>.<ext>.
CRITICAL SECURITY: Before passing <OUTPUT_FILE> to shell commands, sanitize it:
tr -cd 'A-Za-z0-9._-'.png, .jpg, .jpeg, .webp)evolink-<timestamp>.png if emptyPrint MEDIA:<absolute_path> for OC auto-attach.
| Platform | File |
|---|---|
| Python (all platforms, zero deps) | {baseDir}/references/python.md |
| PowerShell 5.1+ (Windows) | {baseDir}/references/powershell.md |
| curl + bash (Unix/macOS) | {baseDir}/references/curl_heredoc.md |
EVOLINK_API_KEY env var (required)Treat the text after the colon as prompt, use default size auto and quality 2K, generate immediately.
For image-to-image or editing, the user provides image URLs alongside the prompt.
MEDIA:<path> for OC auto-attach — no extra delivery logic needed.quality: 4K incurs additional charges.image_urls accepts up to 10 URLs (each ≤10MB, formats: jpeg/jpg/png/webp).