mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3867] [Issue]: Parts of negative prompt leak into the positive one in Z-Image Style #2090
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#2090
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 @JurijPietrowicz on GitHub (Jul 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3867
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Z-Image Turbo NPC portrait prompts can leak deterministic artifact-avoidance terms into the positive prompt. The compiler moves only the first item after a leading
Avoidinstruction into the negative prompt, leaving the remaining terms as positive instructions.Expected behavior
Every item in the deterministic avoid-list should remain negative, and none of those artifact terms should appear in the positive prompt.
Actual behavior
A prompt such as:
is split into fragments. Only
Avoid textis recognized as negative; terms such asletters,UI,watermarks,logos, andcollagecan be sent positively to the image provider.Steps to reproduce
letters,UI,watermarks,logos,speech bubbles,collage, ormultiple portraits.Environment
Logs, screenshots, or video
No logs or screenshots currently available.
Example observed positive output:
Additional context
The shared compiler intentionally limits inline negations such as
no makeup, holding flowersto the directly negated clause. The fix must preserve that behavior while correctly handling standalone generated avoid-lists.Related historical issue: #3054, which fixed the inverse negation bug.
The same parser pattern also affects generated character avatar prompts, where some leaked terms are not present in a separate hard-negative prompt.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@JurijPietrowicz commented on GitHub (Jul 20, 2026):
Claiming this issue for implementation on the staging lane. I will preserve the inline-negation behavior from #3054 while fixing standalone generated avoid-lists in the shared image prompt compiler.