model_urlstringrequired
URL of the 3D model to texture. Supports .glb, .gltf, .obj, .fbx and .stl.
meshy/n1/retextureMeshy N1 Retexture repaints an existing 3D model from one reference image or up to four reference views, producing a 2K base color texture.
Try the model
PNG, JPEG, WebP, or GIF · 20 MiB maximum
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 4
Your output will appear here
Complete the inputs, then click Run.
Meshy N1 Retexture repaints an existing 3D model from one reference image or up to four reference views, producing a 2K base color texture.
| Field | Type | Default | Notes |
|---|---|---|---|
model_url | string, required | — | URL of the 3D model to texture. Supports .glb, .gltf, .obj, .fbx and .stl. |
image_style_url | image URL | — | Single reference image of the target texture, treated as the front view. Provide this or multiview_image_urls. |
multiview_image_urls | image URLs (1–4) | — | 1 to 4 reference views of the target texture; the first is the front view. Cannot be combined with image_style_url. |
enable_original_uv | boolean | true | Use the model's original UV mapping instead of generating new UVs. |
url: Main 3D file (GLB unless another export format is selected).thumbnail: Preview image rendered by the provider.$0.40 per request. Failed runs are not charged.
Other Meshy 3D endpoints: meshy/6.0-lite/retexture, meshy/6.0/retexture, meshy/7.0/image-to-3d, meshy/7.0/multi-image-to-3d.
Start building
Submit this model through the SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "meshy/n1/retexture",
"model_url": "https://static.sandbase.ai/examples/meshy/n1/retexture/input_model_url_0.glb",
"enable_original_uv": true
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Create a SandBase API key and set it in your server environment. All requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep the key on your server. Do not expose it in browser code or commit it to a repository.
POST to /v1/run with this model ID and its inputs. The request example above includes submission and polling.
Use the returned run ID to poll until the status is completed, failed or timeout. Read output only after completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Pass a publicly accessible file URL in the model’s image, video or audio field. Supported formats and limits are shown beside each Playground input.
Use the upload or replace control on supported image fields in the Playground. Video URL fields accept a hosted driving video; they do not imply video-upload support.
model_urlstringrequiredURL of the 3D model to texture. Supports .glb, .gltf, .obj, .fbx and .stl.
image_style_urlstringSingle reference image of the target texture, treated as the front view. Provide this or multiview_image_urls.
enable_original_uvbooleanUse the model's original UV mapping instead of generating new UVs.
Default: true
multiview_image_urlsarray1 to 4 reference views of the target texture; the first is the front view. Cannot be combined with image_style_url.
{
"model": "meshy/n1/retexture",
"model_url": "https://static.sandbase.ai/examples/meshy/n1/retexture/input_model_url_0.glb",
"enable_original_uv": true
}A completed run exposes its result in output. The following is the model’s saved example, not a new generation.
No example output has been published yet. Use Playground → Result → JSON after a completed run to inspect your response.