> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# TripoP1ImageToModelNode - ComfyUI Built-in Node Documentation

> Complete documentation for the TripoP1ImageToModelNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

## Overview

This node converts a single 2D image into a 3D model using the Tripo P1 API. It is optimized for generating low-polygon, game-ready meshes.

## Inputs

| Parameter              | Description                                                                                                                                                                                                                                                                                                                       | Data Type | Required | Range           |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | --------------- |
| `image`                | The input image to convert to a 3D model.                                                                                                                                                                                                                                                                                         | IMAGE     | Yes      | -               |
| `output_mode`          | A dictionary specifying the output mode and quality settings. This parameter controls the type of model generated and its texture quality. The available options are defined by the `_build_p1_output_mode` helper function and include settings for `texture_quality` (e.g., "standard", "high", "ultra") and `image_alignment`. | DICT      | Yes      | See description |
| `enable_image_autofix` | Pre-process the input image for better generation quality. (default: False)                                                                                                                                                                                                                                                       | BOOLEAN   | No       | True<br />False |
| `face_limit`           | Limits the number of faces in the generated mesh. A value of -1 means no limit. (default: -1)                                                                                                                                                                                                                                     | INT       | No       | -               |
| `model_seed`           | A seed value for reproducible model generation. If not provided, a random seed is used. (default: None)                                                                                                                                                                                                                           | INT       | No       | -               |
| `auto_size`            | Automatically determine the optimal size for the generated model. (default: False)                                                                                                                                                                                                                                                | BOOLEAN   | No       | True<br />False |
| `export_uv`            | Export UV coordinates with the model. (default: True)                                                                                                                                                                                                                                                                             | BOOLEAN   | No       | True<br />False |
| `compress_geometry`    | Compress the geometry data to reduce file size. (default: False)                                                                                                                                                                                                                                                                  | BOOLEAN   | No       | True<br />False |

## Outputs

| Output Name     | Description                                                                                       | Data Type       |
| --------------- | ------------------------------------------------------------------------------------------------- | --------------- |
| `model_file`    | The file path to the generated 3D model. This output is provided for backward compatibility only. | STRING          |
| `model task_id` | The unique task ID for the model generation request.                                              | MODEL\_TASK\_ID |
| `GLB`           | The generated 3D model in GLB format.                                                             | FILE3DGLB       |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/TripoP1ImageToModelNode/en.md)

***

**Source fingerprint (SHA-256):** `2ac611603dd6eb88700a8105c19f97a8c4eefe5f4efb23d8854ccc27af590626`
