mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4692] [Issue]: Illustrator unconditionally appends ILLUSTRATOR_TEXT_NEGATIVE_PROMPT with no user override — materially alters output on NovelAI #2569
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#2569
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 @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 negativeprompt, 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_PROMPTblock to the authorednegative, 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, signatureOn NovelAI these weighted negatives visibly shift the render despite there being
no text in the image.
Steps to reproduce
with a specific
negativePrompt(e.g. a 17-token quality/artifact list).anti-text block appended.
Location in source
packages/server/dist/services/image/illustrator-references.jsmergeIllustratorNegativePrompt()appends this on every illustration unlessillustratorPromptRequestsRenderedText(prompt)matches comic/manga cues, inwhich 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 theappended 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 localStable 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_PROMPTwould 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
Environment
nai-diffusion-4-5-full)@SpicyMarinara commented on GitHub (Aug 6, 2026):
Claimed by @SpicyMarinara. Implementation and validation are being tracked in draft PR #4697.