MODULE-COVER-001: full package for external AI consumption - server.js + renderer.js + generate.js + config.js - templates/ (5 templates: xiaohongshu + dynamic + jike + poster + registry) - package.json + README.md + MODULE.hdlp - INDEX.hdlp + SYSTEM.hdlp (HLDP declarations) - Fonts: Noto Sans CJK SC priority (no tofu blocks) - No domain watermark - Updated module-registry.json - Copyright 2026-A-00037559
53 lines
1.7 KiB
JSON
53 lines
1.7 KiB
JSON
{
|
||
"_protocol": "HLDP-v1.0",
|
||
"_repository": "guanghulab.com/code/bingshuo/open-modules",
|
||
"_rule": "HLDP字典。不会就查,不用猜。",
|
||
|
||
"modules": [
|
||
{
|
||
"id": "MODULE-COVER-001",
|
||
"name": "小红书封面生成器",
|
||
"status": "active",
|
||
"category": "图片生成",
|
||
"description": "基于 Puppeteer+Chrome Headless 的小红书封面图生成模块。纯 HTML/CSS 排版渲染,零 GPU,零 AI 生图。",
|
||
"source": "image-generator/xiaohongshu-cover/",
|
||
"api": {
|
||
"base": "https://guanghulab.com/cover",
|
||
"endpoints": {
|
||
"list_templates": { "method": "GET", "path": "/api/templates" },
|
||
"generate": {
|
||
"method": "POST",
|
||
"path": "/api/generate",
|
||
"params": {
|
||
"templateId": "xiaohongshu",
|
||
"presetId": "warm | tech | minimal | rose | green",
|
||
"title": "封面标题",
|
||
"subtitle": "副标题(竖线分隔)",
|
||
"tag": "技术栈标签(逗号分隔)"
|
||
}
|
||
},
|
||
"health": { "method": "GET", "path": "/api/health" }
|
||
}
|
||
},
|
||
"features": [
|
||
"语言驱动排版设计",
|
||
"意图链可追溯",
|
||
"5种配色风格",
|
||
"卡通SVG插画",
|
||
"1080x1440 3:4竖版"
|
||
],
|
||
"tech_stack": ["Puppeteer", "Chrome Headless", "Express.js", "Node.js"],
|
||
"fonts": "Noto Sans CJK SC + WenQuanYi Micro Hei",
|
||
"deploy_note": "PORT=3913 显式注入,默认3912可能冲突",
|
||
"license": "MIT"
|
||
}
|
||
],
|
||
|
||
"meta": {
|
||
"total_modules": 1,
|
||
"last_updated": "2026-06-01",
|
||
"maintainer": "铸渊 ICE-GL-ZY001",
|
||
"copyright": "国作登字-2026-A-00037559"
|
||
}
|
||
}
|