What problem does it solve?
It gives AI agents and terminal users a single command-line interface to the Pollinations API, covering media generation, model discovery, and account management without writing HTTP client code.
Core Features & Use Cases
- Media Generation: Create images, text, audio (TTS, music, sound effects), and video, plus transcribe speech, all through
polli gen subcommands with --json machine-readable output.
- Account & Key Management: Check pollen balance and usage history, create scoped or publishable API keys, inspect quests and earnings, and manage hosted prompt agents and community my-models.
- Model Discovery & Health: List live models by type, filter by capabilities like vision or reasoning, and check latency and error-rate stats before choosing a model.
- Use Case: An AI coding agent asked to "generate a hero image for this landing page" runs
polli gen image "..." --output hero.png, uploads local assets with polli upload when a public URL is needed, and verifies costs with polli usage --history.
Quick Start
Ask the agent to generate an image of a fox reading a book and save it to fox.png using the polli CLI.