model_urlstringobbligatorio
URL of the GLB or OBJ model to retopologize. Max 200MB.
tencent/hunyuan-3d/3.1/smart-topologyHunyuan 3D 3.1 Smart Topology by Tencent retopologizes a GLB or OBJ model into a clean triangle or quad mesh at a chosen polygon density.
Prova il modello

Cosa vuoi fare dopo?
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
{
"model_url": "https://static.sandbase.ai/examples/9b53f7a8-45d2-4f3b-88b0-76cc4c831443/input/b6fbdee4-dae5-4d90-89b3-3ee62e24f51d.glb"
}Hunyuan 3D 3.1 Smart Topology by Tencent retopologizes a GLB or OBJ model into a clean triangle or quad mesh at a chosen polygon density.
| Field | Type | Default | Notes |
|---|---|---|---|
model_url | string, required | — | URL of the GLB or OBJ model to retopologize. Max 200MB. |
input_file_type | glb / obj | glb | Format of the input model. |
polygon_type | triangle / quadrilateral | triangle | triangle: triangles only. quadrilateral: mixed quads and triangles. |
face_level | high / medium / low | medium | Target polygon density: high keeps more detail, low gives fewer polygons. |
url: Main 3D file (GLB unless another export format is selected).$0.75 per request. Failed runs are not charged.
Other Tencent 3D endpoints: tencent/hunyuan-3d/3.0/image-to-3d, tencent/hunyuan-3d/3.1/part, tencent/hunyuan-3d/3.1/pro/image-to-3d, tencent/hunyuan-3d/3.1/pro/text-to-3d.
Inizia a costruire
Invia questo modello tramite la 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": "tencent/hunyuan-3d/3.1/smart-topology",
"model_url": "https://static.sandbase.ai/examples/tencent/hunyuan-3d/3.1/smart-topology/input_input_file_url_0.glb",
"face_level": "medium",
"polygon_type": "triangle",
"input_file_type": "glb"
}
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"Crea una SandBase API key e impostala nell'ambiente del server. Tutte le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la key sul server. Non esporla nel codice del browser né committarla in un repository.
Esegui POST su /v1/run con questo ID modello e i relativi input. L'esempio di richiesta sopra include invio e polling.
Usa il run ID restituito per fare polling finché lo stato non è completed, failed o timeout. Leggi l'output solo dopo completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passa un URL di file accessibile pubblicamente nel campo image, video o audio del modello. I formati supportati e i limiti sono mostrati accanto a ciascun input del Playground.
Usa il controllo upload o replace sui campi immagine supportati nel Playground. I campi URL video accettano un video di driving ospitato; non implicano il supporto al caricamento video.
model_urlstringobbligatorioURL of the GLB or OBJ model to retopologize. Max 200MB.
face_levelstringTarget polygon density: high keeps more detail, low gives fewer polygons.
Predefinito: "medium"
Valori possibili: "high", "medium", "low"
polygon_typestringtriangle: triangles only. quadrilateral: mixed quads and triangles.
Predefinito: "triangle"
Valori possibili: "triangle", "quadrilateral"
input_file_typestringFormat of the input model.
Predefinito: "glb"
Valori possibili: "glb", "obj"
{
"model": "tencent/hunyuan-3d/3.1/smart-topology",
"model_url": "https://static.sandbase.ai/examples/tencent/hunyuan-3d/3.1/smart-topology/input_input_file_url_0.glb",
"face_level": "medium",
"polygon_type": "triangle",
"input_file_type": "glb"
}Un run completato espone il risultato in output. Quanto segue è l'esempio salvato del modello, non una nuova generazione.
[
{
"poster": "https://static.sandbase.ai/examples/9b53f7a8-45d2-4f3b-88b0-76cc4c831443/output/d953d005-c094-4ed0-bdb8-17bdc9781bbd.png",
"url": "https://static.sandbase.ai/examples/9b53f7a8-45d2-4f3b-88b0-76cc4c831443/output/cf26742b-6cf8-4342-8fad-078447bc221b.glb"
}
]