← 返回
内容创作

Content News Thai

Generate news-style social media images (1080x1350) with Thai text overlay and matching captions. Use when asked to create content, make a news post image, g...
生成1080x1350新闻风格社媒图片,支持泰文叠加与配套文案。适用于创建新闻帖文及内容制作。
mewic
内容创作 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 657
下载
💾 10
安装
1
版本
#latest

概述

Content News Thai

Generate news-style post images with Thai text overlay + captions for social media.

Setup (first time only)

Run the setup script to install dependencies (canvas, Thai fonts):

bash <SKILL_DIR>/scripts/setup.sh

On Docker/VPS this installs: libcairo2, libpango, Thai fonts (Kanit, Prompt, Sarabun).

On macOS: uses Homebrew for cairo/pango.

Generate News Image

cd <SKILL_DIR>/scripts && node gen-news.mjs '<json>'

Parameters

ParamRequiredDescription
---------
headlineMain headline (Thai/English, auto-wraps)
subSub-headline text
badgeBadge label (default: "AI NEWS")
badgeColorBadge color (default: "#CC0000")
bgImageBackground image path or URL
bgColorFallback bg gradient color (default: "#0a0a1a")
sourceSource attribution at bottom
outputOutput file path (.jpg)
brandNameWatermark text (bottom-right)
accentColorBottom bar color (default: "#CC0000")

Example

cd <SKILL_DIR>/scripts && node gen-news.mjs '{"headline":"AI กำลังเปลี่ยนวงการค้าปลีก","sub":"ยอดขายพุ่ง 40% ใน 6 เดือน","badge":"BREAKING NEWS","source":"Reuters • มี.ค. 2026","brandName":"MY BRAND","output":"/tmp/news_post.jpg"}'

Output: JSON {"status":"done","output":"/tmp/news_post.jpg","size":"1080x1350","type":"image"}

Background Image

Two approaches:

  1. With bgImage — provide a path/URL to a photo. The script covers it with dark gradient for text readability.
  2. Without bgImage — generates a dark gradient background with subtle grid pattern. Good for text-focused posts.

For best results, generate a background image first (use the AI model's image generation), save it, then pass the path as bgImage.

Workflow: Full Content Set

When asked to create a complete content set:

  1. Write headline + sub — short, punchy, Thai-friendly
  2. Generate background — use AI image gen or use bgColor for clean look
  3. Run gen-news.mjs — creates 1080x1350 image with Thai text overlay
  4. Write caption — storytelling style, short sentences, end with engaging question
  5. Return — image path + caption to user

Caption Style Guide

  • Open with a scroll-stopping hook (short, impactful)
  • Tell the story with short sentences, reveal layer by layer
  • Include the brand's perspective/opinion
  • End with: impact summary → specific question → soft share cue (if appropriate)
  • Add 3-5 relevant hashtags
  • Do NOT end with generic "คิดเห็นยังไงคอมเมนต์มา"

Troubleshooting

  • "canvas" error → rerun setup.sh
  • Fonts look wrong → check assets/fonts/ has .ttf files, rerun setup.sh
  • bgImage not found → use absolute path or URL

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-19 16:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,413
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,308
content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,021