Hyper3D - Rodin V2.5 - Image to 3D
整合
模型 id
hyper3d/rodin/v2.5
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/hyper3d/rodin/v2.5?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": ""
}'
# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY"
const API = "https://api.doitong.com/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/hyper3d/rodin/v2.5?wait=20", {
method: "POST",
headers,
body: JSON.stringify({
"prompt": ""
}),
});
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.com/v1"
headers = {"Authorization": "Bearer " + os.environ["DOITONG_API_KEY"]}
payload = {
"prompt": "",
}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/hyper3d/rodin/v2.5", 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.com/v1/mcp \
--header "Authorization: Bearer $DOITONG_API_KEY"
# 2. Your agent calls the "run" tool with:
{
"model_id": "hyper3d/rodin/v2.5",
"input": {
"prompt": ""
}
}
透過 Doitong API 呼叫 Hyper3D - Rodin V2.5 - Image to 3D 模型(hyper3d/rodin/v2.5)。代理程式文件:https://doitong.com/zh-TW/developers/models/hyper3d/rodin/v2.5.md
POST https://api.doitong.com/v1/run/hyper3d/rodin/v2.5?wait=20
Authorization: Bearer $DOITONG_API_KEY
Content-Type: application/json
{
"prompt": ""
}
如果回應狀態為 "queued" 或 "running",請輪詢 GET https://api.doitong.com/v1/requests/REQUEST_ID?wait=20,直到狀態變為 "succeeded";檔案位於 outputs[].url。使用相同主體傳送 POST https://api.doitong.com/v1/quote/hyper3d/rodin/v2.5,可在執行前取得確切價格。
此請求: $0.40 400 API 點數 在此頁面執行
您的新 API 金鑰。 僅會在此時顯示,且已填入下方的程式碼與 API 金鑰欄位。請妥善保密:切勿將其放入在瀏覽器中執行的程式碼。
建立請求
控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。
POST
/run/hyper3d/rodin/v2.5?wait=20
報價 → $0.40
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/hyper3d/rodin/v2.5?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": ""
}'
# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
-H "Authorization: Bearer $DOITONG_API_KEY"
const API = "https://api.doitong.com/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/hyper3d/rodin/v2.5?wait=20", {
method: "POST",
headers,
body: JSON.stringify({
"prompt": ""
}),
});
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.com/v1"
headers = {"Authorization": "Bearer " + os.environ["DOITONG_API_KEY"]}
payload = {
"prompt": "",
}
# Run the model; wait up to 20 s for the finished result in the same call
r = requests.post(API + "/run/hyper3d/rodin/v2.5", 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": "hyper3d/rodin/v2.5",
"input": {
"prompt": ""
},
"wait_seconds": 20
}
}
}
關於 Hyper3D - Rodin V2.5 - Image to 3D
從 `image_urls` 中的一至五張影像建立 3D 模型,也可選用最多 1024 個字元的 `prompt`。六個級別從 Gen-2.5-Minimum 到 Gen-2.5-Extreme-High,預設為 High。選項包括幾何格式(glb、usdz、fbx、obj、stl)、`material`、四邊形或三角形網格大小、適合綁定角色的 `TAPose`,以及 `hd_texture`。
參數
請傳送標準名稱或原生名稱其中之一,不要同時傳送兩者。 標準名稱
名稱類型
預設值允許值
說明
prompt選填
類型string
預設值
≤ 1,024 個字元
使用文字引導生成,或在 Image-to-3D 模式中留空,讓模型自動從圖像推導提示詞。
image_urls選填
images
類型url[] · image
≤ 5 個項目
來源圖像 URL,最多 5 張;在 Image-to-3D 模式中為生成模型所必需。
tier選填
類型enum
預設值Gen-2.5-High
Gen-2.5-MinimumGen-2.5-Extreme-LowGen-2.5-LowGen-2.5-MediumGen-2.5-HighGen-2.5-Extreme-High
網格細節層級;提高層級會增加細節,但 Gen-2.5-Minimum 會自動啟用 minimum 模式,並強制使用 50K Triangle,不論 quality_mesh_option 為何。更多詳細資訊請參閱[文件](https://developer.hyper3d.ai/api-specification/rodin-gen2.5#use-gen-2.5-generation-with-following-gen-2.5-tiers)。
use_original_alpha選填
類型boolean
預設值false
控制生成 3D 內容時是否保留輸入圖像的透明度通道。
seed選填
類型integer | null
0 – 65,535
選填的隨機化種子,範圍為 0–65535。
geometry_file_format選填
類型enum
預設值glb
glbusdzfbxobjstl
幾何檔案格式,可從 glb、usdz、fbx、obj、stl 中選擇;預設為 glb。
material選填
類型enum
預設值All
PBRShadedAllNone
材質輸出選擇:選擇 None 可取得無紋理幾何結構,選擇 All 可取得兩種材質變體。若要使用基於物理的材質呈現逼真光照,請選擇 PBR;若要使用不含 PBR 貼圖的烘焙光照,請選擇 Shaded。
quality_mesh_option選填
類型enum
預設值Auto
Auto4K Quad8K Quad18K Quad50K Quad100K Quad200K Quad2K Triangle20K Triangle50K Triangle150K Triangle500K Triangle1M Triangle2M Triangle
網格拓撲與品質;可用面數取決於層級:Extreme-Low、Low 和 Medium 最多允許 1M Triangle;High 和 Extreme-High 支援 20K Triangle 至 2M Triangle。Auto 套用以下建議設定:1. Gen-2.5-Minimum → 50K Triangle;2. Gen-2.5-Extreme-Low → 50K Triangle;3. Gen-2.5-Low → 50K Triangle;4. Gen-2.5-Medium → 500K Triangle;5. Gen-2.5-High → 500K Triangle;Gen-2.5-Extreme-High → 1M Triangle。手動選擇時,Quad 偏好平滑表面,Triangle 偏好細節豐富的幾何結構;Hyper3D API 會將拓撲接收為 `mesh_mode` (Quad/Raw),並將面數接收為 `quality_override`。
texture_mode選填
類型enum
legacyextreme-lowlowmediumhigh
明確選擇紋理品質,或交由 API 選擇;API 會使用適合該層級的預設值。
enable_creative_mode選填
類型boolean
預設值false
創意生成模式,相當於在 Hyper3D API 中將 `geometry_instruct_mode` 設為 `creative`。啟用後可提高生成穩健性,同時維持輸出一致性。
hd_texture選填
類型boolean
預設值false
控制進階紋理後處理,以改善視覺保真度。
texture_delight選填
類型boolean
預設值false
從生成紋理中移除烘焙的光照與高光。
is_micro選填
類型boolean
預設值false
以微觀尺度增加更細緻的幾何細節;僅在 `tier="Gen-2.5-Extreme-High"` 時生效。
TAPose選填
類型boolean
預設值false
便於在 3D 軟體中綁定與製作動畫的角色姿勢設定:啟用後會以 T-pose 或 A-pose 生成角色。
bbox_condition選填
類型object
使用 ControlNet 限制生成模型的大小。
bbox_condition.width選填
類型integer
預設值0
1 – 2,048
沿 x 軸的邊界框約束寬度。
bbox_condition.height選填
類型integer
預設值0
1 – 2,048
沿 y 軸的邊界框約束高度。
bbox_condition.length選填
類型integer
預設值0
1 – 2,048
沿 z 軸的邊界框約束長度。
addons選填
類型object
選填的附加元件選擇,以清單提供;若只有一個附加元件,也可提供單一值。
addons.high_pack選填
類型boolean
預設值false
HighPack 增強功能:Quad 輸出的面數約為透過 quality 參數要求數量的 16 倍,且紋理使用 4K 解析度,而非預設的 2K。
preview_render選填
類型boolean
預設值false
預覽渲染切換設定,會新增一張顯示生成 3D 模型的圖像至傳回的模型檔案。
enable_safety_checker選填
類型boolean
預設值true
在呼叫端獲得授權的情況下,將此值設為 false 可放寬審核。
必填
標準名稱,也可使用
檔案參數接受公開的 https:// URL、最大 10 MB 的 data: URI,或上傳檔案的 file_url。 檔案
輸出
GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
"id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
"object": "request",
"model": "hyper3d/rodin/v2.5",
"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": 400,
"usd": "0.40",
"charged": 400,
"refunded": 0
},
"input": {
"prompt": ""
},
"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
},
"model_meshes": [
{
"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
}
],
"seed": 42,
"textures": [
{
"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,
"width": 1024,
"height": 768
}
]
},
"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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
"cancel": "https://api.doitong.com/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 物件的檔案。
- model_meshes
- array of object {url, content_type, file_name, file_size}Hyper3D 生成並額外傳回的 3D 物件檔案,除 model_mesh 外另行提供。
- seed
- integer生成時套用的種子。
- textures
- array of object {url, content_type, file_name, file_size, width, height}為 3D 物件產生的紋理。
其他 Hyper3D - Rodin V2.5 變體
更多模型:圖像轉 3D
給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/hyper3d/rodin/v2.5.md. 所有模型與指南: https://doitong.com/developers/llms.txt