Skip to main content

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.

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

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

ParameterData TypeRequiredRangeDescription
imageIMAGEYes-The input image to convert to a 3D model.
output_modeDICTYesSee descriptionA 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.
enable_image_autofixBOOLEANNoTrue
False
Pre-process the input image for better generation quality. (default: False)
face_limitINTNo-Limits the number of faces in the generated mesh. A value of -1 means no limit. (default: -1)
model_seedINTNo-A seed value for reproducible model generation. If not provided, a random seed is used. (default: None)
auto_sizeBOOLEANNoTrue
False
Automatically determine the optimal size for the generated model. (default: False)
export_uvBOOLEANNoTrue
False
Export UV coordinates with the model. (default: True)
compress_geometryBOOLEANNoTrue
False
Compress the geometry data to reduce file size. (default: False)

Outputs

Output NameData TypeDescription
model_fileSTRINGThe file path to the generated 3D model. This output is provided for backward compatibility only.
model task_idMODEL_TASK_IDThe unique task ID for the model generation request.
GLBFILE3DGLBThe generated 3D model in GLB format.

Source fingerprint (SHA-256): 2ac611603dd6eb88700a8105c19f97a8c4eefe5f4efb23d8854ccc27af590626