mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #150] [Feature]: Inline Image Embedding #47
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#47
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 @willdel on GitHub (Apr 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/150
What problem does this solve?
Apologies if this feature is already available, I wasn't able to find it.
or the {{user}} and their party come across a horde of goblins
.
I would like to request the ability to embed inline images in the chat. For example, in SillyTavern, I was able to use the lorebook to trigger pre-made images (URL or local) that would show a specific illustration of the scene without having to use AI image generation. A good SFW example is if an NPC was at the beach and kisses {{user}}, a specific image showing the scene would show in the chat using
As best I can tell, right now users must manually switch backgrounds or rely on the sprite system, which is designed for character expressions, not scene‑specific illustrations. I also tried to use HTML which is hit or miss and regex edits are needed.
Proposed solution
Add a universal image‑embed syntax (e.g., [img: URL or local path] or
) that is parsed and displayed inline when a message is rendered. This could be used by both users and AI characters (if the model outputs the tag).
Secondary, but If possible, I would also like the ability to display webm files as well.
Alternatives considered
Using the Background agent with custom backgrounds: requires separate setup and doesn't allow inline images alongside text.
HTML agent injection: possible but hacky, requires technical knowledge and manual file‑path management.
Additional context
Some roleplayers prepare visual assets for key moments and want to share them seamlessly during the narrative. This would also allow characters to "show" things (like a drawn map, a photograph in‑story, etc.) without leaving the chat interface.
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 (Apr 20, 2026):
We already have that.