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

# MeshyRefineNode - ComfyUI Built-in Node Documentation

> The Meshy: Refine Draft Model node takes a 3D draft model from a previous Meshy task and improves it, optionally adding textures using a text prompt or a reference image.

The Meshy: Refine Draft Model node takes a 3D draft model from a previous Meshy task and improves it, optionally adding textures using a text prompt or a reference image. It submits the refinement job to the Meshy API and returns the finished model as GLB and FBX files once the task is complete.

## Inputs

| Parameter            | Description                                                                                                                                                                                                         | Data Type       | Required | Range                                        |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | -------- | -------------------------------------------- |
| `model`              | The AI model used to refine the draft model.                                                                                                                                                                        | COMBO           | Yes      | `"meshy-7"`<br />`"meshy-6"`<br />`"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         | Yes      | -                                            |
| `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          | Yes      | -                                            |
| `texture_image`      | Only one of `texture_image` or `texture_prompt` may be used at the same time.                                                                                                                                       | IMAGE           | No       | -                                            |
| `texture_resolution` | Base color texture resolution. Higher resolutions capture more surface detail.                                                                                                                                      | COMBO           | Yes      | `"2k"`<br />`"4k"`<br />`"8k"`               |

**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):** `73c9d712c4fd9fdd2792600ce874916ce9447d386407353c886f624641fa0e0f`
