model-management
1
总安装量
1
周安装量
#46400
全站排名
安装命令
npx skills add https://github.com/pollinations/pollinations --skill model-management
Agent 安装分布
openclaw
1
opencode
1
Skill 文档
Checklist
- Update
.envandsecrets/env.json(sops) with credentials - Update config/handler with model routing
- Update registry with pricing and provider
â ï¸ Pricing depends on BOTH model AND provider. Always verify pricing on the provider’s website.
Files to Update
Text Models
| File | Purpose |
|---|---|
text.pollinations.ai/.env |
API keys, endpoints |
text.pollinations.ai/secrets/env.json |
Encrypted secrets (use sops) |
text.pollinations.ai/configs/modelConfigs.ts |
Model routing config |
text.pollinations.ai/availableModels.ts |
Service name â config mapping |
shared/registry/text.ts |
Pricing, provider, aliases, description |
Image/Video Models
| File | Purpose |
|---|---|
image.pollinations.ai/.env |
API keys, endpoints |
image.pollinations.ai/secrets/env.json |
Encrypted secrets (use sops) |
image.pollinations.ai/src/createAndReturnImages.ts |
Model handlers |
shared/registry/image.ts |
Pricing, provider, aliases, description |
Quick Actions
| Action | .env |
Config/Handler | Registry |
|---|---|---|---|
| New model | â | â | â (pricing!) |
| Change endpoint only | â | – | – |
| Change provider | â | â | â (pricing!) |
| Make paid-only | – | – | â
(paidOnly: true) |
| Disable model | – | â (remove) | â (remove) |
Secrets (sops)
sops -d <service>/secrets/env.json > /tmp/plain.json
# Edit with jq or manually
cp /tmp/plain.json <service>/secrets/env.json
sops -e -i <service>/secrets/env.json
rm /tmp/plain.json