Retexture 3D Model
meshy_retextureApply new AI-generated textures to an existing 3D model from a text prompt, a style reference image, or multiview photos, with optional PBR maps and up to 8K resolution.
Instructions
Apply new AI textures to an existing model. Cost: 10 credits (15 at 8K).
Ask the user for EXACTLY ONE style input (the tool rejects combinations):
text_style_prompt: the style in words ("rusty metal", "cartoon")
image_style_url: one image used as a STYLE reference
multiview_image_urls: 1–4 photos OF THE SAME OBJECT from different angles (not style references)
ai_model "meshy-n1" (Meshy N1, 10 credits) textures from reference images only: image_style_url (one view of the object, read as the front) or multiview_image_urls (front view first, the rest in any order). It makes a 2K base color texture and nothing else, so it takes no text_style_prompt, enable_pbr, 4k/8k or remove_lighting.
Example: { input_task_id: "abc-123", text_style_prompt: "rusty metal" } Meshy N1: { input_task_id: "abc-123", ai_model: "meshy-n1", multiview_image_urls: ["", ""] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ai_model | No | 'latest' (default, = Meshy 7), 'meshy-7', 'meshy-6', 'meshy-6-lite' (fast, 2K only), or 'meshy-n1' (Meshy N1: a 2K base color texture from image_style_url or 1–4 multiview_image_urls, front view first; no text prompt, no PBR; 10 credits). No meshy-7.1 here. | latest |
| model_url | No | Public URL of a .glb / .gltf / .obj / .fbx / .stl model (max 400 MB), or a GLB data URI (max 100 MB) | |
| enable_pbr | No | Also make metallic/roughness/normal maps. Not with meshy-n1. | |
| hd_texture | No | Deprecated: use texture_resolution '4k'. | |
| input_task_id | No | A SUCCEEDED text-to-3d (preview or refine), image-to-3d or remesh task | |
| target_formats | No | Formats to produce (default: all but 3mf; list '3mf' to get it). | |
| alpha_thumbnail | No | Also return a transparent-background preview (alpha_thumbnail_url). | |
| image_style_url | No | One image used as the style reference. With meshy-n1: a view of the object, read as the front view. | |
| remove_lighting | No | Remove highlights/shadows from the base color (meshy-6 only; API default true there). Not with meshy-n1. | |
| response_format | No | markdown (default) or json | markdown |
| text_style_prompt | No | The texture style in words (max 800 characters). Not with meshy-n1. | |
| enable_original_uv | No | Keep the existing UVs instead of a fresh unwrap. Default true with input_task_id, false with model_url (safest for uploads). | |
| texture_resolution | No | Base color texture: 2k (default), 4k or 8k (15 credits instead of 10; PBR maps stay 4K, no emission map). 4k/8k not on meshy-6-lite or meshy-n1. | |
| multiview_image_urls | No | 1–4 views of the same object: element 0 is the primary (front) view, the others in any order. Needs ai_model 'meshy-7' ('latest' is sent as 'meshy-7'; element 0 alone drives metallic/roughness) or 'meshy-n1'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| task_id | Yes | ||
| estimated_time | Yes |