Skip to content

Order ten-second 480p videos with sound - #317

Merged
iamwavecut merged 1 commit into
mainfrom
feat/video-ten-seconds
Dec 3, 2026
Merged

iamwavecut merged 1 commit into
mainfrom
feat/video-ten-seconds

Conversation

@iamwavecut

Copy link
Copy Markdown
Owner

Summary

Videos with sound (MiniMax-H3) become ten seconds long. The bot now sends size: "480p" and seconds: 10 with every H3 render. The bot does not order 576p, so nothing changes for that size.

  • DrawApiVideoOptions gets size and seconds. A silent FastFrames clip still sends no options and stays five seconds.
  • movie_optimizer.prompt and its schema are rewritten for a ten-second clip: three or four action beats, up to about 24 words of speech, the second shot cut at 00:05.000, and 120–220 words of prompt.
  • The make_movie summary and the dialog system prompt now say ten seconds for VIP and five for the silent clip.

Rollout

The draw-api on the farm gets the matching seconds field in aifarm-draw. An older draw-api ignores unknown fields (pydantic) and renders five seconds, so this PR can be deployed first.

Checks

  • cargo fmt --all
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test -p openplotva-app (1500 passed), -p openplotva-media -p openplotva-dialog -p openplotva-llm -p openplotva-prompts (all passed)
  • The wire-body test pins "size": "480p", "seconds": 10 on the H3 request.

The farm renders five seconds unless asked otherwise. Send size 480p and
ten seconds with every MiniMax-H3 render, and plan the optimizer prompt for
the longer clip: more action beats, more speech, the cut at five seconds.
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Warnings
⚠️ Prompt files are cache-sensitive contracts; confirm prompt shape and role markers were preserved intentionally.
Messages
📖 Danger checked 6 changed file(s).

Generated by 🚫 dangerJS against af2873d

@iamwavecut

Copy link
Copy Markdown
Owner Author

The prompt changes are intentional and keep the template shape. {{role}} markers and template tags are unchanged: git diff origin/main -- prompts/ touches no role lines and no {{…}} tags. Only the clip-length wording changed: five seconds became ten in movie_optimizer.prompt and system.prompt. The data shape (request, brief, frame, pictures) is unchanged.

@iamwavecut
iamwavecut merged commit 8d629fa into main Dec 3, 2026
11 of 14 checks passed
@iamwavecut
iamwavecut deleted the feat/video-ten-seconds branch December 3, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant