imagestringerforderlich
URL of image to use while generating the 3D model.
tencent/hunyuan-3d/3.0/image-to-3dHunyuan 3d V3 is Tencent's image-to-3D AI model. Transform photographs into production-ready 3D meshes with accurate geometry and texture mapping.
Modell testen
PNG, JPEG, WebP oder GIF · maximal 20 MiB
PNG, JPEG, WebP oder GIF · maximal 20 MiB
PNG, JPEG, WebP oder GIF · maximal 20 MiB
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/abf2367a-454d-4481-8a41-be5aeee0de10/input/dd7094c9-b163-4c93-bdc3-818d495d55aa.png"
}Hunyuan 3D 3.0 turns an image (plus optional side and back views) into a textured, low-poly, or geometry-only 3D model.
| Field | Type | Default | Notes |
|---|---|---|---|
image | image URL, required | — | Front view. JPEG, PNG, or WebP URL. |
enable_pbr | boolean | false | PBR materials. |
polygon_type | triangle / quadrilateral | triangle | Triangle or quad mesh. |
generate_type | Normal / LowPoly / Geometry | Normal | Normal textured, LowPoly, or Geometry (untextured). |
face_count | integer 40000–1500000 | 500000 | Target face count. |
back_image | image URL | — | Optional extra view. |
left_image | image URL | — | Optional extra view. |
right_image | image URL | — | Optional extra view. |
$0.63 per textured model, $0.72 low-poly, $0.45 geometry-only; PBR adds $0.18 and extra views add $0.18.
| Request | Price |
|---|---|
| Normal | $0.63 |
| LowPoly | $0.72 |
| Geometry | $0.45 |
| Normal + PBR + extra views | $0.99 |
Failed runs are not charged.
Other Hunyuan 3D endpoints: tencent/hunyuan-3d/3.1/pro/text-to-3d, tencent/hunyuan-3d/3.1/pro/image-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/3.0/image-to-3d",
"image": "https://static.sandbase.ai/examples/tencent/hunyuan-3d/v3/input_image_0.png",
"enable_pbr": false,
"face_count": 500000,
"polygon_type": "triangle",
"generate_type": "Normal"
}
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.
imagestringerforderlichURL of image to use while generating the 3D model.
back_imagestringOptional back view image URL for multi-view reconstruction.
enable_pbrbooleanGenerate PBR materials (metallic, roughness, normal). Ignored for Geometry output.
Standard: false
face_countintegerTarget polygon face count (custom face count is billed as an add-on).
Standard: 500000
Minimum: 40000
Maximum: 1500000
left_imagestringOptional left view image URL for multi-view reconstruction.
right_imagestringOptional right view image URL for multi-view reconstruction.
polygon_typestringPolygon type. Only takes effect when generate_type is LowPoly.
Standard: "triangle"
Mögliche Werte: "triangle", "quadrilateral"
generate_typestringNormal: textured model. LowPoly: polygon reduction. Geometry: white model without texture.
Standard: "Normal"
Mögliche Werte: "Normal", "LowPoly", "Geometry"
{
"model": "tencent/hunyuan-3d/3.0/image-to-3d",
"image": "https://static.sandbase.ai/examples/tencent/hunyuan-3d/v3/input_image_0.png",
"enable_pbr": false,
"face_count": 500000,
"polygon_type": "triangle",
"generate_type": "Normal"
}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/abf2367a-454d-4481-8a41-be5aeee0de10/output/359c378e-db23-4bb6-8857-721ce94fe4a0.png",
"thumbnail": "https://static.sandbase.ai/examples/abf2367a-454d-4481-8a41-be5aeee0de10/output/359c378e-db23-4bb6-8857-721ce94fe4a0.png",
"url": "https://static.sandbase.ai/examples/abf2367a-454d-4481-8a41-be5aeee0de10/output/fb2bd85d-31ea-4509-9ae8-0cc24d448897.glb"
}
]