Tripo:圖像到模型

「Tripo:圖片轉 3D 模型」工作流程於 ComfyUI 中設計,能夠無縫將 2D 圖片轉換為專業級 3D 素材。透過 Tripo 引擎,此流程運用一系列專用節點,將平面圖片轉換為具備完整貼圖與骨架的 3D 模型。流程從「LoadImage」節點開始,將 2D 圖片匯入系統。接著「TripoImageToModelNode」處理圖片,生成基礎 3D 網格。為提升真實感,「TripoTextureNode」會套用貼圖,「TripoRigNode」則為模型加入骨架結構,方便後續動畫。「TripoRetargetNode」可進一步調整骨架以符合不同動畫範本。最後,「Preview3D」節點可於 3D 空間預覽模型,「SaveGLB」節點則將成果儲存為 GLB 格式,方便整合至各類 3D 應用。此流程特別適合遊戲開發者、動畫師與數位藝術家,能快速高效地將 2D 圖片製作成高品質 3D 模型。

API

Use this workflow from code

Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.

api_tripo_image_to_model.json
Fetching workflow JSON…

Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.

// Install (beta)
npm i @comfyorg/sdk

// Run "Tripo:圖像到模型" (TypeScript)
import { Comfy } from "@comfyorg/sdk";

const client = new Comfy({ apiKey: "comfyui-..." });

// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("api_tripo_image_to_model_api.json");

const asset = client.assets.fromFile("input.png");
wf.setInput("36", "image", asset); // LoadImage

const job = await client.run(wf);
await job.getOutputs("57")[0].toFile("output.png"); // SaveGLB

The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).

Comfy Cloud API access requires a plan with an API key.

常見問題

常見問題

查看所有工作流
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates