← 返回 Skills 市场
DiT360 Panorama Generator
作者
hongjiahao371-pixel
· GitHub ↗
· v1.0.0
· MIT-0
76
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dit360-panorama-generator
功能描述
通过影石DiT360生成360度全景图,自动转格式并创建查看器
使用说明 (SKILL.md)
DiT360 Panorama Generator
通过影石开源的 DiT360 模型,输入文字描述即可生成 360 度全景图,并自动创建可交互查看的网页。
功能
- 🤖 调用 Hugging Face 上的 DiT360 Space 生成全景图
- 🔄 自动将 webp 转为 jpg 格式
- 🌐 创建 Pannellum 全景查看器网页
- 🚀 启动本地 HTTP 服务器,浏览器直接查看
前置要求
- Python 3.9+
- uv (Python 包管理器)
- 网络连接(访问 Hugging Face)
使用方法
快速生成
./scripts/generate.sh "sunset over ocean beach"
自定义参数
./scripts/generate.sh "cyberpunk city at night" 42 50
# 参数:描述, seed, 推理步数
输出文件
| 文件 | 说明 |
|---|---|
output/panorama_*.webp |
原始生成文件 |
output/panorama_*.jpg |
转换后的 jpg |
output/viewer.html |
Pannellum 查看器 |
查看全景图
生成完成后,脚本会自动:
- 启动本地 HTTP 服务器(端口 8899)
- 在浏览器中打开查看器
- 鼠标拖动即可 360 度旋转查看
注意事项
- 首次生成需要等待 Hugging Face Space 启动(GPU 排队)
- 生成时间:30秒 ~ 3分钟(取决于排队情况)
- 图片尺寸:2048×1024(2:1 全景比例)
相关链接
- DiT360 GitHub: https://github.com/Insta360-Research-Team/DiT360
- Hugging Face Space: https://huggingface.co/spaces/Insta360-Research/DiT360
安全使用建议
This package appears to do what it says: call the DiT360 Hugging Face Space, save an image, convert it to JPG, and create a local Pannellum viewer. Before running: 1) Inspect the two scripts yourself (they are small and included). 2) Be cautious about running the suggested installer command (curl ... | sh) — prefer to install 'uv' from a trusted source or use pip directly. 3) Note the image conversion uses macOS 'sips' (will fail on Linux/Windows); review/replace that line if needed. 4) The tool contacts external services (Hugging Face Space and jsdelivr CDN); only use it if you trust those endpoints. 5) If you want extra safety, run the scripts in a disposable VM or container and avoid running the remote installer piped to sh.
功能分析
Type: OpenClaw Skill
Name: dit360-panorama-generator
Version: 1.0.0
The skill is a legitimate tool for generating 360-degree panoramas using the Insta360 DiT360 model hosted on Hugging Face. It uses the official 'gradio_client' library to interact with the AI model and provides a local viewer using the Pannellum library. The code logic in 'scripts/generator.py' and 'scripts/generate.sh' aligns with the stated purpose, and no indicators of data exfiltration, malicious execution, or prompt injection were found.
能力评估
Purpose & Capability
Name/description match the included scripts: generator.py uses gradio_client to call the Insta360 DiT360 Hugging Face Space, converts the returned image to JPG and creates a Pannellum viewer. Small mismatch: SKILL.md claims the viewer will be automatically opened in the browser, but the scripts only start a local HTTP server and print the URL (they do not actually invoke a browser).
Instruction Scope
Runtime instructions and scripts stay within the stated purpose (network call to a Hugging Face Space, image conversion, writing output files, starting a local HTTP server). The scripts do perform network calls (gradio_client to HF Space; CDN for Pannellum JS/CSS) and will download/run code from those endpoints. The generator copies the result returned by gradio_client without additional validation; this is expected for the task but worth noting.
Install Mechanism
There is no formal install spec, but the entry script recommends installing the 'uv' tool via a remote install command piped to sh: curl -LsSf https://astral.sh/uv/install.sh | sh. Piping a remote script to sh is higher-risk than using a package manager repository. Dependency installation otherwise uses uv or pip to install gradio_client. Image conversion uses macOS 'sips' (os.system call), which silently fails on non-macOS systems.
Credentials
The skill declares no required environment variables or credentials and the code does not reference environment secrets. Network access to Hugging Face and CDN resources is required and appropriate for the stated purpose.
Persistence & Privilege
always is false and the skill does not modify other skills or system-wide agent settings. It starts a local HTTP server in the output directory but does not request elevated privileges or persistent installation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dit360-panorama-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/dit360-panorama-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
dit360-panorama-generator 1.0.0
- 首次发布:通过影石DiT360模型一键生成360度全景图
- 自动将输出的webp格式图片转为jpg格式
- 集成Pannellum全景查看器,自动生成交互式网页
- 一键启动本地HTTP服务器并自动打开浏览器查看全景图
- 支持自定义描述、随机种子与推理步数
元数据
常见问题
DiT360 Panorama Generator 是什么?
通过影石DiT360生成360度全景图,自动转格式并创建查看器. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 76 次。
如何安装 DiT360 Panorama Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dit360-panorama-generator」即可一键安装,无需额外配置。
DiT360 Panorama Generator 是免费的吗?
是的,DiT360 Panorama Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
DiT360 Panorama Generator 支持哪些平台?
DiT360 Panorama Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 DiT360 Panorama Generator?
由 hongjiahao371-pixel(@hongjiahao371-pixel)开发并维护,当前版本 v1.0.0。
推荐 Skills