Generate Image
/install content-system-generate-image
Generate Image
Generate the image asset for an article draft as an independent executor. On ClawHub, this skill is published as content-system-generate-image.
Quick Start
Run the default command:
.venv/bin/python -m skill_runtime.cli run-skill generate-image --input content-production/drafts/ai-content-system-article.md
Prepare Source Article
Start from an article markdown draft that already has a stable title, structure, and core message. Use the article content to infer the primary visual theme and the most useful image role, such as header art, infographic card, or inline supporting visual.
The default remote image backend is:
provider: openai
api base: https://new.suxi.ai/v1
model: nano-nx
This is meant for the 香蕉画图 endpoint, which is treated as an OpenAI-compatible image API.
Follow Generation Workflow
- Read the article draft and extract the topic, tone, and the strongest visualizable idea.
- Generate the preferred image through the shared runtime in
skills/generate-image/runtime.py. - Fall back to the local infographic renderer when external generation fails or is unavailable.
- Write the exported PNG to the pipeline output path. If
wechat-studiois involved, let the workbench decide whether and how to ingest the result.
Per-article overrides are supported through Markdown frontmatter fields:
image_providerimage_api_baseimage_model
Write Output
Write the primary exported file to:
content-production/ready/\x3Cslug>-img-1.png
Respect Constraints
- External image generation may fail because of network or API issues
- The skill injects its own provider, base URL, and default model at runtime instead of changing the global
md2wechatconfig - Users with an existing 香蕉制作平台 can use it directly
- Users without one can open job.suxi.ai, generate an
SK, place it into the token field, and log in - When fallback is used, the PNG is still valid but is a local placeholder-style information card
- Treat
content-production/ready/*.pngas the executor's exported artifact; any workbench copy should be managed bywechat-studio, not by this skill
Read Related Files
- Shared runtime:
skills/generate-image/runtime.py - Pipeline entry:
skill_runtime/engine.py - Visual workbench:
skills/wechat-studio/frontend/server.py - Execution guide:
docs/generate-image-execution-spec.md
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install content-system-generate-image - 安装完成后,直接呼叫该 Skill 的名称或使用
/content-system-generate-image触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Generate Image 是什么?
Generate article companion images for the content factory pipeline. Use when Codex needs article images, infographic cards, inline visuals, or a PNG exported... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 119 次。
如何安装 Generate Image?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install content-system-generate-image」即可一键安装,无需额外配置。
Generate Image 是免费的吗?
是的,Generate Image 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Generate Image 支持哪些平台?
Generate Image 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Generate Image?
由 Abigale-cyber(@abigale-cyber)开发并维护,当前版本 v1.0.1。