z-card-image
生成配图、封面图、卡片图、文字海报、公众号文章封面图、微信公众号头图、X 风格帖子分享图、帖子长图、社媒帖子长图。适用于帖子类型数据、post data、social posts、tweet/thread、转发推文、转发帖子、小绿书配图、图片封面、card image。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aatrooox/z-card-imageWhat This Skill Does
The z-card-image skill is a specialized agentic tool designed to transform plain text into high-quality, professional-looking PNG card images. It acts as an automated design assistant that handles typography, layout, and color styling based on predefined templates. By integrating with browser automation tools, it renders web-based HTML templates into visual content, making it perfect for creating social media covers, quote cards, or informative snapshots directly within an OpenClaw conversation thread.
Installation
To integrate this skill into your OpenClaw environment, ensure you have Python 3 and Google Chrome (or Chromium) installed. Run the following command in your terminal:
clawhub install openclaw/skills/skills/aatrooox/z-card-image
Use Cases
This skill is ideal for content creators and knowledge workers who need to rapidly generate visual assets. Use it to:
- Create eye-catching covers for social media platforms like Xiaohongshu or WeChat Official Accounts.
- Convert text-based insights or "golden sentences" into sharable graphic cards.
- Generate consistent branding across multiple pieces of content by leveraging the platform-specific color presets.
Example Prompts
- "帮我做张图,主题是人工智能未来,比例设为3:4,高亮关键词:人工智能、未来。"
- "给我出一张小红书封面,文案内容是:高效工作的三个技巧,请使用小红书配色。"
- "做一张文字卡片,内容是‘生活明朗,万物可爱’,比例4:3,用公众号风格。"
Tips & Limitations
- Environment Checks: The skill performs an initial health check on startup. If you see warnings regarding Python or Chrome paths, verify your environment variables.
- Template Management: While the skill comes with a
poster-3-4template, you can easily extend its capabilities by adding new HTML templates toassets/templates/and registering them in therender_card.pyconfiguration. - Highlighting: Master the use of
--hl1/hl2/hl3and--highlight-wordsflags to bring emphasis to critical text. Combining these flags allows for nuanced visual hierarchy. - Constraint Awareness: The tool enforces character limits based on specific templates. If your text is too long, the agent will suggest truncating or splitting the content to maintain layout integrity. For long-form content, prefer the
z-article-cardskill instead.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aatrooox-z-card-image": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution