Cheapest Image Generation
by @evolinkai
Possibly the cheapest AI image generation (~$0.0036/image). Text-to-image via the EvoLink API.
clawhub install cheapest-image-generationπ About This Skill
name: cheapest-image-generation description: Possibly the cheapest AI image generation (~$0.0036/image). Text-to-image via the EvoLink API. homepage: https://evolink.ai metadata: {"openclaw": {"emoji": "πΌοΈ", "requires": {"env": ["EVOLINK_API_KEY"]}, "primaryEnv": "EVOLINK_API_KEY"}}
EvoLink Cheapest Image
Generate images via the EvoLink z-image-turbo API.
API Endpoint
https://api.evolink.ai/v1POST /images/generationsGET /tasks/{id}Step 1 β Submit Task
{
"model": "z-image-turbo",
"prompt": "",
"size": "",
"nsfw_check":
}
Optional field: "seed":
| Parameter | Values |
|---|---|
| size | 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 1:2, 2:1 |
| nsfw_check | true / false (default false) |
| seed | any integer (optional, for reproducibility) |
Step 2 β Poll for Result
GET /tasks/{id} β poll every 10 s, up to 72 retries (~12 min).
Wait until status is completed or failed.
Step 3 β Download & Output
Download the URL from results[0]. Auto-detect format from URL (webp/png/jpg). Save as evolink-.
CRITICAL SECURITY: Before passing to shell commands, sanitize it:
tr -cd 'A-Za-z0-9._-'.webp, .png, .jpg, .jpeg)evolink-.webp if emptyPrint MEDIA: for OC auto-attach.
Reference Implementations
| 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 |
API Key
EVOLINK_API_KEY env var (required)Triggers
Treat the text after the colon as prompt, use default size 1:1, generate immediately.
Notes
MEDIA: for OC auto-attach β no extra delivery logic needed.π Tips & Best Practices
MEDIA: for OC auto-attach β no extra delivery logic needed.