ComfyTV/Generategenerated

3D Model Stage(Model3DStage)

The 3D Model Stage node provides an interactive stage for running backend 3D-generation workflows and previewing the result.

Model3 D Stage

texts
images
models
model
image
workflow
COMBO
captured_image
STRING
ComfyTV

Description

The 3D Model Stage node provides an interactive stage for running backend 3D-generation workflows and previewing the result. It collects text, image, and model inputs, invokes the selected workflow when Run is clicked, and exposes both the generated 3D model and a preview snapshot as outputs.

The node is intended for workflows that produce a 3D file. The selected backend workflow must end in a SaveGLB node or another compatible output node so the generated model can be returned by the stage.

Inputs

workflow

A required combo selection that chooses which backend 3D-generation workflow to invoke when Run is clicked. The available choices come from the installed ComfyTV workflows. The selected workflow must terminate in a SaveGLB or compatible node.

texts

A required autogrow input for text data. Autogrow inputs can expand to accept multiple connections, allowing prompt text or other text values to be routed into the selected generation workflow.

images

A required autogrow input for image data. Use this to connect reference images or other image inputs expected by the selected workflow. Like texts, this socket can grow to accept multiple image connections.

models

A required autogrow input for 3D model data. Use this to connect source or reference models when the selected workflow supports model-driven generation. The socket can expand to accept multiple model connections.

captured_image

A required string input with a default value of "". This is an internal field: it stores the /view? URL of the latest preview-viewport snapshot. It is written automatically by the 3D preview in the node body and becomes the image output. In normal use it should be left at its default value rather than edited manually.

Outputs

COMFYTV_MODEL

The 3D model produced by the backend workflow. This is the primary generation result from the stage.

COMFYTV_IMAGE

The image output derived from captured_image: the latest preview-viewport snapshot captured by the node's 3D preview. This can be used downstream as a preview or thumbnail of the generated model.

Usage Notes

  1. Select a backend workflow in the workflow combo. Make sure the workflow ends in a SaveGLB or compatible node.
  2. Connect the text, image, and model inputs required by that workflow using the autogrow sockets.
  3. Click Run to invoke the workflow. The node previews the generated model in its viewport.
  4. Use the COMFYTV_MODEL output for downstream 3D processing and the COMFYTV_IMAGE output when a preview snapshot of the current viewport is needed.
  5. Leave captured_image alone during normal operation. It is maintained by the node's preview system and is exposed mainly so the captured snapshot can flow to the image output.

Comments

Sign in with GitHub to join the discussion.

Loading comments…