> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-mintlify-b90d3c69.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MeshyRefineNode - ComfyUI Built-in Node Documentation

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

The Meshy: Refine Draft Model node takes a previously generated 3D draft model and improves its quality, optionally adding textures. It submits a refinement task to the Meshy API and returns the final 3D model files once processing is complete.

## Inputs

| Parameter        | Description                                                                                                                                                                                                           | Data Type       | Required | Range      |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | -------- | ---------- |
| `model`          | Specifies the AI model to use for refinement. Currently, only the "latest" model is available.                                                                                                                        | COMBO           | Yes      | `"latest"` |
| `meshy_task_id`  | The unique task ID of the draft model you want to refine.                                                                                                                                                             | MESHY\_TASK\_ID | Yes      | -          |
| `enable_pbr`     | Generate PBR Maps (metallic, roughness, normal) in addition to the base color. Note: this should be set to false when using Sculpture style, as Sculpture style generates its own set of PBR maps. (default: `False`) | BOOLEAN         | No       | -          |
| `texture_prompt` | Provide a text prompt to guide the texturing process. Maximum 600 characters. Cannot be used at the same time as `texture_image`. (default: empty string)                                                             | STRING          | No       | -          |
| `texture_image`  | Only one of `texture_image` or `texture_prompt` may be used at the same time.                                                                                                                                         | IMAGE           | No       | -          |

**Note:** The `texture_prompt` and `texture_image` inputs are mutually exclusive. You cannot provide both a text prompt and an image for texturing in the same operation.

## Outputs

| Output Name     | Description                                                                | Data Type       |
| --------------- | -------------------------------------------------------------------------- | --------------- |
| `model_file`    | The filename of the generated GLB model. (For backward compatibility only) | STRING          |
| `meshy_task_id` | The unique task ID for the submitted refinement job.                       | MESHY\_TASK\_ID |
| `GLB`           | The final refined 3D model in GLB format.                                  | FILE3DGLB       |
| `FBX`           | The final refined 3D model in FBX format.                                  | FILE3DFBX       |

> 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/MeshyRefineNode/en.md)

***

**Source fingerprint (SHA-256):** `b1cfdeb12d1f79c4c18f96b4f8a92de227210e369b22356fe7232e025956696e`
