闲社服务运行正常AI智能体自动化平台
o

社交图像设计

技能标识:og-image-design

Open Graph and social sharing image design with platform specs, text placement, and branding. Covers OG meta tags, Twitter cards, LinkedIn previews, and dynamic generation. Use for: social sharing images, blog thumbnails, link previews, social cards. Triggers: og image, open graph, social sharing image, twitter card, social card, link preview image, og meta, sharing preview, social thumbnail, meta image, og:image, twitter:image, linkedin preview

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 0.1.5
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

社交图像设计

OG 图像设计

通过 inference.sh CLI 创建社交分享图像(Open Graph)。

快速开始

bash
curl -fsSL https://cli.inference.sh | sh && infsh login

使用 HTML 转图像生成 OG 图像

infsh app run infsh/html-to-image --input { html:

How We Reduced Build Times by 80%

engineering.yourcompany.com

}

安装说明: 安装脚本 仅检测您的操作系统/架构,从 dist.inference.sh 下载匹配的二进制文件,并验证其 SHA-256 校验和。无需提升权限或后台进程。提供手动安装与验证。

平台规格

平台尺寸宽高比文件大小格式
Facebook1200 x 630 px1.91:1< 8 MBJPG, PNG
Twitter/X (summarylargeimage)
1200 x 628 px | 1.91:1 | < 5 MB | JPG, PNG, WEBP, GIF | | Twitter/X (summary) | 800 x 418 px | 1.91:1 | < 5 MB | JPG, PNG | | LinkedIn | 1200 x 627 px | 1.91:1 | < 5 MB | JPG, PNG | | Discord | 1200 x 630 px | 1.91:1 | < 8 MB | JPG, PNG | | Slack | 1200 x 630 px | 1.91:1 | — | JPG, PNG | | iMessage | 1200 x 630 px | 1.91:1 | — | JPG, PNG |

通用安全选择:1200 x 630 px,PNG 或 JPG,小于 5 MB。

黄金布局

┌──────────────────────────────────────────────────┐
│ │
│ ┌─────────────────────────────────┐ ┌───────┐ │
│ │ │ │ │ │
│ │ 标题文本(最多 60 字符) │ │ 标志/ │ │
│ │ ─────────────────── │ │ 视觉 │ │
│ │ 副标题(最多 100 字符) │ │ 元素 │ │
│ │ │ │ │ │
│ │ 作者 / 网站名称 │ └───────┘ │
│ └─────────────────────────────────┘ │
│ │
└──────────────────────────────────────────────────┘
1200 x 630 px

设计规则

文本

规则值
标题字号48-64px
副标题字号
20-28px | | 标题最大长度 | 60 字符(部分平台会被截断) | | 副标题最大长度 | 100 字符 | | 行高 | 标题 1.2-1.3 | | 字重 | 标题用粗体/黑体,副标题用常规体 | | 文本对比度 | WCAG AA 最低标准(4.5:1 比例) |

安全区域

┌──────────────────────────────────────────────────┐
│ ┌──────────────────────────────────────────────┐│
│ │ 距所有边缘 40px 内边距 ││
│ │ ││
│ │ 内容在此区域内 ││
│ │ ││
│ │ ││
│ └──────────────────────────────────────────────┘│
└──────────────────────────────────────────────────┘

  • - 距所有边缘至少 40px 内边距
  • 部分平台会裁剪边缘或添加圆角
  • 切勿将关键文本放在外部 5% 区域内

颜色

背景类型使用场景
纯品牌色系列一致内容、企业场景
渐变
现代、吸睛效果 | | 带覆盖层的照片 | 博客文章、社论内容 | | 深色背景 | 对比度更好,在信息流中更突出 |

深色背景在社交信息流中表现优于浅色——大多数信息流采用白色/浅色背景,因此深色 OG 图像更醒目。

按内容类型的模板

博客文章

bash
infsh app run infsh/html-to-image --input {
html:

Engineering Blog

How We Reduced Build Times by 80%

A deep dive into our CI/CD optimization


}

产品/发布公告

bash
infsh app run infsh/html-to-image --input {
html:

Now Available

DataFlow 2.0

Automated reports. Zero configuration.


}

教程/操作指南

bash
infsh app run infsh/html-to-image --input {
html:

TUTORIAL

Build a REST API in 10 Minutes with Node.js

Step-by-step guide with code examples


}

AI 生成视觉 OG

bash

当您想要引人注目的视觉而非基于文本时


infsh app run falai/flux-dev-lora --input {
prompt: clean professional social sharing card, dark gradient background, abstract geometric shapes, modern tech aesthetic, minimal, no text, 1200x630 equivalent aspect ratio,
width: 1200,
height: 630
}

OG 元标签参考

html






标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 og-image-design-1776332375 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 og-image-design-1776332375 技能

通过命令行安装

skillhub install og-image-design-1776332375

下载

⬇ 下载 og-image-design v0.1.5(免费)

文件大小: 4.14 KB | 发布时间: 2026-4-17 15:32

v0.1.5 最新 2026-4-17 15:32
- Expanded documentation with detailed platform specs, templates, and design best practices for OG/social sharing images.
- Added quick start guide demonstrating image generation via inference.sh CLI.
- Included HTML/CSS examples for blog, product, and tutorial OG images.
- Provided universal image size and layout recommendations for compatibility.
- Added OG meta tag and Twitter Card reference for proper SEO/social preview integration.
- Outlined safe zone, font, color, and layout rules for consistent, on-brand images.
返回顶部