mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #900] [Feature]: Add Illustrator-style prompt drafting for automatic Game Mode images #438
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#438
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 @cha1latte on GitHub (May 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/900
What problem does this solve?
Automatic Game Mode image generation can produce prompts that are repetitive, irrelevant to the current scene, or built from setup text that does not belong in an image prompt. Manually exposing and editing prompts is a workaround, but it can spoil the scene, interrupt play flow, and may consume timeout time while the user edits.
Proposed solution
Add an optional Illustrator-style LLM prompt drafting step for automatic Game Mode images. Instead of only exposing or refining the current prompt, Marinara would ask an LLM to draft the image prompt from scratch using predefined image-prompt instructions plus recent scene context and, where appropriate, triggered lorebook/context data.
The option should be hands-off once enabled: automatic backgrounds/portraits would get a context-aware image prompt without requiring the player to review and rewrite it. It is acceptable for this to add an extra API call, so it should be opt-in.
The implementation should also consider positive/negative prompt separation, since the current combined output can produce poor image results for some generation backends.
Alternatives considered
Existing options include exposing image prompts before sending and using the prompt override path. Those help users inspect or manually alter prompts, but they do not solve the hands-off automatic prompt quality problem and can spoil current-scene information.
The manual Illustrator button can produce more scene-adherent prompts, but it is not the same as automatic Game Mode asset generation for backgrounds and portraits.
Additional context
Discord source: noodle clarified the request as "prompt designed from scratch by the LLM" in a similar way to the Illustrator agent, not merely a refinement pass over the current prompt. Other users reported that current Game Mode image prompts can be nearly identical across scenes, include irrelevant initial scenario text, hit token limits, lack useful scene detail, and lack positive/negative prompt separation.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 15, 2026):
Triage note: labeling this as \scope-risk\ because it is aligned with Game Mode image generation, but it adds an opt-in LLM call and touches the automatic image prompt pipeline, cost/latency behavior, and prompt structure.\n\nThe least risky next step is to define a first slice for one automatic asset type and decide how the drafted prompt, positive prompt, and negative prompt should be represented.
@SpicyMarinara commented on GitHub (May 17, 2026):
That's up to the models the users use.