seedinteger
Seed (0–65535).
最小值:0
最大值:65535
hyper3d/rodin/2.5/fast/image-to-3dRodin Gen-2.5 by Hyper3D (Deemos) generates game- and production-ready 3D assets from one to five reference images, tuned for speed with the low tiers.
试用该模型
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 5
选择一个示例,将其输入和结果加载到 playground 中。
{
"images": [
"https://static.sandbase.ai/examples/02943260-0e07-4cf1-bd63-e29d9dba4dde/input/6d5e76b7-018e-4da5-ad71-c9d354739c21.png"
]
}Rodin Gen-2.5 Fast by Hyper3D turns an image set of 1–5 views into a game-ready 3D asset, using the low tiers for speed.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string | — | Up to 1,024 characters. |
images | image URL[] (≤5), required | — | 1–5 reference images of the object. |
material | PBR / Shaded / All / None | Shaded | Material output. |
TAPose | boolean | false | Force a T/A-pose for characters. |
hd_texture | boolean | false | Higher-resolution textures. |
tier | Gen-2.5-Minimum / Gen-2.5-Extreme-Low / Gen-2.5-Low | Gen-2.5-Extreme-Low | Quality tier. |
geometry_file_format | glb / usdz / fbx / obj / stl | glb | Output file format. |
quality_mesh_option | Auto / 1K Quad / 4K Quad / 8K Quad / 18K Quad / 20K Quad / 2K Triangle / 4K Triangle / 8K Triangle / 10K Triangle / 20K Triangle | Auto | Mesh density and topology. |
seed | integer 0–65535 | random | Fix it to compare prompt changes. |
$0.10 per model.
| Request | Price |
|---|---|
| One model | $0.10 |
Failed runs are not charged.
Other Rodin endpoints: hyper3d/rodin/2.5/text-to-3d, hyper3d/rodin/2.5/image-to-3d, hyper3d/rodin/2.5/fast/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/2.5/fast/image-to-3d",
"tier": "Gen-2.5-Extreme-Low",
"TAPose": false,
"images": [
"https://static.sandbase.ai/examples/hyper3d/rodin/2.5/fast/image-to-3d/input_images_0.png",
"https://static.sandbase.ai/examples/hyper3d/rodin/2.5/fast/image-to-3d/input_images_1.png",
"https://static.sandbase.ai/examples/hyper3d/rodin/2.5/fast/image-to-3d/input_images_2.png"
],
"prompt": "A futuristic robot with sleek metallic design.",
"material": "Shaded",
"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-Extreme-Low"
可选值:"Gen-2.5-Minimum", "Gen-2.5-Extreme-Low", "Gen-2.5-Low"
TAPosebooleanGenerate characters in T-pose or A-pose for rigging.
默认值:false
imagesarray必填1 to 5 images of the object.
promptstringOptional text prompt to guide generation.
materialstringPBR, Shaded, All (both) or None.
默认值:"Shaded"
可选值:"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 Minimum, Extreme-Low, Low. For fast endpoint, this limit is up to 20K, primarily for prototyping and testing. For generating higher quality meshes, use the standard endpoint. Auto option will choose the advised options for each tier: 1. Gen-2.5-Minimum: 20K Triangle 2. Gen-2.5-Extreme-Low: 20K Triangle 3. Gen-2.5-Low: 20K Triangle
默认值:"Auto"
可选值:"Auto", "1K Quad", "4K Quad", "8K Quad", "18K Quad", "20K Quad", "2K Triangle", "4K Triangle", "8K Triangle", "10K Triangle", "20K Triangle"
geometry_file_formatstringOutput file format.
默认值:"glb"
可选值:"glb", "usdz", "fbx", "obj", "stl"
{
"model": "hyper3d/rodin/2.5/fast/image-to-3d",
"tier": "Gen-2.5-Extreme-Low",
"TAPose": false,
"images": [
"https://static.sandbase.ai/examples/hyper3d/rodin/2.5/fast/image-to-3d/input_images_0.png",
"https://static.sandbase.ai/examples/hyper3d/rodin/2.5/fast/image-to-3d/input_images_1.png",
"https://static.sandbase.ai/examples/hyper3d/rodin/2.5/fast/image-to-3d/input_images_2.png"
],
"prompt": "A futuristic robot with sleek metallic design.",
"material": "Shaded",
"hd_texture": false,
"quality_mesh_option": "Auto",
"geometry_file_format": "glb"
}已完成的运行会在输出中展示结果。以下内容是该模型保存的示例,而不是新的生成结果。
[
{
"poster": "https://static.sandbase.ai/examples/02943260-0e07-4cf1-bd63-e29d9dba4dde/output/9afd7174-8ff2-43b3-b7ea-390e9eb634e5.png",
"url": "https://static.sandbase.ai/examples/02943260-0e07-4cf1-bd63-e29d9dba4dde/output/bc0ae326-8b84-45a8-baa0-faa8907dfb3b.glb"
}
]