Keyless text access, rate limits not guaranteed,已收录 2 个模型。提供 curl、Python、JavaScript 示例及在线测试。
- 类型
- 服务商
- 服务商
- Pollinations
- 价格
- 免费
- 无需密钥访问
- 是
- Base URL(兼容 OpenAI)
https://text.pollinations.ai/openai- 输入
- 文本
- 开发者评分
- 暂无评分
- 文档
- https://pollinations.ai
- 最近检查
- 2026-12-04T20:20:29+00:00
代码示例
cURL
curl https://text.pollinations.ai/openai \
-H "Content-Type: application/json" \
-d '{"model":"openai","messages":[{"role":"user","content":"你好,请用一句话介绍你自己。"}]}'Python
import requests
r = requests.post("https://text.pollinations.ai/openai", json={
"model": "openai",
"messages": [{"role": "user", "content": "你好,请用一句话介绍你自己。"}],
}, 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: '你好,请用一句话介绍你自己。' }] }),
})
console.log((await r.json()).choices[0].message.content)
热门搜索
常见问题
Pollinations API 免费吗?
是的:Pollinations 可免费使用且无需 API 密钥,但受服务商的速率限制。
如何在代码中调用 Pollinations?
Pollinations 在 https://text.pollinations.ai/openai 提供兼容 OpenAI 的 API:使用任意 OpenAI SDK(Python、JavaScript 等)并设置该基础 URL 即可。 开发者工具箱中提供了即用代码(流式输出、JSON、重试)。
替代方案
- Pollinations · openai-fast — 免费, 无需密钥
- Pollinations · openai — 免费, 无需密钥