mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5083] [Issue]: Style profile's "prompt grammar" setting is ignored for character avatars, portraits and sprites #2813
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#2813
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 @arough007 on GitHub (Aug 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5083
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Character avatars ignore a profile's "prompt grammar" setting and instead use a hidden, non-editable "base style" field to decide the output format — so a profile set to natural language still produces tag-style avatars, with no way to fix it from the UI.
Expected behavior
The prompt grammar I choose on a style profile should apply to every image type. A profile set to "natural language" should produce natural-language prompts for avatars, no matter which style profile it was cloned from.
Actual behavior
For avatars, portraits, and sprites, the prompt compiler forces tag-style output whenever the profile's base style is not "Z-Image Turbo Narrative". Every other base style — Anime, Danbooru, Realistic, Photorealistic, Cinematic, Digital Painting, Painterly, and Custom — gets converted to tags, even when the grammar is set to natural language.
Worse, the base style field that actually drives this decision is not exposed anywhere in the UI, and it is silently inherited when cloning a profile. So there is no way to fix the problem from the interface: the only setting the user can see and change ("prompt grammar") is dead for these three image types.
Steps to reproduce
Environment
Additional context
The prompt grammar setting works correctly for scene illustrations, backgrounds, and selfies — it's only the three character-reference types (avatar, portrait, sprite) that ignore it.
I think the problem is in the prompt compiler, where these three image types are forced into a compact tag-only mode based on the base style rather than the grammar setting.
github.com/Pasta-Devs/Marinara-Engine@266d3e1dfd/packages/shared/src/utils/image-prompt-compiler.ts (L238-L239)Choosing "Custom" as the base style does not avoid the problem — only the "Z-Image Turbo Narrative" base style escapes the forced conversion.
As a workaround, I'm cloning my style profile from the z-image one and edit it how I need it.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Aug 15, 2026):
I’m taking this one for the current assigned-issue sweep. I confirmed the compiler is overriding the selected prompt grammar for avatar, portrait, and sprite kinds; I’m preparing a focused fix plus prompt-regression coverage, with a draft PR against
staging.