[GH-ISSUE #7545] [Feature]: Video generation and settings improvements (tracking issue) #4199

Closed
opened 2026-10-21 06:12:21 +07:00 by bsakaguchi · 0 comments
Owner

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 staging once 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 staging with 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.

  • 1. ✅ Video Prompting Instructions on Video Generation connections, like Image Prompting Instructions on image connections. They guide the AI that writes video prompts. #7559 | #7553
  • 2. ✅ Inline videos: a generated video plays inline in Roleplay and Conversation, under the newest reply, instead of popping up in a floating window. Game Mode and the manual "Pin video to chat" option are unchanged. #7564 | #7565 (translations: #7566)
  • 3. ✅ Conversation video messages: a /video command 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)
  • 4. ✅ Character galleries: a Conversation video appears only in the galleries of the characters it involves, and in the persona's gallery only when it shows the persona. A first name counts when no one else in the chat shares it ("Lena" for "Dr. Lena Kowalski"), as long as it is capitalised ("hazel eyes" names no one), and names inside quoted speech don't count. Older, Roleplay and Game Mode videos keep appearing for everyone in their chat. Review fixes pushed 2026-10-16. #7693 | #7695 (translations: #7694)
  • 5. ✅ Images, videos or both for Attach Card Appearance and Send Avatar References: each is now a dropdown (Off, Images only, Videos only, Images and videos), and existing chats keep their picture settings with videos off. In Conversation, video messages get the appearance text of the characters they name, and yours when they name you (your persona, or a character you play as); a Prompt only clip starts from the avatar when avatar references include videos, and the First frame choice then says so. In Roleplay, a clip made from a Gallery picture gets the appearance text of the characters its direction names, the persona included. #7844 | #7845 (translations: #7846)
  • 6. 🔎 Generated Videos and the Video Run Interval (one PR; it was two, #7860 and #7863, both closed for the release). #7992 | #7993 (translations: #7994). Replaces #7859/#7860 and #7862/#7863 (closed; translations #7861, #7864).
    • Generated Videos: Conversation characters can send a video message on their own when it fits (a toggle, off by default). In Roleplay, an Illustrator makes setting chooses Pictures (the default), Pictures and clips (Illustrator may animate a picture it just made), or Clips only (every Illustrator picture becomes a short clip); without a working video connection, Illustrator makes pictures. Every Roleplay clip follows the chat's First frame setting, now shown in Roleplay too: a new Illustrator picture, the avatar or sprite, or no picture. With Clips only and the avatar or no picture, no picture is drawn at all. A clip without a picture describes everyone it names, you included (your persona, or a character you play as). Roleplay's Send Avatar References gets the Videos choice: a Prompt only clip then starts from the avatar, and First frame says so. Every clip follows the video connection's Video Prompting Instructions, including a JSON format they ask for. A Videos entry joins Selfies in the Conversation Commands lists (New Conversation and Chat Settings). A character's bare [video] reads the recent conversation, as /video does. 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 Run Interval, next to the existing interval (relabeled Image Run Interval, same behavior), so videos made on their own are spaced out. 0 means only when you ask. With Clips only, it paces Illustrator itself. Also Videos per reply (Settings, Generations, Video Generation; 1–10, default 3): in a group chat, where several characters answer in one reply, or when you ask for more than one video at once, each character can send one clip up to that many; it also caps the clips one Roleplay reply gets. Clips past it are skipped, and lowering it saves video requests. A character's [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).
    • Review fixes, in #7993: avatar first frame with short names (plus a regression), Stop reaching queued clips, [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.
    • Dottore Review (2026-10-22): six of its seven findings fixed in #7993 (a clip animated from a picture filed under the picture's cast, [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.

  • 7. 🔎 Roleplay videos: /video and the storyteller's [video] command (one PR; it was planned as two). #8000 | #8001 (translations: #8002). Depends on #7993.
    • Roleplay /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).
    • Roleplay [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.
  • 8. 🛠️ Video chance: a slider (0–100%, shown as AI decides at 0%) that nudges the AI toward clips. Higher values also turn that share of the pictures Illustrator makes on its own, or the selfies a Conversation character sends on its own, into clips. Anything the user explicitly asks for stays as asked ("send me a selfie" stays a selfie; /illustrate, /selfie, /video and 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)

  • Keep generating when the browser disconnects: a phone that locks or switches apps mid-clip cancels the request, and the finished render is thrown away. The clip should be saved and attached anyway. Its own bug issue.
  • Conversation [video] tags with technical prompts: the "sent a video message" note in the chat history shows the raw video prompt (for example integrated_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 from staging.
  • One picture per Roleplay reply: when the storyteller writes [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.
  • AI-made clips that are saved but can't be attached: handled in items 6 and 7; ticked once both merge. Illustrator's clips, the storyteller's [video] and a character's own [video] now count a saved clip as made, as the Gallery and /video paths do.
  • Group video requests: "group" is recognised by the selfie wording ("group selfie/photo/picture", "selfie … together"), so a "group video of you two" doesn't count as a group. The selfie first frame then shows only the sender, and item 4 files the clip only under the characters it names (a unique first name now counts, so naming both still files it under both). Fix: count "video" and "clip" there too (it touches the shared selfie rule). 🛠️ Fixed in #8010, with the history note.
  • Sentence-start names in video prompts: a capitalised word at the start of a sentence ("Will she dance?", "Rose petals fall.") still files a clip under a character named Will or Rose. Skipping sentence-initial words would miss most real mentions, so it is a known limit of item 4 for now.
  • Make missing media on request: when a picture or clip the chat would have shown isn't made, because generation failed (an error, a timeout, a provider that's down) or because a limit held it back (Videos per reply, the Video Run Interval, the Image Run Interval), the reply shows a button in its place. Pressing it makes that picture or clip on request and attaches it to the same reply, and the button goes away. It needs the skipped request (who, what, which message and swipe) saved on the message so the button survives a reload. Its own feature issue once item 6 merges.
  • Peek Prompt doesn't show the "sent a video message" note (selfie notes have the same gap); one shared fix in the dry-run prompt. 🛠️ Fixed in #8010: Peek Prompt and generation now add the notes through one shared helper.
  • Illustrator agent template (separate PR to Pasta-Devs/Marinara-Agents): teach the downloadable Illustrator's own prompt template about clips, so the model treats them as a first-class option instead of an appended note. It only works once the Engine side above has merged. Its README there still calls the image interval Run Interval and explains 0 the old way; update it to Image Run Interval and mention the Video Run Interval (item 6) in the same PR. The README part is Pasta-Devs/Marinara-Agents#1492 (closed with item 6's old PRs; asked to reopen it now that #7993 is up).
  • Appearance lines added despite the video instructions: (a) Roleplay Gallery Animate (added in item 5, now in 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.
  • Group video requests where only the last character's clip arrives: seen in a group Conversation while testing. Item 6 lets each character in one reply send a clip (Videos per reply, 3 by default), queued on the video connection; retest once item 6 is in. If a group turn sends each character as its own request, the Video Run Interval lets only one through, and a group turn should count as one reply.

Other fixes found while testing (separate issues, not video)

  • Scenes ignore the starred Roleplay profile, fail on loose JSON, and write the opening in the wrong voice: a Scene from a Conversation now starts from the starred Roleplay settings profile and plans its opening with that profile's writing rules; slightly broken planner JSON is repaired; the opening is written in the opening character's voice (or one narrating voice in a merged group scene), with the description as its own narrator message. #8006 | #8007 (translations: #8008)
  • Pictures and clips lost when a local LLM and ComfyUI share one GPU: opt-in MARINARA_SHARED_GPU_HOSTS makes 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)
  • A new chat's setup wizard can overwrite the starred settings profile: the wizard can open before the profile is applied, and finishing setup writes the blank chat's commands back over the profile's. Popped-out Chat Settings windows (such as Agents) can also cover the wizard. Fixed in #8012 (issue #8011).
  • Roleplay whispers to a persona with a surname are rejected: a [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 any key="…" and inner quotes, and hiding a tag the recovery used.
  • Deleting a clip leaves a broken player in the chat: deleting a scene video from the Gallery, a character's gallery or a persona's gallery removes its file and record, but not the inline attachment, so the message shows the browser's "No video with supported format and MIME type found." Fix: remove the clip from every message and swipe on delete (as picture deletion does) and show "This clip is no longer available" if one still fails to load. Open question for the maintainers: should deleting from a character or persona gallery delete the clip for everyone (current behavior) or only hide it there?
  • Slash commands don't accept an @ 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.
  • Slash commands pick the first partial name match: with Alice Smith and Bob Smith in a chat, /selfie Smith (and /emote and the others sharing the name lookup) silently picks Alice. /video already 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.
  • Conversation selfies from the Gallery's Selfie button or /selfie aren'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.
  • Those selfies ignore the conversation: the prompt writer is asked for a selfie "based on the current conversation context" but is sent no recent messages, so it draws a generic selfie. Send the recent conversation, as /video does.
  • /selfie with 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.
  • The Gallery's Illustrate button errors in Conversation: since 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

  • One large PR for everything. It would be much harder to review, and one problem would hold back every other part.
  • Reusing the image Run Interval for videos. Video requests are slower and cost more, so they need their own pace.
  • Global Video Generation Prompt Overrides instead of per-connection instructions. They apply to every video model, while each model wants its own prompting style.
  • A Video chance that only asks the model to aim for N% clips. Models don't follow numbers like that reliably, so Marinara rolls the chance itself and also tells the models the chat prefers clips.
  • A separate "Clips only" switch next to the Generated Videos toggle. Two switches that depend on each other are confusing; one Illustrator makes setting covers all three cases.

Additional context

  • Follows #7408 (closed).
  • Items 1–5 are merged, item 6 is #7993 and item 7 is #8001 (2026-10-21). Item 8 is done locally and opens after item 7. Each feature adds its own regression.
  • These are Engine-side changes (settings, storage, prompt assembly, UI). Nothing in the downloadable Illustrator agent package is changed; the template update is the follow-up above.
  • The PRs that change user docs under 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:

  • I DID NOT read this template and provide the requested details.
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 `staging` once 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 `staging` with 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. - [x] 1. ✅ **Video Prompting Instructions** on Video Generation connections, like Image Prompting Instructions on image connections. They guide the AI that writes video prompts. #7559 | #7553 - [x] 2. ✅ **Inline videos**: a generated video plays inline in Roleplay and Conversation, under the newest reply, instead of popping up in a floating window. Game Mode and the manual "Pin video to chat" option are unchanged. #7564 | #7565 (translations: #7566) - [x] 3. ✅ **Conversation video messages**: a `/video` command 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) - [x] 4. ✅ **Character galleries**: a Conversation video appears only in the galleries of the characters it involves, and in the persona's gallery only when it shows the persona. A first name counts when no one else in the chat shares it ("Lena" for "Dr. Lena Kowalski"), as long as it is capitalised ("hazel eyes" names no one), and names inside quoted speech don't count. Older, Roleplay and Game Mode videos keep appearing for everyone in their chat. Review fixes pushed 2026-10-16. #7693 | #7695 (translations: #7694) - [x] 5. ✅ **Images, videos or both** for **Attach Card Appearance** and **Send Avatar References**: each is now a dropdown (**Off**, **Images only**, **Videos only**, **Images and videos**), and existing chats keep their picture settings with videos off. In Conversation, video messages get the appearance text of the characters they name, and yours when they name you (your persona, or a character you play as); a **Prompt only** clip starts from the avatar when avatar references include videos, and the First frame choice then says so. In Roleplay, a clip made from a Gallery picture gets the appearance text of the characters its direction names, the persona included. #7844 | #7845 (translations: #7846) - [ ] 6. 🔎 **Generated Videos and the Video Run Interval** (one PR; it was two, #7860 and #7863, both closed for the release). #7992 | #7993 (translations: #7994). Replaces #7859/#7860 and #7862/#7863 (closed; translations #7861, #7864). - **Generated Videos**: Conversation characters can send a video message on their own when it fits (a toggle, off by default). In Roleplay, an **Illustrator makes** setting chooses **Pictures** (the default), **Pictures and clips** (Illustrator may animate a picture it just made), or **Clips only** (every Illustrator picture becomes a short clip); without a working video connection, Illustrator makes pictures. Every Roleplay clip follows the chat's **First frame** setting, now shown in Roleplay too: a new Illustrator picture, the avatar or sprite, or no picture. With **Clips only** and the avatar or no picture, no picture is drawn at all. A clip without a picture describes everyone it names, you included (your persona, or a character you play as). Roleplay's **Send Avatar References** gets the Videos choice: a **Prompt only** clip then starts from the avatar, and **First frame** says so. Every clip follows the video connection's **Video Prompting Instructions**, including a JSON format they ask for. A **Videos** entry joins **Selfies** in the Conversation Commands lists (New Conversation and Chat Settings). A character's bare `[video]` reads the recent conversation, as `/video` does. 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 Run Interval**, next to the existing interval (relabeled **Image Run Interval**, same behavior), so videos made on their own are spaced out. 0 means only when you ask. With **Clips only**, it paces Illustrator itself. Also **Videos per reply** (**Settings**, **Generations**, **Video Generation**; 1–10, default 3): in a group chat, where several characters answer in one reply, or when you ask for more than one video at once, each character can send one clip up to that many; it also caps the clips one Roleplay reply gets. Clips past it are skipped, and lowering it saves video requests. A character's `[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). - Review fixes, in #7993: avatar first frame with short names (plus a regression), **Stop** reaching queued clips, `[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. - Dottore Review (2026-10-22): six of its seven findings fixed in #7993 (a clip animated from a picture filed under the picture's cast, `[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. - [ ] 7. 🔎 **Roleplay videos**: `/video` and the storyteller's `[video]` command (one PR; it was planned as two). #8000 | #8001 (translations: #8002). Depends on #7993. - **Roleplay `/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). - **Roleplay `[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. - [ ] 8. 🛠️ **Video chance**: a slider (0–100%, shown as **AI decides** at 0%) that nudges the AI toward clips. Higher values also turn that share of the pictures Illustrator makes on its own, or the selfies a Conversation character sends on its own, into clips. Anything the user explicitly asks for stays as asked ("send me a selfie" stays a selfie; `/illustrate`, `/selfie`, `/video` and 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) - [ ] **Keep generating when the browser disconnects**: a phone that locks or switches apps mid-clip cancels the request, and the finished render is thrown away. The clip should be saved and attached anyway. Its own bug issue. - [ ] **Conversation `[video]` tags with technical prompts**: the "sent a video message" note in the chat history shows the raw video prompt (for example `integrated_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 from `staging`. - [ ] **One picture per Roleplay reply**: when the storyteller writes `[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. - [ ] **AI-made clips that are saved but can't be attached**: handled in items 6 and 7; ticked once both merge. Illustrator's clips, the storyteller's `[video]` and a character's own `[video]` now count a saved clip as made, as the Gallery and `/video` paths do. - [ ] **Group video requests**: "group" is recognised by the selfie wording ("group selfie/photo/picture", "selfie … together"), so a "group video of you two" doesn't count as a group. The selfie first frame then shows only the sender, and item 4 files the clip only under the characters it names (a unique first name now counts, so naming both still files it under both). Fix: count "video" and "clip" there too (it touches the shared selfie rule). 🛠️ Fixed in #8010, with the history note. - [ ] **Sentence-start names in video prompts**: a capitalised word at the start of a sentence ("Will she dance?", "Rose petals fall.") still files a clip under a character named Will or Rose. Skipping sentence-initial words would miss most real mentions, so it is a known limit of item 4 for now. - [ ] **Make missing media on request**: when a picture or clip the chat would have shown isn't made, because generation failed (an error, a timeout, a provider that's down) or because a limit held it back (**Videos per reply**, the **Video Run Interval**, the **Image Run Interval**), the reply shows a button in its place. Pressing it makes that picture or clip on request and attaches it to the same reply, and the button goes away. It needs the skipped request (who, what, which message and swipe) saved on the message so the button survives a reload. Its own feature issue once item 6 merges. - [ ] **Peek Prompt doesn't show the "sent a video message" note** (selfie notes have the same gap); one shared fix in the dry-run prompt. 🛠️ Fixed in #8010: Peek Prompt and generation now add the notes through one shared helper. - [ ] **Illustrator agent template** (separate PR to Pasta-Devs/Marinara-Agents): teach the downloadable Illustrator's own prompt template about clips, so the model treats them as a first-class option instead of an appended note. It only works once the Engine side above has merged. Its README there still calls the image interval **Run Interval** and explains 0 the old way; update it to **Image Run Interval** and mention the **Video Run Interval** (item 6) in the same PR. The README part is Pasta-Devs/Marinara-Agents#1492 (closed with item 6's old PRs; asked to reopen it now that #7993 is up). - [ ] **Appearance lines added despite the video instructions**: (a) Roleplay Gallery **Animate** (added in item 5, now in `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**. - [ ] **Group video requests where only the last character's clip arrives**: seen in a group Conversation while testing. Item 6 lets each character in one reply send a clip (**Videos per reply**, 3 by default), queued on the video connection; retest once item 6 is in. If a group turn sends each character as its own request, the **Video Run Interval** lets only one through, and a group turn should count as one reply. ### Other fixes found while testing (separate issues, not video) - [ ] **Scenes ignore the starred Roleplay profile, fail on loose JSON, and write the opening in the wrong voice**: a Scene from a Conversation now starts from the starred Roleplay settings profile and plans its opening with that profile's writing rules; slightly broken planner JSON is repaired; the opening is written in the opening character's voice (or one narrating voice in a merged group scene), with the description as its own narrator message. #8006 | #8007 (translations: #8008) - [ ] **Pictures and clips lost when a local LLM and ComfyUI share one GPU**: opt-in `MARINARA_SHARED_GPU_HOSTS` makes 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) - [ ] **A new chat's setup wizard can overwrite the starred settings profile**: the wizard can open before the profile is applied, and finishing setup writes the blank chat's commands back over the profile's. Popped-out Chat Settings windows (such as Agents) can also cover the wizard. Fixed in #8012 (issue #8011). - [ ] **Roleplay whispers to a persona with a surname are rejected**: a `[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 any `key="…"` and inner quotes, and hiding a tag the recovery used. - [ ] **Deleting a clip leaves a broken player in the chat**: deleting a scene video from the Gallery, a character's gallery or a persona's gallery removes its file and record, but not the inline attachment, so the message shows the browser's "No video with supported format and MIME type found." Fix: remove the clip from every message and swipe on delete (as picture deletion does) and show "This clip is no longer available" if one still fails to load. Open question for the maintainers: should deleting from a character or persona gallery delete the clip for everyone (current behavior) or only hide it there? - [ ] **Slash commands don't accept an `@` 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. - [ ] **Slash commands pick the first partial name match**: with Alice Smith and Bob Smith in a chat, `/selfie Smith` (and `/emote` and the others sharing the name lookup) silently picks Alice. `/video` already 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. - [ ] **Conversation selfies from the Gallery's Selfie button or `/selfie` aren'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. - [ ] **Those selfies ignore the conversation**: the prompt writer is asked for a selfie "based on the current conversation context" but is sent no recent messages, so it draws a generic selfie. Send the recent conversation, as `/video` does. - [ ] **`/selfie` with 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. - [ ] **The Gallery's Illustrate button errors in Conversation**: since `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 - **One large PR** for everything. It would be much harder to review, and one problem would hold back every other part. - **Reusing the image Run Interval for videos.** Video requests are slower and cost more, so they need their own pace. - **Global Video Generation Prompt Overrides instead of per-connection instructions.** They apply to every video model, while each model wants its own prompting style. - **A Video chance that only asks the model to aim for N% clips.** Models don't follow numbers like that reliably, so Marinara rolls the chance itself and also tells the models the chat prefers clips. - **A separate "Clips only" switch next to the Generated Videos toggle.** Two switches that depend on each other are confusing; one **Illustrator makes** setting covers all three cases. ## Additional context - Follows #7408 (closed). - Items 1–5 are merged, item 6 is #7993 and item 7 is #8001 (2026-10-21). Item 8 is done locally and opens after item 7. Each feature adds its own regression. - These are Engine-side changes (settings, storage, prompt assembly, UI). Nothing in the downloadable Illustrator agent package is changed; the template update is the follow-up above. - The PRs that change user docs under `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: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:12:21 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4199
No description provided.