Install
openclaw skills install blueprint-generatorUE蓝图+材质双模式生成器。当主人说"蓝图生成器"、"材质生成器"、"合并生成器"时触发。已合并为统一App,支持Tab切换。
openclaw skills install blueprint-generatorhttps://ncvbhgghna86.space.minimaxi.com
/workspace/blueprint-generator/
cd /workspace/blueprint-generator
npm run dev # 开发调试
npm run build # 生产构建
https://api.minimaxi.com/v1src/api.ts 和 src/api/material.ts 中的 model 字段# 文件:src/api.ts 和 src/api/material.ts
API_KEY = '你的API Key'
API_BASE = 'https://api.minimaxi.com/v1'
model = 'MiniMax-M2.7' # 可选:MiniMax-M2.7、MiniMax-V01等
| type | 颜色 | 说明 |
|---|---|---|
| event | #8B5CF6 紫色 | Event事件节点 |
| inputaxis | #059669 绿色 | InputAxis输入 |
| function | #2563EB 深蓝 | 函数/SET变量(SET xxx是function类型) |
| variable_get | #7C3AED 紫色药丸 | 变量获取,无exec引脚 |
| flow | #6B7280 灰色 | FlowControl流程控制 |
| math | #06B6D4 青色 | 数学运算 |
| type | 颜色 |
|---|---|
| exec | 白色方形 |
| float | #4CAF50 绿色圆 |
| bool | #F44336 红色圆 |
| vector | #FFC107 黄色圆 |
| object | #9C27B0 紫色圆 |
function,不是 variable_setsrc/api.ts — 蓝图生成逻辑 + 系统提示词src/api/material.ts — 材质生成逻辑 + 系统提示词src/nodes/BlueprintNode.tsx — 蓝图节点渲染src/nodes/MaterialNode.tsx — 材质节点渲染src/GeneratorCanvas.tsx — 统一画布(双模式切换)src/Sidebar.tsx — 节点详情+修改面板src/types.ts — 蓝图类型定义src/types/material.ts — 材质类型定义public/BP_SetAIState.json — SetAIState蓝图示例public/BP_EnemyHitFlash.json — 敌人受击蓝图示例