[PR #3292] [MERGED] [codex] Storyboard prompt optimizations #5866

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

📋 Pull Request Information

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

Base: staging ← Head: storyboard-prompt-optimizations


📝 Commits (3)

  • 2802709 Storyboard prompt optimizations
  • 355ff70 Use gallery animate prompts for storyboard videos
  • 9f2535b Merge staging into storyboard prompt optimizations

📊 Changes

4 files changed (+89 additions, -32 deletions)

View changed files

📝 docs/SCENE_VIDEO_GENERATION.md (+8 -8)
📝 docs/STORYBOARD_ENGINE_GUIDE.md (+5 -5)
📝 packages/server/src/routes/game.routes.ts (+65 -9)
📝 packages/server/src/services/prompt-overrides/registry/game-assets.ts (+11 -10)

📄 Description

Linked issue

Closes #3294

Why this change

  • Comic-page storyboard prompts produce stronger automatic storyboard illustrations, especially with Google Nano Banana 2.
  • Google Omni animates those finished Gallery illustrations well through Animate illustration, so Automatic Storyboard Animations should use the same image-first flow by default.

What changed

  • Updated the Game Mode storyboard illustration director prompt to generate compact colored comic-page keyframes with panel flow, speech bubbles, captions, and SFX text plans.
  • Updated the Game Mode scene illustration prompt to use the same colored comic-page target and negative prompt.
  • Changed Automatic Storyboard Animations to render and save storyboard keyframe illustrations first, then derive each video prompt from the saved Gallery keyframe image through the normal game.video prompt path and use that image as the first-frame/reference image.
  • Updated storyboard and scene-video documentation for the new image-first automatic animation flow.

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

AI agent ran pnpm.cmd check outside the sandbox and it passed. Known existing warning: client lint still reports ConversationView.tsx:872 missing stripTimestamps in a useMemo dependency list.

Manual verification still needed: enable Automatic Storyboard Illustrations and Automatic Storyboard Animations for a Game Mode turn, confirm keyframe comic images render first, confirm automatic video prompts are derived from the saved Gallery keyframe images, and confirm the storyboard videos appear/play in the floating storyboard viewer.

Manual verification still needed: use Gallery Animate illustration on a normal generated illustration and confirm that flow behaves as before.

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)

No screenshots or recordings attached. The changed behavior needs manual Game Mode and Gallery verification in the running app.


🔄 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/3292 **Author:** [@thetopham](https://github.com/thetopham) **Created:** 7/5/2026 **Status:** ✅ Merged **Merged:** 7/5/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `storyboard-prompt-optimizations` --- ### 📝 Commits (3) - [`2802709`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2802709d9c9655493681a2e6aa30df8001a94342) Storyboard prompt optimizations - [`355ff70`](https://github.com/Pasta-Devs/Marinara-Engine/commit/355ff709e4858871cee6be96f951bddb28b88744) Use gallery animate prompts for storyboard videos - [`9f2535b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9f2535b015a935a8591a90fa39d771ad09c2c45c) Merge staging into storyboard prompt optimizations ### 📊 Changes **4 files changed** (+89 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `docs/SCENE_VIDEO_GENERATION.md` (+8 -8) 📝 `docs/STORYBOARD_ENGINE_GUIDE.md` (+5 -5) 📝 `packages/server/src/routes/game.routes.ts` (+65 -9) 📝 `packages/server/src/services/prompt-overrides/registry/game-assets.ts` (+11 -10) </details> ### 📄 Description ## Linked issue Closes #3294 ## Why this change - Comic-page storyboard prompts produce stronger automatic storyboard illustrations, especially with Google Nano Banana 2. - Google Omni animates those finished Gallery illustrations well through **Animate illustration**, so Automatic Storyboard Animations should use the same image-first flow by default. ## What changed - Updated the Game Mode storyboard illustration director prompt to generate compact colored comic-page keyframes with panel flow, speech bubbles, captions, and SFX text plans. - Updated the Game Mode scene illustration prompt to use the same colored comic-page target and negative prompt. - Changed Automatic Storyboard Animations to render and save storyboard keyframe illustrations first, then derive each video prompt from the saved Gallery keyframe image through the normal `game.video` prompt path and use that image as the first-frame/reference image. - Updated storyboard and scene-video documentation for the new image-first automatic animation flow. ## 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 AI agent ran `pnpm.cmd check` outside the sandbox and it passed. Known existing warning: client lint still reports `ConversationView.tsx:872` missing `stripTimestamps` in a `useMemo` dependency list. Manual verification still needed: enable Automatic Storyboard Illustrations and Automatic Storyboard Animations for a Game Mode turn, confirm keyframe comic images render first, confirm automatic video prompts are derived from the saved Gallery keyframe images, and confirm the storyboard videos appear/play in the floating storyboard viewer. Manual verification still needed: use Gallery **Animate illustration** on a normal generated illustration and confirm that flow behaves as before. ## 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) No screenshots or recordings attached. The changed behavior needs manual Game Mode and Gallery verification in the running app. --- <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:20 +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#5866
No description provided.