[GH-ISSUE #4692] [Issue]: Illustrator unconditionally appends ILLUSTRATOR_TEXT_NEGATIVE_PROMPT with no user override — materially alters output on NovelAI #2569

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

Originally created by @jswen4-tech on GitHub (Aug 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4692

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The Illustrator unconditionally appends a hardcoded anti-text negative prompt
(ILLUSTRATOR_TEXT_NEGATIVE_PROMPT) to every non-comic illustration's negative
prompt, and there is no user-facing way to disable or override it. On
negative-sensitive providers — NovelAI Diffusion 4.5 in particular — these extra
tokens measurably change composition, style, and detail even though the image
contains no text, so they are not harmless defaults for tag-based/NovelAI
workflows.

Expected behavior

The negative prompt sent to the image provider should be the user/agent-authored
negative only — or there should be a setting to disable/override the
auto-appended illustrator negatives. When a user has set an explicit negative
prompt, it should be treated as authoritative.

Actual behavior

For a normal single-scene illustration, mergeIllustratorNegativePrompt()
always appends the full ILLUSTRATOR_TEXT_NEGATIVE_PROMPT block to the authored
negative, with no opt-out. The provider receives the authored list plus:

dialogue boxes, speech bubbles, word balloons, captions, narration boxes, text boxes, manga sound effect text, SFX lettering, readable text, letters, subtitles, watermark, logo, signature

On NovelAI these weighted negatives visibly shift the render despite there being
no text in the image.

Steps to reproduce

  1. Configure a NovelAI Diffusion 4.5 image connection.
  2. Set a custom Illustrator Prompt Template that emits a tag-based NovelAI prompt
    with a specific negativePrompt (e.g. a 17-token quality/artifact list).
  3. Generate an illustration.
  4. Inspect the negative sent to NovelAI: it is the authored list with the
    anti-text block appended.

Location in source

packages/server/dist/services/image/illustrator-references.js

export const ILLUSTRATOR_TEXT_NEGATIVE_PROMPT = "dialogue boxes, speech bubbles, word balloons, captions, narration boxes, text boxes, manga sound effect text, SFX lettering, readable text, letters, subtitles, watermark, logo, signature";

mergeIllustratorNegativePrompt() appends this on every illustration unless
illustratorPromptRequestsRenderedText(prompt) matches comic/manga cues, in
which case it falls back to the 3-token ILLUSTRATOR_NON_TEXT_ARTIFACT_NEGATIVE_PROMPT.
There is no path that omits the block for a plain illustration.

Setting ILLUSTRATOR_TEXT_NEGATIVE_PROMPT = "" in the compiled file removes the
appended tokens and produces the intended clean negative, confirming the source.
That edit reverts on every update, so it is not a real fix.

Suggested fix

Add a per-agent or per-connection option to disable or fully override the
auto-appended illustrator negatives. There is a natural precedent in this same
file: suppressesReferencePromptLine() already special-cases NovelAI (and local
Stable Diffusion) to omit the prose reference line, because those providers
handle references natively and the tokens only cost prompt budget. The same
reasoning applies to the anti-text negative — extending that NovelAI/tag-connection
special-casing to skip (or make optional) ILLUSTRATOR_TEXT_NEGATIVE_PROMPT
would be consistent with existing behavior. At minimum, when the user has set an
explicit negative prompt, treat it as authoritative and append nothing.

Impact area

  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • React-free engine behavior, contracts, agents, or capability ports

Environment

  • Version: v2.4.1
  • Run mode: Windows
  • Provider: NovelAI Diffusion 4.5 Full (nai-diffusion-4-5-full)
  • Custom Illustrator Prompt Template in use: yes (tag-based NovelAI prompt)
Originally created by @jswen4-tech on GitHub (Aug 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4692 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The Illustrator unconditionally appends a hardcoded anti-text negative prompt (`ILLUSTRATOR_TEXT_NEGATIVE_PROMPT`) to every non-comic illustration's negative prompt, and there is no user-facing way to disable or override it. On negative-sensitive providers — NovelAI Diffusion 4.5 in particular — these extra tokens measurably change composition, style, and detail even though the image contains no text, so they are not harmless defaults for tag-based/NovelAI workflows. ## Expected behavior The negative prompt sent to the image provider should be the user/agent-authored negative only — or there should be a setting to disable/override the auto-appended illustrator negatives. When a user has set an explicit negative prompt, it should be treated as authoritative. ## Actual behavior For a normal single-scene illustration, `mergeIllustratorNegativePrompt()` always appends the full `ILLUSTRATOR_TEXT_NEGATIVE_PROMPT` block to the authored negative, with no opt-out. The provider receives the authored list **plus**: `dialogue boxes, speech bubbles, word balloons, captions, narration boxes, text boxes, manga sound effect text, SFX lettering, readable text, letters, subtitles, watermark, logo, signature` On NovelAI these weighted negatives visibly shift the render despite there being no text in the image. ## Steps to reproduce 1. Configure a NovelAI Diffusion 4.5 image connection. 2. Set a custom Illustrator Prompt Template that emits a tag-based NovelAI prompt with a specific `negativePrompt` (e.g. a 17-token quality/artifact list). 3. Generate an illustration. 4. Inspect the negative sent to NovelAI: it is the authored list with the anti-text block appended. ## Location in source `packages/server/dist/services/image/illustrator-references.js` ```js export const ILLUSTRATOR_TEXT_NEGATIVE_PROMPT = "dialogue boxes, speech bubbles, word balloons, captions, narration boxes, text boxes, manga sound effect text, SFX lettering, readable text, letters, subtitles, watermark, logo, signature"; ``` `mergeIllustratorNegativePrompt()` appends this on every illustration unless `illustratorPromptRequestsRenderedText(prompt)` matches comic/manga cues, in which case it falls back to the 3-token `ILLUSTRATOR_NON_TEXT_ARTIFACT_NEGATIVE_PROMPT`. There is no path that omits the block for a plain illustration. Setting `ILLUSTRATOR_TEXT_NEGATIVE_PROMPT = ""` in the compiled file removes the appended tokens and produces the intended clean negative, confirming the source. That edit reverts on every update, so it is not a real fix. ## Suggested fix Add a per-agent or per-connection option to disable or fully override the auto-appended illustrator negatives. There is a natural precedent in this same file: `suppressesReferencePromptLine()` already special-cases NovelAI (and local Stable Diffusion) to omit the prose reference line, because those providers handle references natively and the tokens only cost prompt budget. The same reasoning applies to the anti-text negative — extending that NovelAI/tag-connection special-casing to skip (or make optional) `ILLUSTRATOR_TEXT_NEGATIVE_PROMPT` would be consistent with existing behavior. At minimum, when the user has set an explicit negative prompt, treat it as authoritative and append nothing. ## Impact area - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [x] React-free engine behavior, contracts, agents, or capability ports ## Environment - Version: v2.4.1 - Run mode: Windows - Provider: NovelAI Diffusion 4.5 Full (`nai-diffusion-4-5-full`) - Custom Illustrator Prompt Template in use: yes (tag-based NovelAI prompt)
bsakaguchi 2026-10-21 05:50:22 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 6, 2026):

Claimed by @SpicyMarinara. Implementation and validation are being tracked in draft PR #4697.

<!-- gh-comment-id:5209516773 --> @SpicyMarinara commented on GitHub (Aug 6, 2026): Claimed by @SpicyMarinara. Implementation and validation are being tracked in draft PR #4697.
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#2569
No description provided.