mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4337] [Issue]: Custom image agents cannot pass character references to ComfyUI #2350
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#2350
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 @SpicyMarinara on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4337
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Custom image generation agents do not expose the Illustrator agent's reference-image, appearance-description, or connection configuration. As a result, custom agents cannot pass character reference images to ComfyUI or reliably use character-specific workflows and LoRAs.
Expected behavior
Custom agents that generate images should expose the same reference-image and appearance-description toggles as the Illustrator agent. Users should also be able to select the appropriate image generation connection so each chat or character can use its required ComfyUI workflow, LoRAs, and style.
Actual behavior
The relevant configuration block is missing from custom image generation agents. Generated requests do not populate the ComfyUI node with base64-encoded character reference images, causing generic people to be generated instead of the intended character. Cloned Illustrator agents also lose the Image Generation Connection Override and fall back to the default image settings.
Steps to reproduce
Environment
Logs, screenshots, or video
The user reported a ComfyUI console error indicating a problem with the reference image; the exact error text was not provided. Custom-agent configuration screenshot: https://cdn.discordapp.com/attachments/1532424738306265321/1532471936628691125/image.png?ex=6a6da1f5&is=6a6c5075&hm=93366195309b4368537c3338aaf0b27af341ffb84c71bb8376d60050f4c2fd7a&. Correctly populated workflow using Illustrator: https://cdn.discordapp.com/attachments/1532424738306265321/1532639173830508706/Illustrator_agent.png?ex=6a6d94f6&is=6a6c4376&hm=375abc94140ce2cd3a1949f936ac2aa65a50cf0ea31163b76daa96463e0dd418&. Unpopulated reference node using a custom agent: https://cdn.discordapp.com/attachments/1532424738306265321/1532639471122649228/Custom_Agent.png?ex=6a6d953c&is=6a6c43bc&hm=fa4c902efc5bf4dda9782c8b9ecb555bdc834172292d11127bf69be906b7d5d0&.
Additional context
Users need separate ComfyUI connections for character-specific LoRAs and styles, such as cartoon and realistic workflows in different chats. Reconfiguring the single Illustrator agent affects other use cases. A maintainer indicated that custom image generation agents could receive the same reference and appearance toggles as Illustrator.
Discord thread: Hey everyone, looking for some help with image generation settings in Conversational mode.
Discord thread link: https://discord.com/channels/1417099416812392641/1532424738306265321
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (26 messages)
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 (Jul 31, 2026):
Implementation is in progress by @SpicyMarinara with Codex in draft PR #4340. This issue is part of the current focused staging sweep; existing code paths will be reused and kept narrow.