Files
automatic/cli
CalamitousFelicitousness ff42f1631c feat(api): add video generation endpoint
Add POST /sdapi/v1/video plus GET /sdapi/v1/video/models and
GET /sdapi/v1/video/file. The generation body is extracted from the
gradio handler into a keyword-only core, video_run.run, which returns a
structured result and raises typed errors; the positional generate
signature is unchanged and now adapts to the core. Omitting engine and
model drives the currently loaded checkpoint when it is video-capable,
which covers models loaded from local folders without a registry entry.

- registry helpers in models_def (find, engines, pipeline_classes,
  workflow_for_class); validate_pipeline reuses the shared class set
- modular pipes stamp their workflow so out-of-registry loads dispatch
  onto the modular branch
- disk switches (mp4_*) and wire switches (send_*) are independent;
  artifacts above the base64 cap fall back to path plus the file route,
  which is jailed to the video output directory and serves video/mp4
  with range support
- always-on video scripts get bootstrapped default args, matching the
  txt2img handler; missing bootstrap raised a TypeError per frame
- checkpoint overrides are rejected with a pointer to the checkpoint
  endpoint; unknown engine, model and sampler names return 404 with the
  valid choices
- cli/api-video.py client, test/test-video-api.py suite and a
  full-test.sh entry; video mimetypes registered; rate-limit cost set
- remove the unreferenced video_ui.run_video dispatcher
2026-08-10 22:14:18 +01:00
..
2026-03-20 18:42:44 -07:00
2026-08-10 20:43:50 +02:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2025-04-25 12:25:30 -04:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2024-11-27 15:36:22 -05:00
2026-03-20 18:42:44 -07:00
2026-06-04 12:36:10 +02:00
2026-02-18 17:53:08 +01:00
2026-02-18 17:53:08 +01:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2026-03-20 18:42:44 -07:00
2026-03-27 19:17:37 +01:00
2026-04-06 01:06:19 -07:00
2026-02-05 10:33:42 +01:00
2026-03-27 19:17:37 +01:00
2026-03-12 14:11:47 +01:00
2025-02-07 11:03:24 -05:00
2026-04-06 01:06:19 -07:00
2024-09-07 11:58:58 -04:00
2026-03-20 18:42:44 -07:00
2024-11-01 14:50:36 -04:00
2026-03-27 19:17:37 +01:00
2026-06-04 12:36:10 +02:00
2025-04-25 12:25:30 -04:00
2025-06-18 00:38:17 +00:00
2026-03-05 20:06:09 -08:00
2025-02-22 14:25:58 -05:00
2026-03-20 18:42:44 -07:00
2026-08-10 13:43:45 +02:00
2026-03-27 19:17:37 +01:00
2025-04-05 22:26:07 +09:00