mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4764] Noodle post images render in the wrong art style — no style-interpretation pass (Conversation selfies have one, Noodle doesn't) #2621
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#2621
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 @Gunterlie on GitHub (Aug 8, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4764
Originally assigned to: @Gunterlie on GitHub.
Root cause
The two pipelines infer image style completely differently:
packages/server/src/services/prompt-overrides/registry/conversation.ts:75) explicitly instructs: "Infer the appropriate art style from the character… anime/game characters should use anime/illustration style, realistic characters should use photorealistic style." The character's appearance/personality/image-instructions and the active Style Profile's guidance are fed to that LLM, so style is woven in organically. The subsequentcompileImagePromptcall setsomitProfileStyleText/omitProfileSubjectTags: trueto avoid duplicating it.draftPrompt;NOODLE_IMAGE_POST(packages/server/src/services/prompt-overrides/registry/noodle.ts) concatenates raw strings (draftPrompt+ appearance + personality + image instructions); that goes to the image model verbatim viacompileImagePrompt({ kind: "illustration" }). No art-style inference ever runs. OnbaseStyle: "auto"profiles the compiler contributes no style text either, so nothing pushes the image toward the character's art style.User impact
characterImageInstructionsare interpreted intelligently in selfies but dumped as trailing raw text in Noodle, where they compete weakly against the cleandraftPrompt.Fix (agreed direction)
Add a shared style-interpretation LLM pass at the Noodle image-service choke point (both
noodle-noodler-images.service.tsandnoodle-public-images.service.ts), right beforecompileImagePrompt— the structural mirror of the selfie pipeline. Both services already load the character context; running the pass downstream fixes every Noodle surface (public + NoodleR + generated-activity) at once, regardless of which upstream authored thedraftPrompt.resolveIllustratorPromptRuntime,resolveImageStyleGuidanceText+formatImageStylePromptGuidance, and the selfie'somitProfileStyleText/omitProfileSubjectTagscompile pattern.noodle.imageInterpretcarrying the art-style-inference instruction (ported fromconversation.ts:75), worded to defer to an explicitly specified style so it doesn't fight a non-auto profile.enableImageInterpretation, default on, with graceful fallback: if the pass errors/times out or the prompt connection can't resolve, compile the raw prompt as today so image generation never blocks.Manual verification
auto-profile character: selfie and Noodle post now match style (incl. a NoodleR post).