seedinteger
Seed (0–65535).
最小值:0
最大值: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.
試用這個模型
選擇一個範例,將其輸入與結果載入 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.
開始建置
透過 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"建立 SandBase API 金鑰,並將其設定在伺服器環境中。所有請求都使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開,也不要提交到儲存庫。
使用此模型 ID 及其輸入,向 /v1/run 發送 POST。上方的請求範例包含提交與輪詢。
使用回傳的執行 ID 持續輪詢,直到狀態為 completed、failed 或 timeout。只有在 completed 之後才讀取輸出。
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"在模型的 image、video 或 audio 欄位中傳入可公開存取的檔案 URL。支援格式與限制會顯示在每個 Playground 輸入欄位旁。
在 Playground 中支援的圖片欄位上使用上傳或取代控制項。影片 URL 欄位可接受託管的 driving video;它們不代表支援影片上傳。
seedintegerSeed (0–65535).
最小值:0
最大值:65535
tierstringGeneration tier (quality / speed).
預設:"Gen-2.5-High"
可能值:"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.
預設:false
addonsstringOptional add-on. HighPack (4K textures, high-poly) is billed +$0.80.
可能值:"HighPack"
promptstring必填A textual prompt to guide model generation. Required for Text-to-3D mode.
materialstringPBR, Shaded, All (both) or None.
預設:"All"
可能值:"PBR", "Shaded", "All", "None"
hd_texturebooleanEnhanced texture post-processing.
預設: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.
預設:"Auto"
可能值:"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.
預設:"glb"
可能值:"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"
}已完成的執行會在輸出中顯示結果。以下為模型已儲存的範例,並非新的生成結果。
[
{
"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"
}
]