Open-source project
pollinations/pollinations avatar
pollinations/pollinations

pollinations/pollinations: one endpoint, two key types, and an mcp package outside the workspace list

Your Friendly Open-Source Gen-AI Platform

5,330 stars1,244 forksTypeScriptMIT

At a glance

What is it?
A private monorepo of four subdomains and eight npm workspaces behind a single generation endpoint at gen.pollinations.ai. This is where the plumbing sits: two kinds of API key and install scripts that reach past the workspace list.
Who is it for?
Take pollinations/pollinations seriously if you want one host, one credit balance, and one key surface for every generation call, and read the workspace scripts before you install, because packages/mcp is fetched outside the workspaces array and a plain root install is not the same tree as install:all. Do not expect a release history to plan against: the repository publishes no releases, so change tracking means reading the dated news list and the generated apps table.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • pollinations/pollinations5,330 ★ · +188
Star history
Repository2026-09-282026-11-25
pollinations/pollinations5.1k5.3k

188 Stars in the last 58 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

One endpoint for text, images, audio, video, 3D, and embeddings

The platform fronts every generation call through `https://gen.pollinations.ai`, described as a single endpoint for text, images, audio, video, 3D, and embeddings. Models sit behind that one host in one catalog: Flux, GPT, Claude, Gemini, Seedream, and more. Metering is done in Pollen credits, described as a simple pay-as-you-go system where $1 is about 1 Pollen. Keys come in two kinds and the split decides where each one belongs: secret keys for model usage, and app keys for tracking BYOP apps. Sign-up happens at enter.pollinations.ai, the playground sits at pollinations.ai/play, and the API docs are reachable both as the root APIDOCS.md file and at gen.pollinations.ai/docs. One host to allow through a firewall, one balance to watch, two key types to sort out before the first request.

Read the model ID from the current API catalog

The [Pollinations API documentation](https://gen.pollinations.ai/docs) lists model information through the model catalog. Save the exact ID returned for a model and check that it supports the output you need before using it in a client. If an old example shows a short alias, verify that it still resolves and that it points to the intended model. This matters when the same project calls text, image, or audio generation from different parts of one application.

Eight npm workspaces, and one package installed from outside them

The root package.json is named `pollinations-monorepo`, marked private, and declares npm workspaces:

json
"workspaces": [
  "shared",
  "enter.pollinations.ai",
  "gen.pollinations.ai",
  "packages/auth",
  "packages/sdk",
  "packages/ui",
  "operations/dashboards/economics/web",
  "media.pollinations.ai"
]

The install scripts do not stop at that list. `install:all` runs a root install and then two prefix installs, `install:packages` runs those same two prefix installs alone, and `build:sdk` uses the prefix form too. The paths they point at are `packages/sdk` and `packages/mcp`, and `packages/mcp` is the one path that shows up in the install scripts without appearing in the workspaces array. What that does to a first run:

bash
npm install && npm install --prefix packages/sdk && npm install --prefix packages/mcp
npm run build --prefix packages/sdk
npx @pollinations/cli

Run a plain `npm install` and you end up with a different dependency tree than `install:all` produces, and the difference is the MCP package.

dev:gen-stack sleeps 12 seconds waiting for the enter worker

Two scripts run the platform locally. `dev` runs `migrate:development` in the enter workspace and then starts both sites at once through concurrently with `--kill-others-on-fail`, naming the processes enter and gen, and it invokes `npm run dev` in the pollinations-enter and pollinations-gen workspaces. `dev:enter` and `dev:gen` run one side alone. The third variant, `dev:gen-stack`, is the one that exposes the ordering assumption: it starts `npm run dev:worker` in the enter workspace first and then waits before starting gen.

bash
npm run dev

The wait is written as a literal `sleep 12` inside that script, which is a timing guess about worker startup encoded in a command line. Change what the worker loads at boot, or run on slower storage, and the guess no longer holds: gen can come up against a worker that is not ready, with nothing in the command that would notice. The root dependencies hint at what that worker is made of, since wrangler `^4.151.0`, drizzle-orm `0.45.2`, zod `4.5.4`, and `@better-auth/core` pinned at exactly `1.6.30` sit in the root dependency list, alongside devDependencies of `@biomejs/biome` `^2.5.15` and concurrently `^9.2.1`.

Biome only formats what origin/main already tracks

Formatting is configured in biome.jsonc, and the root script is `format:changed`, which starts from a diff:

bash
git diff --diff-filter=d --name-only origin/main

Those names feed a grep for js, ts, jsx, tsx, json, and jsonc files, then a second grep that drops anything under node_modules, dist, build, .next, .cache, or out, and the survivors go to `npx @biomejs/biome check --write`. Three consequences follow from that pipeline. A brand new file that has not been added to the index does not appear in `git diff` at all, so it never reaches Biome. Anything outside those six extensions, including markdown, yaml, and shell files, is dropped by the first grep. And `--diff-filter=d` excludes deletions on purpose. The result is that formatting is bound to the diff against the default branch rather than to the commit you are about to make, so a reviewer can still meet unformatted code in a change that was never staged.

There are no releases, only a dated news list and a generated apps table

The repository publishes no releases, so nothing in it pins a version of the platform. What fills that gap is a news list with dated entries. The current entries, dated Oct 30 to Nov 2, cover community model leaderboards, status notices and health checks, a combined Usage and Earnings view, claimable Quests listed first, a card-grid My Apps view, Setup reward reviews, and `polli sites deploy --verify` for checking a published Site. Above it sits a generated table between the `<!-- recent-apps:start -->` and `<!-- recent-apps:end -->` markers, one row per community app with a description and a GitHub author, currently including 2048 AI Edition, Polli Snap, Websim, Image Remix, Screenshot to Bug Report, Reel Hook Generator, Tiny Fighter Arena and Radio Bloom. Its links point at GitHub Pages, Vercel, pollinations.app and Hugging Face Space deployments.

Editorial conclusion

Take pollinations/pollinations seriously if you want one host, one credit balance, and one key surface for every generation call, and read the workspace scripts before you install, because packages/mcp is fetched outside the workspaces array and a plain root install is not the same tree as install:all. Do not expect a release history to plan against: the repository publishes no releases, so change tracking means reading the dated news list and the generated apps table.

Frequently asked questions

how to use pollinations ai

Sign-up and key creation start at enter.pollinations.ai, and generation goes through the single endpoint at gen.pollinations.ai. From a terminal, the project ships a CLI invoked as `npx @pollinations/cli`, described as made for humans and AI agents, with its source under packages/polli-cli.

how to use pollinations ai api

The API docs are served at gen.pollinations.ai/docs and as the APIDOCS.md file at the repository root. Keys come in two kinds: secret keys for model usage and app keys for tracking BYOP apps.

what is pollinations.ai

It is the project's website, one of four subdomains in the monorepo alongside enter.pollinations.ai, gen.pollinations.ai, and media.pollinations.ai. The project describes itself as an open-source Gen-AI platform, with a playground at pollinations.ai/play and a directory of community apps at pollinations.ai/apps.

is pollinations ai free

Generation is metered in Pollen credits, described as a simple pay-as-you-go system where $1 is about 1 Pollen, and no free allowance is stated next to it. The news list also mentions claimable Quest rewards and an Earnings view alongside usage.

pollinations alternative

What the README documents is one endpoint at gen.pollinations.ai covering text, images, audio, video, 3D, and embeddings, with Flux, GPT, Claude, Gemini, and Seedream reachable through it, and a CLI invoked as `npx @pollinations/cli`.

Official sources

  1. Issues
  2. License: MIT
  3. pollinations/pollinations on GitHub
  4. Project website
  5. README
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/pollinations-pollinations.svg)](https://hysenlabs.com/projects/pollinations-pollinations)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/pollinations-pollinations.svg)](https://hysenlabs.com/projects/pollinations-pollinations)

Was this useful?