← 返回 Skills 市场
517
总下载
1
收藏
9
当前安装
5
版本数
在 OpenClaw 中安装
/install pollinations-ai
功能描述
Generate images, music, and videos from text prompts using Pollinations AI with models like flux, zimage, and suno-4 via API key.
安全使用建议
This skill appears to do what it says: call Pollinations API to generate images, audio, and video. Before installing: (1) only provide a Pollinations API key — avoid giving unrelated secrets; (2) note the optional Telegram feature uses an external 'openclaw' CLI that is not declared in the metadata, so Telegram sending will fail unless you have an appropriate 'openclaw' command installed and trust it; (3) verify ALLOWED_OUTPUT_DIRS and OPENCLAW_WORKSPACE values so generated files are written only where you expect (SKILL.md mentions '/tmp' as a default but the code primarily uses the workspace outputs directory); (4) review network policy if you need to restrict outbound calls to gen.pollinations.ai. If any of the undocumented behaviors (use of 'openclaw' or differences in ALLOWED_OUTPUT_DIRS defaults) are unacceptable, ask the author to update metadata and docs before use.
功能分析
Type: OpenClaw Skill
Name: pollinations-ai
Version: 1.0.4
The pollinations-ai skill bundle is a legitimate tool for generating AI media via the Pollinations AI API. It includes proactive security measures like path traversal sanitization in `pollinations_image_gen.py`, `pollinations_audio_gen.py`, and `pollinations_video_gen.py`, and avoids hardcoding credentials by using environment variables. The use of `subprocess.run` to interact with the OpenClaw CLI for Telegram messaging is implemented safely without shell execution, and the instructions in `SKILL.md` are consistent with the stated functionality.
能力评估
Purpose & Capability
Name/description match the code: three CLI scripts call Pollinations endpoints to generate images, audio, and video. The only capability that extends beyond pure generation is an optional Telegram send implemented via an 'openclaw message send' subprocess call — the skill does not declare 'openclaw' as a required binary in metadata, so that dependency is undocumented.
Instruction Scope
SKILL.md instructions align with the code: require POLLINATIONS_API_KEY, explain optional TELEGRAM_CHAT_ID, and show how to run the scripts. The scripts only read the declared env vars (POLLINATIONS_API_KEY, TELEGRAM_CHAT_ID, ALLOWED_OUTPUT_DIRS, OPENCLAW_WORKSPACE) and write output files to allowed directories according to sanitizers. No unexpected file reads, secret harvesting, or external endpoints beyond gen.pollinations.ai are present.
Install Mechanism
No install spec is provided (instruction-only install). The included requirements.txt and meta.json list reasonable Python dependencies (requests, Pillow). There are no downloads from arbitrary URLs or archive extraction.
Credentials
Only POLLINATIONS_API_KEY is required (with TELEGRAM_CHAT_ID, ALLOWED_OUTPUT_DIRS, OPENCLAW_WORKSPACE optional). This is proportionate to the stated functionality. The scripts avoid hardcoding secrets and mask the API key in logged URLs.
Persistence & Privilege
The skill does not request permanent 'always' inclusion and does not modify other skills or system-wide settings. It creates output files under a workspace but does not persist credentials or change agent configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pollinations-ai - 安装完成后,直接呼叫该 Skill 的名称或使用
/pollinations-ai触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
- Updated default video model from "suno" to "suno-4" in the video generation section.
- No functionality or parameter changes; documentation update only.
v1.0.3
- Fixed default video model to suno-4 in CLI documentation for pollinations_video_gen.py.
- No functional changes to scripts; documentation alignment only.
- Updated SKILL.md to reflect accurate video generation defaults.
v1.0.2
Version 1.0.2 – Documentation & Security Updates
- Major update to SKILL.md with expanded setup instructions, improved usage guides, and full parameter documentation.
- Added detailed security configuration and environment variable documentation, clarifying required and optional settings.
- Outlined built-in security/mechanisms (allowed output directories, Telegram opt-in).
- Enhanced references, troubleshooting, and supported model listings for clarity.
- Added _meta.json for improved metadata management.
v1.0.1
- API Key is now required for all models.
- Updated documentation for simplified setup instructions.
- Clarified recommended and available models list.
- Improved CLI usage and parameters section.
- Removed the detailed models reference file.
v1.0.0
Initial release of pollinations-ai skill.
- Generate images, music, and video from text prompts using the Pollinations AI API.
- Supports multiple image, audio, and video models (e.g., flux, zimage, nanobanana, suno-4).
- Includes scripts for dedicated image, audio, and video generation.
- Allows customization of model, output size, duration, aspect ratio, and other parameters.
- Offers step-by-step setup instructions for API key and dependencies.
- Provides troubleshooting guide and integration example for use in OpenClaw.
元数据
常见问题
Pollinations AI 是什么?
Generate images, music, and videos from text prompts using Pollinations AI with models like flux, zimage, and suno-4 via API key. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 517 次。
如何安装 Pollinations AI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pollinations-ai」即可一键安装,无需额外配置。
Pollinations AI 是免费的吗?
是的,Pollinations AI 完全免费(开源免费),可自由下载、安装和使用。
Pollinations AI 支持哪些平台?
Pollinations AI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Pollinations AI?
由 kanfred(@kanfred)开发并维护,当前版本 v1.0.4。
推荐 Skills