mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1976] [MERGED] feat(image): add image style profiles and prompt compiler #5368
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#5368
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1976
Author: @bignast
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/7/2026
Merged by: @SpicyMarinara
Base:
staging← Head:staging📝 Commits (6)
cdec650feat(image): add image style profiles and prompt compiler4ae2075feat(image): enhance image prompt compilation with style profiles and negative prompt handlingec6805efeat(image): implement token estimation and avoid instruction handling in prompt compilationfa0c1c2feat: enhance NPC and scene context handlingbc3175efeat(image): add title context to scene illustration prompts and enhance prompt cleaning6997275feat(image): enhance image style profile handling and prompt compilation📊 Changes
34 files changed (+3029 additions, -123 deletions)
View changed files
📝
README.md(+1 -0)➕
docs/IMAGE_GENERATION.md(+44 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+37 -0)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+51 -0)📝
packages/client/src/components/game/GameSurface.tsx(+30 -3)📝
packages/client/src/components/game/game-asset-generation-payload.ts(+10 -3)📝
packages/client/src/components/panels/SettingsPanel.tsx(+341 -2)📝
packages/client/src/components/ui/ImagePromptReviewModal.tsx(+20 -0)📝
packages/client/src/hooks/use-scene-analysis.ts(+4 -0)📝
packages/client/src/hooks/use-settings-sync.ts(+4 -1)📝
packages/client/src/stores/ui.store.ts(+21 -2)📝
packages/server/scripts/run-tests.mjs(+1 -0)📝
packages/server/src/routes/characters.routes.ts(+47 -7)📝
packages/server/src/routes/game.routes.ts(+182 -22)📝
packages/server/src/routes/generate.routes.ts(+91 -21)📝
packages/server/src/routes/generate/retry-agents-route.ts(+39 -22)📝
packages/server/src/routes/sidecar.routes.ts(+4 -0)📝
packages/server/src/routes/sprites.routes.ts(+94 -11)📝
packages/server/src/services/agents/agent-executor.ts(+27 -0)📝
packages/server/src/services/game/game-asset-generation.ts(+304 -25)...and 14 more files
📄 Description
Linked issue
Closes #1974
Why this change
See bug for details
What changed
Added additional logic to generate image prompts in fashions that are more friendly for various types of models.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Ran several different image generation flows. Note that I only have a SDXL lightning model currently, so additional testing with ZIT/Flux/etc models would be prudent.
Docs and release impact
UI evidence (if applicable)
Summary by CodeRabbit
Release Notes
New Features
Documentation
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.