[GH-ISSUE #3554] [Issue]: Noodle image generation prompt may include full post content instead of image-only prompt #1924

Closed
opened 2026-10-21 05:43:51 +07:00 by bsakaguchi · 2 comments
Owner

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

  1. Use Noodle Image Generation with a local ComfyUI image generation connection.
  2. Use Z-Image Turbo via ComfyUI.
  3. Add a single-line prompt prefix specifying cel-shaded anime in the illustrator connection.
  4. Open the Review Image Prompt screen.
  5. Observe that the prompt includes extraneous text beyond the intended image idea and character appearance.
  6. Click Generate without manually trimming the prompt.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

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)
[2026-07-13T08:14:44.428Z] chihuahuazero: I'm using the Image Generation as part of the new Noodle feature, and this is what the Review Image Prompt screen looks like. The only deviation from the default is a single line specifying cel-shaded anime in the prompt prefix in the illustrator connection.

I assume that text is what's being directly sent to my local ComfyUI connection, but it seems like a lot of extraneous text. Does the default Image Gen templates assume that I'm using an image gen connection with a prompt upsampler or another feature that processes the prompt I send the connection? If so, how can I edit my prompt templates to play nice with my local models? I want to make sure before I go wild on editing the default overrides.

For reference, I'm using Z-Image Turbo via ComfyUI.

P.S. I assume that for my local model's purpose, I should be sending only the part under "draft image idea" along with relevant character appearance information.

[attached image 1: https://cdn.discordapp.com/attachments/1526139807556698182/1526139808152293519/image.png?ex=6a55eff4&is=6a549e74&hm=310ff3cc842c6d648dadd941eabb0f68e8e5a8a20c1bc8290903c9fa68445006&]
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526139807556698182]

[2026-07-13T08:30:56.580Z] Marinara: Have you switched the style to tags?
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526143885057986580]

[2026-07-13T08:38:09.308Z] chihuahuazero: I'll try that with the next refresh. Will test it out with a cloned default.
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526145700050505728]

[2026-07-13T08:46:08.914Z] chihuahuazero: Tried it again, this time with a Z-Image Turbo Custom, but switched to Tags. Should I try the Anime style instead?

[attached image 1: https://cdn.discordapp.com/attachments/1526139807556698182/1526147711060017192/image.png?ex=6a55f750&is=6a54a5d0&hm=7e3dc937a4d3755d302f6f941b669c3670ce3fd933800b49d5dfe9f797149b1a&]
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526147711664001064]

[2026-07-13T08:48:46.945Z] Marinara: And if you generate?
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526148374494056529]

[2026-07-13T08:49:28.067Z] Marinara: Honestly it looks like the model returned malformed format, or maybe we’re extracting the image prompt from it correctly.
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526148546972090528]

[2026-07-13T08:51:11.042Z] chihuahuazero: For this specific one, I trimmed it down to the image idea and the character appearance. Earlier, when I clicked Generate without editing the prompt, it ended up like this:

[attached image 1: https://cdn.discordapp.com/attachments/1526139807556698182/1526148978557718588/image.png?ex=6a55f87e&is=6a54a6fe&hm=89a8658b9440f0117edd602d29abb80df05b304969cf1fd78a7fdc2492aac15d&]
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526148978880675921]

[2026-07-13T08:51:36.105Z] chihuahuazero: (no text content)

[attached image 1: https://cdn.discordapp.com/attachments/1526139807556698182/1526149083725565962/image.png?ex=6a55f898&is=6a54a718&hm=f7b5b474862df6303ef950c4bc17f7ab914ec177a51921aa3aef3d151ba1ec1f&]
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526149084002521118]

[2026-07-13T08:52:53.875Z] Marinara: Yeah, so we’re not extracting. But the model should not be returning this in that format in the first place.
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526149410193408062]

[2026-07-13T08:54:51.129Z] Marinara: Like it returned both the post and the image in one place instead of in separate JSON fields.
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526149901992333452]

[2026-07-13T08:55:06.217Z] Marinara: That might be on your model, I’m afraid.
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526149965276254388]

[2026-07-13T08:55:28.663Z] Marinara: I can try strengthening the prompt but that’s it.
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526150059421335643]

[2026-07-13T08:56:21.452Z] Marinara: So two things: check whether Noodle respects Generation Settings and ensure the model gets that in image prompt, it should only describe the image to generate and not the entire post.
[Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526150280834711603]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
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 1. Use Noodle Image Generation with a local ComfyUI image generation connection. 2. Use Z-Image Turbo via ComfyUI. 3. Add a single-line prompt prefix specifying cel-shaded anime in the illustrator connection. 4. Open the Review Image Prompt screen. 5. Observe that the prompt includes extraneous text beyond the intended image idea and character appearance. 6. Click Generate without manually trimming the prompt. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## 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) <details> <summary>Discord thread transcript (13 messages)</summary> ```text [2026-07-13T08:14:44.428Z] chihuahuazero: I'm using the Image Generation as part of the new Noodle feature, and this is what the Review Image Prompt screen looks like. The only deviation from the default is a single line specifying cel-shaded anime in the prompt prefix in the illustrator connection. I assume that text is what's being directly sent to my local ComfyUI connection, but it seems like a lot of extraneous text. Does the default Image Gen templates assume that I'm using an image gen connection with a prompt upsampler or another feature that processes the prompt I send the connection? If so, how can I edit my prompt templates to play nice with my local models? I want to make sure before I go wild on editing the default overrides. For reference, I'm using Z-Image Turbo via ComfyUI. P.S. I assume that for my local model's purpose, I should be sending only the part under "draft image idea" along with relevant character appearance information. [attached image 1: https://cdn.discordapp.com/attachments/1526139807556698182/1526139808152293519/image.png?ex=6a55eff4&is=6a549e74&hm=310ff3cc842c6d648dadd941eabb0f68e8e5a8a20c1bc8290903c9fa68445006&] [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526139807556698182] [2026-07-13T08:30:56.580Z] Marinara: Have you switched the style to tags? [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526143885057986580] [2026-07-13T08:38:09.308Z] chihuahuazero: I'll try that with the next refresh. Will test it out with a cloned default. [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526145700050505728] [2026-07-13T08:46:08.914Z] chihuahuazero: Tried it again, this time with a Z-Image Turbo Custom, but switched to Tags. Should I try the Anime style instead? [attached image 1: https://cdn.discordapp.com/attachments/1526139807556698182/1526147711060017192/image.png?ex=6a55f750&is=6a54a5d0&hm=7e3dc937a4d3755d302f6f941b669c3670ce3fd933800b49d5dfe9f797149b1a&] [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526147711664001064] [2026-07-13T08:48:46.945Z] Marinara: And if you generate? [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526148374494056529] [2026-07-13T08:49:28.067Z] Marinara: Honestly it looks like the model returned malformed format, or maybe we’re extracting the image prompt from it correctly. [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526148546972090528] [2026-07-13T08:51:11.042Z] chihuahuazero: For this specific one, I trimmed it down to the image idea and the character appearance. Earlier, when I clicked Generate without editing the prompt, it ended up like this: [attached image 1: https://cdn.discordapp.com/attachments/1526139807556698182/1526148978557718588/image.png?ex=6a55f87e&is=6a54a6fe&hm=89a8658b9440f0117edd602d29abb80df05b304969cf1fd78a7fdc2492aac15d&] [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526148978880675921] [2026-07-13T08:51:36.105Z] chihuahuazero: (no text content) [attached image 1: https://cdn.discordapp.com/attachments/1526139807556698182/1526149083725565962/image.png?ex=6a55f898&is=6a54a718&hm=f7b5b474862df6303ef950c4bc17f7ab914ec177a51921aa3aef3d151ba1ec1f&] [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526149084002521118] [2026-07-13T08:52:53.875Z] Marinara: Yeah, so we’re not extracting. But the model should not be returning this in that format in the first place. [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526149410193408062] [2026-07-13T08:54:51.129Z] Marinara: Like it returned both the post and the image in one place instead of in separate JSON fields. [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526149901992333452] [2026-07-13T08:55:06.217Z] Marinara: That might be on your model, I’m afraid. [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526149965276254388] [2026-07-13T08:55:28.663Z] Marinara: I can try strengthening the prompt but that’s it. [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526150059421335643] [2026-07-13T08:56:21.452Z] Marinara: So two things: check whether Noodle respects Generation Settings and ensure the model gets that in image prompt, it should only describe the image to generate and not the entire post. [Discord message: https://discord.com/channels/1417099416812392641/1526139807556698182/1526150280834711603] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:43:51 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@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.

<!-- gh-comment-id:4957236579 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:4957461396 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1924
No description provided.