Tripo: изображение в модель

The 'Tripo: Image to Model' workflow in ComfyUI is designed to transform 2D images into professional-grade 3D assets seamlessly. Leveraging the Tripo engine, this workflow utilizes a series of specialized nodes to convert flat images into fully textured and rigged 3D models. The process begins with the 'LoadImage' node, which imports the 2D image into the system. The 'TripoImageToModelNode' then processes this image, generating a basic 3D mesh. To enhance realism, the 'TripoTextureNode' applies textures, while the 'TripoRigNode' adds a skeletal structure to the model, facilitating animation. The 'TripoRetargetNode' further refines the model by adjusting the rig to fit different animation templates. Finally, the 'Preview3D' node allows users to view the model in a 3D space, and the 'SaveGLB' node saves the output in GLB format for easy integration into various 3D applications. This workflow is particularly useful for game developers, animators, and digital artists who need to create high-quality 3D models from 2D images quickly and efficiently.

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.

FAQ

Часто Задаваемые Вопросы

Посмотреть все воркфлоу
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