meshy/meshy/v5/retexture
Meshy V5 Retexture by Meshy - advanced AI model for 3d-to-3d. Delivers high-quality results with fast inference, suitable for both creative and production workflows.
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runmeshy/meshy/v5/retextureInput Schema
5 parameters · 0 required · 5 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
model_url | string | Optional | URL or base64 data URI of a 3D model to texture. Supports .glb, .gltf, .obj, .fbx, .stl formats. Can be a publicly accessible URL or data URI with MIME type application/octet-stream. |
enable_pbr | boolean | Optional | Generate PBR Maps (metallic, roughness, normal) in addition to base color. · Default: false |
image_style_url | string | Optional | 2D image to guide the texturing process. Supports .jpg, .jpeg, and .png formats. Required if text_style_prompt is not provided. If both are provided, image_style_url takes precedence. |
text_style_prompt | string | Optional | Describe your desired texture style using text. Maximum 600 characters. Required if image_style_url is not provided. · Max length: 600 |
enable_original_uv | boolean | Optional | Use the original UV mapping of the model instead of generating new UVs. If the model has no original UV, output quality may be reduced. · Default: true |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "meshy/meshy/v5/retexture",
"model_url": "https://static.sandbase.ai/examples/meshy/meshy/v5/retexture/input_model_url_0.glb",
"enable_pbr": false,
"text_style_prompt": "red and black chest",
"enable_original_uv": true,
"prompt": "a beautiful sunset over mountains"
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Meshy 5 Retexture
Meshy 5 Retexture is a Meshy route built for 3D retexturing. It turns an existing mesh and a visual material brief into updated surface appearance while retaining the supplied geometry, giving creators a focused endpoint instead of forcing one generic workflow across materially different production tasks. The route belongs to a family known for production-oriented 3D creation, editable assets, and fast iteration, so it is best evaluated as a creative system for intentional shots and assets rather than as a one-click novelty generator.
Use this endpoint when the input contract and deliverable match that job exactly. Its documented controls include model_url (URL or base64 data URI of a 3D model to texture. Supports .glb, .gltf, .obj, .fbx, .stl formats. Can be a publicly accessible URL or data URI with MIME type application/octet-stream); enable_pbr (Generate PBR Maps (metallic, roughness, normal) in addition to base color); image_style_url (2D image to guide the texturing process. Supports .jpg, .jpeg, and .png formats. Required if text_style_prompt is not provided. If both are provided, image_style_url takes precedence); text_style_prompt (Describe your desired texture style using text. Maximum 600 characters. Required if image_style_url is not provided). Together, these controls help teams plan predictable iterations, compare outputs under stable settings, and connect generation to game, product, visualization, and spatial-content pipelines without hiding the operational choices that shape the result.
Highlights
- Purpose-built 3d retexturing. The route accepts an existing mesh and a visual material brief and produces updated surface appearance while retaining the supplied geometry; its interface is scoped to that transformation, keeping source assets and creative intent explicit.
- Creative direction. Prompts can describe subject behavior, composition, camera intent, lighting, material, atmosphere, and temporal progression so the result is driven by a shot plan rather than isolated keywords.
- Route-specific control. The request exposes model_url (URL or base64 data URI of a 3D model to texture. Supports .glb, .gltf, .obj, .fbx, .stl formats. Can be a publicly accessible URL or data URI with MIME type application/octet-stream); enable_pbr (Generate PBR Maps (metallic, roughness, normal) in addition to base color); image_style_url (2D image to guide the texturing process. Supports .jpg, .jpeg, and .png formats. Required if text_style_prompt is not provided. If both are provided, image_style_url takes precedence); text_style_prompt (Describe your desired texture style using text. Maximum 600 characters. Required if image_style_url is not provided), allowing the same concept to be tested systematically while preserving a repeatable production setup.
- Pipeline-ready output. The generated 3D asset is returned through the documented asynchronous output contract, which suits review queues, batch iteration, and downstream automation. Artists can inspect topology, UVs, textures, normals, roughness, metallic response, skeletal readiness, polygon budgets, and interchange suitability before approving a build.
Pricing
| Configuration | Price |
|---|---|
| Standard request | $0.300000 |
When to Use
| Scenario | Why this model fits |
|---|---|
| Create the exact route output | Choose it when you need 3D retexturing and already have an existing mesh and a visual material brief. |
| Develop controlled variations | Keep the main brief fixed while changing one documented setting at a time to compare motion, framing, quality, or asset behavior. |
| Build repeatable batches | Use a consistent request shape for catalog, campaign, storyboard, game-asset, or social-content production. |
| Preserve source intent | Prefer this route when the supplied reference material must remain the foundation of updated surface appearance while retaining the supplied geometry. |
| Connect a media pipeline | Use asynchronous results in an automated review, approval, post-production, or asset-management workflow. |
Prompt Guide
Start with the desired result, then describe the source relationship, subject action, composition or camera behavior, lighting, style, and timing. For 3D retexturing, state what must remain stable as clearly as what should change. Use only fields exposed by the schema; the example below is structurally valid for this route.
{
"model_url": "https://static.sandbase.ai/examples/meshy/meshy/v5/retexture/input_model_url_0.glb",
"enable_pbr": false,
"image_style_url": "https://example.com/reference.jpg",
"text_style_prompt": "red and black chest",
"enable_original_uv": true
}
Technical Specs
| Specification | Value |
|---|---|
| Model ID | meshy/meshy/v5/retexture |
| Workflow | 3d retexturing |
| Required inputs | No fields marked required by schema |
model_url | string |
enable_pbr | boolean |
image_style_url | string |
text_style_prompt | string |
enable_original_uv | boolean |

