Overview
- Skill Key
- evolinkai/cheapest-image-generation
- Author
- evolinkai
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/evolinkai/cheapest-image-generation
- Latest Commit SHA
- 36d82701afa7eb4bde22cbcb17a1a8e7867c0db5
Possibly the cheapest AI image generation (~$0.0036/image). Text-to-image via the EvoLink API.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 cheapest-image-generation 技能。 若已安装,则直接安装 cheapest-image-generation 技能。
# 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.
capt-marbles
Task Router
capncoconut
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, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.