[GH-ISSUE #6408] [Issue]: Atlas Cloud video requests ignore each model's input schema #3586

Closed
opened 2026-10-21 06:04:32 +07:00 by bsakaguchi · 0 comments
Owner

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 Input schema 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_url instead of image, 5 need size (width*height) instead of resolution + aspect_ratio, 2 need audio_url, 1 needs ratio, 1 needs images.

  • 37 get a value outside the model's list, mostly duration: 8 for models that only allow 5 or 10.

  • 2 take prompt as 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 image fails 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-video requires size and only allows duration 5 or 10. alibaba/wan-2.6/image-to-video-flash accepts the body, but enable_prompt_expansion: true, shot_type: "multi", and generate_audio: true always apply because Marinara has no way to send them.

Steps to reproduce

  1. Add a Video Generation connection with Video Service set to Atlas Cloud.
  2. Type the model ID alibaba/wan-2.5/text-to-video (or any image-to-video model that requires image, such as atlascloud/wan-2.2-turbo/image-to-video).
  3. Click Test Video, or animate a gallery image with that connection.

Environment

  • Marinara Engine version: 2.4.6 (staging at 674330b6c)
  • Install type: source
  • OS + version: Windows 11 Home 10.0.26200
  • Browser or app shell: Chrome

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 at https://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:

  1. Request fitting. Read the model's published schema and fit the existing connection defaults to it: image field name, 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.
  2. Live catalog. Fetch Models reads Atlas Cloud's public catalog, with the current starter list as the fallback.
  3. Model options in the connection editor. Render the selected model's remaining schema fields (with the provider defaults shown) in Video Generation Defaults, store the chosen values per model on the connection, and merge them into the request.

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:

  • I DID NOT read this template and provide the requested details.
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 `Input` schema 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_url` instead of `image`, 5 need `size` (`width*height`) instead of `resolution` + `aspect_ratio`, 2 need `audio_url`, 1 needs `ratio`, 1 needs `images`. - 37 get a value outside the model's list, mostly `duration: 8` for models that only allow `5` or `10`. - 2 take `prompt` as 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 `image` fails 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-video` requires `size` and only allows `duration` 5 or 10. `alibaba/wan-2.6/image-to-video-flash` accepts the body, but `enable_prompt_expansion: true`, `shot_type: "multi"`, and `generate_audio: true` always apply because Marinara has no way to send them. ## Steps to reproduce 1. Add a **Video Generation** connection with **Video Service** set to **Atlas Cloud**. 2. Type the model ID `alibaba/wan-2.5/text-to-video` (or any image-to-video model that requires `image`, such as `atlascloud/wan-2.2-turbo/image-to-video`). 3. Click **Test Video**, or animate a gallery image with that connection. ## Environment - Marinara Engine version: 2.4.6 (`staging` at 674330b6c) - Install type: source - OS + version: Windows 11 Home 10.0.26200 - Browser or app shell: Chrome ## 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 at `https://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: 1. **Request fitting.** Read the model's published schema and fit the existing connection defaults to it: image field name, `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. 2. **Live catalog.** **Fetch Models** reads Atlas Cloud's public catalog, with the current starter list as the fallback. 3. **Model options in the connection editor.** Render the selected model's remaining schema fields (with the provider defaults shown) in **Video Generation Defaults**, store the chosen values per model on the connection, and merge them into the request. 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: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:04:32 +07:00
  • closed this issue
  • added the
    in-pr
    label
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#3586
No description provided.