ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

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 from an article markdown draft before preview or publishing.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/abigale-cyber/content-system-generate-image
Or

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

  1. Read the article draft and extract the topic, tone, and the strongest visualizable idea.
  2. Generate the preferred image through the shared runtime in skills/generate-image/runtime.py.
  3. Fall back to the local infographic renderer when external generation fails or is unavailable.
  4. Write the exported PNG to the pipeline output path. If wechat-studio is involved, let the workbench decide whether and how to ingest the result.

Per-article overrides are supported through Markdown frontmatter fields:

  • image_provider
  • image_api_base
  • image_model

Write Output

Write the primary exported file to:

content-production/ready/<slug>-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 md2wechat config
  • 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/*.png as the executor's exported artifact; any workbench copy should be managed by wechat-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

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-abigale-cyber-content-system-generate-image": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

humanizer-zh

Remove obvious AI-writing traces from Chinese text in a constrained way. Use when Codex needs to reduce AI smell without changing facts, data, or the article's core argument.

abigale-cyber 4473

news-aggregator-skill

Comprehensive news aggregator that fetches, filters, and deeply analyzes real-time content from 28 sources including Hacker News, GitHub, Hugging Face Papers, AI Newsletters, WallStreetCN, Weibo, and Podcasts. Use when user requests 'daily scans', 'tech news', 'finance updates', 'AI briefings', 'deep analysis', or says '如意如意' to open the interactive menu.

abigale-cyber 4473

feishu-bitable-sync

Sync a local `wechat-report` result into Feishu Bitable after the user has reviewed the report and confirmed the sync.

abigale-cyber 4473

wechat-formatter

Render article markdown into WeChat-style HTML as an independent executor. Use when Codex needs公众号排版预览, WeChat HTML output, or a publishable HTML artifact generated from an article markdown draft.

abigale-cyber 4473

tavily-research

Conduct comprehensive AI-powered research with citations via the Tavily CLI. Use this skill when the user wants deep research, a detailed report, a comparison, market analysis, literature review, or says "research", "investigate", "analyze in depth", "compare X vs Y", "what does the market look like for", or needs multi-source synthesis with explicit citations. Returns a structured report grounded in web sources. Takes 30-120 seconds. For quick fact-finding, use tavily-search instead.

abigale-cyber 4473