跳至內容

Tripo3D · Image to 3D

整合

模型 id tripo3d/tripo/v2.5/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/tripo3d/tripo/v2.5/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.30 300 API 點數 · ≈ ₽32.24 您的檔案會在執行前計量 在此頁面執行

取得 API 金鑰
Tripo 圖像轉 3D #image-to-3d#stylized

影像轉 3D(v2.5),支援樣式預設、HD 紋理、四邊形輸出與對齊選項

Tripo · 3D

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

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

建立請求

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

•必填 image_url
拖放檔案,或

用於生成模型的圖像 URL。

texture 預設 standard

模型的紋理設定:'standard' 為預設值,'no' 會停用紋理,'HD' 會產生高畫質紋理。

樣式設定;省略可保留原始外觀與樣式。

進階 texture_alignment · orientation · face_limit · seed · texture_seed · pbr · auto_size
texture_alignment 預設 original_image

3D 模型的紋理對齊優先設定;未提供其他值時使用 original_image。

orientation 預設 default

模型方向,初始設定為 `default`。選擇 `align_image` 可自動旋轉模型,使其與原始圖像對齊。

輸出面數上限;除非提供明確限制,否則會自動選擇。

控制幾何生成的整數 Seed;重複使用會產生相同模型。省略時會選取隨機值。

紋理生成 Seed,以整數提供;省略時會隨機選取。相同的 Seed 值會產生相同紋理;若要變更模型紋理,請在固定模型 Seed 的情況下變更 texture_seed。

POST /run/tripo3d/tripo/v2.5/image-to-3d?wait=20 報價 → $0.30
# 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/tripo3d/tripo/v2.5/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 金鑰

關於 Tripo3D · Image to 3D

從單一 `image_url` 生成 3D 模型。`texture` 可設為 no、standard 或 HD,並可選擇輸出 PBR。使用 clay、steampunk、gold 或 ancient bronze 等 `style` 預設樣式,可重新設定結果風格。其他控制項包括 `face_limit`、`quad`(強制輸出 FBX)、`auto_size`、`texture_alignment` 和 `orientation`,可讓模型與影像對齊。

參數

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

名稱類型 預設值允許值 說明
seed選填
類型integer | null
控制幾何生成的整數 Seed;重複使用會產生相同模型。省略時會選取隨機值。
face_limit選填
類型integer | null
輸出面數上限;除非提供明確限制,否則會自動選擇。
pbr選填
類型boolean | null
預設值false
PBR 切換:False 會產生不含 PBR 的模型,而 True 會覆寫紋理設定並將其視為 True。PBR 預設為啟用。
texture選填
類型enum
預設值standard
nostandardHD
模型的紋理設定:'standard' 為預設值,'no' 會停用紋理,'HD' 會產生高畫質紋理。
texture_seed選填
類型integer | null
紋理生成 Seed,以整數提供;省略時會隨機選取。相同的 Seed 值會產生相同紋理;若要變更模型紋理,請在固定模型 Seed 的情況下變更 texture_seed。
auto_size選填
類型boolean | null
預設值false
實際尺寸切換,預設停用(False),會使用公尺自動調整模型尺寸。
style選填
類型enum
person:person2cartoonobject:clayobject:steampunkanimal:venomobject:barbieobject:christmasgoldancient_bronze
樣式設定;省略可保留原始外觀與樣式。
quad選填
類型boolean | null
預設值false
啟用四邊形模式時會強制輸出 FBX。quad=True 且未指定 face_limit 時,face_limit 預設為 10000。
texture_alignment選填
類型enum
預設值original_image
original_imagegeometry
3D 模型的紋理對齊優先設定;未提供其他值時使用 original_image。
orientation選填
類型enum
預設值default
defaultalign_image
模型方向,初始設定為 `default`。選擇 `align_image` 可自動旋轉模型,使其與原始圖像對齊。
image_url必填 image
類型url · image
用於生成模型的圖像 URL。
必填 標準名稱,也可使用

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

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "tripo3d/tripo/v2.5/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": 300,
    "usd": "0.30",
    "charged": 300,
    "refunded": 0
  },
  "input": {
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "task_id": "string",
    "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
    },
    "base_model": {
      "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
    },
    "pbr_model": {
      "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
    },
    "rendered_image": {
      "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 是模型自己的結果物件。
輸出欄位
task_id
string生成 3D 模型的工作識別碼。
model_mesh
object {url, content_type, file_name, file_size} | null模型輸出。
base_model
object {url, content_type, file_name, file_size} | null基礎模型輸出。
pbr_model
object {url, content_type, file_name, file_size} | nullPBR 模型輸出。
rendered_image
object {url, content_type, file_name, file_size} | null顯示模型預覽的圖像。

更多模型:圖像轉 3D

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