pollinations-ai▌
supercent-io/skills-template · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Free, no-signup AI image generation via simple URL parameters with customizable models and dimensions.
- ›Supports three AI models (flux, turbo, stable-diffusion) with adjustable width, height, seed, and enhancement parameters
- ›URL-based API requires no authentication; works with browser, curl, or Python requests for instant generation and file saving
- ›Includes batch generation, seed-based reproducibility, and metadata tracking for consistent creative workflows
- ›Best suited for rapid pr
Pollinations.ai Image Generation
Free, open-source AI image generation through simple URL parameters. No API key or signup required.
When to use this skill
- Quick prototyping: Generate placeholder images instantly
- Marketing assets: Create hero images, banners, social media content
- Creative exploration: Test multiple styles and compositions rapidly
- No-budget projects: Free alternative to paid image generation services
- Automated workflows: Script-friendly URL-based API
Instructions
Step 1: Understand the API Structure
Pollinations.ai uses a simple URL-based API:
https://image.pollinations.ai/prompt/{YOUR_PROMPT}?{PARAMETERS}
No authentication required - just construct the URL and fetch the image.
Available Parameters:
width/height: Resolution (default: 1024x1024)model: AI model (flux,turbo,stable-diffusion)seed: Number for reproducible resultsnologo:trueto remove watermark (if supported)enhance:truefor automatic prompt enhancement
Step 2: Craft Your Prompt
Use descriptive prompts with specific details:
Good prompt structure:
[Subject], [Style], [Lighting], [Mood], [Composition], [Quality modifiers]
Example:
A father welcoming a beautiful holiday, warm golden hour lighting,
cozy interior background with festive decorations, 8k resolution,
highly detailed, cinematic depth of field
Prompt styles:
- Photorealistic: "photorealistic shot, 8k resolution, highly detailed, cinematic"
- Illustrative: "digital illustration, soft pastel colors, disney style animation"
- Minimalist: "minimalist vector art, flat design, simple geometric shapes"
Step 3: Generate via URL (Browser Method)
Simply open the URL in a browser or use curl:
# Basic generation
curl "https://image.pollinations.ai/prompt/A_serene_mountain_landscape" -o mountain.jpg
# With parameters
curl "https://image.pollinations.ai/prompt/A_serene_mountain_landscape?width=1920&height=1080&model=flux&seed=42" -o mountain-hd.jpg
Step 4: Generate and Save (Python Method)
For automation and file management:
import requests
from urllib.parse import quote
def generate_image(prompt, output_file, width=1920, height=1080, model="flux", seed=None):
"""
Generate image using Pollinations.ai and save to file
Args:
prompt: Description of the image to generate
output_file: Path to save the image
width: Image width in pixels
height: Image height in pixels
model: AI model ('flux', 'turbo', 'stable-diffusion')
seed: Optional seed for reproducibility
"""
# Encode prompt for URL
encoded_prompt = quote(prompt)
url = f"https://image.pollinations.ai/prompt/{encoded_prompt}"
# Build parameters
params = {
"width": width,
"height": height,
"model": model,
"nologo": "true"
}
if seed:
params["seed"] = seed
# Generate and save
print(f"Generating: {prompt[:50]}...")
response = requests.get(url, params=params)
if response.status_code == 200:
with open(output_file, "wb") as f:
f.write(response.content)
print(f"✓ Saved to {output_file}")
return True
else:
print(f"✗ Error: {response.status_code}")
return False
# Example usage
generate_image(
prompt="A father welcoming a beautiful holiday, warm lighting, festive decorations",
output_file="holiday_father.jpg",
width=1920,
height=1080,
model="flux",
seed=12345
)
Step 5: Batch Generation
Generate multiple variations:
prompts = [
"photorealistic shot of a father at front door, warm lighting, festive decorations",
"digital illustration of a father in snow, magical winter wonderland, disney style",
"minimalist silhouette of father and child, holiday fireworks, flat design"
]
for i, prompt in enumerate(prompts):
generate_image(
prompt=prompt,
output_file=f"variant_{i+1}.jpg",
width=1920,
height=1080,
model="flux"
)
Step 6: Document Your Generations
Save metadata for reproducibility:
import json
from datetime import datetime
metadata = {
"prompt": prompt,
"model": "flux",
"width": 1920,
"height": 1080,
"seed": 12345,
"output_file": "holiday_father.jpg",
"timestamp": datetime.now().isoformat()
}
with open("generation_metadata.json", "w") as f:
json.dump(metadata, f, indent=2)
Examples
Example 1: Hero Image for Website
generate_image(
prompt="serene mountain landscape at sunset, wide 16:9, minimal style, soft gradients in blue tones, clean lines, modern aesthetic",
output_file="hero-image.jpg",
width=1920,
height=1080,
model="flux"
)
Expected output: 16:9 landscape image, minimal style, blue color palette
Example 2: Product Thumbnail
generate_image(
prompt="futuristic dashboard UI, 1:1 square, clean interface, soft lighting, professional feel, dark theme, subtle glow effects",
output_file="product-thumb.jpg",
width=1024,
height=1024,
model="flux"
)
Expected output: Square thumbnail, dark theme, app store ready
Example 3: Social Media Banner
generate_image(
prompt="LinkedIn banner for SaaS startup, modern gradient background, abstract geometric shapes, colors from purple to blue, space for text on left side",
output_file="linkedin-banner.jpg",
width=1584,
height=396,
model="flux"
)
Expected output: LinkedIn-optimized dimensions (1584x396), text-safe zone
Example 4: Batch Variations with Seeds
# Generate 4 variations of the same prompt with different seeds
base_prompt = "A father welcoming a beautiful holiday, cinematic lighting"
for seed in [100, 200, 300, 400]:
generate_image(
prompt=base_prompt,
output_file=f"variation_seed_{seed}.jpg",
width=1920,
height=1080,
model="flux",
seed=seed
)
Expected output: 4 similar images with subtle variations
Best practices
- Use specific prompts
How to use pollinations-ai on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add pollinations-ai
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches pollinations-ai from GitHub repository supercent-io/skills-template and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate pollinations-ai. Access the skill through slash commands (e.g., /pollinations-ai) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Installation Steps
- 1.Install skill using provided installation command
- 2.Test with simple use case relevant to your work
- 3.Evaluate output quality and relevance
- 4.Iterate on prompts to improve results
- 5.Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices▌
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This▌
✓ Use When
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid When
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path▌
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★45 reviews- ★★★★★Zaid Sanchez· Dec 28, 2024
We added pollinations-ai from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Pratham Ware· Dec 20, 2024
I recommend pollinations-ai for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Sakura Smith· Dec 4, 2024
Solid pick for teams standardizing on skills: pollinations-ai is focused, and the summary matches what you get after install.
- ★★★★★Benjamin Abebe· Dec 4, 2024
pollinations-ai reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★James Tandon· Nov 23, 2024
pollinations-ai has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Camila Sethi· Nov 23, 2024
pollinations-ai is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Valentina Choi· Nov 19, 2024
Keeps context tight: pollinations-ai is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Yash Thakker· Nov 11, 2024
Useful defaults in pollinations-ai — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Aanya Robinson· Nov 3, 2024
Registry listing for pollinations-ai matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Aanya Choi· Oct 22, 2024
pollinations-ai fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 45