generate_3d_from_image
Convert a single image or 2–4 views into a 3D model (GLB). Accepts hosted URLs or local files.
Instructions
Generate a 3D model (GLB) from one image, or from 2–4 views of the same subject (multi-view → higher-fidelity geometry), async. Single: image_url (any public http/https image, or a prior generation's files.image) OR image_path (a local file, uploaded directly — no hosting needed). Multi-view: image_urls OR image_paths, ordered [front, left, back, right] (2–4 views). Multi-view is only supported by tripo*, meshy6, and hunyuan-3.x engines — others return 400. Local files win over URLs. Then wait_for_asset and read files.model. Costs credits — see list_models(category='3d').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | ||
| texture | No | ||
| image_url | No | single hosted image URL | |
| polycount | No | ||
| image_path | No | absolute path to a single local image file (≤20MB) | |
| image_urls | No | multi-view: 2–4 hosted image URLs, ordered [front, left, back, right] | |
| image_paths | No | multi-view: 2–4 local image file paths (each ≤20MB), ordered [front, left, back, right] |