mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8300] [MERGED] feat(media): add H3 Max and Seedance 2.5 video support and optional WebP saves #8263
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#8263
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8300
Author: @SpicyMarinara
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/sweep-media-support-20261025📝 Commits (8)
c7919adfeat(media): expose H3 Max and Seedance 2.5 video models88987a6feat: constrain video models and add opt-in WebP generation storage45c43d7fix: clear model-specific resolution when changing video modelsf12c547refactor: keep video discovery on the curated model registry9870a59fix: retain model-compatible defaults when resetting video settings960c57dfix: restrict 768p to video models that explicitly support itbcd0b3bfix(media): preserve WebP selection and normalize game video references0f9304ffix(video): clarify converted Seedance reference upload requirements📊 Changes
24 files changed (+954 additions, -35 deletions)
View changed files
➕
e2e/media-output-settings.e2e.ts(+173 -0)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+32 -9)📝
packages/client/src/components/panels/SettingsPanel.tsx(+33 -0)📝
packages/client/src/lib/omnibar-settings-toggle-bindings.ts(+4 -0)📝
packages/client/src/lib/settings-registry.ts(+21 -0)📝
packages/client/src/localization/locales/en.json(+4 -0)📝
packages/client/src/stores/ui.store.ts(+13 -0)📝
packages/server/src/routes/app-settings.routes.ts(+2 -0)📝
packages/server/src/routes/game.routes.ts(+6 -14)📝
packages/server/src/routes/sprites.routes.ts(+4 -0)📝
packages/server/src/services/avatars/generation/generation-context.ts(+1 -0)➕
packages/server/src/services/image/generated-image-format.ts(+50 -0)📝
packages/server/src/services/image/image-generation.ts(+6 -2)📝
packages/server/src/services/image/tracker-portrait.ts(+1 -0)📝
packages/server/src/services/storage/app-settings.storage.ts(+3 -0)📝
packages/server/src/services/video/game-video-runtime.ts(+11 -2)📝
packages/server/src/services/video/video-generation.ts(+32 -3)📝
packages/shared/src/constants/model-lists.ts(+7 -1)📝
packages/shared/src/constants/video-generation-defaults.ts(+37 -1)📝
packages/shared/src/types/generation-integration.ts(+3 -1)...and 4 more files
📄 Description
Linked issue
Closes #8297
Closes #8298
Closes #8239
Why this change
H3 Max and Seedance 2.5 cannot be selected through the existing OpenRouter video connection. Users also need a way to reduce the disk space used by generated illustrations while keeping PNG as the default.
What changed
minimax/hailuo-3-max) and ByteDance Seedance 2.5 (bytedance/seedance-2.5) through the existing OpenRouter integration. Both appear in the existing curated model selector and Fetch Models response.Validation
Local results:
pnpm checkpassed again on the final repair head0f9304f16(format/localization, workspace lint/types, E2E types and production builds).pnpm smoke:ui: 7/7 passed with one worker.0f9304f16. Earlier findings were fixed, removed or dispositioned as described below.The local CodeRabbit review found stale model-specific defaults and proposed expanding discovery to dynamic video capabilities. The stale-default defect and Reset path are fixed, and 768p is offered only for a model whose verified limits support it. The new live-catalogue fetch was removed, eliminating its transport/deadline concerns and unknown-model capability exposure. A duplicate suggestion to preserve 768p on unspecified/NanoGPT models was rejected: before this change, readResolution normalized that value to 720p and NanoGPT controls offered 480p/720p/1080p. Supporting additional NanoGPT resolutions is outside these issues.
The hosted review suggested retaining PNG/JPEG whenever a WebP is larger. That fallback was not adopted because the requested toggle explicitly selects
.webp. Real Sharp fixtures confirmed that larger outputs can occur; the help text now accurately describes size-dependent savings, and retained regressions prove codec/MIME/extension agreement even for those inputs. The encoder remains unchanged.A separate compatibility trace reproduced a genuine Game scene-video failure: the same PNG preview succeeded while its WebP counterpart returned 400 before generation. The repair reuses the existing video-reference helper across all three Game callers, with actual route regressions proving PNG conversion for WebP references and unchanged saved images.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
No user-facing documentation, version or changelog changes. Existing gallery files are unchanged.
UI evidence
Desktop/mobile, dark/light browser screenshots are attached in the PR comments; no proof images are committed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.