Skip to navigation

Meshy Retexture

Meshy Retexture
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 or try it in the Playground.

At a glance

FieldValue
Model idmeshy-retexture
Model release date2025-06-25
Input modalities3D, Text, Image
Output modalities3D
Context window-
Weight precision-
Featuresretexturing, texture_generation, pbr_materials
Native inferenceNo
NewYes
Supported endpointsPOST /v1/3d/generations
Alternate model idsmeshy/meshy-retexture

Pricing

ChargeSpecRate
2K or 4K textureper request$0.40 $0.38
8K textureper request$0.60 $0.57

Example request

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

ParameterTypeRequiredDefaultDescription
model_urlstringyes-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).
promptstringno-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.
imageimageno-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_modelenumno"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_resolutionenumno"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_pbrbooleannofalseAlso make metallic, roughness and normal maps. Not available with the meshy-n1 texture model.
enable_original_uvbooleannofalsePaint onto the model’s own UV layout.
remove_lightingbooleanno-Remove highlights and shadows from the texture. Applies to the meshy-6 texture model.
file_formatenumno"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.