mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3554] [Issue]: Noodle image generation prompt may include full post content instead of image-only prompt #1924
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#1924
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 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3554
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When using Noodle Image Generation with a local ComfyUI connection, the Review Image Prompt screen can contain extraneous text instead of only the image prompt. The generated output suggests Marinara may not be extracting the image prompt correctly when the model returns the post and image prompt together rather than in separate JSON fields.
Expected behavior
Noodle should send only the image description prompt, plus relevant character appearance information, to the image generation connection. The model response should be parsed into separate fields so the image prompt does not include the full post or unrelated text.
Actual behavior
The Review Image Prompt screen showed a large amount of extraneous text. When generated without manual trimming, the output used the malformed prompt content. Marinara noted that the model appeared to return both the post and the image in one place instead of separate JSON fields, and that the image prompt was not being extracted.
Steps to reproduce
Environment
Logs, screenshots, or video
Discord attachments showing the Review Image Prompt and generated results: https://cdn.discordapp.com/attachments/1526139807556698182/1526139808152293519/image.png?ex=6a55eff4&is=6a549e74&hm=310ff3cc842c6d648dadd941eabb0f68e8e5a8a20c1bc8290903c9fa68445006& ; https://cdn.discordapp.com/attachments/1526139807556698182/1526147711060017192/image.png?ex=6a55f750&is=6a54a5d0&hm=7e3dc937a4d3755d302f6f941b669c3670ce3fd933800b49d5dfe9f797149b1a& ; https://cdn.discordapp.com/attachments/1526139807556698182/1526148978557718588/image.png?ex=6a55f87e&is=6a54a6fe&hm=89a8658b9440f0117edd602d29abb80df05b304969cf1fd78a7fdc2492aac15d& ; https://cdn.discordapp.com/attachments/1526139807556698182/1526149083725565962/image.png?ex=6a55f898&is=6a54a718&hm=f7b5b474862df6303ef950c4bc17f7ab914ec177a51921aa3aef3d151ba1ec1f&
Additional context
User tested the default Image Gen templates, then a cloned default with Z-Image Turbo Custom switched to Tags. Marinara suggested the model returned malformed format and that the prompt may need strengthening. Follow-up items mentioned: check whether Noodle respects Generation Settings, and ensure the model is instructed that the image prompt should only describe the image to generate, not the entire post.
Discord thread: Need help wrapping my head around how Marinara Engine structures image prompts
Discord thread link: https://discord.com/channels/1417099416812392641/1526139807556698182
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (13 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 13, 2026):
I’m addressing this in draft PR #3556 and will close the issue after the fix and regression coverage are verified.
@SpicyMarinara commented on GitHub (Jul 13, 2026):
Addressed in #3556. The default Noodle image path now sends only a normalized visual idea plus appearance, image direction, and selected style settings. It no longer forwards the full post or prompt-building meta-instructions, and legacy/JSON-wrapped image prompts are recovered safely.