open-modules/module-registry.json

69 lines
2.0 KiB
JSON
Raw Normal View History

{
"_protocol": "HLDP-v1.0",
"_repository": "guanghulab.com/code/bingshuo/guanghulab",
"_rule": "模块是热插拔的。新增模块只需在此文件添加条目。",
"modules": [
{
"id": "MODULE-COVER-001",
"name": "图片模块 · 语言驱动封面生成器",
"status": "active",
"category": "图片生成",
"description": "输入自然语言描述系统翻译为设计逻辑生成封面图片。纯HTML/CSS渲染无需GPU。",
"api": {
"base": "https://guanghulab.com/cover",
"endpoints": {
"list_templates": {
"method": "GET",
"path": "/api/templates",
"desc": "获取可用模板列表"
},
"generate": {
"method": "POST",
"path": "/api/generate",
"desc": "生成封面图片",
"params": {
"templateId": "xiaohongshu",
"presetId": "tech | warm | minimal | rose | green",
"title": "封面标题",
"body": "正文内容支持Markdown",
"layout": "default | hero | quote",
"tag": "可选标签"
},
"returns": {
"url": "图片URL",
"intent_chain": "7步意图推理链",
"designId": "唯一设计编号"
}
},
"health": {
"method": "GET",
"path": "/api/health",
"desc": "健康检查"
}
}
},
"features": [
"语言驱动排版设计",
"意图链可追溯",
"设计编号唯一",
"5种预设风格",
"3种布局模式",
"底部仓库域名水印"
],
"tech_stack": [
"Puppeteer + Chrome (免费)",
"Express.js (免费)",
"纯HTML/CSS排版 (免费)"
],
"license": "MIT"
}
],
"meta": {
"total_modules": 1,
"last_updated": "2026-05-27",
"maintainer": "铸渊 ICE-GL-ZY001"
}
}