mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7545] [Feature]: Video generation and settings improvements (tracking issue) #4199
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#4199
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 @JamesMowery on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7545
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Image generation in Marinara Engine is well integrated: per-connection prompting instructions, images that appear inline in messages, Conversation selfies, per-character galleries, appearance and avatar references, agents that generate on their own, and a run interval. Video generation has almost none of this. Generated videos only open in a floating window, Conversation mode can't make videos at all, and there is no way to tell the AI that writes video prompts what a particular video model expects. In Roleplay, the storyteller can ask for a picture with
[illustrate]but has no way to ask for a clip, Illustrator can't make clips instead of pictures, and there is no way to say how often visuals should be clips rather than pictures.This continues #7408, which I closed so the work could be split into small PRs that are each reviewable and working on their own.
Proposed solution
Focused PRs, all targeting
staging, submitted one at a time. Each one works without the ones after it.Status: ✅ merged · 🔎 in review · ⏸️ closed for a release, coming back after it · 🛠️ done locally, PR after the previous one merges
Update 2026-10-20: the maintainer closed #7860 and #7863 so they wouldn't hold up the release being cut now, and asked that they come back together. They are now item 6, one PR against
stagingonce the new version is out, with all of the review notes fixed (listed under it). The two Roleplay video features are likewise one PR, item 7, and Video chance is now item 8. The list was renumbered to match.Update 2026-10-21: 2.5.1 is out, and item 6 is back as one PR, #7993 (issue #7992, translations #7994), on the current
stagingwith every review note fixed. Item 7 is open as #8001 on top of it (issue #8000, translations #8002), with the same review notes applied to its own clips. Both are ready for review. Dottore Review's first runs on them stopped on the reviewer's side (a model timeout, an upstream error), so a re-run was asked for; #7993's came back and is answered./videocommand and a Gallery Video button in Conversation, with a First frame choice for what the clip starts from (a new selfie, the avatar or sprite, a selfie with the avatar as fallback, or no picture). Without its own context, the clip shows the latest moment of the conversation, reading as many recent messages as Illustrator does for a picture. The first frame is checked before any paid call, a selfie first frame is reviewed with the clip, and WebP/AVIF pictures are converted. Also adds the shared video-making code the later items build on. #7649 | #7651 (translations: #7650)[video]reads the recent conversation, as/videodoes. A clip that names the persona is listed in the persona's gallery. A saved clip always counts as made, even when adding it to the reply fails. Re-running Illustrator on a reply (its Illustrate button) follows Illustrator makes and First frame too. The Avatar first frame finds the avatar from a short name ("Lena" for "Dr. Lena Kowalski"), and pressing Stop cancels clips that haven't finished.[video: …]description of any length is read; a very long one is shortened by the Prompt Model before the clip is written. The interval counts over the whole chat, even when a short context window hides the last clip, and starts counting when a clip starts rather than minutes later when it finishes, so replies that arrive while a clip is still being made can't start another; a clip that fails gives the interval back. The storyteller's[illustrate]clips follow the interval and Videos per reply like Illustrator's own (the model writes those tags itself); a clip held back shows its picture instead. Never limits what you ask for (/video, the Gallery, a message's Illustrate button).[illustrate]clips paced by the interval and capped per reply, the Image Run Interval box's own label so the existing Illustrator cadence UI test finds it (it passes in all three browser projects), a refused clip that can't slip through on a write error, and the docs pointing to the Illustrator card's Open Setup screen.[video]offered only with a video connection, a failed Conversation clip giving back its slot, a safe settings read on re-runs, only a requested JSON shape used as a prompt, a docs label), one declined with the reason in its thread; #8001 carries them.Bonus items (outside of the original scope, but should be very fun/useful):
Item 7 builds on item 6, and item 8 builds on item 7.
/videoand the storyteller's[video]command (one PR; it was planned as two). #8000 | #8001 (translations: #8002). Depends on #7993./video:/video [description]and the Gallery's Video button make a clip of the latest reply (or of the description) under the newest reply, following First frame. The AI writing the clip reads as many recent messages as Illustrator does, so it shows what is happening now; animating a specific picture reads the messages up to that picture. With no picture to start from, it needs no illustration first: a separate Roleplay Clip Director prompt (editable under Video Generation Prompt Overrides) describes the scene itself for text-to-video. Its Avatar first frame finds the avatar from a short name too ("Lena" for "Dr. Lena Kowalski"). These clips are listed in the persona's gallery too. Behavior change: the Gallery's Video button in Roleplay no longer animates the newest picture (Animate illustration on a picture still does).[video]command: a Video clips Roleplay Command (off by default) lets the storyteller ask for a short clip of a key moment, preferred over[illustrate]when the moment is about motion (action, violence, a chase, dancing, something breaking). A storyteller's[illustrate]can also become a clip with Pictures and clips. Its clips follow the Video Run Interval and Videos per reply, Stop cancels them, and the next message can start while one renders./illustrate,/selfie,/videoand the Gallery never use the chance), and a selfie inside the Video Run Interval stays a selfie.I'll link each PR here as it opens.
Planned follow-ups (video)
[video]tags with technical prompts: the "sent a video message" note in the chat history shows the raw video prompt (for exampleintegrated_multimodal_description: [Shot 1] …), so characters copy that style into their own[video: …]; the brackets inside then break the tag, which shows as text and makes no clip. Fix: a plain-language history note, a bracket-tolerant[video]reader, and hiding any unreadable tag. 🛠️ Fixed: the tag reader in item 6 (#7993; brackets inside a tag are fine, and a tag that never closes is hidden to the end of its line), and the plain history note in #8010 (issue #8009), a small separate PR fromstaging.[illustrate]or[video]on the same reply where Illustrator's automatic run comes due, both make a picture. The storyteller's request should win and count as Illustrator's run. Existing behavior, so its own bug issue.[video]and a character's own[video]now count a saved clip as made, as the Gallery and/videopaths do.staging) appends the appearance lines without checking the connection's Video Prompting Instructions (gallery.routes.ts), unlike Conversation and Illustrator clips. (b) Instructions count as handling appearance only when they contain the word "appearance", so other wording, or "don't include appearance", isn't understood. Fix: the same check in Animate, and a way for the instructions to turn appearance off. 🛠️ (a) is fixed in item 7 (#8001), which rewrote that code; (b) is still open. Workaround meanwhile: set Attach Card Appearance to Images only.Other fixes found while testing (separate issues, not video)
MARINARA_SHARED_GPU_HOSTSmakes text and media requests to a shared GPU (llama-swap) take turns; also a ComfyUI video timeout behind a render gate, and an error for an empty selfie prompt. #8017 | #8018 (translations: #8019)[whisper]must name a participant's full name exactly, so "James" doesn't match a persona named "James Mowery" and the warning "An incomplete or invalid roleplay command was ignored" appears. Proposed: accept a unique first name, and record which command was rejected so the warning can be traced.[selfie: …]with quotes, line breaks or an unknown key is ignored in Conversation. A tag like[selfie: description="…"]isn't read and stays visible in the reply; when the user had asked for a selfie, the backup selfie recovery still makes one but leaves the raw tag showing. Fix: a bracket-aware selfie reader that accepts anykey="…"and inner quotes, and hiding a tag the recovery used.@before a character name:/video @Aster(and/selfie,/emote, …) look for a character literally named "@Aster". Small: strip a leading@in the shared name lookup./selfie Smith(and/emoteand the others sharing the name lookup) silently picks Alice./videoalready refuses an ambiguous name and asks for the full one (#7651); the fix is to make the shared lookup do the same for every command. Pairs with the@fix above./selfiearen't posted in the chat: they only go to the Gallery (one-on-one and group chats alike), while video messages join the newest reply. Post them in the chat the same way./videodoes./selfiewith no name picks the chat's first character, not whoever spoke last. Proposed: use the last character who wrote, and with no target, a selfie of the recent scene.7a53ec80b(2026-10-04, not from the video PRs) Conversation shows the Gallery actions, Illustrate included, whenever selfies are on. Illustrate runs the Illustrator agent, which a Conversation chat doesn't have active, so it fails. Decision for the maintainers: hide Illustrate in Conversation, or make it illustrate the conversation.Alternatives considered
Additional context
docs/will each get a[docs-i18n]follow-up issue.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: