pollinations-imageGenerate detailed images from text prompts using Pollinations.ai models with optional configuration, model selection, and advanced settings.
Install via ClawdBot CLI:
clawdbot install Aprilox/pollinations-imageA clean, modular, and user-friendly image generation tool powered by Pollinations.ai.
# 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"
# 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"
| Model | Type | Speed | Quality | Cost |
|-------|------|-------|---------|------|
| flux | ๐ Free | โกโก | โญโญโญโญโญ | ~0.0002 pollen/img |
| zimage | ๐ Free | โก | โญโญโญโญ | ~0.0002 pollen/img |
| klein | ๐ฐ Paid | โกโก | โญโญโญโญโญ | ~0.008 pollen/img |
| klein-large | ๐ฐ Paid | โกโกโก | โญโญโญโญโญโญ | ~0.012 pollen/img |
| gptimage | ๐ฐ 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 promptmodels (or m)Display all available models with ratings.
./generate.sh models
model MODEL_NAMEShow detailed information about a specific model.
./generate.sh model klein-large
set-model MODEL_NAMESet your default model for all future generations.
./generate.sh set-model zimage
Note: This saves to .user.conf and persists across sessions.
configDisplay your current configuration.
./generate.sh config
helpShow help message.
./generate.sh help
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
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
# 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
# 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
.env: POLLINATIONS_API_KEY=your_keyThis skill is designed to be shared!
When sharing the skill, include:
generate.sh โ Main scriptlib/models.sh โ Model registry.env.example โ Example API key file.user.conf.example โ Example user configSKILL.md โ DocumentationDo NOT share these (they contain personal data):
.env โ Your private API key.user.conf โ Your personal preferences.first-run-complete โ Setup markerlib/models.shMODELS_LIST following the format:
model_id|Display Name|type|cost|speed|quality|Description
./generate.sh model your_model_idWhen 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:
flux (free, high quality)MIT - Feel free to use, modify, and share!
Made with ๐ซ for the OpenClaw community.
Generated Mar 1, 2026
Social media managers use this skill to quickly generate custom images for posts, stories, and ads, leveraging the free tier for high-volume content. They can switch between models to balance speed and quality, ensuring engaging visuals without high costs.
Game developers employ the skill to create concept art and asset drafts during early design phases, using fast models like zimage for rapid iteration. The workflow supports refining ideas with higher-quality models like flux or klein-large for final assets.
Educators and e-learning platforms generate illustrations for textbooks, presentations, and online courses, utilizing the free 5,000 images per month to keep costs low. The modular design allows easy customization for different subjects and age groups.
Small businesses and online retailers create product mockups and lifestyle images to enhance listings, using the skill's model comparison to choose cost-effective options. The persistent defaults streamline batch generation for catalog updates.
Offer a free tier with 5,000 images monthly via pollen grants, attracting users who can upgrade to paid models like klein for higher quality or volume. Revenue comes from API usage fees and premium model subscriptions, scaling with user demand.
License the skill to companies for embedding into their platforms, such as design tools or content management systems, with custom branding and model configurations. Revenue is generated through licensing fees and ongoing support contracts.
Provide services to customize the skill for specific industries, adding new models or features tailored to client needs, such as specialized image generation for healthcare or real estate. Revenue streams include project-based fees and maintenance retainers.
๐ฌ Integration Tip
Integrate by cloning the skill and configuring the .env file with an API key; use the modular lib/models.sh to easily add custom models for specific use cases.
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Gemini CLI for one-shot Q&A, summaries, and generation.
Research any topic from the last 30 days on Reddit + X + Web, synthesize findings, and write copy-paste-ready prompts. Use when the user wants recent social/web research on a topic, asks "what are people saying about X", or wants to learn current best practices. Requires OPENAI_API_KEY and/or XAI_API_KEY for full Reddit+X access, falls back to web search.
Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates openclaw.json. Use when the user mentions free AI, OpenRouter, model switching, rate limits, or wants to reduce AI costs.