mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6408] [Issue]: Atlas Cloud video requests ignore each model's input schema #3586
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#3586
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 @stonebystone on GitHub (Sep 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6408
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Atlas Cloud video connections send the same six fields (
model,prompt,duration,aspect_ratio,resolution,image) to every model, but Atlas Cloud models do not share one input shape. Many models reject the request, and others accept it while silently ignoring the clip length, aspect ratio, or source illustration the user chose. Model-specific options (negative_prompt,seed,generate_audio,shot_type,enable_prompt_expansion, LoRAs) cannot be set at all, so the provider's defaults always apply.Expected behavior
A request to an Atlas Cloud model uses the fields that model declares in its published input schema, and the connection editor lets the user see and change every option the model offers, with the model's defaults shown.
Actual behavior
Checked against the published
Inputschema of all 110 Atlas Cloud text-to-video and image-to-video models (catalog read 2026-09-19), using Marinara's default Atlas settings (8 s, 16:9, 720p) and a reference image:44 of 110 models receive a body that violates their schema even when undeclared extra fields are ignored.
16 are missing a required field: 7 need
image_urlinstead ofimage, 5 needsize(width*height) instead ofresolution+aspect_ratio, 2 needaudio_url, 1 needsratio, 1 needsimages.37 get a value outside the model's list, mostly
duration: 8for models that only allow5or10.2 take
promptas a list, not a string.34 models name the aspect field
ratio, so the chosen aspect ratio never reaches them.A text-to-video model has no image field. Every scene-video surface animates a gallery image, so the illustration is dropped and the clip is unrelated to it, with nothing in the UI or log saying so.
Test Video never sends an image, so an image-to-video model whose schema requires
imagefails the connection test even though Gallery use would work.Fetch Models never contacts Atlas Cloud. It returns a fixed list of four video models (three for image connections), while Atlas Cloud's public catalog (
GET /api/v1/models, no key needed) lists 177 text-to-video and image-to-video models and 128 image models. Everything else has to be typed as an exact ID copied from Atlas Cloud's website.Example:
alibaba/wan-2.5/text-to-videorequiressizeand only allowsduration5 or 10.alibaba/wan-2.6/image-to-video-flashaccepts the body, butenable_prompt_expansion: true,shot_type: "multi", andgenerate_audio: truealways apply because Marinara has no way to send them.Steps to reproduce
alibaba/wan-2.5/text-to-video(or any image-to-video model that requiresimage, such asatlascloud/wan-2.2-turbo/image-to-video).Environment
stagingat674330b6c)Logs, screenshots, or video
The request body is fixed in
buildAtlasCloudVideoRequest(packages/server/src/services/media/atlas-cloud.ts). Atlas Cloud publishes each model's schema athttps://static.atlascloud.ai/model/schema/<model id with "/" replaced by "-">.json; that URL convention held for all 200 video models in the catalog.Additional context
Follow-up to #3989. Proposed fix, as one PR:
size,ratio, duration and resolution snapping, list-typed prompts, and leaving out undeclared fields. Test Video supplies a plain first frame when the model requires an image. Falls back to today's body when no schema can be read.I am working on this (@stonebystone) and will open a PR against
staging.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: