load_img_to_3d_model
Load the TripoSR image-to-3D inference server to enable converting images into 3D models. This initializes the model in memory, allowing subsequent image-to-3D operations.
Instructions
Start the local image-to-3D inference server (TripoSR). The server process is kept running until unload_img_to_3d_model() is called. Frees VRAM when unloaded — load only when you need it.
Parameters:
model_dir: Path to TripoSR weights directory (uses IMG_TO_3D_MODEL_DIR env var if omitted)
timeout: Seconds to wait for the server to come up (default 600; the first run downloads the weights). Its console output goes to img_to_3d_server.log in the temp folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| model_dir | No |