TripoSplat: 이미지에서 가우시안 스플랫으로
단일 2D 이미지를 업로드합니다. 밀도와 렌더링 예산을 제어할 수 있는 고품질 3D 가우시안 스플랫 표현을 생성합니다.
워크플로 내부
소스 템플릿의 읽기 전용 미리보기입니다. Cloud에서 열어 노드를 살펴보고 변경할 수 있습니다.
Loading the graph
Open full-size workflow preview이 워크플로의 파일
- 출력
- 혼합 출력
- 작성자
- 작성자 정보를 사용할 수 없음
코드에서 이 모델 호출하기
아래 요청은 Playground와 동일하게 준비된 그래프와 설정을 사용합니다. 제출할 때마다 유료 실행이 시작될 수 있으므로 결과를 알 수 없는 제출을 자동으로 재시도하지 마세요.
What you need
- Runs on
- Comfy Cloud
- 키
- COMFY_API_KEY
- 내 파일
- 코드가 해당 URL에서 업로드
유료 Cloud 요금제와 크레딧이 필요합니다.
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"41": {
"class_type": "CreateVideo",
"inputs": {
"bit_depth": "auto",
"chroma_subsampling": "auto",
"codec": "none",
"color_space": "sRGB",
"fps": 25,
"images": [
"75",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"42": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI_TripoSplat",
"format": "auto",
"format.codec": "auto",
"video": [
"41",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"51": {
"class_type": "SaveGLB",
"inputs": {
"filename_prefix": "3d/ComfyUI_TripoSplat",
"mesh": [
"92",
0
]
},
"_meta": {
"title": "Save 3D Model"
}
},
"75": {
"class_type": "RenderSplat",
"inputs": {
"background": "#848484",
"camera_info": [
"79",
0
],
"frames": 75,
"headlight_shading": 0,
"height": 1024,
"opacity_threshold": 0,
"render_style": "color",
"sharpen": 2,
"splat": [
"88:55",
0
],
"splat_scale": 1,
"width": 1024
},
"_meta": {
"title": "Render Splat"
}
},
"79": {
"class_type": "CreateCameraInfo",
"inputs": {
"camera_type": "perspective",
"fov": 35,
"mode": "orbit",
"mode.distance": 2.5,
"mode.pitch": 30,
"mode.yaw": 35,
"roll": 0,
"target_x": 0,
"target_y": 0,
"target_z": 0,
"zoom": 1
},
"_meta": {
"title": "Create Camera Info"
}
},
"92": {
"class_type": "SplatToFile3D",
"inputs": {
"format": "spz",
"splat": [
"88:55",
0
]
},
"_meta": {
"title": "Create 3D File (from Splat)"
}
},
"99": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_FILENAME"
},
"_meta": {
"title": "Load Image"
}
},
"88:11": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "triposplat_vae_decoder_fp16.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"88:16": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "triposplat_fp16.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"88:2": {
"class_type": "TripoSplatPreprocessImage",
"inputs": {
"erode_radius": 1,
"image": [
"99",
0
],
"mask": [
"88:35",
0
],
"size": 1024
},
"_meta": {
"title": "TripoSplat Preprocess Image"
}
},
"88:24": {
"class_type": "TripoSplatConditioning",
"inputs": {
"clip_vision": [
"88:7",
0
],
"image": [
"88:2",
0
],
"vae": [
"88:8",
0
]
},
"_meta": {
"title": "TripoSplat Conditioning"
}
},
"88:35": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"88:95",
0
],
"on_true": [
"88:85:81",
0
],
"switch": True
},
"_meta": {
"title": "Switch: Mask Source"
}
},
"88:55": {
"class_type": "VAEDecodeTripoSplat",
"inputs": {
"num_gaussians": 262144,
"samples": [
"88:6",
0
],
"seed": 790219963981395,
"vae": [
"88:11",
0
]
},
"_meta": {
"title": "TripoSplat Decode"
}
},
"88:6": {
"class_type": "KSampler",
"inputs": {
"cfg": 3,
"denoise": 1,
"latent_image": [
"88:24",
2
],
"model": [
"88:96",
0
],
"negative": [
"88:24",
1
],
"positive": [
"88:24",
0
],
"sampler_name": "dpmpp_2m",
"scheduler": "simple",
"seed": 46,
"steps": 20
},
"_meta": {
"title": "KSampler"
}
},
"88:7": {
"class_type": "CLIPVisionLoader",
"inputs": {
"clip_name": "dino_v3_vit_h.safetensors"
},
"_meta": {
"title": "Load CLIP Vision"
}
},
"88:8": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "flux2-vae.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"88:85:81": {
"class_type": "RemoveBackground",
"inputs": {
"bg_removal_model": [
"88:85:82",
0
],
"image": [
"99",
0
]
},
"_meta": {
"title": "Remove Background"
}
},
"88:85:82": {
"class_type": "LoadBackgroundRemovalModel",
"inputs": {
"bg_removal_name": "birefnet.safetensors"
},
"_meta": {
"title": "Load Background Removal Model"
}
},
"88:85:83": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"88:85:81",
0
]
},
"_meta": {
"title": "Invert Mask"
}
},
"88:85:84": {
"class_type": "JoinImageWithAlpha",
"inputs": {
"alpha": [
"88:85:83",
0
],
"image": [
"99",
0
]
},
"_meta": {
"title": "Join Image with Alpha"
}
},
"88:95": {
"class_type": "InvertMask",
"inputs": {
"mask": [
"99",
1
]
},
"_meta": {
"title": "Invert Mask"
}
},
"88:96": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"88:16",
0
],
"on_true": [
"88:97",
0
],
"switch": True
},
"_meta": {
"title": "If/Else Switch"
}
},
"88:97": {
"class_type": "TripoSplatSamplingPreview",
"inputs": {
"model": [
"88:16",
0
],
"num_gaussians": 16384,
"octree_level": 5,
"pitch": 15,
"point_size": 2,
"vae": [
"88:11",
0
],
"yaw": 90
},
"_meta": {
"title": "TripoSplat Sampling Preview"
}
}
})
workflow.set_input("99", "image", client.assets.from_url("https://comfy.org/catalog-media/31e084cd-8ffd-4ad4-b875-031c5631fd68/393b5dc5-e5ff-474f-9ab5-654eb3647bff"))
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)
for output in job.get_outputs("42"):
output.to_file(output.name)예시 사용해 보기
이 워크플로 정보
A splat is a different answer to '3D from one image' than a mesh: instead of a surface it produces hundreds of thousands of Gaussians with position, scale and colour, which read as photographic from any angle and cost almost nothing to render. TripoSplat preprocesses the frame — background removal by BiRefNet by default, or a painted mask — encodes it with DINOv3 and the TripoSplat VAE, then decodes 262k Gaussians. The graph writes the scene as spz for a splat viewer and renders an orbit turntable so you can judge the geometry without opening one. Suited to product captures, set extensions and photogrammetry-free scans.
Graph: LoadImage -> TripoSplatPreprocessImage (+ RemoveBackground) -> TripoSplatConditioning -> KSampler -> VAEDecodeTripoSplat (262144 gaussians) -> SplatToFile3D (spz) -> SaveGLB; RenderSplat (orbit camera, 75 frames) -> CreateVideo -> SaveVideo.
관련 워크플로
- IIdol, TripoSplat
Idol: 이미지를 가우시안 스플랫으로
- Hunyuan3D
HunYuan3D: 텍스트에서 모델로
- Meshy
Meshy T2.5: 이미지를 모델로 (스마트 토폴로지)
- Meshy
Meshy T2.5: 텍스트에서 모델로 (스마트 토폴로지)
- Meshy
Meshy: 이미지를 부조로
- MMoGe
MoGe: 원근 기하학 추정
- MMoGe
MoGe: 파노라마에서 메시로
- RRodin
Rodin Gen2.5: 이미지에서 모델로
- RRodin
Rodin Gen2.5: 텍스트를 모델로
- SSAM 3D Body
SAM 3D 바디: 비디오에서 3D 인체 메시 추출
- Tripo
Tripo H3.1: 멀티뷰에서 모델로
- Tripo
Tripo H3.1: 이미지에서 모델로