install
source · Clone the upstream repo
git clone https://github.com/openclaw-rocks/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw-rocks/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/image-gen" ~/.claude/skills/openclaw-rocks-skills-image-gen && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw-rocks/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/image-gen" ~/.openclaw/skills/openclaw-rocks-skills-image-gen && rm -rf "$T"
manifest:
image-gen/SKILL.mdsource content
Image Generation
Generate images using the Fuel proxy.
Usage
Run
scripts/generate.py with a text prompt describing the image you want to create.
python3 scripts/generate.py "a sunset over the ocean with vibrant colors"
The script outputs a
MEDIA:<path> line pointing to the generated image file.
Requirements
(bundled in the OpenClaw container)python3
environment variable (set automatically on Pro instances)FUEL_API_KEY
How it works
- Sends a chat completion request to the Fuel proxy with
andmodel: "image-gen"modalities: ["image", "text"] - Fuel proxy routes to the configured image generation model
- Parses the base64-encoded image from the response
- Saves the image to a temporary file and prints the
pathMEDIA: