model_urlstringzorunlu
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.
Modeli deneyin

Sırada ne yapmak istersiniz?
Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.
{
"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.
Geliştirmeye başlayın
Bu modeli SandBase Unified Run API üzerinden gönderin.
# 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"Bir SandBase API anahtarı oluşturun ve sunucu ortamınıza ayarlayın. Tüm istekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın veya bir depoya commit etmeyin.
Bu model kimliği ve girdileriyle /v1/run adresine POST gönderin. Yukarıdaki istek örneği gönderme ve yoklamayı içerir.
Durum completed, failed veya timeout olana kadar verilen run ID ile yoklama yapın. Çıktıyı yalnızca completed olduktan sonra okuyun.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Modelin image, video veya audio alanına herkese açık erişilebilir bir dosya URL'si verin. Desteklenen formatlar ve sınırlar her Playground girişinin yanında gösterilir.
Playground'daki desteklenen image alanlarında yükleme veya değiştirme kontrolünü kullanın. Video URL alanları barındırılan bir sürüş videosu kabul eder; video yükleme desteği anlamına gelmez.
model_urlstringzorunluURL of the GLB or OBJ model to retopologize. Max 200MB.
face_levelstringTarget polygon density: high keeps more detail, low gives fewer polygons.
Varsayılan: "medium"
Olası değerler: "high", "medium", "low"
polygon_typestringtriangle: triangles only. quadrilateral: mixed quads and triangles.
Varsayılan: "triangle"
Olası değerler: "triangle", "quadrilateral"
input_file_typestringFormat of the input model.
Varsayılan: "glb"
Olası değerler: "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"
}Tamamlanan bir run, sonucunu output içinde gösterir. Aşağıdaki, modelin kaydedilmiş örneğidir; yeni bir üretim değildir.
[
{
"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"
}
]