Storyboard Editor(StoryboardEditorStage)
The Storyboard Editor stage is an input node for the ComfyTV pipeline.
Storyboard Editor Stage
Description
The Storyboard Editor stage is an input node for the ComfyTV pipeline. It hosts the interactive storyboard editor inside the ComfyUI canvas: you lay out boards, set their timing, attach layers of images, and export an animatic, all without leaving the graph. The node then packages the editor's current state into three outputs (a cover image, the full batch of board composites, and the exported animatic video) so that the rest of the workflow can consume them.
Most of this node's widgets are marked Internal. They are written and kept in sync by the editor's frontend and exist on the node so that the storyboard document, artboard size, and captured renders survive workflow save/load and can be passed downstream. In normal use you should not need to edit them by hand, though they remain visible in the node's widget list.
Inputs
Optional inputs
| Input | Type | Description |
|---|---|---|
storyboard | COMFYTV_STORYBOARD | An incoming storyboard document. Optional; allows a storyboard produced elsewhere in the graph to be loaded into the editor. |
images | COMFYTV_IMAGES | An incoming image batch. Optional; provides images that can be placed onto boards or used as layers in the editor. |
Both inputs are optional, so the node can be used standalone as the starting point of a workflow or chained after another ComfyTV stage.
Internal widgets
| Widget | Type | Default | Range | Description |
|---|---|---|---|---|
board_state | STRING | "{}" | - | Internal: the storyboard document as JSON, holding boards, timing, metadata, and per-board layers. |
width | INT | 1280 | 64 to 4096, step 8 | Internal: board artboard width in pixels. |
height | INT | 720 | 64 to 4096, step 8 | Internal: board artboard height in pixels. |
captured_image | STRING | "" | - | Internal: /view URL of the cover board composite. |
captured_images | STRING | "" | - | Internal: JSON images batch containing one composite per board. |
animatic_video | STRING | "" | - | Internal: /view URL of the last exported animatic video. |
board_state is the authoritative serialized form of the editor's contents. captured_image, captured_images, and animatic_video are outputs of the editor's render and export actions: they point at files already saved through ComfyUI's /view endpoint rather than holding pixel data directly.
The width and height values define the artboard that boards are composed on. Sizes are constrained to multiples of 8 between 64 and 4096 pixels, matching the latent-friendly constraints of the rest of the pipeline.
Outputs
| Output | Type | Description |
|---|---|---|
| Image | COMFYTV_IMAGE | The cover board composite, taken from captured_image. |
| Images | COMFYTV_IMAGES | The full batch of board composites, one per board, taken from captured_images. |
| Video | COMFYTV_VIDEO | The exported animatic video, taken from animatic_video. |
Each output corresponds to one of the internal capture widgets. If a capture has not been produced yet (for example, the animatic has never been exported), the corresponding output will be empty.
Usage Notes
- Open the editor from the node to draw boards, adjust timing, and arrange layers. The editor writes back to
board_state,width, andheightas you work, so save the workflow after editing to keep your storyboard. - Render the cover board and the per-board composites before queueing if you need the
COMFYTV_IMAGEandCOMFYTV_IMAGESoutputs downstream. - Export the animatic to populate
animatic_video; only then will theCOMFYTV_VIDEOoutput carry anything. - Because the captured values are
/viewURLs, the referenced files must still exist in ComfyUI's output or temp directories when the graph runs. - Use the optional
storyboardandimagesinputs to bring in content from earlier stages instead of starting from a blank board. - Keep artboard dimensions at multiples of 8 and within 64 to 4096 pixels; other values are clamped by the widget's step and range.
Comments
Sign in with GitHub to join the discussion.