mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7860] [CLOSED] feat(video): Generated Videos for Conversation characters and the Roleplay Illustrator #7972
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#7972
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/7860
Author: @JamesMowery
Created: 10/19/2026
Status: ❌ Closed
Base:
staging← Head:feat/agent-generated-videos📝 Commits (10+)
1d59618feat(video): Generated Videos for Conversation characters and the Illustrator5bfdb3efeat(video): a Videos entry in the Conversation command listscd604e6fix(video): a character's [video] reads the recent conversationaf3a7c9fix(video): automatic clips that name the persona show in their gallery65ba5c5fix(video): review fixes for Generated Videos8c73227fix(video): keep showing pictures and tearing down after one step failsf6c834efix(video): automatic clips name a message only when they landed on it540a4aafix(video): no filler clip when Illustrator doesn't say how it moves5a3ad1afeat(video): the Roleplay Clip Director, for clips with no picture of their ownabe77cbfix(video): every Roleplay and Conversation clip follows Video Prompting Instructions📊 Changes
32 files changed (+2659 additions, -216 deletions)
View changed files
📝
docs/conversation/selfies.md(+1 -0)📝
docs/media/illustrator-agent.md(+16 -2)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+109 -10)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+16 -2)📝
packages/client/src/components/panels/SettingsPanel.tsx(+1 -0)📝
packages/client/src/hooks/use-generate.ts(+42 -0)📝
packages/client/src/localization/locales/en.json(+17 -0)📝
packages/server/src/routes/gallery.routes.ts(+8 -1)📝
packages/server/src/routes/generate.routes.ts(+298 -76)📝
packages/server/src/routes/generate/retry-agents-route.ts(+267 -95)📝
packages/server/src/services/agents/agent-executor.ts(+16 -0)📝
packages/server/src/services/conversation/character-commands.ts(+17 -0)📝
packages/server/src/services/generation/conversation-command-runtime.ts(+16 -0)📝
packages/server/src/services/generation/conversation-video-runtime.ts(+118 -5)📝
packages/server/src/services/generation/illustrator-manual-prompt-generation.ts(+12 -1)📝
packages/server/src/services/generation/image-prompt-instructions.ts(+62 -0)📝
packages/server/src/services/prompt-overrides/index.ts(+1 -0)📝
packages/server/src/services/prompt-overrides/registry.ts(+3 -1)📝
packages/server/src/services/prompt-overrides/registry/conversation.ts(+2 -1)📝
packages/server/src/services/prompt-overrides/registry/roleplay.ts(+35 -0)...and 12 more files
📄 Description
Linked issue
Closes #7859
Part of #7545 (item 6). @SpicyMarinara
Why this change
What changed
Nothing that worked before stops working: Generated Videos starts off, and Illustrator makes starts on Pictures, so existing chats behave as before.
Conversation
[video]command when it fits. The same switch appears as Videos in the Commands list of the new-chat setup and Chat Settings.[video]is written from the recent conversation, as/videois, so a clip you asked for shows what you asked for.Roleplay (Chat Settings, Agents, Illustrator)
Every clip
Code: the clip pieces shared by a fresh reply and a re-run (who a clip shows, its prompt, the clip offer to Illustrator) live in
services/video/roleplay-illustrator-clips.ts; the<optional_video>offer text is shared by the Illustrator agent and the Illustrate planner.Docs:
docs/conversation/selfies.mdanddocs/media/illustrator-agent.md.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated runs on
4c238350c(onstagingbe73c3122, Node 24.21.0):pnpm check: passes. Its one lint warning, inHomeProfessorMariChat.tsx, is not from this PR.pnpm localization:check: passes.agent-generated-videos: Conversation[video]on and off, the bare[video]reading the recent conversation, Pictures and clips and Clips only (picture first frame), a failed clip showing its picture, a saved-but-unattached clip counting as made, persona tagging, a character played as the user, and appearance built in when the instructions ask for it.roleplay-clip-first-frame: Clips only with Prompt only, Avatar and New picture; Send Avatar References for videos; the Clip Director and instruction-shaped answers; Clips only without a working video connection making pictures; and re-running Illustrator (Clips only makes a clip with no picture; Pictures and clips adds the clip the planner asked for, and none when it didn't).prompt(JSON directions shaped by the instructions),character-identity,capability-gm-verbs.pnpm regressionon4c238350c: 936/938 pass. The two failures,env-watcher("a created .env is picked up") andstorage-writer-lock("the watcher must exit because it lost the writer lease"), fail the same way onstagingbe73c3122on this machine; both depend on file watching and process timing, and this PR doesn't touch them.globals.cssalready sets everyselectto1remunder@media (pointer: coarse), "prevents iOS zoom on focus", and every select in the panel uses the same size).4c238350c: 6 comments, answered in each thread.6d565c466: the Avatar first frame no longer borrows another person's face when the first person named has no picture (roleplay-clip-first-framecovers it and fails without the fix); the Videos command entry uses catalog keys in Chat Settings and the new-chat setup;gallery.routes.tsuses the sharedbuildRoleplayVideoSettingLineinstead of its own copy.6d565c466:pnpm checkandpnpm localization:checkpass;roleplay-clip-first-frame,agent-generated-videos,media-reference-scope,convo-video-commandandpromptpass.pnpm smoke:uiandpnpm regression:ui.Manual verification notes
Limits arrive in PR 7, so test with one character or a cheap video model. In PR 6, Illustrator's Image Run Interval (5 by default) also paces Clips only; set it to 1 to run Illustrator on every reply.
/videostill works.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)English docs updated:
docs/conversation/selfies.md,docs/media/illustrator-agent.md. Translations: #7861UI evidence (if applicable)
Roleplay mode illustrator agent additions
"Pictures and Clips" illustrator setting demo
(Note: I did not have an I2V workflow activated here in ComfyUI, thus the visual difference between the image and video.)
"Clips Only" illustrator settings demo
Videos command toggle
Convo mode: requesting a clip with Videos toggle enabled
Convo mode: requesting a clip with Videos toggle disabled (reverts to image)
Summary by CodeRabbit
New Features
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.