[GH-ISSUE #493] [Issue]: Marinara-Agents image generation fails with NovelAI Diffusion v5 #248

Closed
opened 2026-10-20 17:25:46 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Aug 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/493

Originally assigned to: @SpicyMarinara on GitHub.

Summary

NovelAI Diffusion v5 generation fails in Marinara-Agents agents such as Noodle or Slurp, causing all generations to return HTTP 500 errors and fall back to nai-diffusion-4-5-full.

Expected behavior

Agents should support NovelAI Diffusion v5 and successfully generate images without triggering the fallback model.

Actual behavior

Image generation returns an HTTP 500 Internal Server Error, then the illustrator fallback retries with the nai-diffusion-4-5-full model.

Steps to reproduce

  1. Use a Marinara-Agents agent such as Noodle or Slurp.
  2. Attempt to generate an image using NovelAI Diffusion v5.
  3. Observe the HTTP 500 error and fallback to nai-diffusion-4-5-full.

Environment

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

Logs, screenshots, or video

{"level":40,"time":1787354844834,"pid":22468,"hostname":"Desktop-YLLI","err":{"type":"Error","message":"NovelAI image generation failed (500): {"statusCode":500,"message":"Internal Server Error"}\n","stack":"Error: NovelAI image generation failed (500): {"statusCode":500,"message":"Internal Server Error"}\n\n at R6e (file:///C:/Users/yllis/AppData/Local/Marinara-Engine/packages/server/data/capability-runtime-snapshots/slurp-1.0.14-e7a3a7dd-8aeb-45c1-b721-e0b62fd03c22/server.mjs:347:3284)\n at async HC (file:///C:/Users/yllis/AppData/Local/Marinara-........untime-snapshots/slurp-1.0.14-e7a3a7dd-8aeb-45c1-b721-e0b62fd03c22/server.mjs:442:38116)"},"msg":"[illustrator-fallback] Primary image generation failed; retrying with connection D8JFDKGBjW0H0wOu0rOIE (nai-diffusion-4-5-full)"}

Additional context

Marinara-Agents has its own copies of packages/server/src/services/image/image-generation.ts and packages/server/src/services/game/game-asset-generation.ts, so NovelAI Diffusion v5 fixes in Marinara-Engine may not have carried over. The reporter requested syncing or checking out these files from Marinara-Engine. Marinara stated that the generation routes are the same and that this behavior should not occur. Agent version and support diagnostics were not provided.

Discord thread: FR/'bug' - NAI-Diffusion v5 Support for Pasta-Devs/Marinara-Agents
Discord thread link: https://discord.com/channels/1417099416812392641/1540518739554996344
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (4 messages)
[2026-08-22T00:31:28.964Z] ylliselmanii: So, since Marinara Agents has its own copies of the files 
- packages/server/src/services/image/image-generation.ts 
and 
- packages/server/src/services/game/game-asset-generation.ts, 

the Fixes/Support for NovelAI Diffusion v5 did not carry over to something like Noodle or Slurp yet, causing all generations to throw Internal Server Error 500, and use the fallback model.

Uh, so I'm not fully sure on how it works between different repos, but my request would be for Marinara-Agents to 'checkout' these two files from Marinara-Engine, and commit them? Something like that?

> {"level":40,"time":1787354844834,"pid":22468,"hostname":"Desktop-YLLI","err":{"type":"Error","message":"NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n","stack":"Error: NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n\n    at R6e (file:///C:/Users/yllis/AppData/Local/Marinara-Engine/packages/server/data/capability-runtime-snapshots/slurp-1.0.14-e7a3a7dd-8aeb-45c1-b721-e0b62fd03c22/server.mjs:347:3284)\n    at async HC (file:///C:/Users/yllis/AppData/Local/Marinara-........untime-snapshots/slurp-1.0.14-e7a3a7dd-8aeb-45c1-b721-e0b62fd03c22/server.mjs:442:38116)"},"msg":"[illustrator-fallback] Primary image generation failed; retrying with connection D8JFDKGBjW0H0wOu0rOIE (nai-diffusion-4-5-full)"}
[Discord message: https://discord.com/channels/1417099416812392641/1540518739554996344/1540518739554996344]

[2026-08-22T00:31:29.571Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1540518739554996344/1540518742100942929]

[2026-08-22T06:25:27.550Z] Marinara: The generation routes are the same.
[Discord message: https://discord.com/channels/1417099416812392641/1540518739554996344/1540607820641075310]

[2026-08-22T06:26:24.529Z] Marinara: This shouldn’t be happening.
[Discord message: https://discord.com/channels/1417099416812392641/1540518739554996344/1540608059628457984]

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 (Aug 22, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/493 Originally assigned to: @SpicyMarinara on GitHub. ## Summary NovelAI Diffusion v5 generation fails in Marinara-Agents agents such as Noodle or Slurp, causing all generations to return HTTP 500 errors and fall back to nai-diffusion-4-5-full. ## Expected behavior Agents should support NovelAI Diffusion v5 and successfully generate images without triggering the fallback model. ## Actual behavior Image generation returns an HTTP 500 Internal Server Error, then the illustrator fallback retries with the nai-diffusion-4-5-full model. ## Steps to reproduce 1. Use a Marinara-Agents agent such as Noodle or Slurp. 2. Attempt to generate an image using NovelAI Diffusion v5. 3. Observe the HTTP 500 error and fallback to nai-diffusion-4-5-full. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Windows; version not provided - Browser or app shell: Not provided ## Logs, screenshots, or video {"level":40,"time":1787354844834,"pid":22468,"hostname":"Desktop-YLLI","err":{"type":"Error","message":"NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n","stack":"Error: NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n\n at R6e (file:///C:/Users/yllis/AppData/Local/Marinara-Engine/packages/server/data/capability-runtime-snapshots/slurp-1.0.14-e7a3a7dd-8aeb-45c1-b721-e0b62fd03c22/server.mjs:347:3284)\n at async HC (file:///C:/Users/yllis/AppData/Local/Marinara-........untime-snapshots/slurp-1.0.14-e7a3a7dd-8aeb-45c1-b721-e0b62fd03c22/server.mjs:442:38116)"},"msg":"[illustrator-fallback] Primary image generation failed; retrying with connection D8JFDKGBjW0H0wOu0rOIE (nai-diffusion-4-5-full)"} ## Additional context Marinara-Agents has its own copies of packages/server/src/services/image/image-generation.ts and packages/server/src/services/game/game-asset-generation.ts, so NovelAI Diffusion v5 fixes in Marinara-Engine may not have carried over. The reporter requested syncing or checking out these files from Marinara-Engine. Marinara stated that the generation routes are the same and that this behavior should not occur. Agent version and support diagnostics were not provided. Discord thread: FR/'bug' - NAI-Diffusion v5 Support for Pasta-Devs/Marinara-Agents Discord thread link: https://discord.com/channels/1417099416812392641/1540518739554996344 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (4 messages)</summary> ```text [2026-08-22T00:31:28.964Z] ylliselmanii: So, since Marinara Agents has its own copies of the files - packages/server/src/services/image/image-generation.ts and - packages/server/src/services/game/game-asset-generation.ts, the Fixes/Support for NovelAI Diffusion v5 did not carry over to something like Noodle or Slurp yet, causing all generations to throw Internal Server Error 500, and use the fallback model. Uh, so I'm not fully sure on how it works between different repos, but my request would be for Marinara-Agents to 'checkout' these two files from Marinara-Engine, and commit them? Something like that? > {"level":40,"time":1787354844834,"pid":22468,"hostname":"Desktop-YLLI","err":{"type":"Error","message":"NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n","stack":"Error: NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n\n at R6e (file:///C:/Users/yllis/AppData/Local/Marinara-Engine/packages/server/data/capability-runtime-snapshots/slurp-1.0.14-e7a3a7dd-8aeb-45c1-b721-e0b62fd03c22/server.mjs:347:3284)\n at async HC (file:///C:/Users/yllis/AppData/Local/Marinara-........untime-snapshots/slurp-1.0.14-e7a3a7dd-8aeb-45c1-b721-e0b62fd03c22/server.mjs:442:38116)"},"msg":"[illustrator-fallback] Primary image generation failed; retrying with connection D8JFDKGBjW0H0wOu0rOIE (nai-diffusion-4-5-full)"} [Discord message: https://discord.com/channels/1417099416812392641/1540518739554996344/1540518739554996344] [2026-08-22T00:31:29.571Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1540518739554996344/1540518742100942929] [2026-08-22T06:25:27.550Z] Marinara: The generation routes are the same. [Discord message: https://discord.com/channels/1417099416812392641/1540518739554996344/1540607820641075310] [2026-08-22T06:26:24.529Z] Marinara: This shouldn’t be happening. [Discord message: https://discord.com/channels/1417099416812392641/1540518739554996344/1540608059628457984] ``` </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-20 17:25:46 +07:00
  • closed this issue
  • added the
    bug
    label
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-Agents#248
No description provided.