Files
automatic/modules/api
CalamitousFelicitousness 005fc5c86e refactor(video): accept video and audio references in the shared core
The core took reference images only, so no api caller could send the video and
audio references the ref2va workflow conditions on, and the marshalling that
handles them existed solely in the MiniMax tab.

validate_references now gates on the workflow and hands the entries to the
architecture that owns them, which accepts decoded images and local file paths
in any mix and preserves their order, since order fixes the labels a prompt
addresses. reference_caps exposes the same limits the validation enforces, so a
client reads them instead of mirroring the numbers.

- MAX_IMAGE_REFERENCES is gone: the limits now cover all three kinds and a total
- the run body no longer builds reference objects or knows their class
- an image is converted where it is built rather than at the call site, so a
  reference decoded from a file and one posted as base64 arrive the same way
- pipeline args summarize a reference list by kind, since a decoded video would
  otherwise print its frames into the per-generation log line
- the video endpoint documents what it actually accepts: images alone, because
  video and audio decode from files rather than from the wire, and an upload
  reference only where an extension provides the store that resolves one
2026-08-16 21:56:37 +01:00
..
2026-07-03 22:05:33 +02:00
2026-08-16 12:45:50 +02:00
2026-08-16 12:45:50 +02:00
2026-07-01 11:23:07 +02:00
2026-07-09 11:18:04 +02:00
2026-07-12 13:10:35 +02:00
2026-08-09 15:05:00 +02:00
2026-08-16 12:45:50 +02:00
2026-04-12 18:54:22 +02:00
2026-03-27 14:15:44 -07:00
2026-04-12 18:54:22 +02:00
2026-08-09 15:05:00 +02:00
2026-03-27 14:15:44 -07:00
2026-08-16 19:00:55 +02:00
2026-03-27 14:15:44 -07:00
2026-04-12 18:54:22 +02:00