cheapest-image-generation

Possibly the cheapest AI image generation (~$0.0036/image). Text-to-image via the EvoLink API.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cheapest-image-generation" with this command: npx skills add evolinkai/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

{
  "model": "z-image-turbo",
  "prompt": "<USER_PROMPT>",
  "size": "<SIZE>",
  "nsfw_check": <true|false>
}

Optional field: "seed": <INT>

ParameterValues
size1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 1:2, 2:1
nsfw_checktrue / false (default false)
seedany 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

PlatformFile
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

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

aiq-assessment

AIQ(AI商数)评估工具。基于"三层18原子能力"框架,对个人或团队的AI协作效能进行 结构化评估。包含提示素养、算法共情、判断锐度三大维度,覆盖18个可量化的原子能力。 适用于自我诊断、招聘评估、团队AI成熟度审计等场景。触发词:AIQ、AI商数、AI能力评估、 AI协作效能、会不会用AI、AI Native...

Registry SourceRecently Updated
General

Reptile Pet Health Diagnosis Tool | 爬行类宠物健康诊断分析工具

Analyzes uploaded reptile or arachnid videos to identify scale, skin, and body issues, then generates a detailed health diagnosis report.

Registry SourceRecently Updated
General

Whop Digital Sales

Auto-create and manage digital products on Whop.com. Manages product lifecycle from creation to checkout link generation. Uses Whop REST API v1 with Company...

Registry SourceRecently Updated
General

ClawCap

Spending cap proxy for OpenClaw. Enforce hard daily and monthly limits across all your AI models (Claude, GPT, Gemini, and more) under one cap. Stop runaway...

Registry SourceRecently Updated