Ins Style Image Bulk Generate
Generate batches of Instagram-aesthetic photos (INS-style / Xiaohongshu / lifestyle flat-lay) by randomly composing prompts from an 80+ element library, then dispatching them in parallel to image generation skills and archiving to ~/Download/ins-image-{timestamp}/. Use when the user wants bulk INS-style images, lifestyle flat-lays, Xiaohongshu or WeChat cover art, or scene-based marketing visuals — even if they don't say 'Instagram' explicitly. Skill: Ins Style Image Bulk Generate Owner: mebusw Summary: Generate batches of Instagram-aesthetic photos (INS-style / Xiaohongshu / lifestyle flat-lay) by randomly composing prompts from an 80+ element library, then dispatching them in parallel to image generation skills and archiving to ~/Download/ins-image-{timestamp}/. Use when the user wants bulk INS-style images, lifestyle flat-lays, Xiaohongshu or WeChat cove
Rank
62
Safety
84
Downloads
1.1k
Updated
Oct 11, 2026
Version
0.1.1
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 0.1.1release · observed Sep 21, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17fqnnawywqwp37410y5w9r1h83pwab:ins-style-img-bulk-gen- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-mebusw-ins-style-img-bulk-gen/snapshot"
Documentation
CLAWHUB
38,822 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: ins-style-img-bulk-gen
description: Generate batches of Instagram-aesthetic photos (INS-style / Xiaohongshu / lifestyle flat-lay) by randomly composing prompts from an 80+ element library, then dispatching them in parallel to image generation skills and archiving to ~/Download/ins-image-{timestamp}/. Use when the user wants bulk INS-style images, lifestyle flat-lays, Xiaohongshu or WeChat cover art, or scene-based marketing visuals — even if they don't say 'Instagram' explicitly.
allowed-tools: Read, Bash
author: JackyShen
argument-hint: "[-s SCENE] [-c COUNT] [-t TEXT]"
---
## 硬性要求 / Hard Requirements
执行本 skill 时必须满足以下规范(任何一条不达标 = 产出不合格):
| # | 规范 | 约束值 / 操作 | 出处 |
|---|---|---|---|
| 1 | **封面字号(cover 模式)** | base = `0.07 × 图片高`(≈ 70px @ 1024h,比最初 80px 还小一点),下限 `0.05`,**行距 `0.18 × 字号`**(紧凑);**2 行结构**(最长行 ≤ 8 字,按重要性递减排列,具体内容由领域决定) — 让标题横向占图宽 ≥ 70% | 2026-09-20 迭代 |
| 2 | **Shell `\n` 必须是真换行** | 用 `$'…\n…'`(ANSI-C)或 `printf '%b'`;**禁止**普通双引号(会把字面 `\n` 画进图) | 上轮反馈 #1 |
| 3 | **生图模型优先级** | 首选 `huny-img`(腾讯混元 3.0) → 备选 `mmx` → 最后才用其他模型;huny-img **串行**提交(账号 JobNumExceed 上限 1,并发会限流) | 上轮反馈 #2 |
| 4 | **内页图(`mode=ins`)body 必须 ≥ 3 行** | 不含 title 的正文至少 3 行,画面才饱满;用户原文不够时主动从他给的文案里拆 3-4 个短句 | 上轮反馈 #3 |
| 5 | **内页正文 < 标题**(提高对比) | `INS_BODY_RATIO = 0.020`(标题 = 0.035),标题/正文 ≈ 1.75×,层级清晰 | 2026-09-20 迭代 |
| 6 | **Cover 必须是 2x2 宫格**(4 张拼 1 张) | 4 张图用 `scripts/compose_collage.py` 拼成 `--layout 2x2`,cell 之间建议 `--gap 20~40px`、背景色用 `245,240,232`(暖白,与 INS 色调一致);4 张图共享视觉风格(色温 / 色调 / 质感)但呈现**不同元素/视角**,避免 4 张图重复 | 2026-09-20 迭代 |
| 7 | **Cover / 内页默认符合小红书尺寸**(**3:4 竖图**) | `compose_collage.py` 默认 `--cell-aspect 3:4` → cell 居中裁剪到 3:4,再拼成 2x2 → 整体 ≈ **3:4 竖图**;最终输出尺寸默认 `--target-size 1080x1440`(小红书 cover 标准),用 `add_ins_overlay.py` 加标题后直接上传即可。内页图(ins 模式)也按 3:4 生成,单图 768:1024(huny-img 默认 3:4 比例)。如要 4:3 横图或 1:1 方图,传 `--cell-aspect` / `--target-size` 覆盖即可 | 2026-09-20 迭代 |
脚本默认常量已同步:`scripts/add_ins_overlay.py` 的 `COVER_TITLE_RATIO / FLOOR / LINE_GAP` 与本表一致。
---
## ins-style-image [-s SCENE] [-c COUNT] [-t TEXT]
1. Read `./references/ins-style-elements.md` to understand the available element library
2. Compose prompts. Default to **5 prompts** if the user doesn't specify a `{COUNT}`. Each prompt randomly draws **12 elements** (1-2 per category, no duplicates within one prompt) for `{SCENE}` if specified.
- **Cover 模式**(硬性):**4 个 prompt**,每个对应 1 个宫格 cell(2x2 = 4 格)。4 张图共享视觉风格(同一色温 / 色调 / 质感 / 光照方向)但展示**不同元素或视角**(例如音乐主题:①唱片堆叠 ②耳机特写 ③黄铜烛台与干花 ④复古相机与乐谱),避免 4 张图内容雷同
- **内页模式**:1 prompt 1 张,按用户需要的内页数生成;单图默认 3:4 竖图(小红书内页标准),与 cover 视觉风格一致(色温 / 色调 / 质感统一)
- User may also ask for 3x3 or other collage layouts or customize with given images — calculate count accordingly.
3. Iterate the prompt queue and dispatch them **in parallel** to image generation skills in the following priority order:
- **🥇 首选 `huny-img`**(腾讯混元生图 3.0)— 详情见 `~/.agents/skills/huny-img/SKILL.md`。`hunyuan3-text-to-image.py` 或 `hunyuan3-batch.py`(多 prompt 调度)
- **🥈 备选 `mmx`**(MiniMax 多模态README.md
# ins-style-img-bulk-gen SKILL  Bulk-generate Instagram-style images by randomly composing elements from an curated element library, then dispatching prompts to image generation skills in parallel. Also may generate 2x2 collage, and add text in two modes: | Mode | Result | Use for | |---|---|---| | `ins` (default) | Semi-transparent gray mask + title + body | Inner-page / content images | | `cover` | No mask. Oversized centered title (~2×) with black outline + shadow. Title only | Social covers (Xiaohongshu / WeChat / Video) | ```bash # ins: gray mask + title + body python scripts/add_ins_overlay.py -i in.jpg -o out.jpg -t "❤ 富婆的 12 个隐秘爱好" -b "1、…" # cover: no mask, big outlined title, no body python scripts/add_ins_overlay.py -i in.jpg -o out.jpg -m cover -t "40+后才明白\n女人越来越差的9个原因" ```  [中文 →](README.zh-cn.md)
_meta.json
{
"ownerId": "kn75w6500mvryv9p0k3czdfww982r5xh",
"slug": "ins-style-img-bulk-gen",
"version": "0.1.1",
"publishedAt": 1789959591309
}references/ins-style-elements.md
# 📸 INS风构图元素清单 ## 高流量INS风元素总表 ### 📚 书籍文具类 1. **复古书籍堆叠** - 知识分子气息 2. **摊开的书籍** - 营造阅读氛围 3. **立起展示的艺术书籍** - 封面作为视觉焦点 4. **银色金属笔** - 精致文具 5. **手写英文卡片** - 个性化文字 6. **黑白励志文字卡片** - 态度标语 7. **皮质笔记本** - 复古文具 8. **水彩笔/马克笔** - 创作工具 9. **木质字母装饰** - 个性化元素 ### 🌸 花卉植物类 10. **干花花束** - 莫兰迪色系最佳 11. **红色毛茛花束** - 鲜艳色彩点缀 12. **绿色球形鲜花** - 新鲜质感 13. **多肉植物盆栽** - 小清新元素 14. **绿植枝叶** - 尤加利/橄榄枝 15. **干花/蒲苇** - 自然元素 16. **水果切片** - 柠檬/橙子最上镜 17. **鲜花** - 粉玫瑰/白玫瑰/多头小玫瑰/郁金香/小雏菊 ### 🏺 容器器皿类 17. **透明玻璃花瓶** - 简约透明质感 18. **玻璃花瓶** - 简约透明质感 19. **白色陶瓷花盆** - 简约盛器 20. **手工陶瓷茶杯** - 褐色质感器皿 21. **白色陶瓷杯组** - 复古图案杯具 22. **陶瓷餐具套装** - 哑光质感最佳 23. **手工陶瓷碗** - 不规则美感 24. **透明玻璃杯** - 盛装饮品 25. **白色马克杯** - 经典款 26. **琥珀色玻璃瓶** - 复古感 27. **磨砂玻璃瓶** - 现代感 28. **透明收纳罐** - 展示谷物/干货 29. **透明玻璃瓶** - 装饰小物 30. **喝水玻璃杯** ### 🛋️ 纺织布艺类 30. **白色纱帘** - 柔和光线背景 31. **亚麻材质抱枕** - 奶油色/米色 32. **白色棉麻桌布** - 打底必备 33. **羊毛地毯** - 温暖质感 34. **蕾丝桌旗** - 法式浪漫 35. **米色针织开衫** - 慵懒风 36. **天鹅绒抱枕** - 质感丰富 37. **棉麻围裙** - 生活气息 38. **白色床品** - 简约高级 39. **花卉图案床单** - 温馨感 40. **深灰色针织毛毯** - 质感层次 ### 🪵 木质元素类 41. **深色木纹桌面** - 质感底板 42. **原木托盘** - 承载其他物品 43. **木质相框** - 展示照片/艺术画 44. **木质圆盘** - 摆放食物 45. **木质砧板** - 厨房场景 46. **原木边几** - 家居场景 47. **木质衣架** - 展示服饰 48. **木珠串** - 自然装饰 ### 🎨 装饰配饰类 49. **复古胶片相机** - 增加文艺氛围 50. **毛绒玩偶** - 可爱装饰(如穿红衣小熊) 51. **珍珠装饰小物** - 精致配饰 52. **珍珠项链** - 精致配饰 53. **蜡烛香薰** - 营造氛围感 54. **铜质烛台** - 复古金属感 55. **黄铜小物件** - 点缀用 56. **黄铜镜子** - 复古精致 57. **羽毛装饰** - 波西米亚风 58. **羊毛毡球** - 可爱装饰 59. **水晶摆件** - 灵性氛围 60. **黑框眼镜** ### 📱 数码科技类 60. **平板电脑** - 数字生活感 61. **白色无线耳机** - 现代科技感 62. **蓝色海浪图案手机壳** - 艺术装饰 63. **白色头戴式耳机** - 音乐元素 ### 🧺 收纳编织类 64. **编织篮筐** - 自然田园风 65. **藤编收纳盒** - 自然材质 66. **棉绳编织篮** - 收纳装饰两用 67. **草编帽** - 度假感 68. **帆布包** - 文艺必备 69. **牛皮纸袋** - 复古包装感 ### 🍵 食物饮品类 70. **咖啡豆/咖啡粉** - 生活仪式感 71. **零食** - 生活气息,巧克力 72. **褐色茶水/咖啡** - 饮品展示 ### 🏠 背景材质类 73. **白色瓷砖** - 极简背景 74. **大理石纹理板** - 高级背景 75. **白色桌面** - 简约底板 76. **白色百叶窗** - 光影效果 ### ⚙️ 金属配件类 77. **金属置物架** - 增加层次 78. **银色餐具** - 精致细节 79. **麻绳/缎带** - 装饰细节 --- ## 💡 元素搭配黄金公式 ### 公式1: 书香气息 **书籍 + 花卉 + 饮品 + 文具 + 木质底板** ### 公式2: 数字生活 **电子设备 + 饮品 + 毛绒玩偶 + 纱帘背景 + 木纹桌面** ### 公式3: 清新文艺 **立起的书 + 鲜花 + 陶瓷器皿 + 文字卡片 + 白色底板** ### 公式4: 温暖慵懒 **纺织品 + 干花 + 复古相机 + 蜡烛 + 原木托盘** ### 公式5: 极简高级 **单色容器 + 绿植枝叶 + 大理石纹 + 金属小物 + 留白背景** --- ## 🎯 选品建议 - **新手必备10件**: 白纱帘、木质托盘、透明花瓶、干花、白陶杯、摊开书籍、金属笔、亚麻抱枕、鲜花、木纹桌面 - **进阶提升**: 复古相机、蜡烛香薰、手写卡片、毛绒玩偶、艺术书籍、励志标语卡 - **高级质感**: 手工陶瓷、黄铜配件、珍珠装饰、大理石底板、天鹅绒抱枕 ## 构图小tips - 主体物品占画面1/3,留白营造呼吸感 - 色调统一在莫兰迪/奶油/原木色系 - 用手部动作增加生活感和互动性 - 自然光侧光最出片,避免顶光 - 物品高低错落,营造层次感 ------ ## 🎨 精选提示词方案 ### 慵懒午后咖啡时光 ``` 原木托盘上放着一台复古胶片相机,旁边是一束浅粉色干花插在玻璃花瓶中。托盘边缘摆着一本摊开的复古书籍,书页微微翻起。一只手轻轻握着装有拿铁的透明玻璃杯,杯口冒着细腻的奶泡。背景是奶油色亚麻抱枕,自然光从侧面洒入。比例3:4。松弛感ins风 ``` ### 文艺早餐桌面 ``` 白色棉麻桌布上铺着原木托盘,托盘中央放着一台复古胶片相机。旁边散落几张手写英文卡片,墨迹未干。一束干花斜靠在哑光质感的陶瓷杯旁,杯中是深棕色咖啡。画面角落可见奶油色亚麻抱枕的一角,自然光影柔和。比例3:4。松弛感ins风 ``` ### 温暖阅读角落 ``` 复古胶片相机放置在堆叠的三本复古书籍上,书脊显露出斑驳质感。旁边插着一小束莫兰迪紫色干花的玻璃花瓶,花瓣微垂。手写英文卡片斜靠在书堆旁,米色亚麻抱枕作为背景,营造出慵懒氛围。侧面光线勾勒出物品轮廓。比例3:4。松弛感ins风 ``` ### 浪漫氛围感夜晚 ``` 原木托盘居中摆放,上面是一台银色复古胶片相机。托盘左侧是玻璃花瓶装着香槟色干花,右侧燃
HANDOFF-PLAYBOOK.md
# Skill ↔ Script Handoff Playbook
> Reusable lessons from building `ins-style-img-bulk-gen` against `huny-img` + `add_ins_overlay.py`.
> Use this when designing any skill that delegates work to a sub-skill or external API.
---
## The 5 Failure Modes We Hit
| # | Failure | Symptom | Diagnosis | Fix |
|---|---------|---------|-----------|-----|
| 1 | Parallel dispatch to rate-limited API | 3 of 4 image jobs return `RequestLimitExceeded.JobNumExceed` | Read the sub-skill's SKILL.md for concurrency hints; run a probe with 2 parallel calls and watch for limit errors | Dispatch **sequentially** when the sub-skill's API is single-threaded; pass `--poll-interval` / `--timeout` to control cadence |
| 2 | `.ttc` font loaded without `index` → fallback to 1-bit default | Chinese text renders as tofu rectangles | `python3 -c "from PIL import ImageFont; f = ImageFont.truetype('/path/font.ttc', 30); f.getmask('中').getbbox() == None"` | Always pass `index=0` (or specific index for bold/italic variants) when loading `.ttc` |
| 3 | CJK font missing decorative glyphs (❤ ★ ♡ →) | Hollow-X tofu box appears in the title | Render the suspect char to a 200×200 PNG with the chosen font and look at it; don't trust `getmask().getbbox()` (it's non-None for tofu too) | Route decorative Unicode through a **dedicated symbol font** (`Arial Unicode MS` is the cross-platform safety net) |
| 4 | Shadow rendered at top-left of text instead of bottom-right | White text looks "flat" against the gray mask; no depth | Render a single character with shadow, save the image, inspect — pixel diff between expected (dx=+3, dy=+3) and actual position | Inside the shadow layer, use `(margin + dx, margin + dy)` as the text origin, **not** `(margin - bbox[0] + dx, ...)` — the latter double-counts the bbox offset |
| 5 | `textwrap.wrap(width=N)` overflows on CJK + box height underestimated | Long lines extend past the gray mask; last line gets clipped | `dummy_draw.textlength(long_line, font=font)` and compare against `box_w - 2×padding` | Wrap by **measured pixel width** (`textlength` per char); measure per-line `textbbox` height and sum + `line_extra_gap` |
---
## Pre-Flight Checklist for Any New Skill
Before shipping a skill that wraps another tool, walk through this:
### 1. Survey the sub-skill's API limits
```bash
# Read the sub-skill's SKILL.md / README — note any rate limits, concurrency caps, file size limits
# Probe: submit 2 jobs in parallel and watch for errors
```
### 2. Survey platform dependencies
```bash
# What fonts/libraries/binaries does the sub-skill need?
# Is the dependency available on macOS, Linux, Windows?
# Run a probe script that loads the dependency and confirms it works.
```
### 3. Build a minimal end-to-end smoke test FIRST
```bash
# Before composing fancy prompts / layouts, run ONE round-trip and inspect output
# Open the generated image. Look for:
# - Text rendering correctly (not tofu)
# - Layout proportions sensible
# - Output dimensions match expeAionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/mebusw/skills/ins-style-img-bulk-gen",
"sourceUrl": "https://clawhub.ai/mebusw/skills/ins-style-img-bulk-gen",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T10:49:45.461Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-mebusw-ins-style-img-bulk-gen/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-mebusw-ins-style-img-bulk-gen/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T10:49:45.461Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/mebusw/ins-style-img-bulk-gen",
"sourceUrl": "https://clawhub.ai/mebusw/ins-style-img-bulk-gen",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T10:49:45.461Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.1.1",
"href": "https://clawhub.ai/mebusw/ins-style-img-bulk-gen",
"sourceUrl": "https://clawhub.ai/mebusw/ins-style-img-bulk-gen",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-21T02:59:51.309Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-mebusw-ins-style-img-bulk-gen/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-mebusw-ins-style-img-bulk-gen/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.1.1",
"description": "ins-style-img-bulk-gen v0.1.1 - Major update with new scripts for overlay and collage creation: added `add_ins_overlay.py` and `compose_collage.py` for robust post-processing. - Hard requirements and strict layout/typography rules added directly to SKILL.md, outlining cover/INS body structure, sizing, and model priorities. - Enforced cover creation as a 2x2 collage grid, with consistent styles and new shell/text processing specifications for overlays. - Documented CLI usage and workflow in detail; expanded support for custom cover/ins workflows with sample commands and parameter explanations. - README and help documentation updated; new demo/reference images and initial test script added for better reproducibility.",
"href": "https://clawhub.ai/mebusw/ins-style-img-bulk-gen",
"sourceUrl": "https://clawhub.ai/mebusw/ins-style-img-bulk-gen",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-21T02:59:51.309Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
