[GH-ISSUE #7408] [Feature]: Video Generation and Settings Improvements #4129

Closed
opened 2026-10-21 06:11:17 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @JamesMowery on GitHub (Oct 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7408

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Video generation is currently lacking in comparison to image generation. The following features would bring video generation more in line with image generation and make it a more useful part of Marinara Engine.

Proposed solution

  1. Ability to set "Video Prompting Instructions" just as you can set "Image Prompting Instructions" in the connection editor for videos. Some models, like Minimax H3, require fairly complex prompts in order to get things like audio and such working correctly. Being able to specify the instructions that the LLM would use to generate this prompt would be massively helpful.
  2. Make video "selfies" possible in "Convo" mode. You could add a "/video" or "/facetime" command, almost as if the character is sending you a quick video message. That would be fun. Then also add the "Video" button into the Gallery to generate a video there.
  3. Display video generations inline with chat messages across all modes. Videos currently pop up temporarily in roleplay mode as a floating window, but it would be nice to just have them inserted just as images instead of doing the popup.
  4. Allow more refined video width/height aspect ratios. Some video generation models prefer very specific resolutions, so giving us the ability to fully customize the aspect ratio and/or width/height would be great.
  5. Include the option to handle dedicated reference images for characters and/or First/Last starting images. (I actually have not yet investigated how reference images work in image/video generations for Marinara Engine, but in order to use reference images with something like Minimax H3, I think we need "Video Prompting Instructions" to make it work decently enough because of the strict requirements Minimax has in its prompting guide.)
  6. Have videos be (in)directly associated with the character cards and/or gallery. Exporting a character card with videos would probably be difficult, but having a way to indirectly associate videos with a character would probably be a requirement to make some of the aforementioned suggestions above be viable.
  7. Allow agents/illustrator/characters to trigger video generation (if we enable it). That way it can be just as immersive and automated as image generation, which is my favorite thing about Marinara Engine.
  8. Allow the ability to customize if avatar images and/or character descriptions are included in the video prompt.
  9. Allow ComfyUI (local) to be used in Video Calls with characters in convo mode.

Alternatives considered

I think the above suggestions would be the only way forward to get video in a good spot.

I know the "prompt overrides" exist in the "Generations" section of settings, but if you switch video models (a video model for realism vs anime style), it becomes really difficult. The prompting instructions should be associated with the video model connection (because of how particular video models are), not a global setting that is inflexible (could also argue the same for various image models too).

Additional context

N/A

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 11, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7408 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? <!-- Describe the pain point or gap this feature would address --> Video generation is currently lacking in comparison to image generation. The following features would bring video generation more in line with image generation and make it a more useful part of Marinara Engine. ## Proposed solution 1. Ability to set "Video Prompting Instructions" just as you can set "Image Prompting Instructions" in the connection editor for videos. Some models, like Minimax H3, require fairly complex prompts in order to get things like audio and such working correctly. Being able to specify the instructions that the LLM would use to generate this prompt would be massively helpful. 2. Make video "selfies" possible in "Convo" mode. You could add a "/video" or "/facetime" command, almost as if the character is sending you a quick video message. That would be fun. Then also add the "Video" button into the Gallery to generate a video there. 3. Display video generations inline with chat messages across all modes. Videos currently pop up temporarily in roleplay mode as a floating window, but it would be nice to just have them inserted just as images instead of doing the popup. 4. Allow more refined video width/height aspect ratios. Some video generation models prefer very specific resolutions, so giving us the ability to fully customize the aspect ratio and/or width/height would be great. 5. Include the option to handle dedicated reference images for characters and/or First/Last starting images. (I actually have not yet investigated how reference images work in image/video generations for Marinara Engine, but in order to use reference images with something like Minimax H3, I think we need "Video Prompting Instructions" to make it work decently enough because of the strict requirements Minimax has in its prompting guide.) 6. Have videos be (in)directly associated with the character cards and/or gallery. Exporting a character card with videos would probably be difficult, but having a way to indirectly associate videos with a character would probably be a requirement to make some of the aforementioned suggestions above be viable. 7. Allow agents/illustrator/characters to trigger video generation (if we enable it). That way it can be just as immersive and automated as image generation, which is my favorite thing about Marinara Engine. 8. Allow the ability to customize if avatar images and/or character descriptions are included in the video prompt. 9. Allow ComfyUI (local) to be used in Video Calls with characters in convo mode. ## Alternatives considered I think the above suggestions would be the only way forward to get video in a good spot. I know the "prompt overrides" exist in the "Generations" section of settings, but if you switch video models (a video model for realism vs anime style), it becomes really difficult. The prompting instructions should be associated with the video model connection (because of how particular video models are), not a global setting that is inflexible (could also argue the same for various image models too). ## Additional context N/A ## 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:11:17 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 11, 2026):

Hey, @thetopham is handling all the video-generating content, but he's busy IRL right now. Unfortunately, the rest of us don't really dabble in video generation, so we are not the best fit to introduce those as of now. These are all good suggestions, so feel free to PR them, though!

<!-- gh-comment-id:6106938979 --> @SpicyMarinara commented on GitHub (Oct 11, 2026): Hey, @thetopham is handling all the video-generating content, but he's busy IRL right now. Unfortunately, the rest of us don't really dabble in video generation, so we are not the best fit to introduce those as of now. These are all good suggestions, so feel free to PR them, though!
Author
Owner

@JamesMowery commented on GitHub (Oct 12, 2026):

@SpicyMarinara I decided to take a crack at this with Opus 5.5.

I'm currently in the process of testing, but it's looking very promising for a first pass and ~3 hours of work.

Video Prompt Instructions & Resulting Prompt

Image Image

Inline Video Display

Image Image Image

Autonomy & Additional Instructions for Video Generation

Image Image Image Image Image Image

Generated video output, if useful

https://github.com/user-attachments/assets/d4e8d5ca-dfe2-4476-b05f-2ceeed3c7028

https://github.com/user-attachments/assets/d295d00b-05e6-450f-b23f-ffc0751a3300

https://github.com/user-attachments/assets/8b7588aa-c285-4cb5-85f9-296303aa0a88

https://github.com/user-attachments/assets/8e5884ba-fda7-4805-986f-9c73ca9cbeba

(Side note: Videos were generated on CPU only with Minimax H3 Fast in around 2.5 - 3 minutes w/ 64 GB DDR6 RAM (could also get this to ~32 GB of RAM locally as well, I would imagine). I also generate images in around 30 seconds on CPU only. All run through llama-swap to trigger this locally on ComfyUI on the same machine as the LLMs.)


Question for you @SpicyMarinara is how would you like me to submit these?

Seven features are built, each on its own feature branch. They stack in this order, so a later branch includes the earlier enhancements (since they all build upon each other). I also asked claude to follow CONTRIBUTING.md:

  1. feat/video-prompting-instructions: Video Prompting Instructions
  2. feat/inline-chat-videos: inline videos
  3. feat/convo-video-command: /video in Conversation
  4. feat/convo-video-character-galleries: character-specific video galleries
  5. feat/media-reference-scope: separate image and video settings, additional video generation settings
  6. feat/agent-generated-videos: Agents can generate videos
  7. feat/illustrator-video-run-interval: Add Video Run Interval setting

Should I submit one at a time (for easier review in the order above) and wait for merging for that feature, and then after that feature is merged, submit the next PR?

Should I submit all feature requests at the same time in different PRs (and make explicit note of the ordering)?

Should I submit all of them combined into one larger PR?

Also, should we re-open this issue (and I can better organize this issue to align with what I will be submitting)? Or should I create a new issue per PR?

I'm going to do some further testing on my own over the two or so days to make sure everything is working well and to test out every possible option, and do any fixes that need fixing. But just want to put this out here just to be prepared if you would want to accept these when they are ready to go.

<!-- gh-comment-id:6130959854 --> @JamesMowery commented on GitHub (Oct 12, 2026): @SpicyMarinara I decided to take a crack at this with Opus 5.5. I'm currently in the process of testing, but it's looking very promising for a first pass and ~3 hours of work. ### Video Prompt Instructions & Resulting Prompt <img width="2454" height="1295" alt="Image" src="https://github.com/user-attachments/assets/380f261a-7c57-4057-aa76-1fd4723b2a37" /> <img width="2454" height="1295" alt="Image" src="https://github.com/user-attachments/assets/b443e307-e060-4b33-a331-8544766cb558" /> ### Inline Video Display <img width="2454" height="1295" alt="Image" src="https://github.com/user-attachments/assets/11efed1d-b051-4e3e-81c7-fc7d92cf0f29" /> ### Character Gallery Integration <img width="2454" height="1295" alt="Image" src="https://github.com/user-attachments/assets/378b7462-08ea-43d9-80b0-e70d10040963" /> <img width="2454" height="1295" alt="Image" src="https://github.com/user-attachments/assets/f6b54afa-24b6-47e0-9798-42af78c3a57f" /> ### Autonomy & Additional Instructions for Video Generation <img width="2454" height="1295" alt="Image" src="https://github.com/user-attachments/assets/4694ff47-8b42-4372-a671-4f2a5129befc" /> <img width="2454" height="1295" alt="Image" src="https://github.com/user-attachments/assets/78adc68b-4f42-46d9-9444-9e04853a7005" /> <img width="2454" height="1295" alt="Image" src="https://github.com/user-attachments/assets/675d4e01-fc0d-4847-95e7-e2ed0a31f37d" /> <img width="2464" height="1296" alt="Image" src="https://github.com/user-attachments/assets/a0a40630-113d-47e6-8ae1-3acf17bc9cfb" /> ### Manually invoking "/video" command (also shows as "Generating" in the gallery <img width="2454" height="1295" alt="Image" src="https://github.com/user-attachments/assets/58e05a1a-ee44-4a73-baaf-b13937a0b2b4" /> <img width="2454" height="1295" alt="Image" src="https://github.com/user-attachments/assets/81cac976-4c76-4194-af78-ac7eee4d32eb" /> ### Generated video output, if useful https://github.com/user-attachments/assets/d4e8d5ca-dfe2-4476-b05f-2ceeed3c7028 https://github.com/user-attachments/assets/d295d00b-05e6-450f-b23f-ffc0751a3300 https://github.com/user-attachments/assets/8b7588aa-c285-4cb5-85f9-296303aa0a88 https://github.com/user-attachments/assets/8e5884ba-fda7-4805-986f-9c73ca9cbeba (Side note: Videos were generated on CPU only with Minimax H3 Fast in around 2.5 - 3 minutes w/ 64 GB DDR6 RAM (could also get this to ~32 GB of RAM locally as well, I would imagine). I also generate images in around 30 seconds on CPU only. All run through llama-swap to trigger this locally on ComfyUI on the same machine as the LLMs.) --- Question for you @SpicyMarinara is how would you like me to submit these? Seven features are built, each on its own feature branch. They stack in this order, so a later branch includes the earlier enhancements (since they all build upon each other). I also asked claude to follow CONTRIBUTING.md: 1. feat/video-prompting-instructions: Video Prompting Instructions 2. feat/inline-chat-videos: inline videos 3. feat/convo-video-command: /video in Conversation 4. feat/convo-video-character-galleries: character-specific video galleries 5. feat/media-reference-scope: separate image and video settings, additional video generation settings 6. feat/agent-generated-videos: Agents can generate videos 7. feat/illustrator-video-run-interval: Add Video Run Interval setting Should I submit one at a time (for easier review in the order above) and wait for merging for that feature, and then after that feature is merged, submit the next PR? Should I submit all feature requests at the same time in different PRs (and make explicit note of the ordering)? Should I submit all of them combined into one larger PR? Also, should we re-open this issue (and I can better organize this issue to align with what I will be submitting)? Or should I create a new issue per PR? I'm going to do some further testing on my own over the two or so days to make sure everything is working well and to test out every possible option, and do any fixes that need fixing. But just want to put this out here just to be prepared if you would want to accept these when they are ready to go.
Author
Owner

@JamesMowery commented on GitHub (Oct 13, 2026):

@SpicyMarinara Any feedback on the above? If not, I'll just assume one at a time and one issue per PR and submit them that way. Any response is appreciated, however.

<!-- gh-comment-id:6149187134 --> @JamesMowery commented on GitHub (Oct 13, 2026): @SpicyMarinara Any feedback on the above? If not, I'll just assume one at a time and one issue per PR and submit them that way. Any response is appreciated, however.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 13, 2026):

@JamesMowery Hey, these look wonderful! Thank you so much! You are welcome to PR to Agents, and we'll review the code. :)

<!-- gh-comment-id:6149716230 --> @SpicyMarinara commented on GitHub (Oct 13, 2026): @JamesMowery Hey, these look wonderful! Thank you so much! You are welcome to PR to Agents, and we'll review the code. :)
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#4129
No description provided.