Xpersona
O

Openai Image Gen

CLAWHUB · Unverified

Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery. Skill: Openai Image Gen Owner: steipete Summary: Batch-generate images via OpenAI Images API. Random prompt sampler + index.html gallery. Tags: latest:1.0.1 Version history: v1.0.1 | 2026-01-05T22:26:40.401Z v1.0.0 | 2026-01-04T16:49:24.210Z Archive index: Archive v1.0.1: 4 files, 5084 bytes Files: scripts/gen.py (7703b), skill-card.md (1870b), SKILL.md (1034b), _meta.json (135b) File v1.0.1:SKILL.md --- name: openai

62
Rank
84
Safety
27k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 26.9K downloads reported by the source. Last updated 11/16/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179zksw999xz8ms4cy7pb2fr183m5jq:openai-image-gen
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-steipete-openai-image-gen-mage-gen-2/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

4,890 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: openai-image-gen
description: Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
---

# OpenAI Image Gen

Generate a handful of “random but structured” prompts and render them via OpenAI Images API.

## Setup

- Needs env: `OPENAI_API_KEY`

## Run

From any directory (outputs to `~/Projects/tmp/...` when present; else `./tmp/...`):

```bash
python3 ~/Projects/agent-scripts/skills/openai-image-gen/scripts/gen.py
open ~/Projects/tmp/openai-image-gen-*/index.html
```

Useful flags:

```bash
python3 ~/Projects/agent-scripts/skills/openai-image-gen/scripts/gen.py --count 16 --model gpt-image-1.5
python3 ~/Projects/agent-scripts/skills/openai-image-gen/scripts/gen.py --prompt "ultra-detailed studio photo of a lobster astronaut" --count 4
python3 ~/Projects/agent-scripts/skills/openai-image-gen/scripts/gen.py --size 1536x1024 --quality high --out-dir ./out/images
```

## Output

- `*.png` images
- `prompts.json` (prompt ↔ file mapping)
- `index.html` (thumbnail gallery)

_meta.json

{
  "ownerId": "kn70pywhg0fyz996kpa8xj89s57yhv26",
  "slug": "openai-image-gen",
  "version": "1.0.1",
  "publishedAt": 1767652000401
}

skill-card.md

## Description:

Batch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.

This skill is ready for commercial/non-commercial use.

## Publisher:

[steipete](https://clawhub.ai/user/steipete)

### License/Terms of Use:


## Use Case:

Developers and agents use this skill to generate batches of OpenAI image outputs from random or user-supplied prompts and assemble the resulting PNG files, prompt mapping, and local HTML gallery.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can send the OpenAI API key and prompts to a custom API endpoint if OPENAI_BASE_URL or OPENAI_API_BASE is set.

Mitigation: Run it in a clean environment where those variables are unset or intentionally trusted.

Risk: Prompts are sent to the image generation API and may contain confidential information.

Mitigation: Avoid confidential prompts and review prompt content before generation.

Risk: The generated local HTML gallery may include unescaped prompt content.

Mitigation: Review or patch the gallery generation before opening or hosting the generated index.html.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/steipete/skills/openai-image-gen)

## Skill Output:

**Output Type(s):** [Files, Images, JSON, HTML]

**Output Format:** [PNG image files, JSON prompt mapping, and a local HTML gallery]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Writes outputs to a timestamped directory unless an explicit output directory is provided.]

## Skill Version(s):

1.0.1 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Openai Image Gen and adjacent AI workflows.