> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.empiriolabs.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.empiriolabs.ai/_mcp/server.

# Meshy Retexture

> Paints a new texture onto an existing 3D model from a text prompt or style images, with a choice of texture model, PBR maps, and textures up to 8K.

![Meshy Retexture](https://media.empiriolabs.ai/model-logos/meshy.png)

[Meshy](/providers/meshy) · 3D Generation

`POST /v1/3d/generations`

Paints a new texture onto an existing 3D model from a text prompt or style images, with a choice of texture model, PBR maps, and textures up to 8K.

See [Meshy Retexture pricing and specs](https://empiriolabs.ai/models/meshy-retexture) or [try it in the Playground](https://platform.empiriolabs.ai/dashboard/playground?model=meshy-retexture).

## At a glance

| Field               | Value                                          |
| ------------------- | ---------------------------------------------- |
| Model id            | `meshy-retexture`                              |
| Model release date  | 2025-06-25                                     |
| Input modalities    | 3D, Text, Image                                |
| Output modalities   | 3D                                             |
| Context window      | -                                              |
| Weight precision    | -                                              |
| Features            | retexturing, texture_generation, pbr_materials |
| Native inference    | No                                             |
| New                 | Yes                                            |
| Supported endpoints | `POST /v1/3d/generations`                      |
| Alternate model ids | `meshy/meshy-retexture`                        |

## Pricing

| Charge           | Spec        | Rate              |
| ---------------- | ----------- | ----------------- |
| 2K or 4K texture | per request | ~~\$0.40~~ \$0.38 |
| 8K texture       | per request | ~~\$0.60~~ \$0.57 |

## Example request

```bash
curl https://api.empiriolabs.ai/v1/3d/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"model": "meshy-retexture", "model_url": "https://example.com/model.glb", "prompt": "weathered bronze with a green patina", "texture_model": "meshy-7", "texture_resolution": "2k"}'
```

## Parameters

| Parameter            | Type    | Required | Default     | Description                                                                                                                                                                                                                                                                       |
| -------------------- | ------- | -------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `model_url`          | string  | yes      | -           | The model to texture: a GLB, glTF, OBJ, FBX or STL file, as a URL (up to 400 MB) or base64 (up to 100 MB).                                                                                                                                                                        |
| `prompt`             | string  | no       | -           | Text that describes the new texture, up to 800 characters. Send a prompt or images, not both. Not available with the meshy-n1 texture model.                                                                                                                                      |
| `image`              | image   | no       | -           | An image whose look the texture follows, or two to four views of the same object with the meshy-7 or meshy-n1 texture model. JPG, PNG or WebP, up to 20 MB each, as URLs or base64.                                                                                               |
| `texture_model`      | enum    | no       | `"meshy-7"` | The model that paints the texture. meshy-7 is detailed and realistic, meshy-n1 paints clean color with few seams from reference images only, meshy-6 can also remove baked lighting, and meshy-6-lite is the fastest. · Allowed: `meshy-7`, `meshy-n1`, `meshy-6`, `meshy-6-lite` |
| `texture_resolution` | enum    | no       | `"2k"`      | The size of the color texture. A PBR map can be one size smaller. 4k and 8k need the meshy-7 or meshy-6 texture model. · Allowed: `2k`, `4k`, `8k`                                                                                                                                |
| `enable_pbr`         | boolean | no       | false       | Also make metallic, roughness and normal maps. Not available with the meshy-n1 texture model.                                                                                                                                                                                     |
| `enable_original_uv` | boolean | no       | false       | Paint onto the model's own UV layout.                                                                                                                                                                                                                                             |
| `remove_lighting`    | boolean | no       | -           | Remove highlights and shadows from the texture. Applies to the meshy-6 texture model.                                                                                                                                                                                             |
| `file_format`        | enum    | no       | `"glb"`     | The file format of the returned model. obj also returns its material file and textures. · Allowed: `glb`, `fbx`, `obj`, `usdz`, `stl`, `3mf`                                                                                                                                      |

## Notes

Paints a new texture onto a 3D model you provide. Send the model with a text prompt, one style image, or two to four views of the object. Billing is per request, at the price of the texture size.

**Controls**

* The texture model, 2K, 4K, or 8K textures, and PBR maps.
* Painting onto the model's own UV layout, and baked lighting removal with the meshy-6 texture model.
* glb, fbx, obj, usdz, stl, or 3mf output. An obj comes with its material file and textures.

**Input limits**

* 3D model: GLB, glTF, OBJ, FBX, or STL, up to 400 MB by URL or 100 MB as base64.
* Images: JPG, PNG, or WebP, up to 20 MB each, as URLs or base64.
* Prompt: up to 800 characters. Send a prompt or images, not both.

**Output**

* Each file is stored and returned as a signed download URL.

**Billing**

* A request that is refused or that fails is not billed.

---

*Machine-readable schema:* `GET https://api.empiriolabs.ai/v1/models/meshy-retexture`.