mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #329] [Feature]: User editable image gen prompts #141
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#141
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 @RaynoldVanHeyningen on GitHub (Apr 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/329
What problem does this solve?
The image gen prompts in ME are hardcoded strings in route handlers and asset gen services. There is no way to tune them without forking the source.
For example the multi-cell sprite sheet prompt uses most of its budget to grid bookkeeping and uses a hardcoded "solid white studio background", obviously this is done for background removal, but also background removal can use some upgrades (which i'll open a issue for later). The 'solid .. ' line unfortunately steers many local models towards a more flat, low-contrast aesthetic.
The prompt has no field where users can inject style/quality keywords, the only thing the user can influence is the characters 'appearance' field, which is already crowded with physical keywords.
Proposed solution
A small server side 'prompt overrides' that allows users to supply templates that replace registered prompt builders, with default behaviour unchanges. Effectively exposing these prompts to the client.
Focused on all 8 flat image generation prompts:
Conditional logic stays in typescript.
No UI in this scope, the API is consumable from any client (curl, a script extension or potentially a future built-in editor)
Alternatives considered
Additional context
I aleady have a reference implementation on my fork, and a seperate branch for a userscript extension example (this one still requires some work).
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 (May 3, 2026):
Thank you for the PR, merging it!