mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4839] [Feature]: Make Storyboard animation planning use the generated illustration #2674
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#2674
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?
Originally created by @thetopham on GitHub (Aug 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4839
Originally assigned to: @thetopham on GitHub.
What problem does this solve?
Storyboard animation planning currently happens before the keyframe illustration exists. The selected Animation Planner receives the story beat, narration, and text context, so it plans from the intended composition rather than the frame that was actually generated.
This can produce animation prompts that contradict the real first frame—for example, assuming a raised sword when it is lowered, a three-quarter face when the image is profile, two visible characters when only one is framed clearly, or a wide shot when the result is a close-up.
Current Engine orchestration confirms the gap:
buildStoryboardIllustratorMessages(...)selects the animation-planner preset before image generation and gives it narration/game context, not generated image pixels.buildStoryboardGalleryAnimatePrompt(...)formats the video prompt from the planned text and the gallery image's stored text prompt.referenceImage, but it is not first analyzed by the Animation Planner.The result is effectively “animate what the keyframe was expected to be” instead of “animate what the keyframe actually is.”
Proposed solution
Use a two-pass animation-planning pipeline:
The illustration-aware pass should be able to classify the frame as:
Do not silently spend another image-generation request. If regeneration is recommended, surface that outcome for explicit user approval or an existing opt-in regeneration policy.
If the selected planner connection does not support image input, or the vision pass fails, preserve the completed illustration and fall back to the current text-based animation prompt with a visible/debuggable warning rather than failing the entire storyboard.
Alternatives considered
Additional context
Suggested acceptance criteria:
Implementation ownership is Marinara Engine because this changes host orchestration, provider/model routing, stored storyboard state, and prompt assembly. Downloadable Storyboard package prompt content may need a coordinated contract update only if new planner variables or output fields are introduced.
Initial scope should cover the shared Storyboard keyframe animation path. Ordinary manual Gallery/Scene Video animation can reuse the new image-analysis primitive later, but does not need to block this issue.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@thetopham commented on GitHub (Aug 10, 2026):
Implementation started by @thetopham on
agent/4839-illustration-aware-animation, based on currentorigin/staging. Scope is the narrow Engine orchestration change: refine each Storyboard video prompt from the generated illustration after image generation, with the current text-based prompt as fallback. A draft PR will follow the first implementation commit.