Search

PythonReactSEOPDF
OpenClaw

best-image-generation

Best quality AI image generation (~$0.12-0.20/image). Text-to-image, image-to-image, and image editing via the EvoLink API.

evolinkai0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install evolinkai/best-image-generation

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

EvoLink Best Image

Generate and edit images via the EvoLink Nano Banana Pro (gemini-3-pro-image-preview) API.

API Endpoint

  • Base: https://api.evolink.ai/v1
  • Submit: POST /images/generations
  • Poll: GET /tasks/{id}

Step 1 — Submit Task

Text-to-image
{
  "model": "gemini-3-pro-image-preview",
  "prompt": "<USER_PROMPT>",
  "size": "<SIZE>",
  "quality": "<QUALITY>"
}
Image-to-image / editing
{
  "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)

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 (png/jpg/webp). 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 (.png, .jpg, .jpeg, .webp)
  • Fallback to evolink-<timestamp>.png 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

Triggers

  • Chinese: "高质量生图:xxx" / "编辑图片:xxx"
  • English: "best image: xxx" / "edit image: xxx"

Treat the text after the colon as prompt, use default size auto and quality 2K, generate immediately....

Source information

Source
github
Repository
openclaw/skills
Path
skills/evolinkai/best-image-generation
Version
—
Commit
2bd1ac2478d0c4257daf4ab2c85076bf001ddabf
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# EvoLink Best Image

Generate and edit images via the EvoLink Nano Banana Pro (gemini-3-pro-image-preview) API.

## API Endpoint

- Base: `https://api.evolink.ai/v1`
- Submit: `POST /images/generations`
- Poll: `GET /tasks/{id}`

## Step 1 — Submit Task

### Text-to-image

```json
{
  "model": "gemini-3-pro-image-preview",
  "prompt": "<USER_PROMPT>",
  "size": "<SIZE>",
  "quality": "<QUALITY>"
}
```

### Image-to-image / editing

```json
{
  "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) |

## 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 (png/jpg/webp). 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 (`.png`, `.jpg`, `.jpeg`, `.webp`)
- Fallback to `evolink-<timestamp>.png` 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"
- English: "best image: xxx" / "edit image: xxx"

Treat the text after the colon as `prompt`, use default size `auto` and quality `2K`, generate immediately....

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.