seedinteger
Seed (0-65535).
ขั้นต่ำ: 0
สูงสุด: 65535
hyper3d/rodin/v2Rodin Gen-2 by Hyper3D (Deemos) generates production-ready 3D assets from one to five reference images.
ลองใช้โมเดล
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 5
ต้องการทำอะไรต่อ
เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน 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.
เริ่มสร้าง
ส่งโมเดลนี้ผ่าน 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"สร้าง SandBase API key และตั้งค่าไว้ในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอทั้งหมดใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์หรือคอมมิตลง repository
POST ไปที่ /v1/run ด้วย model ID นี้และอินพุตของมัน ตัวอย่างคำขอด้านบนมีทั้งการส่งและการ polling
ใช้ run ID ที่ส่งกลับมาเพื่อ polling จนกว่าสถานะจะเป็น completed, failed หรือ timeout ให้อ่าน output หลังจาก completed เท่านั้น
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"ส่ง URL ไฟล์ที่เข้าถึงได้สาธารณะในช่อง image, video หรือ audio ของโมเดล รูปแบบและข้อจำกัดที่รองรับแสดงอยู่ข้างแต่ละอินพุตใน Playground
ใช้ตัวควบคุม upload หรือ replace ในช่องรูปภาพที่รองรับใน Playground ช่อง URL ของวิดีโอรองรับวิดีโอ driving ที่โฮสต์ไว้; ไม่ได้หมายความว่าสามารถอัปโหลดวิดีโอได้
seedintegerSeed (0-65535).
ขั้นต่ำ: 0
สูงสุด: 65535
TAPosebooleanGenerate characters in T-pose or A-pose for rigging.
ค่าเริ่มต้น: false
addonsstringOptional add-on. HighPack (4K textures, high-poly) is billed +$0.80.
ค่าที่เป็นไปได้: "HighPack"
imagesarrayจำเป็น1 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).
ค่าเริ่มต้น: "All"
ค่าที่เป็นไปได้: "PBR", "Shaded", "All"
quality_mesh_optionstringMesh density and topology. Quad gives smooth surfaces, Triangle gives detailed geometry.
ค่าเริ่มต้น: "500K Triangle"
ค่าที่เป็นไปได้: "4K Quad", "8K Quad", "18K Quad", "50K Quad", "2K Triangle", "20K Triangle", "150K Triangle", "500K Triangle"
geometry_file_formatstringOutput file format.
ค่าเริ่มต้น: "glb"
ค่าที่เป็นไปได้: "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 ที่เสร็จสมบูรณ์จะแสดงผลลัพธ์ใน output ต่อไปนี้เป็นตัวอย่างที่บันทึกไว้ของโมเดล ไม่ใช่การสร้างใหม่
[
{
"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"
}
]