imagestringrequerido
Front view image URL. 128-5000 px per side, up to 10 MB, JPG/PNG/WEBP. Works best with a single object on a simple background.
tencent/miora-3d/t1/image-to-3dMiora 3D T1 by Tencent Design is the fast Miora 3D model: it turns a single image into a textured or untextured 3D asset in about two minutes.
Probar el modelo
PNG, JPEG, WebP o GIF · máximo 20 MiB
¿Qué le gustaría hacer después?
Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.
{
"image": "https://static.sandbase.ai/examples/b338627d-beea-473f-bb2e-c900c95b27a4/input/f794b164-3a58-4306-a875-8dcf8c698d94.png"
}Miora 3D T1 by Tencent Design is the fast Miora 3D model: it turns a single image into a textured or untextured 3D asset in about two minutes.
| Field | Type | Default | Notes |
|---|---|---|---|
image | image URL, required | — | Front view image URL. 128-5000 px per side, up to 10 MB, JPG/PNG/WEBP. Works best with a single object on a simple background. |
generate_type | string | "Normal" | Normal: textured model. Geometry: untextured white model. |
enable_pbr | boolean | false | Generate PBR materials (metallic, roughness, normal). Ignored for Geometry output. |
face_count | integer | — | Target polygon face count. Uses the model default when unset. |
| Request | Price |
|---|---|
| Default | $0.2571 |
| Geometry (untextured) | $0.2571 |
| With PBR | $0.4286 |
| With custom face count | $0.4286 |
PBR, a custom face count each add to the default price. Failed runs are not charged.
Empiece a construir
Envíe este modelo a través de la API de ejecución unificada de SandBase.
# 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/miora-3d/t1/image-to-3d",
"image": "https://static.sandbase.ai/examples/tencent/hunyuan-3d/3.1/pro/image-to-3d/input_image_0.png",
"enable_pbr": false,
"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"Cree una clave de API de SandBase y configúrela en el entorno de su servidor. Todas las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve la clave en el servidor. No la exponga en código del navegador ni la confirme en un repositorio.
Haga un POST a /v1/run con este ID de modelo y sus entradas. El ejemplo de solicitud anterior incluye el envío y el sondeo.
Use el ID de ejecución devuelto para sondear hasta que el estado sea completed, failed o timeout. Lea la salida solo después de completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Proporcione una URL de archivo accesible públicamente en el campo de imagen, video o audio del modelo. Los formatos y límites admitidos se muestran junto a cada entrada de Playground.
Use el control de subir o reemplazar en los campos de imagen admitidos en Playground. Los campos de URL de video aceptan un video de conducción alojado; no implican compatibilidad con la subida de video.
imagestringrequeridoFront view image URL. 128-5000 px per side, up to 10 MB, JPG/PNG/WEBP. Works best with a single object on a simple background.
enable_pbrbooleanGenerate PBR materials (metallic, roughness, normal). Ignored for Geometry output.
Valor predeterminado: false
face_countintegerTarget polygon face count. Uses the model default when unset.
Mínimo: 3000
Máximo: 1500000
generate_typestringNormal: textured model. Geometry: untextured white model.
Valor predeterminado: "Normal"
Valores posibles: "Normal", "Geometry"
{
"model": "tencent/miora-3d/t1/image-to-3d",
"image": "https://static.sandbase.ai/examples/tencent/hunyuan-3d/3.1/pro/image-to-3d/input_image_0.png",
"enable_pbr": false,
"generate_type": "Normal"
}Una ejecución completada expone su resultado en la salida. Lo siguiente es el ejemplo guardado del modelo, no una nueva generación.
[
{
"poster": "https://static.sandbase.ai/examples/b338627d-beea-473f-bb2e-c900c95b27a4/output/7583d591-9eb2-4a70-a775-d26ffd994284.png",
"source": "sandbase",
"source_url": "https://sandbase.ai/model/tencent/miora-3d/t1/image-to-3d",
"thumbnail": "https://static.sandbase.ai/examples/b338627d-beea-473f-bb2e-c900c95b27a4/output/e28a4df3-fab9-40a3-9e74-d7132b195c96.png",
"url": "https://static.sandbase.ai/examples/b338627d-beea-473f-bb2e-c900c95b27a4/output/55e82096-5539-4809-a83e-dd00b7ec6d5f.glb"
}
]