一个基于 InstantMesh 的自定义扩展,允许您从单一图像生成 3D 模型。
- Img to 3D: 从图像一键生成 3D 模型
- 可调参数:
- Inference Steps (推理步数)
- Remove Background (自动抠图,建议关闭,目前还有点问题)
与其他 WebUI 扩展安装方式相同:
- 进入 Extensions -> Install from URL
- 粘贴此仓库链接
- 点击安装
- 进入 Installed,点击 Apply and restart UI
- 上传一张图像(建议使用背景干净的图像,效果更佳)
- 点击 "Generate 3D" 按钮生成模型
- 生成完成后输出在extensions\sd-instantmesh\outputs下
- CUDA 12.1,cudnn 9.20(加速推理需要)
- PyTorch 2.1.0+cu121
- 详细安装版本见my_packages.txt(个人加装了Controlnet以及EasyNegative插件)
- 建议使用 NVIDIA GPU 以获得最佳性能
Prompt:a cute robot toy, centered, studio lighting, isolated object, white background, product render, high detail, 3d render Negative Prompt:EasyNegative,background, scenery, environment, floor, shadow, reflection
- Tencent/InstantMesh - 核心 3D 生成技术
- AUTOMATIC1111/stable-diffusion-webui - WebUI 框架
