Skip to main content

pollinations

Use when building a Lovable app that needs production image, text, audio, video, or embedding inference through Pollinations.

来源信息

仓库
pollinations/pollinations-builder-starter
最近来源活动
2026年7月18日 07:02
检测到的 SKILL.md 语言
英语
星标
0
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
pollinations
description
Use when building a Lovable app that needs production image, text, audio, video, or embedding inference through Pollinations.
# Build with Pollinations Pollinations is an open-source API platform for adding AI capabilities to apps. Consult https://gen.pollinations.ai/docs for the current API contract and live model endpoints instead of copying a static model list. ## First integration 1. Ask the builder which modality they need and whether the request must remain server-side. 2. Store any secret Pollinations key only in Lovable's approved server-side secret environment. Never expose an `sk_` key in client code, a prompt, a public GitHub repo, or browser logs. 3. Add one focused server-side action or edge function per capability, validate user input, and return safe errors. 4. Start with one narrow feature, then add optional controls after the basic flow works. ## Endpoints - Image generation: `GET https://gen.pollinations.ai/image/{prompt}` - OpenAI-compatible text: `POST https://gen.pollinations.ai/v1/chat/completions` - Text model discovery: `GET https://gen.pollinations.ai/v1/models` ## Product guidance - Do not present a fixed model list or pricing table. Both change; link to the live docs. - Keep the first user experience simple: prompt, generate, loading state, error state, and result. - Do not make payment, balance, or account claims unless the app has an explicitly reviewed Pollinations integration.
在 GitHub 查看