polli

A command-line tool for creating images, text, audio, and video through the Pollinations API, and for transcribing speech. An API is a service that software can call to perform work.

In plain words
What is it for?
Use it to generate or inspect media, transcribe speech, run text-to-speech, check usage and pollen balance, manage API keys, browse models, and manage Pollinations agents or custom models.
Why use it?
It puts media generation and related account tasks into one terminal workflow, so developers can use commands instead of building separate integrations for each task.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/pollinations/pollinations/polli-cli
Any agent
npx skills add pollinations/pollinations --skill polli-cli
Clone the repo
git clone --depth 1 https://github.com/pollinations/pollinations

Made for: Claude Code, Codex.

Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,255 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00066 $0.05255
Opus 5 $0.00033 $0.02627
Sonnet 5 $0.00013 $0.01051
Haiku 4.5 $0.00007 $0.00526

Measured 2d ago against content hash 195e64960103, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

polli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 43 executable files (bin/polli.js, src/commands/agents.test.ts, src/commands/agents.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/polli-cli/SKILL.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

polli — Pollinations CLI

Thin wrapper around gen.pollinations.ai. Generates images, text, audio, video; transcribes speech; manages API keys, usage, quests, agents, and invite-only my-models.

If polli is not installed, run npm i -g @pollinations/cli@latest (provides the polli binary).

When to use this skill

  • User asks to generate an image / text / audio / video via pollinations
  • User mentions polli, pollinations, pollen, pollinations.ai
  • User wants to transcribe speech or run TTS
  • User asks about their pollen balance, usage, or API keys
  • User wants to browse or filter available models
  • User wants to inspect quests or manage invite-only my-models
  • User wants to create or update a hosted prompt agent

Quick reference

Intent Command
Log in once polli auth login
Store an existing key printf '%s' "$POLLINATIONS_API_KEY" | polli auth login --with-token
Generate image polli gen image "<prompt>" --output out.png
Generate text polli gen text "<prompt>"
Text with stdin as context echo "<ctx>" | polli gen text "<question>"
Describe an image (vision) polli gen text "what is this?" --image <url>
One-shot TTS polli gen audio "<text>" --output speech.mp3
Speak out loud polli gen audio "<text>" --play (uses afplay on macOS; ffplay/mpv/mpg123 on Linux)
Generate video polli gen video "<prompt>" --output out.mp4
Transcribe audio polli gen transcribe path/to.mp3
Upload a local file polli upload path/to.png (prints public URL)
List all models polli models
Filter models by type polli models --type image
Model health + latency polli models --stats (default 60m, --window <min>)
Check balance polli usage
Developer earnings polli earnings (--days <n>, max 90)
List your quests + claim state polli quests (filters: --open --claimable --claimed --coming-soon)
Manage prompt agents polli agents list
Manage invite-only community models polli my-models list
Connect a coding harness to Pollinations polli harness dsh on (available adapters: polli harness --help)
Machine-readable output append --json to any command

Read the full file on GitHub · 248 lines

Files

What ships with it

47 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 248 lines · 66 tokens per session scan A 195e64960103

Subscribe to this mod's changes

polli is a skill published in the GitHub repository pollinations/pollinations (5,009 stars, last pushed 2d ago), licensed MIT. It adds 66 tokens to every session and 5,255 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

model-integration

Use when adding a new model or pipeline to diffusers, setting up file structure for a new model, converting a pipeline to modular format, or converting weights for a new version of an already-supported model.

huggingface/diffusers · 45 tokens

custom-blocks

Use when the user has written (or wants to write) a ModularPipelineBlocks subclass in a local Python file and needs to package it into a Hub-uploadable directory. Covers the workflow from a single block.py file to a published custom-block repo that consumers can load via ModularPipeline.frompretrained( …

huggingface/diffusers · 79 tokens

diffusers-cli

Use when the user wants to run a diffusers pipeline from a terminal (one-off generation, batch jobs, smoke-testing a new model), run on HF Sandbox hardware via --remote, introspect a pipeline's input schema before calling it, or attach a LoRA at inference time. Prefer this over writing ad-hoc Python scripts for…

huggingface/diffusers · 75 tokens

self-review

Use before opening a PR, or whenever asked to self-review a diffusers contribution. Applies the same rubric as the @claude CI (checks the diff against references/review-rules.md, traces call paths for dead code). Reports findings grouped by severity, flagging what to fix before submitting (blocking issues + dead code)…

huggingface/diffusers · 88 tokens

img2threejs

Turn an object or character reference image into a quality-gated, animation-ready procedural Three.js model built in code. Use for image-to-3D reconstruction, detail-accurate object rebuilds, stylized/likeness-maximized human characters, sculpt specs, and staged code generation.

img2threejs/img2threejs · 63 tokens

ml-for-aec

Computer vision for buildings, image-to-floorplan, generative ML models, performance prediction, structural analysis ML, energy prediction, natural language to design, and point cloud ML for AEC computational design.

Abhinavbwj/Claude-skills-for-Computational-Designers · 39 tokens