imagestringआवश्यक
Front view image URL (PNG/JPEG/WebP, up to 20MB).
hitem3d/hi3d/multi-view-to-3dHi3D by Hitem3D generates a 3D model from a front view plus optional back, left and right views, with a selectable model version and resolution tier.
model को आज़माएँ
PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB
PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB
PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB
PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB
आप आगे क्या करना चाहेंगे?
प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
{
"back_image": "https://static.sandbase.ai/examples/4492f098-3e35-40bc-b740-fab751711044/input/b28c0fdd-62e3-45d9-bf28-3cc8ab70353c.png",
"image": "https://static.sandbase.ai/examples/4492f098-3e35-40bc-b740-fab751711044/input/8e4047f8-9f6e-408d-bbc9-5fb3ce7c6b37.png",
"left_image": "https://static.sandbase.ai/examples/4492f098-3e35-40bc-b740-fab751711044/input/f02bbf57-4e98-4756-afdd-c268dce95b6f.png"
}Hi3D by Hitem3D generates a 3D model from a front view plus optional back, left and right views, with a selectable model version and resolution tier.
| Field | Type | Default | Notes |
|---|---|---|---|
image | image URL, required | — | Front view image URL (PNG/JPEG/WebP, up to 20MB). |
back_image | image URL | — | Optional back view image URL. |
left_image | image URL | — | Optional left view image URL. |
right_image | image URL | — | Optional right view image URL. |
version | hitem3dv1.5 / hitem3dv2.0 / hitem3dv2.1 / scene-portraitv1.5 / scene-portraitv2.0 / scene-portraitv2.1 | hitem3dv2.1 | Model version. hitem3d* are general models; scene-portrait* are tuned for portraits and characters. |
resolution | 512 / 1024 / 1536 / 1536pro / 1536fast / 1536profast | — | Generation resolution; supported values depend on the model: v1.5/v2.0 accept 512, 1024, 1536, 1536pro; v2.1 accepts 1536fast, 1536pro; scene-portraitv1.5 accepts 1536; scene-portraitv2.0 accepts 1536pro; scene-portraitv2.1 accepts 1536profast, 1536pro. Uses the model's recommended value when unset. |
enable_texture | boolean | true | Generate textures in addition to geometry. When false, only the geometry mesh is generated (cheaper). |
enable_pbr | boolean | true | Generate PBR material maps with the texture (v2.0 and above; billed add-on). |
face_count | integer 100000–2000000 | — | Target face count. Uses the recommended count for the resolution when unset. |
export_format | glb / obj / stl / fbx / usdz | glb | File format of the generated model. |
url: Main 3D file (GLB unless another export format is selected).thumbnail: Preview image rendered by the provider.$0.90 per request with default settings. Price by option (other settings at default):
| Option | Price |
|---|---|
| enable_pbr on | $0.90 |
| enable_pbr off | $0.80 |
| enable_texture on | $0.90 |
| enable_texture off | $0.60 |
| resolution unset | $0.90 |
| resolution = 512 | $0.40 |
| resolution = 1024 | $0.50 |
| resolution = 1536 | $0.70 |
| resolution = 1536pro | $0.90 |
| resolution = 1536fast | $0.50 |
| resolution = 1536profast | $0.50 |
| version = hitem3dv1.5 | $0.80 |
| version = hitem3dv2.0 | $0.90 |
| version = hitem3dv2.1 | $0.90 |
| version = scene-portraitv1.5 | $0.60 |
| version = scene-portraitv2.0 | $0.90 |
| version = scene-portraitv2.1 | $0.90 |
| Failed runs are not charged. |
Other Hitem3D 3D endpoints: hitem3d/hi3d/image-to-3d, hitem3d/hi3d/multicolor, hitem3d/hi3d/split, hitem3d/hi3d/texture.
बिल्डिंग शुरू करें
इस model को 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": "hitem3d/hi3d/multi-view-to-3d",
"image": "https://storage.googleapis.com/falserverless/example_inputs/dog.png",
"version": "hitem3dv2.1",
"enable_pbr": true,
"export_format": "glb",
"enable_texture": true
}
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 key बनाएँ और इसे अपने server environment में सेट करें। सभी requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"Key को सर्वर पर रखें। इसे browser code में expose न करें या repository में commit न करें।
इस model ID और इसके inputs के साथ /v1/run पर POST करें। ऊपर दिया गया request example submission और polling दोनों शामिल करता है।
Completed, failed या timeout होने तक poll करने के लिए लौटाए गए run ID का उपयोग करें। Output केवल completed होने के बाद पढ़ें।
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Model के image, video या audio field में सार्वजनिक रूप से उपलब्ध फ़ाइल URL पास करें। समर्थित formats और limits प्रत्येक Playground input के पास दिखाए गए हैं।
Playground में समर्थित image fields पर upload या replace control का उपयोग करें। Video URL fields hosted driving video स्वीकार करते हैं; इससे video-upload support का संकेत नहीं मिलता।
imagestringआवश्यकFront view image URL (PNG/JPEG/WebP, up to 20MB).
versionstringModel version. hitem3d* are general models; scene-portrait* are tuned for portraits and characters.
डिफ़ॉल्ट: "hitem3dv2.1"
संभावित मान: "hitem3dv1.5", "hitem3dv2.0", "hitem3dv2.1", "scene-portraitv1.5", "scene-portraitv2.0", "scene-portraitv2.1"
back_imagestringOptional back view image URL.
enable_pbrbooleanGenerate PBR material maps with the texture (v2.0 and above; billed add-on).
डिफ़ॉल्ट: true
face_countintegerTarget face count. Uses the recommended count for the resolution when unset.
न्यूनतम: 100000
अधिकतम: 2000000
left_imagestringOptional left view image URL.
resolutionstringGeneration resolution; supported values depend on the model: v1.5/v2.0 accept 512, 1024, 1536, 1536pro; v2.1 accepts 1536fast, 1536pro; scene-portraitv1.5 accepts 1536; scene-portraitv2.0 accepts 1536pro; scene-portraitv2.1 accepts 1536profast, 1536pro. Uses the model's recommended value when unset.
संभावित मान: "512", "1024", "1536", "1536pro", "1536fast", "1536profast"
right_imagestringOptional right view image URL.
export_formatstringFile format of the generated model.
डिफ़ॉल्ट: "glb"
संभावित मान: "glb", "obj", "stl", "fbx", "usdz"
enable_texturebooleanGenerate textures in addition to geometry. When false, only the geometry mesh is generated (cheaper).
डिफ़ॉल्ट: true
{
"model": "hitem3d/hi3d/multi-view-to-3d",
"image": "https://storage.googleapis.com/falserverless/example_inputs/dog.png",
"version": "hitem3dv2.1",
"enable_pbr": true,
"export_format": "glb",
"enable_texture": true
}पूरा हुआ run अपना परिणाम output में दिखाता है। नीचे दिया गया model का सेव किया हुआ example है, नई generation नहीं।
[
{
"poster": "https://static.sandbase.ai/examples/4492f098-3e35-40bc-b740-fab751711044/output/f6e1f7f0-1ed7-4533-ab17-ec95dc94c84e.webp",
"thumbnail": "https://static.sandbase.ai/examples/4492f098-3e35-40bc-b740-fab751711044/output/f6e1f7f0-1ed7-4533-ab17-ec95dc94c84e.webp",
"url": "https://static.sandbase.ai/examples/4492f098-3e35-40bc-b740-fab751711044/output/8c72f5c9-6795-4c30-954a-a8cdf9dc7725.glb"
}
]