api_tripo3_0_image_to_model template creates corrupt glb when quads: true in "Tripo: Image to Model" node
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
a glb with quads should be created
### Actual Behavior
a truncated glb file that cannot be open anywhere.
### Steps to Reproduce
Everything works if using quads: false (default). If set to true, the glb is small and cannot be open. Not sure if you get charged.. probably
### Debug Logs
```powershell
Task failed: {"code": 0, "data": {"task_id": "48fe808e-cf9a-4def-8fdd-5b16f7162349", "type": "image_to_model", "status": "failed", "input": {"model_version": "v3.0-20250812", "file": {"object": {"bucket": "tripo-data", "key": "tcli_051effe01d1b4a68bc73a2c4e8da4a4c/20260319/48fe808e-cf9a-4def-8fdd-5b16f7162349/file.jpeg"}, "type": "jpeg"}, "texture": true, "pbr": true, "model_seed": 42, "texture_seed": 42, "texture_quality": "detailed", "texture_alignment": "geometry", "auto_size": true, "orientation": "default", "enable_image_autofix": false, "export_uv": true, "quad": true, "geometry_quality": "detailed"}, "output": {}, "progress": 100, "create_time": 1773898594, "error_code": 2020, "consumed_credit": 0, "queuing_num": -1, "running_left_time": -1, "result": {}}}
!!! Exception during processing !!! Polling aborted due to error: Task failed: {"code": 0, "data": {"task_id": "48fe808e-cf9a-4def-8fdd-5b16f7162349", "type": "image_to_model", "status": "failed", "input": {"model_version": "v3.0-20250812", "file": {"object": {"bucket": "tripo-data", "key": "tcli_051effe01d1b4a68bc73a2c4e8da4a4c/20260319/48fe808e-cf9a-4def-8fdd-5b16f7162349/file.jpeg"}, "type": "jpeg"}, "texture": true, "pbr": true, "model_seed": 42, "texture_seed": 42, "texture_quality": "detailed", "texture_alignment": "geometry", "auto_size": true, "orientation": "default", "enable_image_autofix": false, "export_uv": true, "quad": true, "geometry_quality": "detailed"}, "output": {}, "progress": 100, "create_time": 1773898594, "error_code": 2020, "consumed_credit": 0, "queuing_num": -1, "running_left_time": -1, "result": {}}}
Traceback (most recent call last):
File "D:\ComfyUI_windows_latest\ComfyUI_windows_portable\ComfyUI\comfy_api_nodes\util\client.py", line 398, in poll_op_raw
raise Exception(msg)
Exception: Task failed: {"code": 0, "data": {"task_id": "48fe808e-cf9a-4def-8fdd-5b16f7162349", "type": "image_to_model", "status": "failed", "input": {"model_version": "v3.0-20250812", "file": {"object": {"bucket": "tripo-data", "key": "tcli_051effe01d1b4a68bc73a2c4e8da4a4c/20260319/48fe808e-cf9a-4def-8fdd-5b16f7162349/file.jpeg"}, "type": "jpeg"}, "texture": true, "pbr": true, "model_seed": 42, "texture_seed": 42, "texture_quality": "detailed", "texture_alignment": "geometry", "auto_size": true, "orientation": "default", "enable_image_autofix": false, "export_uv": true, "quad": true, "geometry_quality": "detailed"}, "output": {}, "progress": 100, "create_time": 1773898594, "error_code": 2020, "consumed_credit": 0, "queuing_num": -1, "running_left_time": -1, "result": {}}}
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\ComfyUI_windows_latest\ComfyUI_windows_portable\ComfyUI\execution.py", line 444, in execute
raise ex
File "D:\ComfyUI_windows_latest\ComfyUI_windows_portable\ComfyUI\execution.py", line 440, in execute
results.append(r.result())
~~~~~~~~^^
File "asyncio\futures.py", line 199, in result
File "asyncio\tasks.py", line 304, in __step_run_and_handle_result
File "D:\ComfyUI_windows_latest\ComfyUI_windows_portable\ComfyUI\execution.py", line 285, in async_wrapper
return await f(**args)
^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_latest\ComfyUI_windows_portable\ComfyUI\comfy_api\internal\__init__.py", line 145, in wrapped_async_func
return await method(locked_class, **inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_latest\ComfyUI_windows_portable\ComfyUI\comfy_api\latest\_io.py", line 1784, in EXECUTE_NORMALIZED_ASYNC
to_return = await cls.execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_latest\ComfyUI_windows_portable\ComfyUI\comfy_api_nodes\nodes_tripo.py", line 320, in execute
return await poll_until_finished(cls, response, average_duration=80)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_latest\ComfyUI_windows_portable\ComfyUI\comfy_api_nodes\nodes_tripo.py", line 49, in poll_until_finished
response_poll = await poll_op(
^^^^^^^^^^^^^^
...<14 lines>...
)
^
File "D:\ComfyUI_windows_latest\ComfyUI_windows_portable\ComfyUI\comfy_api_nodes\util\client.py", line 160, in poll_op
raw = await poll_op_raw(
^^^^^^^^^^^^^^^^^^
...<18 lines>...
)
^
File "D:\ComfyUI_windows_latest\ComfyUI_windows_portable\ComfyUI\comfy_api_nodes\util\client.py", line 429, in poll_op_raw
raise Exception(f"Polling aborted due to error: {e}") from e
Exception: Polling aborted due to error: Task failed: {"code": 0, "data": {"task_id": "48fe808e-cf9a-4def-8fdd-5b16f7162349", "type": "image_to_model", "status": "failed", "input": {"model_version": "v3.0-20250812", "file": {"object": {"bucket": "tripo-data", "key": "tcli_051effe01d1b4a68bc73a2c4e8da4a4c/20260319/48fe808e-cf9a-4def-8fdd-5b16f7162349/file.jpeg"}, "type": "jpeg"}, "texture": true, "pbr": true, "model_seed": 42, "texture_seed": 42, "texture_quality": "detailed", "texture_alignment": "geometry", "auto_size": true, "orientation": "default", "enable_image_autofix": false, "export_uv": true, "quad": true, "geometry_quality": "detailed"}, "output": {}, "progress": 100, "create_time": 1773898594, "error_code": 2020, "consumed_credit": 0, "queuing_num": -1, "running_left_time": -1, "result": {}}}
Prompt executed in 15.93 seconds
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.