Python
A lab clip for the demo video: the AI Influencer example animated by Image to Video
neuregex086d66f52a3a
diff --git a/README.md b/README.mdindex 262b80a..4310653 100644--- a/README.md+++ b/README.md@@ -22,9 +22,9 @@ browser ──▶ web/ + server/ (Node, Comfy SDK) ──▶ gateway :8000 ─| Apps | 120: 119 *ready* (39 apps with a workflow of their own, the 5 IC-LoRA apps (`genjutsu`, `reframe`, `sdr-hdr`, `mixed-media`, `dub`), `morph`, 72 template apps (a fixed prompt over one of those pipelines, written by `tools/template_apps.py`) and 2 model-free smoke apps) and `moss-image` as a draft. The 118 that use models each have a lab example made on a GPU || Open weights | No API or partner nodes. Every model is a file you download, listed in its app's `app.json` with its Hugging Face repo, size and license; the cloud text-encoder branch of Lightricks' examples is removed || Workflows | Built from official sources by `tools/build_apps.py` (ComfyUI's templates, Lightricks' ComfyUI-LTXVideo examples, Comfy's `comfy-reshoot`); the template apps reuse those bases and the two smoke apps are hand-written. `tools/import_workflow.py` drafts a new app from any other ComfyUI workflow. All accepted by ComfyUI's validator: ComfyUI `e3bee7f` (0.42.0), ComfyUI-LTXVideo `44c8a36`, ComfyUI-CrossViewWarp `fbb1e93` |-| GPU runs | 43 lab runs on Modal from 20 to 26 Oct (L40S and H100), 698 of 721 cases ok. Every example in the web UI comes from one of them, with its time and peak VRAM. Run by run, and what each one changed: [`docs/lab-runs.md`](docs/lab-runs.md) |+| GPU runs | 44 lab runs on Modal from 20 to 26 Oct (L40S and H100), 700 of 723 cases ok. Every example in the web UI comes from one of them, with its time and peak VRAM. Run by run, and what each one changed: [`docs/lab-runs.md`](docs/lab-runs.md) || End to end | Run from the browser on 23 Oct, web UI → server → gateway on Modal → ComfyUI on an H100: `morph` 160.8 s from the button to the video (128.7 s of it on the GPU), `mixed-media` 149 s, `dub` 72 s. On 24 Oct through the hosted demo (`infra/web_app.py`, the same web app on Modal behind a passcode): `face-swap` 25.2 s on the GPU. The model-free smoke apps cover the same path in CI |-| LoRA lab | 327 cases: one showcase per app (117), one per effect (24), one per look of `mixed-media` (16), one per transformation of `morph` (15) and one per character type of `ai-influencer` (8 more), 41 references the others start from, 6 candidate portraits for those references (`refx-*`), 12 style-drift experiments (`mmx-*`), 36 template experiments (`tplx-*`), 2 runs of `reshoot` without its Turbo LoRA, 30 image-model comparisons (`cmp-*`, below), 4 soundtrack candidates for the demo video and 4 checks of new controls (Create Image's looks and 2K, Cinema Studio's genre and palette, Relight's direction), 3 Cinema Studio video tests (two camera moves in order, a cut on Dynamic tempo, the enhancer off) and 1 check of several picks per group in AI Influencer; each experiment has its verdict in the note |+| LoRA lab | 328 cases: one showcase per app (117), one per effect (24), one per look of `mixed-media` (16), one per transformation of `morph` (15) and one per character type of `ai-influencer` (8 more), 41 references the others start from, 6 candidate portraits for those references (`refx-*`), 12 style-drift experiments (`mmx-*`), 36 template experiments (`tplx-*`), 2 runs of `reshoot` without its Turbo LoRA, 30 image-model comparisons (`cmp-*`, below), 4 soundtrack candidates for the demo video and 4 checks of new controls (Create Image's looks and 2K, Cinema Studio's genre and palette, Relight's direction), 3 Cinema Studio video tests (two camera moves in order, a cut on Dynamic tempo, the enhancer off) 1 check of several picks per group in AI Influencer and 1 clip for the demo video; each experiment has its verdict in the note || CI | `.github/workflows/validate.yml` on every push: the manifest validator, the tests, the type check, the generated packs and VRAM map, and a CPU-only ComfyUI that accepts every workflow and the prompt of every lab case (about 3 minutes) |## Appsdiff --git a/docs/lab-runs.md b/docs/lab-runs.mdindex 0de18ea..29d1fc3 100644--- a/docs/lab-runs.md+++ b/docs/lab-runs.md@@ -3,7 +3,7 @@Every GPU run of the lab (`lab/lab_modal.py`) from 20 to 26 Oct 2026, in order. Each run is a folder`lab/results/<run id>` with `results.jsonl` (one row per case: status, seconds, peak VRAM), `run.json` (GPU, starttime) and `review.html`. Peaks are the highest of the run; on an 80 GB H100 ComfyUI can keep the models of earlier-steps loaded, so a peak there is not the least an app needs. 43 runs, 698 of 721 cases ok: 22 of the 23 failures are+steps loaded, so a peak there is not the least an app needs. 44 runs, 700 of 723 cases ok: 22 of the 23 failures arethe first IC-LoRA run, before the gated licenses were accepted, and the other is `recast` in the first run.| Run | GPU | What ran | Cases ok | Longest case | Peak |@@ -51,6 +51,7 @@ the first IC-LoRA run, before the gated licenses were accepted, and the other is| `20261026-021210-l40s` | L40S | Queue job 21: the same with plain clothes and the photo mode keeping the hairstyle | 3 / 3 | 20 s | 12.3 GB || `20261026-021507-l40s` | L40S | Queue job 22: the photo mode with plain shoes asked for | 2 / 2 | 18 s | 12.6 GB || `20261026-021906-l40s` | L40S | Queue job 23: the photo mode example waist-up at a night food stall | 2 / 2 | 19 s | 13.2 GB |+| `20261026-023750-l40s` | L40S | Queue job 24: for the demo video, AI Influencer's example animated by Image to Video, as *Use in…* does | 2 / 2 | 91 s | 43.9 GB |A run with several GPUs (`--shards N`) splits the cases into N groups that run at the same time and comes back asone folder. The cases a run lists include the reference images, clips and songs that the others read.diff --git a/lab/cases.json b/lab/cases.jsonindex cc0b7b9..f1cb8ea 100644--- a/lab/cases.json+++ b/lab/cases.json@@ -576,6 +576,8 @@{"id": "aiinf-multi", "app": "ai-influencer", "values": {"gender": "A man", "hair": "A buzz cut.", "haircolor": "Platinum hair.", "feature": ["Freckles.", "A gap between the front teeth."], "trait": ["A nose piercing.", "Small gems stuck on the cheekbones."], "accessory": ["Glasses.", "Headphones around the neck."], "style": "Wearing streetwear."}, "note": "Several picks per group (two facial features, two distinctive traits, two accessories), as Higgsfield allows: do all six show?"},+ {"id": "demo-influencer-video", "app": "video", "values": {"image": "@case:tpl-ai-influencer", "prompt": "She smiles at the camera, waves with one hand and shifts her weight, her curls moving; a quiet photo studio, soft even light", "duration": 4, "aspect": "9:16 (Portrait Widescreen)", "enhance": true}, "note": "For the demo video: AI Influencer's example sent to Image to Video with Use in…, as a user would."},+{"id": "ref-tpl-sketch", "app": "z-image", "values": {"prompt": "A rough pencil sketch on white paper of a cat sitting on a windowsill next to a potted plant, loose lines, no color", "width": 1024, "height": 1024},"note": "Reference sketch for Sketch to Real."},{"id": "ref-tpl-sign", "app": "z-image", "values": {"prompt": "Photo of a small bakery storefront with a wooden sign above the door that reads OPEN in bold white letters, daylight, photorealistic", "width": 1280, "height": 768},