c6752d215f4576d5d6bf48e95b339e5ab5bb8cd2
Use a spreadsheet as input for ComfyUI execution.
Examples
Or in manager -> templates -> Spreadsheet2Video
Instructions
- Make a spreadsheet with the first column as the name of the part of the workflow you want to execute for that row. Put a header row in the spreadsheet.
- Use the "Spreadsheet2Video Input Image" and "Spreadsheet2Video Output Image" nodes to specify which part of the workflow you want to execute. You can have as many of these as you want but they must be separate, cannot depend on each other to run.
- Link up an image to the main Spreadsheet2Video node
- Row 1 will use the first image. Row 2 will use the image output from Row 1. If row 1 outputs a video, row 2 will get the last frame of video from row 1.
Can be used for non-video, image workflows. Use a blank image to start. See the example workflow in the templates.
Long video
The video was made with the workflow and panning was done later in a video editor.
Comparison video
Deforum-like videos example
- Make zoom / rotate / move parameters with a game controller
- Copy and paste into a .csv file. example .csv file
- workflow
Non video
Nodes
| Node | Description |
|---|---|
| Spreadsheet2Video | Use a start image or use EmptyImage node if you don't want to make a video |
| Spreadsheet2Video Input Image | Give it a name. Link the columns to your workflow. |
| Spreadsheet2Video Output Image | Put the output image here. Link the image to the Spreadsheet2Video Input Image node if you have no image output. The next row will use this image or the last frame if it is a video. |
| Spreadsheet2Video Load Spreadsheet | Optional. Loads a file, link to spreadsheet when you want to use a .csv, xlsx, ods file instead of typing in the data. Can put the file into input or input/csv folders. |
| Other nodes | Ignore them. Used internally only |
- The raw frames are in the
ComfyUI/tempfolder if you want lossless quality
Warning
-
The preview might not open the workflow in in the assets list. You need to download the file and open the file instead.
-
To load .ods spreadsheets. Run
pip install odfpy. -
Some nodes pre-calculate the values before the nodes are executed. These won't work. An example is ComfyUI-String-Helper StringFormatter. Use string concatenate instead or do it in the spreadsheet
Languages
Python
91.5%
JavaScript
8.5%
