poster-precise-text

v1.0.0

精准文字海报生成技能(两步法)。当用户需要生成中文海报且文字必须100%精准时触发。核心方法:Step1 用 image_synthesize 以参考图生成插画,Step2 用 HTML 精确渲染文字,两者互补。适用场景:健康科普、教育宣传、活动海报、运营素材。

0· 92·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for leosheep821-debug/poster-precise-text.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "poster-precise-text" (leosheep821-debug/poster-precise-text) from ClawHub.
Skill page: https://clawhub.ai/leosheep821-debug/poster-precise-text
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install poster-precise-text

ClawHub CLI

Package manager switcher

npx clawhub@latest install poster-precise-text
Security Scan
Capability signals
Crypto
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
技能名称、描述和 SKILL.md 中的步骤一致:先用 images_understand / image_synthesize 生成或重绘插画,再用 HTML 模板精确渲染中文文字。它没有要求与海报生成无关的凭据、二进制或配置路径,所需资源(HTML 模板、prompt 指南)都包含在包内。
Instruction Scope
大部分指令局限于解析图片、调用图像合成工具并填充 HTML 模板,这是与描述相符的行为。需要注意的几点:SKILL.md 假定存在 images_understand 和 image_synthesize 工具(会把图片/文本发送到图像模型);它还建议调用一个 deploy(...) 操作用于发布 HTML,但没有说明该 deploy 函数的实现或目标平台,存在模糊点(可能需要确认部署目标和权限)。模板引用外部字体(fonts.googleapis.com),打开 HTML 时会发出外部网络请求,可能泄露用户的 IP/请求元数据。
Install Mechanism
这是一个纯说明型技能(无安装规范、无代码可执行文件、无 extract 下载),没有写磁盘或运行第三方安装脚本的风险。
Credentials
skill.json 与 SKILL.md 未声明任何环境变量或凭据;SKILL.md 执行流程需要调用图像合成/理解工具,但这与技能目的直接相关. 没有请求与海报生成无关的密钥或系统配置路径。
Persistence & Privilege
flags 显示 always:false,技能不会强制常驻或修改其他技能/系统配置。默认允许模型自主调用(平台默认)且这与技能用途一致。
Assessment
这个技能总体自洽且低风险,但在安装/使用前请注意:1) images_understand / image_synthesize 会把用户提供的原图和文字上下文发送到图像服务,确认该服务的隐私与合规性(尤其是健康类内容与个人信息);2) SKILL.md 中的 deploy(...) 未指定目标,确认部署流程与目标环境(是否需要凭据或会把内容发布到公开服务器);3) HTML 模板会从 fonts.googleapis.com 加载字体,打开页面时会发生外部网络请求——若需避免外泄可改为内嵌或使用本地字体;4) 若使用受版权保护的参考图,请确保拥有使用/修改权限。若你能确认图像合成与部署工具的实现(在哪个后端运行、需要哪些凭据或网络访问),则可以更加安心地使用此技能。

Like a lobster shell, security has layers — review code before you run it.

latestvk973979kmxz9zwhcyhy4hc8y0d85bz8p
92downloads
0stars
1versions
Updated 6d ago
v1.0.0
MIT-0

poster-precise-text · 精准文字海报两步法

核心原则

文字精准 > 插画还原 当两者冲突时,优先保文字。AI 图像生成对中文精准度有限,用 HTML 控制文字是唯一可靠解法。


触发判断

用户说这些词时激活:

  • "海报" + "文字要准"
  • "中文海报" "排版复刻"
  • "生成海报" "文字清晰"
  • 直接发一张图片要求"复刻"

标准工作流

Step 1 · 提取内容(images_understand)

分析原图,提取:

  • 所有文字内容(逐字)
  • 排版结构(标题区/内容区/页脚)
  • 视觉风格(配色/字体风格/图标数量)

Step 2 · 生成插画(image_synthesize)

有原图参考时:

  • input_files: 原图路径
  • prompt: 明确要求"保留原图排版风格,重生成插画,文字区域留空"
  • 注意:文字留白成功率约40%,做好重试准备

无原图时(纯文字海报):

  • prompt: 详细描述排版结构(不用"参考图生成")
  • 文字内容直接写在 prompt 里(用于评估插画匹配度)

Step 3 · HTML 精准文字版

使用预设模板,填入精准文字内容,输出 HTML 文件。

发布 HTML:

deploy(project_name="poster-xxx", dist_dir=临时目录)

导出 PNG(如需要): 当前环境 Playwright 不可用,可选方案:

  • 截图工具手动导出
  • 告知用户"在浏览器打开 HTML → 截图"

模板用法

<!-- 参考:/workspace/skills/poster-precise-text/references/bone_health_template.html -->

关键替换字段:

字段说明
{{title}}主标题
{{subtitle}}副标题
{{section1_title}}板块1标题
{{section1_cards}}板块1内容(卡片JSON)
{{section2_items}}板块2内容(列表JSON)
{{section3_items}}板块3内容
{{footer_left}}左下内容
{{footer_right}}右下内容
{{bg_color}}主色调
{{accent_color}}强调色

配色规范

医疗健康类(推荐):

  • 主色:#00857C(青绿色)
  • 背景:#F7F7F7
  • 强调:#F5A623(橙色)
  • 正文:#1A1A1A

政务宣传类:

  • 主色:#C41E3A(中国红)
  • 辅助:#FFD700(金色)

教育科普类:

  • 主色:#2563EB(蓝色)
  • 辅助:#10B981(绿色)

Prompt 模板(image_synthesize)

有原图参考

Recreate this poster layout. Keep the exact structure, illustrations, icons, color scheme. 
Only change text to: [精准文字内容]
Keep all other elements identical.

无参考,纯文字海报

[见 references/poster_prompt_guide.md]

常见问题

Q: 文字变形严重怎么办? → 跳过参考图,用纯 prompt 生成海报,HTML 文字做精准层

Q: 图像生成报错了? → 检查 input_files 数量是否超限(max 10) → 尝试去掉 input_files,只用纯 prompt

Q: HTML 发布后需要 PNG 格式? → 用户在浏览器打开 → Ctrl+P 打印为 PDF → 或截图工具处理


版权说明

  • 插画风格仅作参考,不可抄袭原图商业素材
  • 生成的 HTML 版权归发布方所有

Comments

Loading comments...