imagestringआवश्यक
Input image URL. PNG, JPEG and WebP, up to 20MB.
hitem3d/hi3d/v3.0/image-to-3dHi3D 3.0 by Hitem3D reconstructs a detailed, watertight 3D model at 2048³ resolution from a single image, with optional texture and PBR materials.
model को आज़माएँ
PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB
आप आगे क्या करना चाहेंगे?
प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
{
"image": "https://static.sandbase.ai/examples/defee7e3-d659-4f95-bb43-ca71fc85d613/input/d3fa1e58-4505-42d7-aa1c-057e65defbde.png"
}Hi3D 3.0 by Hitem3D reconstructs a detailed, watertight 3D model at 2048³ resolution from a single image, with optional texture and PBR materials.
| Field | Type | Default | Notes |
|---|---|---|---|
image | image URL, required | — | Input image URL. PNG, JPEG and WebP, up to 20MB. |
resolution | 2048quality / 2048master | 2048quality | 2048quality is the faster default; 2048master gives the highest quality. |
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 (billed add-on, ignored when texture is off). |
face_count | integer 100000–5000000 | — | Target face count. Recommended 2,000,000 for 2048quality and 5,000,000 for 2048master. |
shading | number 0–1 | 0.5 | De-shading strength. |
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.$2.52 per request with default settings. Price by option (other settings at default):
| Option | Price |
|---|---|
| enable_pbr on | $2.52 |
| enable_pbr off | $2.40 |
| enable_texture on | $2.52 |
| enable_texture off | $2.16 |
| resolution = 2048quality | $2.52 |
| resolution = 2048master | $10.92 |
| Failed runs are not charged. |
Other Hitem3D 3D endpoints: hitem3d/hi3d/image-to-3d, hitem3d/hi3d/multi-view-to-3d, hitem3d/hi3d/multicolor, hitem3d/hi3d/split.
बिल्डिंग शुरू करें
इस 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/v3.0/image-to-3d",
"image": "https://storage.googleapis.com/falserverless/example_inputs/dog.png",
"shading": 0.5,
"enable_pbr": true,
"resolution": "2048quality",
"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आवश्यकInput image URL. PNG, JPEG and WebP, up to 20MB.
shadingnumberDe-shading strength.
डिफ़ॉल्ट: 0.5
न्यूनतम: 0
अधिकतम: 1
enable_pbrbooleanGenerate PBR material maps with the texture (billed add-on, ignored when texture is off).
डिफ़ॉल्ट: true
face_countintegerTarget face count. Recommended 2,000,000 for 2048quality and 5,000,000 for 2048master.
न्यूनतम: 100000
अधिकतम: 5000000
resolutionstring2048quality is the faster default; 2048master gives the highest quality.
डिफ़ॉल्ट: "2048quality"
संभावित मान: "2048quality", "2048master"
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/v3.0/image-to-3d",
"image": "https://storage.googleapis.com/falserverless/example_inputs/dog.png",
"shading": 0.5,
"enable_pbr": true,
"resolution": "2048quality",
"export_format": "glb",
"enable_texture": true
}पूरा हुआ run अपना परिणाम output में दिखाता है। नीचे दिया गया model का सेव किया हुआ example है, नई generation नहीं।
[
{
"poster": "https://static.sandbase.ai/examples/defee7e3-d659-4f95-bb43-ca71fc85d613/output/b82a0402-06a1-450c-a1f7-a9c2bc6a8ba5.webp",
"thumbnail": "https://static.sandbase.ai/examples/defee7e3-d659-4f95-bb43-ca71fc85d613/output/b82a0402-06a1-450c-a1f7-a9c2bc6a8ba5.webp",
"url": "https://static.sandbase.ai/examples/defee7e3-d659-4f95-bb43-ca71fc85d613/output/a653ffa5-d827-49c5-8482-72323f29b0f9.glb"
}
]