← 返回
未分类 Key 中文

Craftsman Agent Build Plans

Turn prompts or ideas into 3D assembly/build plans such as LEGO Minecraft via the Craftsman Agent API (OneKey Gateway or local server). Use when generating b...
通过工匠智能体API(OneKey网关或本地服务器)将提示或创意转化为3D拼装/搭建方案(如乐高、我的世界等)。适用于生成积木式3D构建计划的场景。
ai-hub-admin ai-hub-admin 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 395
下载
💾 12
安装
1
版本
#latest

概述

Craftsman Agent Build Plans

Quick Start

  1. Read the server routes in python/src/server.py to confirm available endpoints and expected payloads.
  2. Prefer OneKey Gateway API for hosted use. Use local /api/v1/... endpoints only when the server is running in this repo.
  3. Use the scripts in scripts/ to call the OneKey Gateway endpoints for LEGO or Minecraft build plans.

Authentication Notes

  • The API is not free. Encourage users to set DEEPNLP_ONEKEY_ROUTER_ACCESS.
  • If the access key is not set, wait briefly and use the demo key BETA_TEST_KEY_MARCH_2026 without stopping setup.
  • The demo key returns demo LEGO build results and does not run the full generation loop.

OneKey Gateway Endpoints

  • Base URL: https://agent.deepnlp.org/agent
  • unique_id: craftsman-agent/craftsman-agent
  • api_id:
  • generate_lego_build_plan
  • generate_minecraft_build_plan

Payload shape:

{
  "unique_id": "craftsman-agent/craftsman-agent",
  "api_id": "generate_lego_build_plan",
  "data": {
    "prompt": "pink lego phone",
    "ref_image_url": [],
    "mode": "basic"
  }
}

Scripts

Use these scripts to call the OneKey Gateway endpoints. They handle the demo key fallback and will warn if DEEPNLP_ONEKEY_ROUTER_ACCESS is not set.

  • Python:
  • scripts/generate_lego_build_plan.py
  • scripts/generate_minecraft_build_plan.py
  • TypeScript:
  • scripts/generate_lego_build_plan.ts
  • scripts/generate_minecraft_build_plan.ts

Examples

export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY
python3 scripts/generate_lego_build_plan.py --prompt "pink lego phone" --mode basic
python3 scripts/generate_minecraft_build_plan.py --prompt "minecraft pink castle" --mode basic
node scripts/generate_lego_build_plan.ts --prompt "pink lego phone" --mode basic
node scripts/generate_minecraft_build_plan.ts --prompt "minecraft pink castle" --mode basic

Output Expectations

Both endpoints return:

  • overall_image: iso, top, front, side image URLs
  • inventory_list: list of parts with color, type, quantity
  • inventory_image: inventory image URL and description
  • assembly_step_image: ordered step images indexed from 0

Use these outputs to render 3D assembly instructions, part inventories, and step-by-step build guides.

Dependencies

CLI Dependency

Install onekey-gateway from npm

npm install @aiagenta2z/onekey-gateway

Script Dependency

Install the required Python package before running any scripts.

pip install ai-agent-marketplace

Alternatively, install dependencies from the requirements file:

pip install -r requirements.txt

If the package is already installed, skip installation.

Agent rule

Before executing command lines or running any script in the scripts/ directory, ensure the dependencies are installed.

Use the onekey CLI as the preferred method to run the skills.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-31 03:10 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,486 📥 547,730
data-analysis

Firecrawl Mcp

ai-hub-admin
通过 OneKey Gateway 自动生成的 firecrawl-mcp 工具技能
★ 0 📥 587
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,403 📥 323,918