Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Design & media
autoGenImageSkill
Try itUse when the user wants GPT-Image-2 image generation or image-to-image through an official OpenAI permission code/API key, a custom Responses-compatible prox...
What it does
Use this OpenClaw skill to generate PNG images with the local relay pattern: a Responses API request uses text model plus an tool using , then writes the returned base64 image to disk. The bundled CLI exposes three access paths so agents can pick the right entry without rewriting fetch/SSE/image…
The skill document
autoGenImageSkill
Overview
Use this OpenClaw skill to generate PNG images with the local gpt_image relay pattern: a Responses API request uses text model gpt-5.4 plus an image_generation tool using gpt-image-2, then writes the returned base64 image to disk. The bundled CLI exposes three access paths so agents can pick the right entry without rewriting fetch/SSE/image decoding logic.
The main script is scripts/gpt_image_cli.js. Run it with Node 18+. In OpenClaw, reference it as {baseDir}/scripts/gpt_image_cli.js so the command works wherever the skill folder is located.
External pages:
- ClawHub / OpenClaw:
https://clawhub.ai/Etherstrings/autogenimageskill - Hermes Agent GitHub skill source:
https://github.com/Etherstrings/autoGenImageSkill/tree/main/autoGenImageSkill
赞助支持
- 爱发电:
https://ifdian.net/a/etherstrings - GitHub donate section:
https://github.com/Etherstrings/autoGenImageSkill#donate
Alipay:
Alipay QR
WeChat Pay:
WeChat Pay QR
Access Choice
- Use
officialwhen the user provides an official OpenAI permission code/API key or explicitly wants the official API path. - Use
proxywhen the user provides a custombase_url, proxy endpoint, provider name, or third-party Responses-compatible API key. - Use
reservedwhen the user wants to use the creator's reserved capacity, purchase/redeem a key, check quota, or call the relay service that exposes/api/session,/api/keys, and/api/generate/jobs.
Do not echo API keys, permission codes, purchase keys, or provider tokens back to the user. Use environment variables or shell variables in examples.
Quick Commands
Official API key / permission code:
node {baseDir}/scripts/gpt_image_cli.js generate \
--mode official \
--permission-code "$OPENAI_API_KEY" \
--prompt "一张电影感的雨夜赛博城市街景" \
--output output/cyber-rain.png
Custom proxy:
node {baseDir}/scripts/gpt_image_cli.js generate \
--mode proxy \
--base-url "$GPT_IMAGE_BASE_URL" \
--api-key "$GPT_IMAGE_API_KEY" \
--prompt "透明背景的可爱机器人贴纸" \
--size 1024x1024 \
--output output/robot-sticker.png
Reserved purchased capacity:
node {baseDir}/scripts/gpt_image_cli.js generate \
--mode reserved \
--service-url "$GPT_IMAGE_RELAY_URL" \
--purchase-key "$GPT_IMAGE_PURCHASE_KEY" \
--prompt "国风水墨质感的未来城市海报" \
--output output/ink-future-city.png
Image-to-image:
node {baseDir}/scripts/gpt_image_cli.js generate \
--mode proxy \
--base-url "$GPT_IMAGE_BASE_URL" \
--api-key "$GPT_IMAGE_API_KEY" \
--prompt "保持人物姿势,改成高端杂志封面摄影" \
--image /absolute/path/reference.png \
--output output/cover.png
Reserved Flow
For reserved capacity, create or reuse a session before generation when the user wants account persistence:
node {baseDir}/scripts/gpt_image_cli.js session \
--service-url "$GPT_IMAGE_RELAY_URL" \
--profile-name "demo-user" \
--save-session
Redeem a purchase key without generating:
node {baseDir}/scripts/gpt_image_cli.js redeem \
--service-url "$GPT_IMAGE_RELAY_URL" \
--purchase-key "$GPT_IMAGE_PURCHASE_KEY" \
--user-id "$GPT_IMAGE_USER_ID"
Check quota:
node {baseDir}/scripts/gpt_image_cli.js quota \
--service-url "$GPT_IMAGE_RELAY_URL" \
--user-id "$GPT_IMAGE_USER_ID"
References
- Read references/access-modes.md when choosing among official, proxy, and reserved entries or when a user asks how to configure them.
- Read references/runtime.md when debugging generation, SSE parsing, relay quota, OpenClaw/Hermes packaging, or the relationship to the original
gpt_imageproject.
Output Rules
Always return the absolute output image path and the decisive metadata: access mode, endpoint or relay job ID, provider name when available, byte size, and any revised prompt returned by the model. Keep credentials redacted.
Related skills
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.
Write, debug, and tune Playwright specs with locator strategy, trace diagnosis, and CI-aware timeouts.
More from etherstrings
Browse all skillsLocal A-share analysis with Markdown/JSON reports, optional Feishu notifications, and optional iFinD enhancement.
Use when the user needs Tonghuashun iFinD market, report, factor, screening, calendar, or other financial data, and all data must come from iFinD after succe...
Free no-API-key A-share ecosystem data query skill for OpenClaw and Hermes. Use when users ask for A股、沪深京股票、指数、ETF/LOF、可转债、行业/概念板块、实时行情、K线、涨跌排行、涨停/跌停/炸板、资金流、...
当用户希望 OpenClaw 通过 Gemini 网页版完成通用浏览器交互时使用,包括登录、续接或分叉 Gemini 线程、上传文件给 Gemini 分析、向 Gemini 提问、起草或总结内容,以及生成可下载图片。
Wrap a local openclaw_capture_workflow checkout as an OpenClaw/ClawHub skill that captures links, text, images, and videos, routes STT by platform, and fans...