seedinteger
Random seed. The same seed and input reproduce the same result.
tencent/hunyuan-3d/v2/mini-turboHunyuan3D 2.0 Mini Turbo by Tencent, the fast variant of Hunyuan3D 2.0 Mini, generates a 3D mesh from a single image, as a white mesh or with textures.
Modell testen
PNG, JPEG, WebP oder GIF · maximal 20 MiB
Was möchten Sie als Nächstes tun?
Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
{
"image": "https://static.sandbase.ai/examples/6fe37f3c-0b82-4e4e-970b-ba6badab06de/input/38f2f71d-813d-48cf-99a8-6a8221d09797.png",
"textured_mesh": true
}Hunyuan3D 2.0 Mini Turbo by Tencent, the fast variant of Hunyuan3D 2.0 Mini, generates a 3D mesh from a single image, as a white mesh or with textures.
| Field | Type | Default | Notes |
|---|---|---|---|
image | image URL, required | — | URL of the image to turn into a 3D model. |
textured_mesh | boolean | false | Generate a textured mesh instead of a white (untextured) mesh. Textured output costs 3x. |
octree_resolution | integer 1–1024 | 256 | Octree resolution of the generated mesh. Higher values give finer geometry. |
seed | integer | — | Random seed. The same seed and input reproduce the same result. |
url: Main 3D file (GLB unless another export format is selected).$0.08 per request with default settings. Price by option (other settings at default):
| Option | Price |
|---|---|
| textured_mesh on | $0.24 |
| textured_mesh off | $0.08 |
| 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.
Jetzt loslegen
Senden Sie dieses Modell über die 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/v2/mini-turbo",
"image": "https://static.sandbase.ai/examples/tencent/hunyuan-3d/v2/mini-turbo/input_image_0.png",
"textured_mesh": false,
"octree_resolution": 256
}
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"Erstellen Sie einen SandBase API-Schlüssel und legen Sie ihn in Ihrer Serverumgebung fest. Alle Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie den Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis und committen Sie ihn nicht in ein Repository.
POST an /v1/run mit dieser Modell-ID und ihren Eingaben. Das obige Anfragebeispiel umfasst Übermittlung und Polling.
Verwenden Sie die zurückgegebene Run-ID zum Polling, bis der Status completed, failed oder timeout ist. Lesen Sie die Ausgabe erst nach completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Übergeben Sie eine öffentlich zugängliche Date-URL im Bild-, Video- oder Audiofeld des Modells. Unterstützte Formate und Limits werden neben jedem Playground-Eingabefeld angezeigt.
Verwenden Sie im Playground bei unterstützten Bildfeldern die Steuerung zum Hochladen oder Ersetzen. Video-URL-Felder akzeptieren ein gehostetes Fahrvideo; sie implizieren keine Unterstützung für Video-Uploads.
seedintegerRandom seed. The same seed and input reproduce the same result.
imagestringerforderlichURL of the image to turn into a 3D model.
textured_meshbooleanGenerate a textured mesh instead of a white (untextured) mesh. Textured output costs 3x.
Standard: false
octree_resolutionintegerOctree resolution of the generated mesh. Higher values give finer geometry.
Standard: 256
Minimum: 1
Maximum: 1024
{
"model": "tencent/hunyuan-3d/v2/mini-turbo",
"image": "https://static.sandbase.ai/examples/tencent/hunyuan-3d/v2/mini-turbo/input_image_0.png",
"textured_mesh": false,
"octree_resolution": 256
}Ein abgeschlossener Run stellt sein Ergebnis in der Ausgabe bereit. Das Folgende ist das gespeicherte Beispiel des Modells, keine neue Generierung.
[
{
"poster": "https://static.sandbase.ai/examples/6fe37f3c-0b82-4e4e-970b-ba6badab06de/output/17f7c536-f44c-4c28-9716-87c545db0aed.png",
"url": "https://static.sandbase.ai/examples/6fe37f3c-0b82-4e4e-970b-ba6badab06de/output/05ddc1ff-23ce-4e3a-a82f-ce0ec754e41b.glb"
}
]