SuperAPI AI 工具集

brand-assets

设计与创作

查看项目

更新于 10-16 08:05

技能介绍

用途:从模板生成品牌化视觉素材,使用 brand.yaml 中的品牌色板、字体与标识,输出 1200x630 PNG,替代手工制图。

主要能力:提供多种模板,包括 og-blog(博客 OG 卡片)、og-product(产品公告卡)、og-changelog(版本发布卡)、og-default(通用兜底 OG 卡)、social-announce(社交公告)、social-quote(社交引用卡)、blog-header(博客头图)、launch-hero(产品发布主视觉)。

使用方式:先确保项目根目录存在 brand.yaml,必要时先运行 /brand-compile。按场景选择模板:博客文章用 og-blog + blog-header;产品发布用 launch-hero + social-announce + og-product;更新日志用 og-changelog;通用用 og-default。单张渲染命令:node ~/Development/brand-kit/dist/src/cli.js render og-blog --title "Post Title" --author "Author Name" --date "2026-02-12" --out ./public/og-blog.png。批量生成:node ~/Development/brand-kit/dist/src/cli.js render-all --out ./public/brand-assets。所有模板支持 --title(必填)、--subtitle、--author、--date、--version、--out(必填)。无参数调用时会根据上下文推断:git log 出现版本标签则渲染 og-changelog;存在博客草稿则渲染 og-blog + blog-header;存在 product-hunt-kit.md 则渲染 launch-hero + social-announce;否则渲染 og-default。

相关技能:/brand-compile 为前置编译;/og-card 为旧版卡片生成;/og-hero-image 为 AI 生成主视觉;/launch-assets 为发布素材编排;/ai-image-generation 提供 50+ AI 模型用于非品牌模板图像生成。

限制:依赖 brand.yaml 与 brand-kit CLI 路径,具体安装与配置方式资料未提供;模板参数以外的自定义能力暂未提供。