download_model
Download completed 3D models from pictostl generation tasks to a local path, with automatic GLB-to-STL conversion for 3D printing or original GLB output.
Instructions
Download a completed generation to a local path. id is the task id from generate_model/get_task, not an upload assetId. format stl (default) converts the original GLB locally to binary STL with longest edge 100 mm (no color/texture). format glb writes the original file. Parent directory must already exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task id from generate_model or get_task | |
| path | Yes | Local destination path | |
| format | No | Default stl | |
| longestEdgeMm | No | STL only; default 100; range 1–1000 |