返回顶部
p

photo-to-3d

One-click photo to 3D model pipeline. Upload any photo, AI generates a clean isometric view via Gemini (Nano Banana), then converts it to a production-ready 3D model (.glb) via Tripo3D API. Use when user wants to convert photos/images to 3D models, generate 3D assets from pictures, or create 3D content from 2D images. Triggers on "photo to 3D", "image to 3D", "convert to 3D model", "generate 3D", "照片转3D", "图片生成3D模型", "一键3D建模".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
291
下载量
1
收藏
概述
安装方式
版本历史

photo-to-3d

# Photo to 3D Model Two-step pipeline that converts any photo into a 3D model: 1. **Gemini preprocess** — Transform photo into a clean white-background 45° isometric view 2. **Tripo3D generate** — Convert the isometric image into a .glb 3D model ## Requirements - `GEMINI_API_KEY` — Get from https://aistudio.google.com/apikey - `TRIPO_API_KEY` — Get from https://platform.tripo3d.ai/ ## Usage ```bash # Full pipeline: photo → isometric view → 3D model python3 scripts/photo_to_3d.py <image_path> # Custom prompt for Gemini preprocessing python3 scripts/photo_to_3d.py <image_path> --prompt "your custom prompt" # Skip preprocessing (image is already a clean isometric view) python3 scripts/photo_to_3d.py <image_path> --skip-preprocess # Custom output directory python3 scripts/photo_to_3d.py <image_path> --output-dir ./my_output ``` ## Output - `output/{name}_isometric.png` — Gemini-generated isometric view - `output/{name}_model.glb` — Final 3D model file ## Default Gemini Prompt The built-in prompt generates a 45° isometric "3D-printed model" style render with PBR materials on a pure white background. Override with `--prompt` for custom styles (e.g., game assets, architectural models, product renders). ## Notes - Supported input: .jpg, .jpeg, .png, .webp - Tripo3D generation takes ~1-3 minutes depending on complexity - For higher quality, preprocess source images with upscayl before running - Output .glb files can be converted to .usdz for Apple AR using `usdzconvert`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 photo-to-3d-1776199504 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 photo-to-3d-1776199504 技能

通过命令行安装

skillhub install photo-to-3d-1776199504

下载 Zip 包

⬇ 下载 photo-to-3d v1.0.0

文件大小: 4.67 KB | 发布时间: 2026-4-17 15:45

v1.0.0 最新 2026-4-17 15:45
One-click photo to 3D model: Gemini + Tripo3D

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部