Nodes/WAS_Extras/WAS Save LUT (.cube)
ComfyUI Node

WAS Save LUT (.cube)

Export a ComfyUI-built color grade to a standard .cube file

By WASasquatch·Created 3 years ago·Updated 17 days ago· 43
WAS Save LUT (.cube)
  • lut
  • lut
filenameCustomLUT
output_size33
overwritetrue

Once you've built or blended a look with WAS Load LUT or WAS LUT Blender, this is how you get it out of the ComfyUI graph and into a file you can actually reuse - a standard .cube LUT that opens in DaVinci Resolve, Premiere, or gets loaded straight back into a future ComfyUI run.

How it works

It takes a lut, resamples it to output_size before writing (17/33/65-point sizes are the norm most grading tools already expect, and match what WAS Load LUT's builtin_size uses), and writes it out as filename.cube - appending the extension automatically if you leave it off. overwrite (on by default) controls whether re-running the node with the same filename replaces the existing file or not. It also passes the same lut straight through as an output, so you can save a checkpoint of your grade mid-graph and keep working with it further downstream without a separate branch.

The inputs and outputs that matter

  • lut (LUT, required) - "the LUT to save as a .cube file," per its own tooltip. This has to come from something upstream that produces a LUT, like WAS Load LUT.
  • filename (default CustomLUT) - the base name; .cube gets appended if missing.
  • output_size (default 33, range 17–65) - the dimension it resamples the LUT to before saving. Lower is a smaller file with coarser gradations; higher is closer to what you built it at.
  • overwrite (default true) - allow clobbering an existing file with the same name.

Output: lut - a passthrough of the same LUT you fed in, so saving doesn't dead-end the graph.

How to install it

Via ComfyUI Manager: search WAS_Extras, install, restart. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/WASasquatch/WAS_Extras

Restart ComfyUI. No extra dependencies, no model downloads.

Common issues & troubleshooting

Can't find the exported file. The pack's README doesn't spell out an exact save directory for this specific node. Since WAS Load LUT reads custom .cube files back from ComfyUI/models/LUT, that's the first place to check. Failing that, look at the console output from the ComfyUI run that saved it - file-writing nodes generally print the full path they wrote to.

Re-ran the node and the file didn't update. If overwrite is off, that's expected - it's refusing to clobber an existing file with the same name. Flip it on, or change filename, if you actually want the new version to land.

Grade looks coarser after a round trip. If you exported at a low output_size (say 17) and then reloaded it expecting the same fidelity as the 33-point LUT you built, you threw away resolution on purpose at export time. Bump output_size up before saving if you plan to reuse it.

Nothing visibly changed in your image. This node only writes a file - it doesn't apply the LUT to anything. You still need WAS Apply LUT somewhere in the graph if you want to actually see the grade on pixels, not just have it saved to disk.

CategoryWAS/Color/LUT

Inputs (4)

NameTypeDefaultDescription
lutLUTThe LUT to save as a .cube file.
filenameSTRINGCustomLUTBase filename ('.cube' will be appended if missing).
output_sizeINT3317–65Dimension to resample the LUT before saving.
overwriteBOOLEANtrueAllow overwriting an existing file.

Outputs (1)

NameTypeDescription
lutLUT