← 返回 Skills 市场
jpengcheng523-netizen

Image Generator

作者 jpengcheng523-netizen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
132
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install jpeng-image-generator
功能描述
AI image generation skill using DALL-E, Stable Diffusion, or Midjourney API. Generate, edit, and vary images from text prompts.
使用说明 (SKILL.md)

Image Generator

Generate AI images using DALL-E, Stable Diffusion, or other providers.

When to Use

  • User wants to generate an image from text
  • Create variations of existing images
  • Edit images with AI inpainting
  • Generate thumbnails or illustrations

Configuration

# OpenAI DALL-E
export OPENAI_API_KEY="sk-xxx"

# Stability AI
export STABILITY_API_KEY="sk-xxx"

# Replicate (for SDXL, etc.)
export REPLICATE_API_TOKEN="r8_xxx"

Usage

Generate image

python3 scripts/generate_image.py \
  --prompt "A serene mountain landscape at sunset" \
  --size "1024x1024" \
  --output "./output.png"

Generate variations

python3 scripts/generate_image.py \
  --vary "./input.png" \
  --count 4 \
  --output-dir "./variations"

Edit image (inpainting)

python3 scripts/generate_image.py \
  --edit "./input.png" \
  --mask "./mask.png" \
  --prompt "Add a rainbow in the sky"

With style presets

python3 scripts/generate_image.py \
  --prompt "A futuristic city" \
  --style "cyberpunk" \
  --negative "blurry, low quality"

Output

{
  "success": true,
  "image_path": "./output.png",
  "revised_prompt": "A serene mountain landscape..."
}
安全使用建议
This skill appears incomplete or inconsistent: SKILL.md tells you to export API keys and run scripts/generate_image.py, but the package contains no scripts and the registry metadata lists no env vars. Before installing or providing API keys, ask the publisher for the missing source (scripts/generate_image.py and any other code), or prefer a published skill whose code and required env vars are included and documented. If you must test it, use dedicated, low-permission API keys (rotate them after), avoid using high-privilege or production keys, and verify where network calls are sent (official provider endpoints). If the author cannot supply the code or a trustworthy source URL, treat the skill as unreliable and do not provide secret credentials.
功能分析
Type: OpenClaw Skill Name: jpeng-image-generator Version: 1.0.0 The provided files (_meta.json and SKILL.md) describe a standard AI image generation skill utilizing DALL-E, Stable Diffusion, and Replicate APIs. The documentation outlines legitimate use cases, configuration of API keys, and command-line usage for a script (scripts/generate_image.py) that is referenced but not included in the provided snippet. There are no indicators of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The skill claims to generate and edit images via DALL·E, Stable Diffusion, or Midjourney, which would reasonably require API credentials and client code. However, the registry metadata lists no required env vars or credentials and there are no code files bundled — the SKILL.md refers to a local script (scripts/generate_image.py) that does not exist in the package. This mismatch means the skill as published cannot perform the claimed capability without external artifacts.
Instruction Scope
SKILL.md instructs the agent/operator to export API keys (OPENAI_API_KEY, STABILITY_API_KEY, REPLICATE_API_TOKEN) and to run python3 scripts/generate_image.py with local file paths. Those instructions reference files and environment variables not declared in the registry and not present in the package. The doc also names Midjourney in the description but provides no configuration guidance for it (Midjourney typically uses Discord), another inconsistency.
Install Mechanism
There is no install spec and no code is written to disk by the skill itself (instruction-only). This is low install-surface risk, but since the skill points to external scripts that are missing, it appears incomplete rather than actively installing anything.
Credentials
The SKILL.md asks users to set multiple API keys for image providers, which would be normal for an image-generation tool. But the package metadata declares no required environment variables or primary credential — the omission is a mismatch. Requiring multiple provider keys is proportionate to supporting multiple backends, yet the lack of declared requirements and absent code raises the risk that keys may be handled outside expected channels if the missing code were supplied later.
Persistence & Privilege
The skill does not request persistent/always-on presence (always: false) and does not declare any privileged system config or cross-skill modifications. Autonomous invocation is allowed by platform default, but that alone is not a concern given the other issues.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install jpeng-image-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /jpeng-image-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of jpeng-image-generator. - Generate AI images using DALL-E, Stable Diffusion, or Midjourney via API. - Supports image creation from text prompts, image variations, and inpainting edits. - Includes options for thumbnail/illustration generation and style presets. - Simple command-line usage and environment variable configuration.
元数据
Slug jpeng-image-generator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Image Generator 是什么?

AI image generation skill using DALL-E, Stable Diffusion, or Midjourney API. Generate, edit, and vary images from text prompts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 132 次。

如何安装 Image Generator?

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

Image Generator 是免费的吗?

是的,Image Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Image Generator 支持哪些平台?

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

谁开发了 Image Generator?

由 jpengcheng523-netizen(@jpengcheng523-netizen)开发并维护,当前版本 v1.0.0。

💬 留言讨论