← Back to Skills Marketplace
andy27725

Openai Image Gen Andy27725

by Andy27725 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
130
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install openai-image-gen-andy27725
Description
Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
Usage Guidance
This skill appears to do what it says: it uses your OPENAI_API_KEY to call api.openai.com and save generated images and an index.html gallery locally. Things to consider before installing: 1) network access and API usage costs—each run invokes the OpenAI Images API and may consume billable credits; 2) it writes files to your home directory (~/Projects/tmp/openai-image-gen-<ts> or ./tmp), so ensure you are comfortable with those outputs and have disk space; 3) moderation/streaming features are not implemented in the script, so generated content is not auto-moderated by this tool — exercise normal content caution; 4) verify the OPENAI_API_KEY you provide has appropriate permissions and is stored securely. If you want extra assurance, review the remaining (truncated) portion of scripts/gen.py to confirm it only downloads image URLs returned by the API and doesn't send data to any other endpoints.
Capability Analysis
Type: OpenClaw Skill Name: openai-image-gen-andy27725 Version: 1.0.0 The skill provides a Python script to batch-generate images using the OpenAI API and creates a local HTML gallery for viewing. It correctly handles API authentication via environment variables, implements XSS protection in the generated HTML using html.escape, and lacks any indicators of data exfiltration, persistence, or malicious execution. Files analyzed: SKILL.md, scripts/gen.py, and scripts/test_gen.py.
Capability Assessment
Purpose & Capability
Name/description (batch-generate images via OpenAI Images API) matches the code and declared requirements. The only required binary is python3 and the only required env var is OPENAI_API_KEY, both appropriate for this task.
Instruction Scope
SKILL.md instructs running the included Python script and opening the generated index.html. The runtime instructions and flags map to the script's behavior. The instructions do not ask the agent to read unrelated files or extra environment variables; they note increasing exec timeout for long-running image generation.
Install Mechanism
Install spec is a single Homebrew formula (python). This is a standard, low-risk install mechanism and appropriate because the code requires python3.
Credentials
The skill requires a single credential (OPENAI_API_KEY) which is necessary to call the OpenAI Images API. No unrelated credentials, config paths, or broad secrets are requested.
Persistence & Privilege
The skill does not request always: true and is user-invocable as expected. It does write output files to a user-local directory (~/Projects/tmp or ./tmp), which is consistent with generating images and a gallery.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openai-image-gen-andy27725
  3. After installation, invoke the skill by name or use /openai-image-gen-andy27725
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of openai-image-gen: batch-generate images using the OpenAI Images API with random structured prompts. - Includes a Python script for custom image parameters (model, prompt, count, size, quality, format, background, style). - Supports GPT image models, DALL-E 3 (with auto count-limiting), and DALL-E 2, with model-specific defaults and features. - Generates output images, a prompts mapping JSON, and an `index.html` thumbnail gallery for easy browsing. - Full command-line usage documentation and parameter breakdown included in SKILL.md.
Metadata
Slug openai-image-gen-andy27725
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Openai Image Gen Andy27725?

Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery. It is an AI Agent Skill for Claude Code / OpenClaw, with 130 downloads so far.

How do I install Openai Image Gen Andy27725?

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

Is Openai Image Gen Andy27725 free?

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

Which platforms does Openai Image Gen Andy27725 support?

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

Who created Openai Image Gen Andy27725?

It is built and maintained by Andy27725 (@andy27725); the current version is v1.0.0.

💬 Comments