← Back to Skills Marketplace
37
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install kiri-engine
Description
调用 KIRI Engine API,通过视频或图片集生成照片级、无特征或高斯泼溅3D模型,支持多种输出格式与参数配置。
README (SKILL.md)
Kiri Engine — 3D 扫描重建 API 技能
调用 KIRI Engine API 生成 3D 模型(照片级扫描 / 无特征物体扫描)或高斯泼溅(3DGS)资产
首次配置(必须)
1. 获取 API Key
- 注册 KIRI Engine 开发者账号:https://www.kiriengine.com/
- 在 API Settings 页面创建 API Key(格式:
kiri-\x3Crandom-string>) - 注册地址:https://www.kiriengine.com/api-settings
2. 存储 API Key
# 将 API Key 写入配置文件(仅本机可见)
$configPath = "$env:USERPROFILE\.kiri-engine-config.json"
@{ apiKey = "kiri-你的密钥" } | ConvertTo-Json | Set-Content $configPath -Encoding UTF8
3. 检查余额(可选,建议首次使用)
powershell -ExecutionPolicy Bypass -File scripts/kiri-engine.ps1 balance
扫描类型与参数
生成前必须向用户确认以下所有选项,缺一不可:
A. 算法选择
| 算法 | calculateType | 适用场景 | 输出格式 |
|---|---|---|---|
| Photo Scan(照片级扫描) | 1 | 常规物体、有纹理表面 | OBJ / FBX / GLB / USDZ / STL |
| Featureless Scan(无特征扫描) | 2 | 光滑/无纹理/反光表面(如陶瓷、金属) | OBJ / FBX / GLB / USDZ / STL |
| 3DGS Scan(高斯泼溅) | 3 | 真实感场景复刻、NeRF 替代方案 | PLY + 3DGS 格式 |
B. 输入方式
| 输入方式 | 约束 |
|---|---|
| 视频上传 | 分辨率 ≤ 1920×1080,时长 ≤ 3 分钟 |
| 图片集上传 | 20~300 张(最少 20 张保证质量) |
C. 各算法专属参数
Photo Scan:
| 参数 | 值域 | 默认 | 说明 |
|---|---|---|---|
| modelQuality | 1/2/3 | 1 | 模型精度(1=标准, 2=中, 3=高) |
| textureQuality | 1/2/3 | 1 | 贴图质量(同上) |
| fileFormat | OBJ/FBX/GLB/USDZ/STL | OBJ | 输出格式 |
| isMask | 0/1 | 1 | 是否自动抠背景 |
| textureSmoothing | 0/1 | 1 | 贴图平滑 |
Featureless Scan:
| 参数 | 值域 | 默认 | 说明 |
|---|---|---|---|
| fileFormat | OBJ/FBX/GLB/USDZ/STL | OBJ | 输出格式 |
3DGS Scan:
| 参数 | 值域 | 默认 | 说明 |
|---|---|---|---|
| isMesh | 0/1 | 0 | 是否生成网格 |
| isMask | 0/1 | 0 | 是否自动抠背景 |
标准工作流
┌─────────────────────────────────────────────────┐
│ 1. 检查 API Key 是否配置 │
│ 2. 查询余额(确保足够) │
│ 3. 询问用户:算法 / 输入方式 / 参数 │
│ 4. 确认文件路径(视频或图片集) │
│ 5. 验证文件合规(分辨率、时长、数量) │
│ 6. 上传文件 → 获取 serialize │
│ 7. 轮询任务状态(每 30~60 秒) │
│ 8. 任务完成 → 下载 zip(60 分钟有效) │
│ 9. 解压到用户指定目录 │
│ 10. 报告完成 + 资产路径 │
└─────────────────────────────────────────────────┘
任务时长估算
| 算法 | 输入规模 | 预估时长 |
|---|---|---|
| Photo Scan | 视频 / \x3C50 张图 | 10~30 分钟 |
| Photo Scan | >100 张图 / 高质量 | 30~90 分钟 |
| Featureless Scan | 视频 / 图片集 | 15~40 分钟 |
| 3DGS Scan | 视频 | 20~60 分钟 |
| 3DGS Scan | >100 张图 | 40~120 分钟 |
⚠️ 长时间任务规则:超过 5 分钟必须主动汇报进度。
资产获取注意事项
- 下载链接有效期 60 分钟 — 任务完成后必须立即下载
- 服务器保留 3 天 — 超时自动删除,无法恢复
- 下载后必须本地备份 — 建议存入
projects/\x3C项目名>/资产/3d/
错误处理
| HTTP 码 | 含义 | 处理 |
|---|---|---|
| 200 | 成功 | — |
| 400 | 参数错误 | 检查文件合规性(分辨率/数量/格式) |
| 401 | 未授权 | API Key 无效或过期,重新配置 |
| 403 | 余额不足 | 提醒用户充值 |
| 500 | 服务器错误 | 重试,若持续则反馈用户 |
脚本调用方式
# 检查余额
.\scripts\kiri-engine.ps1 balance
# 上传视频(Photo Scan)
.\scripts\kiri-engine.ps1 photo-video -video "C:\path o\video.mp4" -modelQuality 1 -textureQuality 1 -fileFormat OBJ -isMask 1 -textureSmoothing 1
# 上传图片集(Photo Scan)
.\scripts\kiri-engine.ps1 photo-image -images "C:\path o\images\*.jpg" -modelQuality 2 -fileFormat GLB -isMask 1 -textureSmoothing 1
# 上传视频(Featureless Scan)
.\scripts\kiri-engine.ps1 featureless-video -video "C:\path o\video.mp4" -fileFormat OBJ
# 上传图片集(3DGS Scan)
.\scripts\kiri-engine.ps1 3dgs-image -images "C:\path o\images\*.jpg" -isMesh 0 -isMask 0
# 查询任务状态
.\scripts\kiri-engine.ps1 status -serialize "796a6f52457844b4918db3eadd64becc"
# 下载模型(zip)
.\scripts\kiri-engine.ps1 download -serialize "796a6f52457844b4918db3eadd64becc" -output "C:\output\dir"
用户交互模板
生成前向用户确认:
🎬 KIRI Engine 3D 扫描任务
请确认以下参数:
1️⃣ 算法类型:Photo Scan / Featureless Scan / 3DGS Scan?
2️⃣ 输入方式:视频上传 / 图片集上传?
3️⃣ 文件路径:视频文件路径 或 图片集所在文件夹?
4️⃣ 输出格式:OBJ / FBX / GLB / USDZ / STL?(3DGS 除外)
5️⃣ 模型精度:标准(1) / 中(2) / 高(3)?(仅 Photo Scan)
6️⃣ 贴图质量:标准(1) / 中(2) / 高(3)?(仅 Photo Scan)
7️⃣ 自动抠背景:是(1) / 否(0)?
8️⃣ 贴图平滑:是(1) / 否(0)?(仅 Photo Scan)
9️⃣ 输出网格:是(1) / 否(0)?(仅 3DGS)
🔟 保存位置:模型下载到哪个目录?
⏱️ 预计生成时间:XX~XX 分钟
API 参考
- Base URL:
https://api.kiriengine.app/api/ - 官方文档: https://gentlebandit.feishu.cn/wiki/PsHawWV0gi2jePkmRoycwMwXnIc
- API Key 管理: https://www.kiriengine.com/api-settings
Usage Guidance
Install only if you are comfortable sending the selected photos or videos, associated filenames, and generated task data to KIRI Engine for processing. Avoid private, proprietary, or location-sensitive media unless you accept the third-party processing and temporary retention described by the skill.
Capability Tags
Capability Assessment
Purpose & Capability
The stated 3D scan/reconstruction purpose matches the artifacts: the script calls KIRI Engine API endpoints to check balance, upload selected videos or image sets, check status, and download generated model ZIP files.
Instruction Scope
The skill instructs the agent to confirm algorithm, input type, file path, output format, and save location before generation; the off-device upload and privacy implications could be stated more prominently.
Install Mechanism
No dependency install hooks or automatic startup behavior were found; package metadata exposes only a balance-check script, and setup is a manual local API key configuration.
Credentials
The script uses a local API key and sends user-selected media to a third-party service, including recursively collecting image files from a chosen folder, which is proportionate to the stated workflow but sensitive.
Persistence & Privilege
Persistence is limited to a plaintext API key file in the user's profile and downloaded/extracted model outputs; there is no evidence of background agents, privilege escalation, hidden persistence, or unrelated file access.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install kiri-engine - After installation, invoke the skill by name or use
/kiri-engine - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Kiri Engine 3D扫描重建 API技能 — 首个版本发布
- 新增基于KIRI Engine API的3D模型(照片扫描/无特征物/3DGS)自动化重建工作流
- 支持多算法选择(Photo Scan、Featureless Scan、3DGS Scan),详细参数与输入方式可选
- 提供标准Powershell脚本用法与错误处理指引
- 首次配置详解、API Key存储与余额检查说明
- 用户交互与确认模板,便于集成与操作
- 包含任务流程时序、任务时长估算与成果保存注意事项
Metadata
Frequently Asked Questions
What is Kiri Engine?
调用 KIRI Engine API,通过视频或图片集生成照片级、无特征或高斯泼溅3D模型,支持多种输出格式与参数配置。 It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.
How do I install Kiri Engine?
Run "/install kiri-engine" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Kiri Engine free?
Yes, Kiri Engine is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Kiri Engine support?
Kiri Engine is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Kiri Engine?
It is built and maintained by Taosiuman (@taosiuman); the current version is v1.0.0.
More Skills