seedinteger
Seed (0–65535).
Tối thiểu: 0
Tối đa: 65535
hyper3d/rodin/2.5/text-to-3dRodin Gen-2.5 by Hyper3D (Deemos) generates game- and production-ready 3D assets from a text prompt.
Thử model
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.
{
"prompt": "A whimsical mushroom house with a red spotted cap, round wooden door and tiny windows"
}Rodin Gen-2.5 by Hyper3D turns a text prompt into a production-ready 3D asset with PBR materials and quad or triangle meshes.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 1,024 characters. |
seed | integer 0–65535 | random | Fix it to compare prompt changes. |
quality_mesh_option | Auto / 4K Quad / 8K Quad / 18K Quad / 50K Quad / 100K Quad / 200K Quad / 2K Triangle / 20K Triangle / 50K Triangle / 150K Triangle / 500K Triangle / 1M Triangle / 2M Triangle | Auto | Mesh density and topology. |
material | PBR / Shaded / All / None | All | Material output. |
hd_texture | boolean | false | Higher-resolution textures. |
geometry_file_format | glb / usdz / fbx / obj / stl | glb | Output file format. |
TAPose | boolean | false | Force a T/A-pose for characters. |
addons | HighPack | — | HighPack adds high-resolution textures and denser meshes. |
tier | Gen-2.5-Minimum / Gen-2.5-Extreme-Low / Gen-2.5-Low / Gen-2.5-Medium / Gen-2.5-High / Gen-2.5-Extreme-High | Gen-2.5-High | Quality tier. |
$0.48 per model ($0.96 on the Extreme-High tier), plus $0.96 for the HighPack add-on.
| Request | Price |
|---|---|
| Default tier | $0.48 |
| Extreme-High tier | $0.96 |
| Default + HighPack | $1.44 |
Failed runs are not charged.
Other Rodin endpoints: hyper3d/rodin/2.5/image-to-3d, hyper3d/rodin/2.5/fast/text-to-3d, hyper3d/rodin/2.5/fast/image-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/2.5/text-to-3d",
"tier": "Gen-2.5-High",
"TAPose": false,
"prompt": "A futuristic robot with sleek metallic design.",
"material": "All",
"hd_texture": false,
"quality_mesh_option": "Auto",
"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
tierstringGeneration tier (quality / speed).
Mặc định: "Gen-2.5-High"
Giá trị có thể dùng: "Gen-2.5-Minimum", "Gen-2.5-Extreme-Low", "Gen-2.5-Low", "Gen-2.5-Medium", "Gen-2.5-High", "Gen-2.5-Extreme-High"
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"
promptstringbắt buộcA textual prompt to guide model generation. Required for Text-to-3D mode.
materialstringPBR, Shaded, All (both) or None.
Mặc định: "All"
Giá trị có thể dùng: "PBR", "Shaded", "All", "None"
hd_texturebooleanEnhanced texture post-processing.
Mặc định: false
quality_mesh_optionstringCombined quality and mesh type selection. Quad = smooth surfaces, Triangle = detailed geometry. Maps to `mesh_mode` (Quad/Raw) and `quality_override` (face count) on the Hyper3D API. Valid face counts depend on the selected tier. Up to 1M Triangle is supported for tiers Extreme-Low, Low, and Medium. Up to 2M Triangle (as low as 20K Triangle) is supported for tiers High and Extreme-High. Auto option will choose the advised options for each tier: 1. Gen-2.5-Minimum: 50K Triangle 2. Gen-2.5-Extreme-Low: 50K Triangle 3. Gen-2.5-Low: 50K Triangle 4. Gen-2.5-Medium: 500K Triangle 5. Gen-2.5-High: 500K Triangle Gen-2.5-Extreme-High: 1M Triangle.
Mặc định: "Auto"
Giá trị có thể dùng: "Auto", "4K Quad", "8K Quad", "18K Quad", "50K Quad", "100K Quad", "200K Quad", "2K Triangle", "20K Triangle", "50K Triangle", "150K Triangle", "500K Triangle", "1M Triangle", "2M Triangle"
geometry_file_formatstringOutput file format.
Mặc định: "glb"
Giá trị có thể dùng: "glb", "usdz", "fbx", "obj", "stl"
{
"model": "hyper3d/rodin/2.5/text-to-3d",
"tier": "Gen-2.5-High",
"TAPose": false,
"prompt": "A futuristic robot with sleek metallic design.",
"material": "All",
"hd_texture": false,
"quality_mesh_option": "Auto",
"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/ec91e9a7-2398-4044-8a93-5ec59a8a7dd8/output/8a215905-5809-4359-bf38-1513c7d8c5fc.png",
"url": "https://static.sandbase.ai/examples/ec91e9a7-2398-4044-8a93-5ec59a8a7dd8/output/c0ce8c23-8987-4ca0-870c-39fbb58c075d.glb"
}
]