Cheapest Image Generation
VerifiedPossibly the cheapest AI image generation (~$0.0036/image). Text-to-image via the EvoLink API.
Install
Claude Code
Add to .claude/skills/ About This Skill
# EvoLink Cheapest Image
Generate images via the EvoLink z-image-turbo API.
API Endpoint
- Base: `https://api.evolink.ai/v1`
- Submit: `POST /images/generations`
- Poll: `GET /tasks/{id}`
Step 1 — Submit Task
```json { "model": "z-image-turbo", "prompt": "<USER_PROMPT>", "size": "<SIZE>", "nsfw_check": <true|false> } ```
Optional field: `"seed": <INT>`
| 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-<TIMESTAMP>.<ext>`.
- CRITICAL SECURITY: Before passing `<OUTPUT_FILE>` to shell commands, sanitize it:
- Strip all shell metacharacters: `tr -cd 'A-Za-z0-9._-'`
- Ensure valid extension (`.webp`, `.png`, `.jpg`, `.jpeg`)
- Fallback to `evolink-<timestamp>.webp` if empty
Print `MEDIA:<absolute_path>` 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)
- Get key: https://evolink.ai
Triggers
- Chinese: "生图:xxx" / "出图:xxx" / "生成图片:xxx"
- English: "generate image: xxx" / "generate a picture: xxx"
Treat the text after the colon as `prompt`, use default size `1:1`, generate immediately.
Notes
- Print `MEDIA:<path>` for OC auto-attach — no extra delivery logic needed.
- Image saved locally (format auto-detected from URL). URL expires ~24h but local file persists.
Use Cases
- Generate text-to-image artwork at approximately $0.0036 per image for budget-conscious workflows
- Produce images in multiple aspect ratios (1:1, 16:9, 9:16, etc.) for social media and web content
- Trigger image generation from Chinese or English natural language commands in chat
- Integrate low-cost image generation into automated content pipelines via REST API
- Generate reproducible images using seed values for consistent visual output
Pros & Cons
Pros
- + Extremely low cost (~$0.0036/image) — orders of magnitude cheaper than DALL-E or Midjourney
- + Cross-platform reference implementations in Python, PowerShell, and bash/curl
- + Built-in security with shell metacharacter sanitization for output file paths
- + Supports 9 aspect ratio presets covering common content formats
Cons
- - Polling-based workflow (10s intervals, up to 12 min) — no webhooks or streaming
- - Generated image URLs expire after ~24 hours — must be saved locally immediately
- - Quality of z-image-turbo model may not match premium providers like DALL-E 3 or Midjourney
Frequently Asked Questions
What does Cheapest Image Generation do?
Possibly the cheapest AI image generation (~$0.0036/image). Text-to-image via the EvoLink API.
What platforms support Cheapest Image Generation?
Cheapest Image Generation is available on Claude Code, OpenClaw.
What are the use cases for Cheapest Image Generation?
Generate text-to-image artwork at approximately $0.0036 per image for budget-conscious workflows. Produce images in multiple aspect ratios (1:1, 16:9, 9:16, etc.) for social media and web content. Trigger image generation from Chinese or English natural language commands in chat.
Stay Updated on Agent Skills
Get weekly curated skills + safety alerts