← Back to Skills Marketplace
jpengcheng523-netizen

Image Generator

by jpengcheng523-netizen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
132
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install jpeng-image-generator
Description
AI image generation skill using DALL-E, Stable Diffusion, or Midjourney API. Generate, edit, and vary images from text prompts.
README (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..."
}
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install jpeng-image-generator
  3. After installation, invoke the skill by name or use /jpeng-image-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug jpeng-image-generator
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Image Generator?

AI image generation skill using DALL-E, Stable Diffusion, or Midjourney API. Generate, edit, and vary images from text prompts. It is an AI Agent Skill for Claude Code / OpenClaw, with 132 downloads so far.

How do I install Image Generator?

Run "/install jpeng-image-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Image Generator free?

Yes, Image Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Image Generator support?

Image Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Image Generator?

It is built and maintained by jpengcheng523-netizen (@jpengcheng523-netizen); the current version is v1.0.0.

💬 Comments