Hi3D Multiview to 3D · v3.0 · Multi View to 3D
整合
模型 id
hitem3d/hi3d/v3.0/multi-view-to-3d
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/hitem3d/hi3d/v3.0/multi-view-to-3d?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY"
const API = "https://api.doitong.ru/v1";
const headers = {
"Authorization": "Bearer " + process.env.DOITONG_API_KEY,
"Content-Type": "application/json",
};
// Run the model; wait up to 20 s for the finished result in the same call
let res = await fetch(API + "/run/hitem3d/hi3d/v3.0/multi-view-to-3d?wait=20", {
method: "POST",
headers,
body: JSON.stringify({}),
});
let request = await res.json();
if (!res.ok) throw new Error(request.error.code + ": " + request.error.message);
// Not finished yet: long-poll until it is
while (request.status === "queued" || request.status === "running") {
res = await fetch(API + "/requests/" + request.id + "?wait=20", { headers });
request = await res.json();
}
if (request.status !== "succeeded") throw new Error(JSON.stringify(request.error));
console.log(request.outputs.map((o) => o.url), request.cost.credits + " API credits ($" + request.cost.usd + ")");
import os
import requests
API = "https://api.doitong.ru/v1"
headers = {"Authorization": "Bearer " + os.environ["DOITONG_API_KEY"]}
payload = {}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/hitem3d/hi3d/v3.0/multi-view-to-3d", params={"wait": 20}, json=payload, headers=headers)
request = r.json()
if not r.ok:
raise RuntimeError(request["error"]["code"] + ": " + request["error"]["message"])
# Not finished yet: long-poll until it is
while request["status"] in ("queued", "running"):
request = requests.get(API + "/requests/" + request["id"], params={"wait": 20}, headers=headers).json()
if request["status"] != "succeeded":
raise RuntimeError(request["error"])
print([o["url"] for o in request["outputs"]], request["cost"]["credits"], "API credits", "$" + request["cost"]["usd"])
# 1. Connect once (Claude Code; Cursor, VS Code, Claude Desktop: https://doitong.com/zh-TW/developers/docs/mcp)
claude mcp add --transport http doitong-models https://api.doitong.ru/v1/mcp \
--header "Authorization: Bearer $DOITONG_API_KEY"
# 2. Your agent calls the "run" tool with:
{
"model_id": "hitem3d/hi3d/v3.0/multi-view-to-3d",
"input": {}
}
透過 Doitong API 呼叫 Hi3D Multiview to 3D · v3.0 · Multi View to 3D 模型(hitem3d/hi3d/v3.0/multi-view-to-3d)。代理程式文件:https://doitong.com/zh-TW/developers/models/hitem3d/hi3d/v3.0/multi-view-to-3d.md
POST https://api.doitong.ru/v1/run/hitem3d/hi3d/v3.0/multi-view-to-3d?wait=20
Authorization: Bearer $DOITONG_API_KEY
Content-Type: application/json
{}
如果回應狀態為 "queued" 或 "running",請輪詢 GET https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20,直到狀態變為 "succeeded";檔案位於 outputs[].url。使用相同主體傳送 POST https://api.doitong.ru/v1/quote/hitem3d/hi3d/v3.0/multi-view-to-3d,可在執行前取得確切價格。
像範例一樣的檔案: $2.10 2,100 API 點數 · ≈ ₽225.67 您的檔案會在執行前計量 在此頁面執行
您的新 API 金鑰。 僅會在此時顯示,且已填入下方的程式碼與 API 金鑰欄位。請妥善保密:切勿將其放入在瀏覽器中執行的程式碼。
建立請求
控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。
POST
/run/hitem3d/hi3d/v3.0/multi-view-to-3d?wait=20
報價 → $2.10
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/hitem3d/hi3d/v3.0/multi-view-to-3d?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY"
const API = "https://api.doitong.ru/v1";
const headers = {
"Authorization": "Bearer " + process.env.DOITONG_API_KEY,
"Content-Type": "application/json",
};
// Run the model; wait up to 20 s for the finished result in the same call
let res = await fetch(API + "/run/hitem3d/hi3d/v3.0/multi-view-to-3d?wait=20", {
method: "POST",
headers,
body: JSON.stringify({}),
});
let request = await res.json();
if (!res.ok) throw new Error(request.error.code + ": " + request.error.message);
// Not finished yet: long-poll until it is
while (request.status === "queued" || request.status === "running") {
res = await fetch(API + "/requests/" + request.id + "?wait=20", { headers });
request = await res.json();
}
if (request.status !== "succeeded") throw new Error(JSON.stringify(request.error));
console.log(request.outputs.map((o) => o.url), request.cost.credits + " API credits ($" + request.cost.usd + ")");
import os
import requests
API = "https://api.doitong.ru/v1"
headers = {"Authorization": "Bearer " + os.environ["DOITONG_API_KEY"]}
payload = {}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/hitem3d/hi3d/v3.0/multi-view-to-3d", params={"wait": 20}, json=payload, headers=headers)
request = r.json()
if not r.ok:
raise RuntimeError(request["error"]["code"] + ": " + request["error"]["message"])
# Not finished yet: long-poll until it is
while request["status"] in ("queued", "running"):
request = requests.get(API + "/requests/" + request["id"], params={"wait": 20}, headers=headers).json()
if request["status"] != "succeeded":
raise RuntimeError(request["error"])
print([o["url"] for o in request["outputs"]], request["cost"]["credits"], "API credits", "$" + request["cost"]["usd"])
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "run",
"arguments": {
"model_id": "hitem3d/hi3d/v3.0/multi-view-to-3d",
"input": {},
"wait_seconds": 20
}
}
}
關於 Hi3D Multiview to 3D · v3.0 · Multi View to 3D
從前、後、左、右視角影像建立網格,每張最大 20MB。`resolution` 可選 2048quality 或 2048master。`face_count` 範圍為 100,000 至 5,000,000,`shading` 範圍為 0 到 1。材質與 PBR 貼圖為選用項目,並可匯出為 glb、obj、stl、fbx 或 usdz。
參數
名稱類型
預設值允許值
說明
model選填
類型string
預設值hi3dv3.0
此端點使用的 Hi3D v3.0 模型版本。
resolution選填
類型enum
預設值2048quality
2048quality2048master
生成解析度選擇器,在品質與速度之間取捨:選擇 2048master 取得最高品質,或使用預設的 2048quality 以加快生成。
enable_texture選填
類型boolean
預設值true
控制是否同時生成紋理和幾何圖形。
enable_pbr選填
類型boolean
預設值true
控制是否同時建立 PBR 材質貼圖和紋理。
face_count選填
類型integer | null
100,000 – 5,000,000
所需面數;使用 2048quality 時提供者建議為 2,000,000,使用 2048master 時為 5,000,000。
export_format選填
類型enum
預設值glb
glbobjstlfbxusdz
用於儲存生成模型的格式。
enable_safety_checker選填
類型boolean
預設值true
輸入圖像的安全篩選切換:true 會要求在開始圖像處理前進行安全檢查。
front_image_url選填
類型url · image
透過 URL 提供正面視圖圖像,格式為 PNG、JPEG 或 WebP,檔案大小最多 20 MB。
back_image_url選填
類型url · image
透過 URL 提供背面視圖圖像,格式為 PNG、JPEG 或 WebP,檔案大小最多 20 MB。
left_image_url選填
類型url · image
透過 URL 提供左側視圖圖像,格式為 PNG、JPEG 或 WebP,檔案大小最多 20 MB。
right_image_url選填
類型url · image
透過 URL 提供右側視圖圖像,格式為 PNG、JPEG 或 WebP,檔案大小最多 20 MB。
shading選填
類型number
預設值0.5
0 – 1
陰影移除強度。
必填
檔案參數接受公開的 https:// URL、最大 10 MB 的 data: URI,或上傳檔案的 file_url。 檔案
輸出
GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
"id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
"object": "request",
"model": "hitem3d/hi3d/v3.0/multi-view-to-3d",
"status": "succeeded",
"created_at": "2026-10-20T12:00:00Z",
"started_at": "2026-10-20T12:00:02Z",
"completed_at": "2026-10-20T12:00:09Z",
"queue_position": null,
"cost": {
"credits": 2100,
"usd": "2.10",
"charged": 2100,
"refunded": 0
},
"input": {},
"output": {
"model_mesh": {
"url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
"content_type": "image/jpeg",
"file_name": "0-output.jpeg",
"file_size": 1843200
},
"thumbnail": {
"url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
"content_type": "image/jpeg",
"file_name": "0-output.jpeg",
"file_size": 1843200
}
},
"outputs": [
{
"type": "file",
"url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
"content_type": "image/jpeg",
"file_size": 1843200,
"stored": true
}
],
"error": null,
"metrics": {
"inference_seconds": 6.8
},
"urls": {
"self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
"cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
}
}
您的檔案,由您選擇每個 outputs[].url 都是儲存空間中的副本:可永久保留(按 GB-月計費),或免費保留 7 天;可透過帳戶設定或 ?storage= 設定。
所有模型使用相同結構圖片、影片和音訊皆包含 type、url、content_type、width、height 和 duration。output 是模型自己的結果物件。
輸出欄位
- model_mesh
- object {url, content_type, file_name, file_size}包含生成 3D 模型的檔案。
- thumbnail
- object {url, content_type, file_name, file_size} | null可用時提供的模型預覽圖像。
其他 Hi3D 變體
更多模型:圖像轉 3D
給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/hitem3d/hi3d/v3.0/multi-view-to-3d.md. 所有模型與指南: https://doitong.com/developers/llms.txt