Nodes/ComfyUI-RTX-Remix/RTX Remix Save Layer
ComfyUI Node

RTX Remix Save Layer

Persist a layer from inside the workflow

By NVIDIAGameWorks·Created 2 years ago·Updated 5 days ago· 71
RTX Remix Save Layer
  • context
  • context
  • layer_id
layer_id
enable_this_nodetrue

RTX Remix lets you modify layers in memory, but "in memory" is a fragile place to leave your work. RTX Remix Save Layer is the node that makes your changes real: it tells the Toolkit to save a project layer to disk. It's the "File → Save" of the pack, and it's what turns a session of edits into a layer that survives the Toolkit closing.

Mechanically it's a single POST /stagecraft/layers/{layer_id}/save call. Give it a layer ID, it tells the Toolkit to flush that layer's current state. The node echoes the ID back so you can chain it, and it passes context through so your graph's execution order stays intact.

Inputs:

  • layer_id (STRING) - the layer to save. That's the whole decision.
  • context (RTXRemixContext) - the standard connection thread.
  • enable_this_node (BOOLEAN) - the standard bypass; off returns an empty string.

Outputs:

  • context - passed through.
  • layer_id (STRING) - echoed back.

The natural pattern: do a bunch of mutations (Create Layer, Ingest Texture, Set Texture, Set Edit Target), then Save Layer as the last step before RTX Remix End Context. Because the context chain enforces order, you can rely on the save running after every mutation it depends on - that ordering guarantee is the whole reason this pack routes everything through context instead of letting nodes fire in any order.

Install: part of NVIDIAGameWorks/ComfyUI-RTX-Remix, NVIDIA's official pack. ComfyUI Manager (search "RTX Remix") or:

cd ComfyUI/custom_nodes
git clone https://github.com/NVIDIAGameWorks/ComfyUI-RTX-Remix
# restart ComfyUI

Needs ComfyUI v0.3.48+ (V3 schema) and a running Toolkit with a project open - a live API call. No model files involved.

Where people get burned: forgetting the parent. If your layer lives under a parent, an empty or wrong path can make the save target unresolvable - build IDs with RTX Remix Define Layer Id so the path is unambiguous. And remember this saves the layer, not the whole project; if your workflow rearranged the entire stage, you may want to save the layers that matter individually. Also, don't treat Save Layer as a checkpoint for the whole Toolkit state - it persists the layer's data, but closing the project is still RTX Remix Close Project's territory.

CategoryRTXRemix/layers

Inputs (3)

NameTypeDefaultDescription
layer_idSTRING
contextRTXRemixContext
enable_this_nodeBOOLEANtrue

Outputs (2)

NameTypeDescription
contextRTXRemixContext
layer_idSTRING