seedinteger
Seed (0-65535).
Minimum: 0
Maksimum: 65535
hyper3d/rodin/v2Rodin Gen-2 by Hyper3D (Deemos) generates production-ready 3D assets from one to five reference images.
Coba model ini
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 5
Pilih contoh untuk memuat input dan hasilnya ke playground.
{
"images": [
"https://static.sandbase.ai/examples/de9755e0-9b6c-4943-9e3e-de3318a6880c/input/0156e128-17ca-470a-a12c-97245310277d.png",
"https://static.sandbase.ai/examples/de9755e0-9b6c-4943-9e3e-de3318a6880c/input/7d90984e-9a07-4092-9c7c-fd78411ab7b2.png",
"https://static.sandbase.ai/examples/de9755e0-9b6c-4943-9e3e-de3318a6880c/input/7c277dac-0e00-40aa-aad6-11a4edd9eb24.png"
]
}Rodin Gen-2 by Hyper3D (Deemos) generates production-ready 3D assets from one to five reference images.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string | — | Optional text prompt to guide generation. Generated from the images when empty. |
images | image URLs (1–5), required | — | 1 to 5 images of the object. |
geometry_file_format | glb / usdz / fbx / obj / stl | glb | Output file format. |
quality_mesh_option | 4K Quad / 8K Quad / 18K Quad / 50K Quad / 2K Triangle / 20K Triangle / 150K Triangle / 500K Triangle | 500K Triangle | Mesh density and topology. Quad gives smooth surfaces, Triangle gives detailed geometry. |
material | PBR / Shaded / All | All | PBR, Shaded (baked lighting) or All (both). |
addons | HighPack | — | Optional add-on. HighPack (4K textures, high-poly) is billed +$0.80. |
TAPose | boolean | false | Generate characters in T-pose or A-pose for rigging. |
seed | integer 0–65535 | — | Seed (0-65535). |
url: Main 3D file (GLB unless another export format is selected).$0.40 per request with default settings. Price by option (other settings at default):
| Option | Price |
|---|---|
| addons unset | $0.40 |
| addons = HighPack | $1.20 |
| Failed runs are not charged. |
Other hyper3d 3D endpoints: hyper3d/rodin/2.5/fast/image-to-3d, hyper3d/rodin/2.5/fast/text-to-3d, hyper3d/rodin/2.5/image-to-3d, hyper3d/rodin/2.5/text-to-3d.
Mulai membangun
Kirim model ini melalui 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": "hyper3d/rodin/v2",
"TAPose": false,
"images": [
"https://static.sandbase.ai/examples/hyper3d/rodin/v2/input_input_image_urls_0.png",
"https://static.sandbase.ai/examples/hyper3d/rodin/v2/input_input_image_urls_1.png",
"https://static.sandbase.ai/examples/hyper3d/rodin/v2/input_input_image_urls_2.png"
],
"prompt": "A futuristic robot with sleek metallic design.",
"material": "All",
"quality_mesh_option": "500K Triangle",
"geometry_file_format": "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"Buat SandBase API key dan atur di environment server Anda. Semua permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key di server. Jangan tampilkan di kode browser atau commit ke repository.
POST ke /v1/run dengan ID model ini dan inputnya. Contoh permintaan di atas mencakup pengiriman dan polling.
Gunakan run ID yang dikembalikan untuk polling sampai status completed, failed, atau timeout. Baca output hanya setelah completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Kirim URL file yang dapat diakses publik di field image, video, atau audio model. Format dan batas yang didukung ditampilkan di samping setiap input Playground.
Gunakan kontrol upload atau replace pada field gambar yang didukung di Playground. Field URL video menerima video driving yang di-host; ini tidak berarti dukungan upload video.
seedintegerSeed (0-65535).
Minimum: 0
Maksimum: 65535
TAPosebooleanGenerate characters in T-pose or A-pose for rigging.
Default: false
addonsstringOptional add-on. HighPack (4K textures, high-poly) is billed +$0.80.
Nilai yang mungkin: "HighPack"
imagesarraywajib1 to 5 images of the object.
promptstringOptional text prompt to guide generation. Generated from the images when empty.
materialstringPBR, Shaded (baked lighting) or All (both).
Default: "All"
Nilai yang mungkin: "PBR", "Shaded", "All"
quality_mesh_optionstringMesh density and topology. Quad gives smooth surfaces, Triangle gives detailed geometry.
Default: "500K Triangle"
Nilai yang mungkin: "4K Quad", "8K Quad", "18K Quad", "50K Quad", "2K Triangle", "20K Triangle", "150K Triangle", "500K Triangle"
geometry_file_formatstringOutput file format.
Default: "glb"
Nilai yang mungkin: "glb", "usdz", "fbx", "obj", "stl"
{
"model": "hyper3d/rodin/v2",
"TAPose": false,
"images": [
"https://static.sandbase.ai/examples/hyper3d/rodin/v2/input_input_image_urls_0.png",
"https://static.sandbase.ai/examples/hyper3d/rodin/v2/input_input_image_urls_1.png",
"https://static.sandbase.ai/examples/hyper3d/rodin/v2/input_input_image_urls_2.png"
],
"prompt": "A futuristic robot with sleek metallic design.",
"material": "All",
"quality_mesh_option": "500K Triangle",
"geometry_file_format": "glb"
}Run yang selesai menampilkan hasilnya di output. Berikut adalah contoh tersimpan model ini, bukan generasi baru.
[
{
"poster": "https://static.sandbase.ai/examples/de9755e0-9b6c-4943-9e3e-de3318a6880c/output/88980a8e-b8d4-4262-83d0-0c388024e1c0.png",
"url": "https://static.sandbase.ai/examples/de9755e0-9b6c-4943-9e3e-de3318a6880c/output/62948add-ffa1-4a21-956e-2fcb04b215a4.glb"
}
]