# Send Pollinations Image Generator to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pollinations-image",
    "name": "Pollinations Image Generator",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Aprilox/pollinations-image",
    "canonicalUrl": "https://clawhub.ai/Aprilox/pollinations-image",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/pollinations-image",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pollinations-image",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "generate.sh",
      "models.sh",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "pollinations-image",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T04:18:32.656Z",
      "expiresAt": "2026-05-10T04:18:32.656Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pollinations-image",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pollinations-image",
        "contentDisposition": "attachment; filename=\"pollinations-image-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "pollinations-image"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/pollinations-image"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pollinations-image",
    "downloadUrl": "https://openagent3.xyz/downloads/pollinations-image",
    "agentUrl": "https://openagent3.xyz/skills/pollinations-image/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pollinations-image/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pollinations-image/agent.md"
  }
}
```
## Documentation

### 🎨 Pollinations Image Generation Skill

A clean, modular, and user-friendly image generation tool powered by Pollinations.ai.

### ✨ Features

🎁 5,000 free images/month with pollen grants
🔄 Easy model switching - change anytime
💾 Persistent defaults - remember your preferences
📊 Clear model comparison - quality, speed, cost
🔧 Modular design - easy to extend

### First Time Setup

# 1. Clone or copy the skill
cd pollinations-image/

# 2. (Optional) Configure your API key
cp .env.example .env
# Edit .env and add your key from https://enter.pollinations.ai

# 3. (Optional) Set your default model  
cp .user.conf.example .user.conf
# Edit .user.conf to change DEFAULT_IMAGE_MODEL

# 4. List all available models
./generate.sh models

# 5. Generate your first image
./generate.sh "a cute purple cat"

### Already Configured?

# List all available models
./generate.sh models

# Set your default model (optional)
./generate.sh set-model flux

# Generate an image
./generate.sh generate --prompt "a cute purple cat"

# Or use the shortcut
./generate.sh "a cute purple cat"

### 📋 Available Models

ModelTypeSpeedQualityCostflux🎁 Free⚡⚡⭐⭐⭐⭐⭐~0.0002 pollen/imgzimage🎁 Free⚡⭐⭐⭐⭐~0.0002 pollen/imgklein💰 Paid⚡⚡⭐⭐⭐⭐⭐~0.008 pollen/imgklein-large💰 Paid⚡⚡⚡⭐⭐⭐⭐⭐⭐~0.012 pollen/imggptimage💰 Paid⚡⚡⭐⭐⭐⭐⭐2.0-8.0 pollen/M

### generate (or g)

Generate an image with your prompt.

# Full command
./generate.sh generate --prompt "a sunset over mountains" --model flux --width 1024 --height 1024

# Short options
./generate.sh g -p "a sunset" -m zimage -w 512 -h 512

# Even shorter (prompt only)
./generate.sh "a cute cat"

Options:

--prompt, -p - Image description (required)
--model, -m - Model to use (overrides default)
--width, -w - Image width (default: 1024)
--height, -h - Image height (default: 1024)
--seed, -s - Random seed for reproducibility
--filename, -f - Custom output filename
--nologo - Remove Pollinations watermark
--enhance - Let AI improve your prompt

### models (or m)

Display all available models with ratings.

./generate.sh models

### model MODEL_NAME

Show detailed information about a specific model.

./generate.sh model klein-large

### set-model MODEL_NAME

Set your default model for all future generations.

./generate.sh set-model zimage

Note: This saves to .user.conf and persists across sessions.

### config

Display your current configuration.

./generate.sh config

### help

Show help message.

./generate.sh help

### ⚙️ Configuration

User preferences are stored in .user.conf:

# Example .user.conf
DEFAULT_IMAGE_MODEL=flux

API keys are stored in .env (not tracked in git):

# Example .env
POLLINATIONS_API_KEY=your_key_here

### 📁 Structure

pollinations-image/
├── generate.sh        # Main entry point
├── lib/
│   └── models.sh      # Model registry and metadata
├── .env               # API keys (private)
├── .user.conf         # User preferences
└── SKILL.md           # This documentation

### Draft → Refine → Final

# 1. Quick draft with fast model
./generate.sh g -p "concept sketch of a dragon" -m zimage -w 512

# 2. Refine with better model
./generate.sh g -p "detailed dragon in a castle" -m flux -w 1024

# 3. Final high-quality render
./generate.sh g -p "masterpiece, highly detailed dragon..." -m klein-large

### Daily Driver Setup

# Set fast model for daily use
./generate.sh set-model zimage

# All future generations use zimage by default
./generate.sh "quick concept"

# Override for special occasion
./generate.sh "important artwork" --model klein-large

### 🔑 Getting an API Key

Visit enter.pollinations.ai
Create an account
Request a pollen grant (free tier: 5K images/month)
Generate an API key
Save it to .env: POLLINATIONS_API_KEY=your_key

### 🤝 Contributing & Sharing

This skill is designed to be shared!

### Files to Include

When sharing the skill, include:

✅ generate.sh — Main script
✅ lib/models.sh — Model registry
✅ .env.example — Example API key file
✅ .user.conf.example — Example user config
✅ SKILL.md — Documentation

### Files to Exclude (Private)

Do NOT share these (they contain personal data):

❌ .env — Your private API key
❌ .user.conf — Your personal preferences
❌ .first-run-complete — Setup marker

### Adding a New Model

Edit lib/models.sh
Add your model to MODELS_LIST following the format:
model_id|Display Name|type|cost|speed|quality|Description


Test with ./generate.sh model your_model_id

### First-Time User Experience

When someone first runs the skill without config files, they'll see a welcome message guiding them through setup. The skill works out-of-the-box with sensible defaults:

Default model: flux (free, high quality)
API key: Optional (works with public endpoint)

### 📝 License

MIT - Feel free to use, modify, and share!

Made with 🫐 for the OpenClaw community.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Aprilox
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T04:18:32.656Z
- Expires at: 2026-05-10T04:18:32.656Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/pollinations-image)
- [Send to Agent page](https://openagent3.xyz/skills/pollinations-image/agent)
- [JSON manifest](https://openagent3.xyz/skills/pollinations-image/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/pollinations-image/agent.md)
- [Download page](https://openagent3.xyz/downloads/pollinations-image)