[GH-ISSUE #2894] [Issue]: Game mode background generation fails with NovelAI #1475

Closed
opened 2026-10-21 05:36:11 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jun 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2894

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In game mode, background generation consistently fails with a plain 500 Internal Server Error when using NovelAI. Portrait generation still works, suggesting the issue is specific to background requests.

Expected behavior

Background generation in game mode should complete successfully with NovelAI, similar to portrait generation, even when prompts are reduced to a few tags.

Actual behavior

Background generation in game mode always fails with a plain 500 Internal Server Error, even after stripping the prompt down using prompt control options. Portraits continue to generate normally.

Steps to reproduce

  1. Use Marinara Engine version 2.0.5 on Windows 11 with the installer build.
  2. Set mode to Game and use NovelAI as the image provider.
  3. Attempt to generate a background in game mode, including with a reduced prompt via prompt control options.

Environment

  • Marinara Engine version: 2.0.5
  • Install type: installer
  • OS + version: Windows 11
  • Browser or app shell: LibreWolf

Logs, screenshots, or video

No logs, screenshots, or video provided. Reported error: plain 500 Internal Server Error.

Additional context

User reported that portrait generation works, while background generation fails specifically in game mode. The issue may be specific to the background request payload or generation path.

Discord thread: Game mode background generation fails with NovelAI
Thread link: https://discord.com/channels/1417099416812392641/1519420731098661037
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-06-24T19:15:31.766Z] TheMcD: OS: Win11 | Installation: Installer | Version: 2.0.5 | Mode: Game | Browser: LibreWolf
---
Whenever the Illustrator attempts to generate a background in game mode for me, it ends up failing with a plain 500 Internal Server Error. Even if I strip the prompt down to only a few tags or such with the prompt control option, it always fails. Portraits, on the other hand, do generate, so I feel like there is something specifically wrong with the background request here, but I couldn't tell what.
[Discord message: https://discord.com/channels/1417099416812392641/1519420731098661037/1519420731098661037]

[2026-06-28T09:24:20.397Z] Marinara: I'll look into it.
[Discord message: https://discord.com/channels/1417099416812392641/1519420731098661037/1520721504856309832]

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 (Jun 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2894 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In game mode, background generation consistently fails with a plain 500 Internal Server Error when using NovelAI. Portrait generation still works, suggesting the issue is specific to background requests. ## Expected behavior Background generation in game mode should complete successfully with NovelAI, similar to portrait generation, even when prompts are reduced to a few tags. ## Actual behavior Background generation in game mode always fails with a plain 500 Internal Server Error, even after stripping the prompt down using prompt control options. Portraits continue to generate normally. ## Steps to reproduce 1. Use Marinara Engine version 2.0.5 on Windows 11 with the installer build. 2. Set mode to Game and use NovelAI as the image provider. 3. Attempt to generate a background in game mode, including with a reduced prompt via prompt control options. ## Environment - Marinara Engine version: 2.0.5 - Install type: installer - OS + version: Windows 11 - Browser or app shell: LibreWolf ## Logs, screenshots, or video No logs, screenshots, or video provided. Reported error: plain 500 Internal Server Error. ## Additional context User reported that portrait generation works, while background generation fails specifically in game mode. The issue may be specific to the background request payload or generation path. Discord thread: Game mode background generation fails with NovelAI Thread link: https://discord.com/channels/1417099416812392641/1519420731098661037 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-06-24T19:15:31.766Z] TheMcD: OS: Win11 | Installation: Installer | Version: 2.0.5 | Mode: Game | Browser: LibreWolf --- Whenever the Illustrator attempts to generate a background in game mode for me, it ends up failing with a plain 500 Internal Server Error. Even if I strip the prompt down to only a few tags or such with the prompt control option, it always fails. Portraits, on the other hand, do generate, so I feel like there is something specifically wrong with the background request here, but I couldn't tell what. [Discord message: https://discord.com/channels/1417099416812392641/1519420731098661037/1519420731098661037] [2026-06-28T09:24:20.397Z] Marinara: I'll look into it. [Discord message: https://discord.com/channels/1417099416812392641/1519420731098661037/1520721504856309832] ``` </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:36:11 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jun 28, 2026):

Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with pnpm check. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.

<!-- gh-comment-id:4826061576 --> @SpicyMarinara commented on GitHub (Jun 28, 2026): Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with `pnpm check`. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.
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#1475
No description provided.