跳至內容

Hi3D Image to 3D

整合

模型 id hitem3d/hi3d/image-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/image-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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"

此請求: ≈$0.50 500 API 點數 · ≈ ₽53.66 在此頁面執行

取得 API 金鑰
Hitem3D 圖像轉 3D #image-to-3d#3d#mesh

單張圖片轉 3D 網格,可選擇 Hitem3D 版本、直向變體與多種匯出格式

Hitem3D · 3D

您的第一個結果會顯示在這裡

在下方建立請求,並使用您的 API 金鑰執行。輸出會複製到我們的儲存空間,可永久保留或免費保留 7 天。

建立請求

控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。

•必填 image_url
拖放檔案,或

透過 URL 提供輸入圖像,格式為 PNG、JPEG 或 WebP,檔案不得超過 20 MB。

resolution

生成解析度,預設使用模型建議值:v1.5/v2.0 為 1024,其他版本則使用 fast 層級。v1.5/v2.0 可選 512、1024、1536 和 1536pro;v2.1 可選 1536fast 和 1536pro;scene-portraitv1.5 可選 1536;scene-portraitv2.0 可選 1536pro;scene-portraitv2.1 可選 1536profast 和 1536pro。

進階 model · export_format · face_count · enable_texture · enable_pbr · enable_safety_checker
model 預設 hitem3dv2.1

生成模型選擇器:可從以肖像和角色調校的 'scene-portrait*' 系列,或通用的 'hitem3d*' 系列中選擇。

export_format 預設 glb

用於儲存生成模型的格式。

生成模型所需的面數,會覆寫合作夥伴依解析度提供的建議值。省略時由合作夥伴選擇建議值,例如 512 為 500k、1024 為 1M、1536 為 2M。

POST /run/hitem3d/hi3d/image-to-3d?wait=20 報價 → $0.50
# 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/image-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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"

執行此請求

您的金鑰會保留在此瀏覽器中:只會傳送至 Doitong API,且只有在勾選「記住」時才會儲存至 localStorage。 取得 API 金鑰

關於 Hi3D Image to 3D

根據一張圖片建立 3D 模型(PNG、JPEG 或 WebP,最大 20MB)。`model` 選項包含一般版本與針對直向內容調整的版本,允許的 `resolution` 值取決於所選模型。可切換紋理與 PBR 貼圖,`face_count` 範圍為 100,000 至 2,000,000,匯出格式為 glb、obj、stl、fbx 或 usdz。

參數

請傳送標準名稱或原生名稱其中之一,不要同時傳送兩者。 標準名稱

名稱類型 預設值允許值 說明
model選填
類型enum
預設值hitem3dv2.1
hitem3dv1.5hitem3dv2.0hitem3dv2.1scene-portraitv1.5scene-portraitv2.0scene-portraitv2.1
生成模型選擇器:可從以肖像和角色調校的 'scene-portrait*' 系列,或通用的 'hitem3d*' 系列中選擇。
resolution選填
類型enum
512102415361536pro1536fast1536profast
生成解析度,預設使用模型建議值:v1.5/v2.0 為 1024,其他版本則使用 fast 層級。v1.5/v2.0 可選 512、1024、1536 和 1536pro;v2.1 可選 1536fast 和 1536pro;scene-portraitv1.5 可選 1536;scene-portraitv2.0 可選 1536pro;scene-portraitv2.1 可選 1536profast 和 1536pro。
enable_texture選填
類型boolean
預設值true
控制是否同時生成紋理和幾何圖形。
enable_pbr選填
類型boolean
預設值true
控制是否同時建立 PBR 材質貼圖和紋理。
face_count選填
類型integer | null
100,000 – 2,000,000
生成模型所需的面數,會覆寫合作夥伴依解析度提供的建議值。省略時由合作夥伴選擇建議值,例如 512 為 500k、1024 為 1M、1536 為 2M。
export_format選填
類型enum
預設值glb
glbobjstlfbxusdz
用於儲存生成模型的格式。
enable_safety_checker選填
類型boolean
預設值true
輸入圖像的安全篩選切換:true 會要求在開始圖像處理前進行安全檢查。
image_url必填 image
類型url · image
透過 URL 提供輸入圖像,格式為 PNG、JPEG 或 WebP,檔案不得超過 20 MB。
必填 標準名稱,也可使用

檔案參數接受公開的 https:// URL、最大 10 MB 的 data: URI,或上傳檔案的 file_url。 檔案

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "hitem3d/hi3d/image-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": 500,
    "usd": "0.50",
    "charged": 500,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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可用時提供的模型預覽圖像。

更多模型:圖像轉 3D

給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/hitem3d/hi3d/image-to-3d.md. 所有模型與指南: https://doitong.com/developers/llms.txt