mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #922] [Feature]: Add ComfyUI workflow placeholder for uploaded reference images (vanilla LoadImage) #448
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#448
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Yasyasyasvil on GitHub (May 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/922
What problem does this solve?
ComfyUI image-generation connections support reference images via the
%reference_image%workflow placeholder, which inlines the image as a base64 string. Loading that base64 inside ComfyUI requires a non-standard custom node (e.g.ETN_LoadImageBase64from comfyui-tooling-nodes). Users running a vanilla ComfyUI install, or workflows authored around the built-inLoadImagenode, have no way to use a reference image today.LoadImageexpects a filename that exists in ComfyUI'sinput/directory, not raw base64. ComfyUI already exposes aPOST /upload/imageendpoint specifically for this purpose, but Marinara currently doesn't call it.Proposed solution
Add a second workflow placeholder,
%reference_image_name%, that:input/folder viaPOST /upload/image(multipart,overwrite=true, content-hashed filename for dedup).So a vanilla LoadImage node like:
…would Just Work, no custom decode node required.
Alternatives considered
Keeping only the
%reference_image%placeholder and adding a setting on the image generator connection that decides whether%reference_image%will use base64 or upload the image and use the file name.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (May 17, 2026):
Thank you for the PR, merged!