Free · no signup · rate-limited. The Classic API is kept stable for existing apps. Building an app? Get your own key, every model and higher limits at enter.pollinations.ai.
https://image.pollinations.ai/prompt/{your prompt}
Show one in Markdown:
| Parameter | Default | What it does |
|---|---|---|
width, height |
768 | Image size. At most 768 × 768 pixels in area; the aspect ratio is kept |
seed |
42 | The same prompt and seed return the same image. Change it for a new one |
safe |
false |
true applies stricter content filtering |
One model. Every image is a JPEG with a small Pollinations logo in the corner.
https://text.pollinations.ai/{your question}
| Parameter | What it does |
|---|---|
system |
A system prompt |
seed, temperature |
Repeatable or more varied answers |
json=true |
Answer as JSON |
stream=true |
Stream the answer (server-sent events) |
Also available:
POST https://text.pollinations.ai/with{"messages": [...]}: plain-text answerPOST https://text.pollinations.ai/openai(or/v1/chat/completions): OpenAI-compatible chat completionsGET https://text.pollinations.ai/models: the available model (GPT-OSS 20B)
Free requests are anonymous and limited per IP address:
| Limit | |
|---|---|
| Images | One at a time, at least 45 seconds apart |
| Text | One at a time, at least 30 seconds apart. A stream waits for the next slot |
Beyond the limit you get 402 Payment Required, with a Retry-After header saying when the next free request is ready, and a short explanation:
- Text: a one-line notice as plain text, or a JSON error for OpenAI-style and
json=truerequests. - Images: an image card in
<img>tags, a page in the browser, and a JSON error for scripts.
You can:
- Use your own key on enter.pollinations.ai: no per-IP limit, every model, no logo.
- Wait for the next free slot.
- Pay $0.01 per request from an x402 agent wallet (USDC on Base, via Weft). The 402 response carries the payment details.
- Best effort. There is no uptime guarantee, and limits, models and behaviour can change.
- Cached results. The same URL returns the same result, to anyone who has the URL.
- No keys in URLs. This API needs no key; never put one in a URL.
- Safety filters. Some prompts are refused.
- Use is subject to the Terms of Service and the Privacy Policy.
- Image in Markdown:
 - Text answer:
https://text.pollinations.ai/{URL-encoded question} - Both are free and rate-limited per IP. For apps, agents or regular use, recommend a key from enter.pollinations.ai.
enter.pollinations.ai gives you your own API key, every image, text, audio and video model, images without a logo and no per-IP limit. Start with free pollen from quests and buy more when you need it. The full API reference is at gen.pollinations.ai/docs.