Premiere Image Import
Pull a Premiere still or graphic into ComfyUI — pixels and alpha together
- image
- mask
- payload_json
- asset_path
- summary_json
MKRPremiereImageImport is how stills and graphics get out of Premiere and into your graph. The Premiere UXP plugin sends a payload pointing at an image asset; this node finds the path, loads the pixels, and hands you an IMAGE, a MASK (the alpha channel), the resolved path, and the payload - all in one shot.
It's the same loader family as MKRPhotoshopImageImport, and it inherits the same genuinely useful behavior: RGBA files get their alpha channel returned as the MASK output. For Premiere that's perfect, because the things you roundtrip through a graphics lane - titles, lower thirds, logos, poster frames with transparency - are exactly the assets that carry alpha. You pull a graphic in, work on it in ComfyUI, and push it back out through the export lane without ever hand-extracting a cutout.
The inputs
- payload_json - the plugin payload, which must contain an image asset path somewhere (the loader looks for
path/asset_pathfields). No path found → a cleanValueErrorrather than a silent empty image. - preferred_slot (optional) - a hint when the payload could resolve to several assets.
The outputs
- image (IMAGE) - the loaded still.
- mask (MASK) - the alpha channel. Solid-opaque if the file has no alpha.
- payload_json - the normalized payload, so downstream nodes see the context.
- asset_path - the exact file that was loaded. Log it, or pass it to an output lane.
- summary_json - host, path, dimensions, candidate count, warnings.
Where this fits
Freeze-frame roundtrips (grab a frame, regenerate or inpaint it, send it back), graphics/lower-third look-dev, poster-art handoff - any "that thing in my sequence needs to be smarter" workflow. The pattern is: import the still, process, then let MKRPremiereExportPlan + MKRPremiereExportOutput push the result back into the same sequence.
Installing and gotchas
Pack install, the usual:
cd ComfyUI/custom_nodes
git clone https://github.com/criskb/MKRShift_Nodes
restart, or Manager → "MKRShift". No dependencies, no models.
Two things to keep in mind. First, this loads from a file the plugin wrote - if the plugin isn't running or the path is stale, you get FileNotFoundError, and that's the signal to check the plugin side, not the node. Second, the mask is the file's alpha channel. A Premiere "still" exported as a flattened frame has no transparency and gives you a solid mask - that's expected, not a bug. If you need a real alpha channel, make sure the asset was exported with it. And as ever with this bridge: the ComfyUI side reads files; the plugin is the part that knows about Premiere.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| payload_json | STRING | — | |
| preferred_slotopt | STRING | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| payload_json | STRING | — |
| asset_path | STRING | — |
| summary_json | STRING | — |