360 Secure SkillHub
360 安全技能中心

LEGO Pixel Art Generator

该 Skill 通过内置的纯前端 HTML 工具把用户上传的图片像素化并匹配 36 种标准 LEGO 颜色,支持设置 10–200 studs 宽高与 1–5 级颜色精度,输出像素预览、逐行拼搭指南和材料清单,可复制文本或导出 PNG。

openlark
openlark
热度 30.48
最近更新 2026-05-11 17:47:06
分类:创作依赖:联网浏览搜索 / 读写文件应用场景:图像生成 / 购物

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lego-pixel-art
Metadata
name
lego-pixel-art
description
Convert any image into LEGO brick pixel art, generating a complete building plan and material purchase list. Built-in standard LEGO color system, supports custom sizes (10-200 studs) and color precision adjustment, outputs a row-by-row building guide. Pure frontend implementation, zero dependencies, ready to use out of the box. Suitable for LEGO enthusiasts, craft creators, and educators.

LEGO Pixel Art Generator

Convert any image into LEGO brick pixel art. Built-in 36 standard LEGO colors, supports custom stud dimensions and color precision, outputs a row-by-row building guide + material purchase list.

Trigger Words

  • LEGO pixel art
  • lego pixel
  • pixelate
  • brick art

Workflow

  1. Confirm the user has an image (can provide a path/URL, or describe their needs)
  2. Open the built-in tool assets/pixel-lego.html
  3. Guide the user to drag the image into the tool, adjust parameters, and obtain the building plan

Built-in Tool

Tool path: assets/pixel-lego.html

Parameter Ranges

Parameter Range Default
Width (studs) 10–200 48
Height (studs) 10–200 48
Color Precision Levels 1–5 3

Output Content

  • Pixelated preview (with stud grid lines)
  • Row-by-row building guide (lists required colors and quantities per row)
  • Complete material list (color name + LEGO color code + required quantity)
  • One-click copy list + export image

Interaction Guide

When the user triggers this skill:

  1. Inform the user that the tool is ready and display the tool page using a Hosted Embed
  2. User uploads an image → Auto-pixelate and match LEGO colors
  3. User can adjust width, height, and precision → Real-time preview
  4. Switch to the "Building Guide" tab to view the row-by-row plan
  5. Switch to the "Material List" tab to view the purchase list
  6. Support exporting PNG images or copying text lists

If the user only describes the image content (without an actual image), ask if they would like to generate a sample image with corresponding colors.