IPAdapter Save Embeds(IPAdapterSaveEmbeds)
IPAdapter Save Embeds node from ComfyUI-IPAdapter-plus.
IP Adapter Save Embeds
Description
IPAdapterSaveEmbeds writes an IPAdapter embedding bundle to disk so it can be reused later without recomputing it. It takes the EMBEDS value produced by an embedding-generating node (for example a node that encodes an image or a prompt into IPAdapter embeds) and saves it under a file name derived from a prefix you choose.
This is a terminal, output-less node: it exists purely for its side effect of writing files. Nothing is passed further down the graph, so it is normally placed at the end of a branch that produces embeds, while the same embeds can still be routed elsewhere for immediate use.
Inputs
| Input | Type | Required | Default | Description |
|---|---|---|---|---|
embeds | EMBEDS | Yes | none | The IPAdapter embedding data to save. Connect this to the EMBEDS output of an embedding-producing node. |
filename_prefix | STRING | Yes | IP_embeds | Base name used for the saved file. ComfyUI's standard save machinery appends a numeric counter to the prefix so that repeated runs do not overwrite earlier files. |
embeds
The payload that gets serialized. Whatever combination of embeddings the upstream node produced (such as per-image or per-prompt entries) is written out as a single bundle, so the saved file reproduces the upstream node's output when loaded back.
filename_prefix
Controls the name and location of the saved file. A plain value like IP_embeds writes into the default output location; including a subfolder in the prefix (for example ipadapter/portrait_embeds) organizes the results into that subfolder. Because a counter is appended, successive saves produce IP_embeds_00001, IP_embeds_00002, and so on, which makes it safe to leave the default in place while iterating.
Outputs
This node has no outputs. Its result is the file or files written to disk, which can later be loaded by a corresponding embed-loading node.
Usage Notes
- Connect the
EMBEDSoutput of your embedding generator directly toembeds. The socket only acceptsEMBEDS, so a raw image or conditioning output will not connect. - Saving is useful for caching expensive embed computations: generate once, save, then reload the file in later workflows instead of re-encoding.
- Give each project or subject its own
filename_prefixto keep the saved embeds easy to find; the automatic counter keeps versions from colliding. - The node runs as part of the normal queue execution, so the files appear after the prompt completes rather than when the graph is edited.
Comments
Sign in with GitHub to join the discussion.