TensaHub › Pollinations

Pollinations

Keyless text access, rate limits not guaranteed, 2 model(s) indexed. curl, Python and JavaScript samples, live testing.

Test and rate in the catalog

Type
Provider
Provider
Pollinations
Pricing
Free
Keyless access
Yes
Base URL (OpenAI-compatible)
https://text.pollinations.ai/openai
Inputs
Text
Developer rating
Not rated yet
Documentation
https://pollinations.ai
Last check
2026-12-04T20:20:29+00:00

Code samples

cURL

curl https://text.pollinations.ai/openai \
  -H "Content-Type: application/json" \
  -d '{"model":"openai","messages":[{"role":"user","content":"Hello, introduce yourself in one sentence."}]}'

Python

import requests

r = requests.post("https://text.pollinations.ai/openai", json={
    "model": "openai",
    "messages": [{"role": "user", "content": "Hello, introduce yourself in one sentence."}],
}, timeout=60)
print(r.json()["choices"][0]["message"]["content"])

JavaScript

const r = await fetch('https://text.pollinations.ai/openai', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ model: 'openai', messages: [{ role: 'user', content: 'Hello, introduce yourself in one sentence.' }] }),
})
console.log((await r.json()).choices[0].message.content)

Generate the integration code →

Popular searches

Frequently asked questions

Is the Pollinations API free?

Yes: Pollinations can be used for free and without an API key, within the provider’s rate limits.

How do I call Pollinations from my code?

Pollinations exposes an OpenAI-compatible API at https://text.pollinations.ai/openai: use any OpenAI SDK (Python, JavaScript…) with this base URL. Ready-to-use code (streaming, JSON, retries) is available in the developer toolkit.

Alternatives