← 返回 Skills 市场
mrilaikram

Free Image Generation Skill

作者 ILA IKRAM · GitHub ↗ · v1.0.4
cross-platform ⚠ suspicious
971
总下载
1
收藏
13
当前安装
5
版本数
在 OpenClaw 中安装
/install free-image-generation-skill
功能描述
Professional free image generation skill for agents. No API key required. Generate images from text with resilient retry/backoff and clean local file output....
使用说明 (SKILL.md)

Free Image Generation Skill

No API key required.

Run a clean production workflow:

  1. install dependencies,
  2. generate image from prompt,
  3. save output.

Quick Start (Fresh Setup)

  1. Install dependencies:
bash scripts/setup_env.sh
  1. Generate one image:
python3 scripts/perchance_generate.py \
  --prompt "cinematic isometric office, dusk, neon reflections" \
  --out ./media/free-image-sample.jpg \
  --shape square

Reliability Rules

  • Default retries: 3
  • Backoff: built into script
  • On failure, return exact error and propose retry
  • Designed for free, repeated usage with responsible pacing
  • Keep usage responsible and moderate

Parameters

perchance_generate.py supports:

  • --prompt (required)
  • --out (required)
  • --shape (portrait|square|landscape)
  • --negative
  • --guidance
  • --retries
  • --timeout

Resources

  • Main generator: scripts/perchance_generate.py
  • Dependency setup: scripts/setup_env.sh, scripts/requirements.txt
安全使用建议
This package appears to do what it says: it runs a local Python script that calls an unofficial Perchance image API to generate and save images. Before installing/running: (1) confirm you have a safe Python environment (python3 and pip); (2) review the scripts (they are included) and verify you are comfortable sending prompts to https://image-generation.perchance.org — prompts and generated images will be transmitted to that external service; (3) run in an isolated environment if prompts may contain sensitive data; (4) be aware the service is unofficial and may change or become unavailable; (5) if you need higher assurance, request a skill with a documented homepage/source or an official API provider.
功能分析
Type: OpenClaw Skill Name: free-image-generation-skill Version: 1.0.4 The skill's core functionality involves generating images and saving them to a user-specified path. The `scripts/perchance_generate.py` script processes the `--out` argument by resolving the path (`Path(args.out).expanduser().resolve()`) and directly writing the downloaded image content to it. This creates a path traversal/arbitrary file write vulnerability, as an attacker could potentially specify any writable location on the filesystem to overwrite files with image data. While the content written is an image (not directly executable code), this lack of input sanitization or path restriction is a significant vulnerability, classifying the skill as suspicious rather than benign. There is no evidence of intentional malicious behavior such as data exfiltration, persistence, or remote code execution.
能力评估
Purpose & Capability
Name/description (free image generation) align with the included Python script and docs. The skill requires running Python and pip (via scripts/setup_env.sh) even though the registry metadata lists no required binaries—this is a small mismatch but expected for a Python script.
Instruction Scope
SKILL.md instructs installing dependencies and running scripts to generate and save images. The runtime code makes network requests to an unofficial third‑party API (image-generation.perchance.org), extracts a userKey from HTML, posts prompt payloads, and downloads image bytes. The instructions do not read unrelated local files or environment variables and return structured output. The external network calls are expected for this purpose but are worth noting for privacy/availability reasons.
Install Mechanism
No install spec in registry; the bundled setup_env.sh installs the single dependency (requests) via pip --user from the included requirements.txt. This is a low-risk, local install behavior (no arbitrary remote downloads or extract steps).
Credentials
The skill requests no environment variables or credentials, which is proportional. It does, however, contact an unofficial external service (no homepage or authoritative source provided). Consider the privacy implications of sending prompts to that third party and the reliability/trustworthiness of the endpoint.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and only writes image files to the output path and installs a Python library to the user's environment. No elevated or global agent privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install free-image-generation-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /free-image-generation-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
Updated listing copy: no API key required, free high-volume usage positioning, refined reliability wording.
v1.0.3
Removed delivery-channel assumptions from docs. Skill is now strictly generation-only; host agent controls delivery.
v1.0.2
Removed human-face fallback path and related flags. Simplified to pure image-generation pipeline with cleaner docs.
v1.0.1
Refined public presentation, removed personal/local path examples, improved onboarding clarity, polished trust-focused documentation.
v1.0.0
Initial release: unofficial Perchance-style free image generation pipeline, setup script, retries/backoff, optional human fallback, Telegram delivery contract.
元数据
Slug free-image-generation-skill
版本 1.0.4
许可证
累计安装 13
当前安装数 13
历史版本数 5
常见问题

Free Image Generation Skill 是什么?

Professional free image generation skill for agents. No API key required. Generate images from text with resilient retry/backoff and clean local file output.... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 971 次。

如何安装 Free Image Generation Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install free-image-generation-skill」即可一键安装,无需额外配置。

Free Image Generation Skill 是免费的吗?

是的,Free Image Generation Skill 完全免费(开源免费),可自由下载、安装和使用。

Free Image Generation Skill 支持哪些平台?

Free Image Generation Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Free Image Generation Skill?

由 ILA IKRAM(@mrilaikram)开发并维护,当前版本 v1.0.4。

💬 留言讨论