[PR #3189] [MERGED] [codex] Add scene video generation workflow #5835

Closed
opened 2026-10-22 04:20:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3189
Author: @thetopham
Created: 7/3/2026
Status: ✅ Merged
Merged: 7/4/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/scene-video-generation-docs


📝 Commits (7)

  • 22bb11e Add scene video generation workflow
  • adc1036 Skip launcher updates on feature branches
  • 567f947 Revert Windows launcher branch update skip
  • 9a02d07 Refine scene video prompt templates
  • 6bd1a11 Add gallery copy prompt action
  • 3dabbcf Address scene video review feedback
  • 0de9be9 Merge branch 'staging' into codex/scene-video-generation-docs

📊 Changes

60 files changed (+3784 additions, -161 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 README.md (+3 -2)
📝 docs/CONFIGURATION.md (+3 -0)
📝 docs/GAME_MODE.md (+8 -0)
📝 docs/IMAGE_GENERATION.md (+4 -0)
📝 docs/ROLEPLAY.md (+6 -0)
➕ docs/SCENE_VIDEO_GENERATION.md (+110 -0)
📝 packages/client/src/components/agents/AgentEditor.tsx (+10 -3)
📝 packages/client/src/components/chat/ChatArea.tsx (+43 -0)
📝 packages/client/src/components/chat/ChatCommonOverlays.tsx (+9 -0)
📝 packages/client/src/components/chat/ChatGallery.tsx (+273 -14)
📝 packages/client/src/components/chat/ChatGalleryDrawer.tsx (+9 -0)
📝 packages/client/src/components/chat/ChatImageLightbox.tsx (+130 -1)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+8 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+83 -6)
📝 packages/client/src/components/chat/ImagePromptPanel.tsx (+35 -2)
📝 packages/client/src/components/chat/PinnedImageOverlay.tsx (+116 -34)
📝 packages/client/src/components/chat/SummaryPopover.tsx (+2 -1)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+492 -30)
📝 packages/client/src/components/game/GameSetupWizard.tsx (+31 -0)

...and 40 more files

📄 Description

Linked issue

Closes #3188

Why this change

  • Game and Roleplay galleries could generate still illustrations, but users could not animate those scene beats into short in-game clips.
  • Video providers need their own connection category, defaults, response parsing, storage, gallery display, and prompt-engineering surface instead of being hidden under image generation.
  • Users asked for manual Gallery video generation, per-image Animate controls, View Latest behavior, and prompt copy from image/video previews.

What changed

  • Added a first-class Video Generation provider category with Gemini Omni and xAI Imagine services.
  • Added video defaults, provider/model inference, connection import/export support, and default-for-scene-videos handling.
  • Added server-side scene-video generation, MP4 validation/storage, metadata persistence, and gallery routes.
  • Added Game Mode, Roleplay, and Visual Novel Gallery video actions, per-illustration Animate buttons, video gallery entries, fullscreen previews, prompt copy, View Latest, and draggable/resizable pinned videos.
  • Added editable game.narrationSummarizer and game.omniVideo prompt-template surfaces under Advanced Game Prompt Templates.
  • Added docs for scene-video setup, Gallery workflow, prompt templates, provider defaults, env vars, and troubleshooting.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Automated validation run: pnpm check passed locally after rerunning outside the sandbox. The first sandboxed attempt reached lint/server/shared work and failed only when the client build could not read the Vite config path due sandbox access restrictions.
  • Earlier targeted checks during implementation included client lint/build and focused lint for the lightbox prompt-copy fix.
  • Browser/manual verification still needs a human pass before marking this PR ready.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Screenshots or recordings still need to be attached after human browser verification.

Summary by CodeRabbit

  • New Features

    • Added scene video generation for Game Mode, Roleplay, and Visual Novel galleries.
    • Added a new video preview experience with copy, download, pin, resize, and “view latest” actions.
    • Added connection and setup options for choosing video-generation providers.
  • Bug Fixes

    • Improved prompt handling for scene videos and added fallback support for older prompt settings.
    • Updated media overlays and gallery behavior to handle both images and videos smoothly.
  • Documentation

    • Expanded setup and configuration docs for scene video workflows and provider options.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3189 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/3/2026 **Status:** ✅ Merged **Merged:** 7/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/scene-video-generation-docs` --- ### 📝 Commits (7) - [`22bb11e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/22bb11ef321978f12ce19c461d89166b92fe9062) Add scene video generation workflow - [`adc1036`](https://github.com/Pasta-Devs/Marinara-Engine/commit/adc10362cdec32d07246059dc95e06773969bd0c) Skip launcher updates on feature branches - [`567f947`](https://github.com/Pasta-Devs/Marinara-Engine/commit/567f947d7ae44834a089c8a72d5bde9e3ecb2155) Revert Windows launcher branch update skip - [`9a02d07`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9a02d0756e6b627f518a55003faee283544b5362) Refine scene video prompt templates - [`6bd1a11`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6bd1a11e9cc0ad2ffe6b5d17906666bb49f47085) Add gallery copy prompt action - [`3dabbcf`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3dabbcfdf786ed8f8be286c838fb13d96fabc96d) Address scene video review feedback - [`0de9be9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0de9be91e040b8a683a7d45c8aa3fe3fd561425f) Merge branch 'staging' into codex/scene-video-generation-docs ### 📊 Changes **60 files changed** (+3784 additions, -161 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `README.md` (+3 -2) 📝 `docs/CONFIGURATION.md` (+3 -0) 📝 `docs/GAME_MODE.md` (+8 -0) 📝 `docs/IMAGE_GENERATION.md` (+4 -0) 📝 `docs/ROLEPLAY.md` (+6 -0) ➕ `docs/SCENE_VIDEO_GENERATION.md` (+110 -0) 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+10 -3) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+43 -0) 📝 `packages/client/src/components/chat/ChatCommonOverlays.tsx` (+9 -0) 📝 `packages/client/src/components/chat/ChatGallery.tsx` (+273 -14) 📝 `packages/client/src/components/chat/ChatGalleryDrawer.tsx` (+9 -0) 📝 `packages/client/src/components/chat/ChatImageLightbox.tsx` (+130 -1) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+8 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+83 -6) 📝 `packages/client/src/components/chat/ImagePromptPanel.tsx` (+35 -2) 📝 `packages/client/src/components/chat/PinnedImageOverlay.tsx` (+116 -34) 📝 `packages/client/src/components/chat/SummaryPopover.tsx` (+2 -1) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+492 -30) 📝 `packages/client/src/components/game/GameSetupWizard.tsx` (+31 -0) _...and 40 more files_ </details> ### 📄 Description ## Linked issue Closes #3188 ## Why this change - Game and Roleplay galleries could generate still illustrations, but users could not animate those scene beats into short in-game clips. - Video providers need their own connection category, defaults, response parsing, storage, gallery display, and prompt-engineering surface instead of being hidden under image generation. - Users asked for manual Gallery video generation, per-image Animate controls, View Latest behavior, and prompt copy from image/video previews. ## What changed - Added a first-class **Video Generation** provider category with Gemini Omni and xAI Imagine services. - Added video defaults, provider/model inference, connection import/export support, and default-for-scene-videos handling. - Added server-side scene-video generation, MP4 validation/storage, metadata persistence, and gallery routes. - Added Game Mode, Roleplay, and Visual Novel Gallery video actions, per-illustration Animate buttons, video gallery entries, fullscreen previews, prompt copy, View Latest, and draggable/resizable pinned videos. - Added editable game.narrationSummarizer and game.omniVideo prompt-template surfaces under Advanced Game Prompt Templates. - Added docs for scene-video setup, Gallery workflow, prompt templates, provider defaults, env vars, and troubleshooting. ## Validation - [x] pnpm check passes locally - [ ] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed CONTRIBUTING.md ### Manual verification notes - Automated validation run: pnpm check passed locally after rerunning outside the sandbox. The first sandboxed attempt reached lint/server/shared work and failed only when the client build could not read the Vite config path due sandbox access restrictions. - Earlier targeted checks during implementation included client lint/build and focused lint for the lightbox prompt-copy fix. - Browser/manual verification still needs a human pass before marking this PR ready. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Screenshots or recordings still need to be attached after human browser verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added scene video generation for Game Mode, Roleplay, and Visual Novel galleries. * Added a new video preview experience with copy, download, pin, resize, and “view latest” actions. * Added connection and setup options for choosing video-generation providers. * **Bug Fixes** * Improved prompt handling for scene videos and added fallback support for older prompt settings. * Updated media overlays and gallery behavior to handle both images and videos smoothly. * **Documentation** * Expanded setup and configuration docs for scene video workflows and provider options. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:20:00 +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#5835
No description provided.