seedinteger
Seed (0-65535).
Minimum : 0
Maximum : 65535
hyper3d/rodin/v2Rodin Gen-2 by Hyper3D (Deemos) generates production-ready 3D assets from one to five reference images.
Essayer le modèle
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 5
Que souhaitez-vous faire ensuite ?
Sélectionnez un exemple pour charger ses entrées et son résultat dans le 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.
Commencer à construire
Soumettez ce modèle via l'API Unified Run de SandBase.
# 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"Créez une clé API SandBase et définissez-la dans l'environnement de votre serveur. Toutes les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez la clé sur votre serveur. Ne l'exposez pas dans le code du navigateur et ne la committez pas dans un dépôt.
Faites un POST sur /v1/run avec cet ID de modèle et ses entrées. L'exemple de requête ci-dessus inclut la soumission et le polling.
Utilisez l'ID d'exécution renvoyé pour interroger jusqu'à ce que le statut soit completed, failed ou timeout. Ne lisez la sortie qu'une fois completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passez une URL de fichier accessible publiquement dans le champ image, video ou audio du modèle. Les formats pris en charge et les limites sont indiqués à côté de chaque entrée du Playground.
Utilisez le contrôle upload ou replace sur les champs image pris en charge dans le Playground. Les champs URL vidéo acceptent une vidéo de conduite hébergée ; cela n'implique pas la prise en charge de l'importation vidéo.
seedintegerSeed (0-65535).
Minimum : 0
Maximum : 65535
TAPosebooleanGenerate characters in T-pose or A-pose for rigging.
Par défaut : false
addonsstringOptional add-on. HighPack (4K textures, high-poly) is billed +$0.80.
Valeurs possibles : "HighPack"
imagesarrayobligatoire1 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).
Par défaut : "All"
Valeurs possibles : "PBR", "Shaded", "All"
quality_mesh_optionstringMesh density and topology. Quad gives smooth surfaces, Triangle gives detailed geometry.
Par défaut : "500K Triangle"
Valeurs possibles : "4K Quad", "8K Quad", "18K Quad", "50K Quad", "2K Triangle", "20K Triangle", "150K Triangle", "500K Triangle"
geometry_file_formatstringOutput file format.
Par défaut : "glb"
Valeurs possibles : "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"
}Une exécution terminée expose son résultat dans output. Ce qui suit est l'exemple enregistré du modèle, et non une nouvelle génération.
[
{
"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"
}
]