返回顶部
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
安全检测
已通过
761
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

og-image-design

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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部