seedinteger
Seed (0-65535).
Tối thiểu: 0
Tối đa: 65535
hyper3d/rodin/v2Rodin Gen-2 by Hyper3D (Deemos) generates production-ready 3D assets from one to five reference images.
Thử model
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 5
Bạn muốn làm gì tiếp theo?
Chọn một ví dụ để nạp đầu vào và kết quả của nó vào 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.
Bắt đầu xây dựng
Gửi model này qua 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"Tạo một SandBase API key và đặt nó trong môi trường máy chủ của bạn. Tất cả request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key trên máy chủ. Không hiển thị trong mã trình duyệt hoặc commit vào repository.
POST tới /v1/run với model ID này và các đầu vào của nó. Ví dụ request ở trên bao gồm cả bước gửi và polling.
Dùng run ID được trả về để poll cho đến khi trạng thái là completed, failed hoặc timeout. Chỉ đọc đầu ra sau khi completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Cung cấp một URL tệp có thể truy cập công khai trong trường image, video hoặc audio của model. Các định dạng và giới hạn được hỗ trợ hiển thị bên cạnh từng input trong Playground.
Dùng điều khiển upload hoặc replace trên các trường image được hỗ trợ trong Playground. Trường URL video chấp nhận một video driving được host; điều này không đồng nghĩa hỗ trợ tải lên video.
seedintegerSeed (0-65535).
Tối thiểu: 0
Tối đa: 65535
TAPosebooleanGenerate characters in T-pose or A-pose for rigging.
Mặc định: false
addonsstringOptional add-on. HighPack (4K textures, high-poly) is billed +$0.80.
Giá trị có thể dùng: "HighPack"
imagesarraybắt buộc1 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).
Mặc định: "All"
Giá trị có thể dùng: "PBR", "Shaded", "All"
quality_mesh_optionstringMesh density and topology. Quad gives smooth surfaces, Triangle gives detailed geometry.
Mặc định: "500K Triangle"
Giá trị có thể dùng: "4K Quad", "8K Quad", "18K Quad", "50K Quad", "2K Triangle", "20K Triangle", "150K Triangle", "500K Triangle"
geometry_file_formatstringOutput file format.
Mặc định: "glb"
Giá trị có thể dùng: "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"
}Một run đã hoàn tất sẽ hiển thị kết quả trong output. Phần sau là ví dụ đã lưu của model, không phải một lần tạo mới.
[
{
"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"
}
]