Inputs
| Parameter | Description | Data Type | Required | Range |
|---|---|---|---|---|
model_file | The 3D model file to load. Select “none” to skip loading a model. | STRING | Yes | "none"List of available 3D files in the input/3d directory |
viewport_state | The current viewport state containing camera and model information from the 3D viewer. | LOAD3D | Yes | - |
width | The width of the output image in pixels (default: 1024) | INT | Yes | Min: 1 Max: 4096 Step: 1 |
height | The height of the output image in pixels (default: 1024) | INT | Yes | Min: 1 Max: 4096 Step: 1 |
- The
model_fileparameter only shows files with the following extensions: .gltf, .glb, .obj, .fbx, .stl - Files must be placed in the
input/3ddirectory of your ComfyUI installation - If
model_fileis set to “none”, no 3D model data will be loaded (the outputmodel_3dwill be empty)
Outputs
| Output Name | Description | Data Type |
|---|---|---|
model_3d | The loaded 3D model data, or empty if no model file was selected | FILE3DANY |
model_3d_info | Information about the loaded 3D model from the viewport state | LOAD3DMODELINFO |
camera_info | Camera information from the viewport state | LOAD3DCAMERA |
width | The specified output image width | INT |
height | The specified output image height | INT |
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
Source fingerprint (SHA-256):
fdacea8abf627621150e1196743e36f61534333837c33cc9a7416a6d11700c4d