
This ComfyUI workflow, titled 'Rodin: Gen-2 Image to Model,' is designed to convert 2D images into detailed 3D models using the Rodin Gen2 model. The workflow leverages a sequence of nodes that facilitate the conversion process, starting with image loading and ending with 3D model generation and export. Key nodes include 'LoadImage' for importing images, 'Rodin3D_Gen2' for the core 3D model generation, and 'SaveGLB' for exporting the final model in GLB format. The workflow is particularly useful for creating high-quality, 4X mesh detailed 3D models from photos, making it an excellent tool for designers and developers who need to prototype or visualize objects in three dimensions. By using images from multiple angles and with solid color backgrounds, users can enhance the accuracy and quality of the generated models.
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.
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 "Rodin: Gen-2 Image to Model" (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_rodin_gen2_api.json");
const asset = client.assets.fromFile("input.png");
wf.setInput("82", "image", asset); // LoadImage
const job = await client.run(wf);
await job.getOutputs("87")[0].toFile("output.png"); // SaveGLBThe 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













