[GH-ISSUE #5041] [Issue]: Storyboard animation prompts are silently truncated at 1,200 and 650 characters #2790

Closed
opened 2026-10-21 05:55:34 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @thetopham on GitHub (Aug 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5041

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Storyboard animation prompts are silently truncated at two separate character limits before video generation in roleplay mode:

  1. The planned animation prompt is clipped at approximately 1,200 characters.
  2. The downstream image-aware/final video prompt is clipped again at approximately 650 characters.

This causes valid structured prompt content to be lost before it reaches the video provider.

Expected behavior

A complete Storyboard animation prompt should survive planning, image-aware refinement, and final video prompt assembly without silent clipping when it is within the supported provider context.

Actual behavior

In a reproduced Storyboard animation:

  • Raw planned prompt: 1,396 characters
  • Stored planned prompt: 1,201 characters and ends in ...
  • Stored final video prompt: 631 characters and ends in ...

The first truncation removes the end of the prompt. The second truncation removes additional structured visual and audio direction. Generation still queues successfully, so the failure appears as silent prompt data loss instead of an error.

Steps to reproduce

  1. Use a Storyboard animation planner that returns a valid animation prompt longer than 1,200 characters.
  2. Generate the storyboard and first-frame illustration.
  3. Run image-aware animation refinement.
  4. Compare the raw planned prompt, stored planned prompt, and stored final video prompt.
  5. Observe truncation near 1,200 and 650 characters, with a literal ellipsis appended.

Environment

  • Marinara Engine version: current staging
  • Install type: source
  • OS + version: Linux
  • Browser or app shell: server-side Storyboard pipeline

Logs, screenshots, or video

raw planned prompt:       1396
stored planned prompt:    1201  endsWithEllipsis=true
stored final videoPrompt:  631  endsWithEllipsis=true

Additional context

Suggested scope:

  • Do not apply the 1,200-character fallback to full Storyboard animation prompts.
  • Do not apply the generic 650-character summary limit to the complete image-aware/final Storyboard video prompt.
  • Use a dedicated limit for complete Storyboard animation prompts.
  • Keep existing concise limits unchanged for summary-based animation paths.

Acceptance criteria:

  • A valid prompt longer than 1,200 characters survives Storyboard planning without an internally added ellipsis.
  • Image-aware refinement and final prompt assembly preserve the complete structured result.
  • Regression coverage verifies that structured visual and audio fields reach the final persisted video prompt.
  • Existing concise animation prompt behavior remains unchanged.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @thetopham on GitHub (Aug 15, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5041 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Storyboard animation prompts are silently truncated at two separate character limits before video generation in roleplay mode: 1. The planned animation prompt is clipped at approximately 1,200 characters. 2. The downstream image-aware/final video prompt is clipped again at approximately 650 characters. This causes valid structured prompt content to be lost before it reaches the video provider. ## Expected behavior A complete Storyboard animation prompt should survive planning, image-aware refinement, and final video prompt assembly without silent clipping when it is within the supported provider context. ## Actual behavior In a reproduced Storyboard animation: - Raw planned prompt: 1,396 characters - Stored planned prompt: 1,201 characters and ends in `...` - Stored final video prompt: 631 characters and ends in `...` The first truncation removes the end of the prompt. The second truncation removes additional structured visual and audio direction. Generation still queues successfully, so the failure appears as silent prompt data loss instead of an error. ## Steps to reproduce 1. Use a Storyboard animation planner that returns a valid animation prompt longer than 1,200 characters. 2. Generate the storyboard and first-frame illustration. 3. Run image-aware animation refinement. 4. Compare the raw planned prompt, stored planned prompt, and stored final video prompt. 5. Observe truncation near 1,200 and 650 characters, with a literal ellipsis appended. ## Environment - Marinara Engine version: current `staging` - Install type: source - OS + version: Linux - Browser or app shell: server-side Storyboard pipeline ## Logs, screenshots, or video ```text raw planned prompt: 1396 stored planned prompt: 1201 endsWithEllipsis=true stored final videoPrompt: 631 endsWithEllipsis=true ``` ## Additional context Suggested scope: - Do not apply the 1,200-character fallback to full Storyboard animation prompts. - Do not apply the generic 650-character summary limit to the complete image-aware/final Storyboard video prompt. - Use a dedicated limit for complete Storyboard animation prompts. - Keep existing concise limits unchanged for summary-based animation paths. Acceptance criteria: - A valid prompt longer than 1,200 characters survives Storyboard planning without an internally added ellipsis. - Image-aware refinement and final prompt assembly preserve the complete structured result. - Regression coverage verifies that structured visual and audio fields reach the final persisted video prompt. - Existing concise animation prompt behavior remains unchanged. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:55:34 +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#2790
No description provided.