Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Merge main's newer work (Kandinsky 6.0, Pika H3 Flex, Green screen, Edit speech, 3D splats, World mode)

Adarsh44ba8a96478b
diff --cc docs/DEVELOPMENT.md
index d36aaf80,fe0b5d8d..89d1e1a0
--- a/docs/DEVELOPMENT.md
+++ b/docs/DEVELOPMENT.md
@@@ -102,12 -105,13 +124,14 @@@ PR #16 adds four suites. `separation` s
- `docs/ARCHITECTURE.md` — how requests flow from the composer to providers and back, pipelines, live updates, security, each studio's modules
- `docs/cli.md` — the `fuobe` command line: install, sign in, every command (`fuobe eval` included), MCP and skills for other agents
- - `docs/research/` — the research this is built on (Higgsfield inventory, studios, image studios, marketing and agents, API, round-4 changes, in-house products; paid model APIs parts 1–4; ComfyUI equivalents parts 1–4; workflow library; the round-4 UX and speed audit; open recipes for Fuobe Originals; Openjutsu and Akatz Labs' H3 Character Swap; new models (Open-H3-Regenerate-2K, WorldCast, MOSS-Image Layout), DBS soundtrack separation, Work2Skill, accounts (dropped for the owner's public sign-up, kept as background) and Idol (one picture to a 3D splat); of their build plans, DBS's D1, the new models' N7-1, N7-5 and N7-6 and Work2Skill's W1 and W2 are built, and DBS's D2–D9 and the rest of the new models', Work2Skill's and Idol's plans are queued (`docs/HANDOFF.md`); Liner UI language); [`docs/research/README.md`](research/README.md) says what each file covers
- - `docs/HANDOFF.md` and `docs/handoff/` — how the build continues: where things stand, the owner's rules and decisions, the queue of packages with their briefs (`queue.json`), how to run a package's stages, and how to check and describe a PR (`verify.sh`, `pr-describe.js`, `pr-docs.js`)
+ - `docs/research/` — the research this is built on (Higgsfield inventory, studios, image studios, marketing and agents, API, round-4 changes, in-house products; paid model APIs parts 1–4; ComfyUI equivalents parts 1–4; workflow library; the round-4 UX and speed audit; open recipes for Fuobe Originals; Openjutsu and Akatz Labs' H3 Character Swap; new models (Open-H3-Regenerate-2K, WorldCast, MOSS-Image Layout; then, as of 2026-11-01, Kandinsky 6.0, Pika H3 Flex, NVIDIA RTX Video, CorridorKey 2.0, VRMBG 3.0, AuK and Hy-Nomas), DBS soundtrack separation, Work2Skill, accounts (dropped for the owner's public sign-up, kept as background), Idol (one picture to a 3D splat) and Hi3D mesh refinement; which of their build plans are built and which are queued is in `docs/HANDOFF.md` and `docs/handoff/queue.json`; Liner UI language); [`docs/research/README.md`](research/README.md) says what each file covers
+ - `docs/HANDOFF.md` and `docs/handoff/` — how the build continues (HANDOFF's "Waiting on the owner" and "What's left" sections are of 11-04; its opening sections still describe 10-30): where things stand, the owner's rules and decisions, the queue of packages with their briefs (`queue.json`), how to run a package's stages, and how to check and describe a PR (`verify.sh`, `pr-describe.js`, `pr-docs.js`)
- `docs/workers/tribe-v2.md` — the optional, non-commercial TRIBE v2 worker contract for the Virality predictor
+ - `docs/workers/worldcast.md` and `workers/worldcast/` — the optional WorldCast worker: how Fuobe prepares a case, and a reference server to start on your own 48 GB+ GPU
- `scripts/comfy/` — the pipeline that exports and validates the ComfyUI workflow library
+- [`docs/adding-a-model.md`](adding-a-model.md) — the checklist for a new model, workflow or node pack: pins, first-run files, the worker's input rules, VRAM and CPU work, and the tests that check them
- `scripts/eval/` — the Fuobe Originals evaluation harness: suites, metrics, blind review and the promote rule
+ - `scripts/train/` — the training kit for Fuobe's own LoRAs: 13 job specs, their data-licence logs and `kit.mjs` (configs, fal requests and Hugging Face publishing; nothing is trained yet)
- `skills/` — Assist's built-in skills (`<name>/SKILL.md` in the Agent Skills format: name, description and compatibility, with Fuobe's own fields under `metadata`: title, when_to_use, icon, studio, tags, offline hints); a skill of your own can also carry a `recipe.json` that lets it run by itself (see [`skills/README.md`](../skills/README.md)); `.agents/skills/fuobe/` teaches another agent to drive Fuobe through MCP or the CLI
## Tech
diff --cc docs/SELF-HOSTING.md
index f16e1155,2a1709b6..a5368f78
--- a/docs/SELF-HOSTING.md
+++ b/docs/SELF-HOSTING.md
@@@ -132,11 -133,10 +133,12 @@@ A file that looks like the note but wa
| `FUOBE_ENGINE_MODE`, `FUOBE_CLOUD_PROVIDER`, `FUOBE_ENHANCE_PROVIDER`, `FUOBE_LLM_PROVIDER` | The Settings choices above |
| `FUOBE_LLM_CONTEXT` | Tokens of context for the local model (default `16384`): Ollama's `num_ctx`, and the context LM Studio loads a model with. `0` leaves it to the server |
| `OPENAI_API_KEY`, `GEMINI_API_KEY` | Read into Settings; no feature uses them yet |
+ | `WORLDCAST_URL`, `WORLDCAST_TOKEN` | The WorldCast worker's address (also a Settings field) and its shared secret, sent as a Bearer header on every call; set the same `WORLDCAST_TOKEN` where the worker runs. The token has no Settings field yet. Without one, keep the worker on `127.0.0.1` ([worldcast.md](workers/worldcast.md)) |
-| `FUOBE_HOSTED_RUNS=1` | With public sign-up: accounts with no GPU of their own may run on this install's ComfyUI ([Hosted runs](public-signup.md#hosted-runs)). Off by default |
-| `FUOBE_POOL_WAIT_MIN` | How long a hosted run may wait in line, in minutes (default `30`) |
-| `FUOBE_BILLING_URL`, `FUOBE_BILLING_TOKEN` | An optional external billing service for hosted runs ([billing-hook.md](billing-hook.md)). None: hosted runs are free |
+| `FUOBE_HOSTED_RUNS=1` | With public sign-up: accounts with no GPU of their own may run on this install's GPUs: its workers, or its own ComfyUI when that is on this machine ([Hosted runs](public-signup.md#hosted-runs)). Off by default. A billing service or `FUOBE_HOSTED_FREE=1` must answer for these runs |
+| `FUOBE_HOSTED_FREE=1` | With no billing service: hosted runs are free for every account, within the install's own limits. Without it (and without a billing service) hosted runs stay closed |
+| `FUOBE_POOL_WAIT_MIN` | How long a hosted run may wait in line before a GPU first takes it, in minutes (default `30`) |
+| `FUOBE_WORKER_TOKEN_DAYS` | How many days a pool worker's token lasts; the worker gets its next one in a beat answer ([gpu-workers.md](gpu-workers.md#the-protocol)). Unset or `0`: tokens never expire |
+| `FUOBE_BILLING_URL`, `FUOBE_BILLING_TOKEN` | An optional external billing service for hosted runs ([billing-hook.md](billing-hook.md)). None: hosted runs are closed, or free with `FUOBE_HOSTED_FREE=1` |
| `FUOBE_MODERATION_URL`, `FUOBE_MODERATION_TOKEN`, `FUOBE_MODERATION_MAX_WAIT_H` | An optional external moderation service ([moderation-hook.md](moderation-hook.md)). None: nothing is checked |
Uploads up to 200 MB work with sign-in on; Split soundtrack's Export mix sends its WAV in 16 MB parts, up to 2 GiB. Inputs given as URLs are fetched only from public addresses unless `FUOBE_ALLOW_PRIVATE_URLS=1`.
diff --cc docs/billing-hook.md
index 6536d6a0,e22dd3e7..2f22d598
--- a/docs/billing-hook.md
+++ b/docs/billing-hook.md
@@@ -68,37 -64,6 +68,38 @@@ type Policy =
};
```
+`megapixels` is the size of each picture or frame the run makes, about, as its workflow makes it: the canvas the
+workflow binds (a canvas the request names counts only there; else the aspect ratio and resolution, the model's
+defaults where the request names none), or for a workflow sized by its input (an edit, an upscale, a face swap) the
+input's size, an upscale's times its factor, within the workflow's limits. It is null for sound, text and 3D.
+
+`steps` lists every step of the run that uses this install's GPUs, the run's own step first: a chain (a film of
- several shots, a picture and then a step on it) is priced once, with one quote and one hold, for one press of Run.
++several shots, a picture and then a step on it, MiniMax H3 at 2K with its finish for each take) is priced once, with one
++quote and one hold, for one press of Run.
+Steps that need no model (joins, trims) are left out: they cost nothing. Every step must be one the policy allows
+(`pool`, `kinds`) and one this install's GPUs can run (a ComfyUI step: not a text step, a step made in the browser or
+a cloud model), or the run isn't offered here. It is refused before Run, never part way through.
+
+3D runs (Image to 3D and the other 3D tools) aren't offered on this install's GPUs yet, whatever `kinds.model3d` says.
+They run on the account's own GPU, as before. An account with no GPU of its own is told the tool isn't available here
+(403, `code: "own-gpu-tool"`).
+
+The policy's limits count runs on this install's GPUs only, never runs on the account's own GPU or key (those keep the
+install's own limits). A run is one press of Run: its jobs and chain steps count once. `activeRuns` counts runs going
+now (waiting or running), `waiting` those not started yet, `runsPerHour` those started in the last hour, and
+`addressRunsPerHour` those started from one client address in the last hour, across accounts (only when the install
+trusts its proxy, `FUOBE_TRUST_PROXY=1`; the address is kept as a salted hash, and every run's entry is removed two
+hours on, whether or not more runs come). 0 or absent means no such
+limit. Fuobe counts them in its database together with making the run's rows, so requests that arrive together (or
+reach two servers during a deploy) never pass a limit together. They apply with or without a billing service.
+
+`prefer: "pool"` sends a run to this install's GPUs first even when the account's own GPU is online. A place the
+request names always wins, so the account can still pick its own GPU. When the account's own GPU doesn't answer and the
+run named no place, Fuobe asks (409, `code: "own-gpu-offline"`, header `x-fuobe-place-ask`) instead of moving the run
+to this install's GPUs, but only for a run this install's GPUs would take. Any other run goes to the account's own GPU,
+as before. While the policy is cached, a run on an account's own GPU never waits for the service; when a policy call
+gets no answer, the last answer (or none) stands for 5 seconds (60 for a guest) before the service is asked again.
+
| Call | Request | Answer |
|---|---|---|
| `POST /v1/quote` | `{ account: AccountFacts \| null, run: RunFacts, queue: QueueFacts \| null }` | `Quote` |
diff --cc docs/public-signup.md
index f37211f9,c75e2b55..654e4063
--- a/docs/public-signup.md
+++ b/docs/public-signup.md
@@@ -377,62 -363,25 +379,69 @@@ Where the runs go
With it on:
-- An account with no GPU of its own can run in the studios (generations, camera motions, effects, apps). The run goes
- to this install's ComfyUI server (the address in Settings). An install whose ComfyUI runs on the owner's computer
- doesn't offer hosted runs.
-- An account whose own GPU is online runs there by default. The composer shows where a run goes ("Your GPU" or "This
- studio's GPUs"), and the person can pick either.
+- An account with no GPU of its own can run in the studios (generations, camera motions, effects, apps).
+- An account whose own GPU is online runs there by default, unless the billing service's policy puts the studio's
+ GPUs first (`prefer: "pool"`). The composer shows where a run goes ("Your GPU" or "This studio's GPUs"), and the
+ person can pick either. When the account's own GPU doesn't answer and the run named no place, the run is not moved
+ to the studio's GPUs: the page asks first, and runs it there if the person says so. A run the studio's GPUs wouldn't
+ take (a model or a kind not offered there, extra LoRAs, a file kind they don't take, Image to 3D, the billing service
+ not answering) goes to the account's own GPU as before, and waits for it there.
+- A guest is told what the billing service's policy for guests says (without one, what any account gets).
- Every other tool still needs the account's own GPU ("This tool doesn't run on your own GPU yet" stays as it is).
- Image to 3D, extra LoRAs added to a request, and clips and sound as inputs stay on the account's own GPU.
+ Image to 3D and extra LoRAs added to a request stay on the account's own GPU. So do clips and sound as inputs,
+ unless the policy and the studio's GPUs both take them.
+ - A choice that needs an NVIDIA RTX card (RTX Video's upscale, frame generation and HDR) doesn't go to the studio's
- GPUs when their last GPU check says the card can't run it, or that their ComfyUI lacks the RTX Video nodes. The run
- goes to the account's own GPU when it has one, or answers 403 `not-offered` ("This one needs an NVIDIA RTX card, and
- this studio's GPUs can't run it right now…").
++ GPUs when their last GPU check says the card can't run it, or that their ComfyUI lacks the RTX Video nodes (on the
++ workers, a worker takes a job only with its node packs). The run goes to the account's own GPU when it has one, or
++ answers 403 `not-offered` ("This one needs an NVIDIA RTX card, and this studio's GPUs can't run it right now…"),
++ and the price check says so before Run.
+ - When a billing service names the models that may run on the studio's GPUs, that applies to every model a run uses,
+ not only its main one.
-- An account can upload pictures for these runs. Clips and sound still need its own GPU or key.
+- An account can upload the kinds of file its policy allows for these runs (pictures without a billing service), and
+ only those the studio's GPUs take (`FUOBE_POOL_MEDIA_INPUTS` on the workers). Others still need its own GPU or key.
- A new account goes back to where it was after sign-up, not to "Connect your GPU". Connecting a GPU stays in
Settings → Your GPU and at `/connect`; the account menu says "Your GPU · Optional".
-- A run waiting for the studio's GPUs shows its place in line ("In line · 3rd · about 40 s"). A run may wait
- `FUOBE_POOL_WAIT_MIN` minutes (30 by default); past that it fails.
-- The account's usual limits apply: runs at once, runs per hour, outputs per run, and its space.
+- Before Run is pressed, the composer shows the price check's words ("Free", or the billing service's price) and where
+ the run would stand in line, with the wait (`line: { place, etaSeconds }` in the `?preview=1` answer). A check
+ that refuses the run (busy, a limit, not offered here, closed, paused, a top-up) turns Run off and says why in the
+ price slot. The run's own limits and what the studio's GPUs don't take are refused there too, never only after Run.
+ Both use one check (`poolGate` in `src/server/hosted-run.ts`), and a chain's later steps are checked for a guest
+ too. A guest's refusal never sends it to Settings. The check asks again by itself: every 15 s while it refuses the
+ run (so Run comes back once a run finishes), every 30 s while it shows a place in line, and at once when a run starts
+ or one on the studio's GPUs ends.
+- For a visitor with no GPU of its own, `GET /api/status` says what the studio's GPUs keep off (`viewer.pool`: the
+ policy's model and app lists, and its kinds). The app lists also hold every preset whose open model, or the kind it
+ makes, is kept off. The model, camera motion and effect pickers and the preset galleries leave those out. Preset cards
+ that run on the studio's GPUs for the viewer say "Try free".
+- A guest can attach files (pictures, clips and sound) in a studio before signing up: they stay in the browser and
+ are not uploaded. A voice recording, and a drawing or painted area on a kept picture, are uploaded as they are made,
+ so those ask the guest to sign up first. The whole draft (words, model, settings, preset and files) is kept for the
+ tab. When a guest presses Run, the run waits with the price it showed, and the sign-up card opens. Back on the same
+ page as an account, the draft returns, its files are uploaded as the account's own, and the run starts by itself
+ only when the price is unchanged, the draft is the one Run was pressed on, and every file came back. Otherwise a
+ line says why (the new price, the draft changed, or "Add your file again") and Run waits for a click.
+- Kept files are cleared when nobody needs them. As a studio page opens, it drops files kept for more than a day, and
+ files that no saved draft holds: its own tab's at once, another tab's once that tab has no page open. Each
+ studio's draft forgets only the files it held itself.
+- Results show an "AI-generated" tag.
+- A run on the studio's GPUs shows only where it is: "In line" with its place ("In line · 3rd · about 40 s"),
+ "Working" with its progress, then its result. The place counts every run ahead of it that the same GPUs serve
+ first, whatever its model. When a worker pauses, goes quiet or restarts, the run is "In line" again in the same
+ place. A run that can't finish shows one plain sentence; the owner reads the technical reason in the accounts' runs
+ (`detail` in `GET /api/admin/generations`). A failed run on the studio's GPUs never offers "Fix it". It says "Not
+ charged" only when its hold set an amount aside (a reserve answer with `amount` above 0).
+- A run may wait `FUOBE_POOL_WAIT_MIN` minutes (30 by default, or what the billing service says) before a worker
+ first takes it; past that it fails, not charged. Once a worker took it, that limit is over.
+- People's runs go before the owner's own jobs on the same GPUs, in the order they came (a billing service can put
+ paid runs first). One attempt may run as long as its lane's run ceiling, which the owner sets (45 minutes by
+ default; [gpu-workers.md](gpu-workers.md#the-queue)).
+- In a run's `params.extra`, a file input is used only when the run sent that file itself. A name of a file in the
+ GPUs' folders is dropped. The graph is checked before it is queued or sent: it reads only the files this run sent.
+- The account's usual limits apply: runs at once, runs per hour, outputs per run, and its space. The policy's limits
+ for runs on the studio's GPUs (runs at once, runs waiting, runs an hour, runs from one address an hour) count those
+ runs only, never runs on the account's own GPU or key. They are counted in the database as the run is made, so
+ requests sent together never pass them together. A chain counts once, and each of its steps must be one the policy
+ allows.
Two optional services can go with it:
diff --cc scripts/comfy/build-requirements.mjs
index 727990df,90990b06..2781b418
--- a/scripts/comfy/build-requirements.mjs
+++ b/scripts/comfy/build-requirements.mjs
@@@ -197,9 -196,10 +204,11 @@@ export function buildIndex({ manifest,
optional: uniq(wf.models.filter((m) => m.optional).map((m) => `${m.folder}/${m.file}`)),
vramGb: Number(wf.vramGb) || 0,
isolated: wf.worker === 'isolated',
+ // The card its nodes need (the NVIDIA RTX Video nodes): readiness checks it against the GPU's name.
+ ...(wf.gpu && { gpu: wf.gpu }),
firstRun: wf.autoDownloads ?? [],
...(wf.validated && { validated: true }),
+ ...(cpuWork(wf) && { cpu: true }),
};
}
diff --cc src/components/studio/attachments.ts
index 4354753c,c75a9601..d5364cb6
--- a/src/components/studio/attachments.ts
+++ b/src/components/studio/attachments.ts
@@@ -18,27 -17,13 +18,27 @@@ import { useStudio, type Draft, type Sl
*/
const inflight = new Map<string, { ac: AbortController; seen: boolean }>();
+/**
+ * The kept files (src/lib/held-files.ts) one draft held and no longer holds, to forget: `seen` is that draft's own
+ * list (updated here), so a file another studio's draft holds is never dropped by this one.
+ */
+export function heldToDrop(seen: Set<string>, held: ReadonlySet<string>): string[] {
+ for (const id of held) seen.add(id);
+ const gone = [...seen].filter((id) => !held.has(id));
+ for (const id of gone) seen.delete(id);
+ return gone;
+}
+
/** Abort uploads whose attachment is gone from the draft. Mount once, where the draft is read. */
- export function useUploadReaper(draft: Pick<Draft, "slots" | "refs" | "frames">) {
+ export function useUploadReaper(draft: Pick<Draft, "slots" | "refs" | "frames" | "refClips" | "refAudios">) {
+ // A guest's kept files this draft has held: one it takes out is forgotten too (each studio page has its own draft).
+ const heldSeen = useRef(new Set<string>());
useEffect(() => {
- const values = [...Object.values(draft.slots), ...draft.refs, ...(draft.frames ?? []).map((f) => f.value)];
++ const values = [...Object.values(draft.slots), ...draft.refs, ...(draft.refClips ?? []), ...(draft.refAudios ?? []), ...(draft.frames ?? []).map((f) => f.value)];
+ const held = new Set(values.map((v) => v?.held).filter((x): x is string => !!x));
+ for (const id of heldToDrop(heldSeen.current, held)) void dropHeld(id);
if (!inflight.size) return;
- const ids = new Set(
- [...Object.values(draft.slots), ...draft.refs, ...(draft.refClips ?? []), ...(draft.refAudios ?? []), ...(draft.frames ?? []).map((f) => f.value)].map((v) => v?.id).filter(Boolean),
- );
+ const ids = new Set(values.map((v) => v?.id).filter(Boolean));
for (const [id, e] of inflight) {
if (ids.has(id)) e.seen = true;
else if (e.seen) {
diff --cc src/components/studio/composer.tsx
index 744a2b27,f9953860..7b977594
--- a/src/components/studio/composer.tsx
+++ b/src/components/studio/composer.tsx
@@@ -1,10 -1,10 +1,10 @@@
"use client";
import { OrbitPad, orbitOptions } from "@/components/studio/orbit-pad";
- import { ArrowUp, AtSign, Cloud, Cpu, GalleryHorizontalEnd, LayoutDashboard, Loader2, Sparkles, X } from "lucide-react";
+ import { ArrowUp, AtSign, Cloud, Cpu, GalleryHorizontalEnd, LayoutDashboard, Library, Loader2, Sparkles, X } from "lucide-react";
import dynamic from "next/dynamic";
import Link from "next/link";
-import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
+import { useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
import { flushSync } from "react-dom";
import { toast } from "sonner";
import { openAddKey } from "@/components/keys/your-keys";
@@@ -318,13 -324,14 +330,19 @@@ export function Composer({ docked }: {
}, []);
const pickerOps = config.pickerOps ?? config.ops;
- const models = useMemo(() => filterModels(catalog.models, { kind: config.kind, ops: pickerOps }), [catalog.models, config.kind, pickerOps]);
+ // For a viewer with no GPU of its own (hosted runs), the open models this studio's GPUs keep off are left out.
+ const poolRules = status?.viewer?.hosted && !status.viewer.gpu.connected ? status.viewer.pool : undefined;
+ const models = useMemo(
+ () => filterModels(catalog.models, { kind: config.kind, ops: pickerOps }).filter((m) => poolRunsModel(poolRules, m)),
+ [catalog.models, config.kind, pickerOps, poolRules],
+ );
const model: ModelDef | undefined = catalog.getModel(draft.modelId);
+ // MiniMax H3 on your GPU has a References mode (Pika H3 Flex): reference clips and voice or music clips beside the images.
+ const refMode = config.ops.includes("ref2v") ? openReferenceMode(model) : null;
+ const [refsOpen, setRefsOpen] = useState(false);
+ const refClips = refMode ? (draft.refClips ?? []) : [];
+ const refAudios = refMode ? (draft.refAudios ?? []) : [];
+ const refSeconds = useMediaSeconds([...refClips, ...refAudios]);
// Fuobe Soul's presetId is a look (its own chip), not an app, motion or effect.
const takesLook = !!model?.options.looks;
const preset: Preset | undefined = draft.presetId && !takesLook ? catalog.getPreset(draft.presetId) : config.preset;
@@@ -554,14 -551,10 +572,16 @@@
? 0
: config.multiRef.kind === "video"
? Math.min(config.multiRef.max, model?.engine === "open" ? 4 : config.multiRef.max)
- : Math.min(config.multiRef.max, Math.max(0, ((model ? imageLimit(model, refOp) : opts.maxImages) ?? 1) - slots.filter((s) => s.accept === "image").length));
+ : refMode
+ ? Math.max(0, refMode.images - 1)
+ : Math.min(config.multiRef.max, Math.max(0, ((model ? imageLimit(model, refOp) : opts.maxImages) ?? 1) - slots.filter((s) => s.accept === "image").length));
- const attach = useAttach(slots, refMax);
+ // Hosted runs on, a guest's files are kept in this browser until sign-up (HoldFilesForGuests), and its whole draft and
+ // the run it pressed come back after it (useGuestDraft).
+ const guestHold = useContext(HoldFilesCtx);
+ const attach = useAttach(slots, refMax, { hold: guestHold });
+ const guestDraft = useGuestDraft({ hold: guestHold, viewer: status?.viewer?.kind, draft: typed, setDraft });
+ // The price changed since its guest pressed Run: said once, and Run waits for a click.
+ const [priceNote, setPriceNote] = useState<string | null>(null);
// Frames mode (Video studio): up to 10 stills at their times, as the picked model can take them.
const framesOn = !!config.frames && !!draft.frames;
diff --cc src/lib/api.ts
index 60cbf300,5e50b68d..c93f9ccc
--- a/src/lib/api.ts
+++ b/src/lib/api.ts
@@@ -1,10 -1,10 +1,10 @@@
"use client";
import { keepPreviousData, useInfiniteQuery, useMutation, useQuery, useQueryClient, type QueryClient } from "@tanstack/react-query";
-import { useCallback, useEffect, useMemo, useRef, useSyncExternalStore } from "react";
+import { useCallback, useContext, useEffect, useMemo, useRef, useSyncExternalStore } from "react";
import { toast } from "sonner";
import type { AssistThread, AssistThreadSummary, AssistThreadView } from "./assist";
- import type { OwnerGpuView, TestProvider } from "./connections";
+ import { make3dOffered, type OwnerGpuView, type TestProvider } from "./connections";
import type { ElementKind, StudioElement } from "./catalog/elements";
import type { Engine, Generation, GenerationRequest, MediaKind, ReviewStatus } from "./catalog/types";
import {
diff --cc src/lib/catalog/types.ts
index 4f6430ca,338d8a14..89da789c
--- a/src/lib/catalog/types.ts
+++ b/src/lib/catalog/types.ts
@@@ -289,17 -299,9 +299,18 @@@ export const OPERATION_OUTPUT: Record<O
"song-extend": "audio",
"song-remix": "audio",
"song-stems": "audio",
+ "world-turn": "video",
};
+/**
+ * What an operation makes on a model of this kind: colour matching works on images and videos, fal renders a timeline
+ * as a video, and a 3D scene is a mesh on the open engine and a depth map (an image) on the cloud, so those follow the
+ * model.
+ */
+export function operationOutput(op: Operation, modelKind: MediaKind): MediaKind {
+ return op === "color-match" || op === "timeline" || op === "scene-3d" ? modelKind : OPERATION_OUTPUT[op];
+}
+
/**
* Video codecs and containers an export or HDR job can write (params.format): H.264 MP4, 10-bit H.265
* MP4, ProRes 422 HQ or 4444 in a .mov, lossless FFV1 in a .mkv, or a 16-bit EXR frame sequence.
diff --cc src/lib/computer-runner.ts
index 6a73c8ec,42d9ac66..b92e52a2
--- a/src/lib/computer-runner.ts
+++ b/src/lib/computer-runner.ts
@@@ -11,21 -11,7 +11,22 @@@ import { isGuard } from "./comfy-guard"
import { fetchWithin } from "./fetch-within";
import { parseComfyBinary, parseComfyText } from "./comfy-ws";
import { graphProblem, localBase, mayDownload, readPath, statsFacts, viewPath, writePath, type SystemStats } from "./local-comfy";
-import { DONE_SHOWN_MS, META_BATCH_HISTORY, RELAY_LIMITS, RELAY_TIMES, type BeatAnswer, type ClaimedTask, type ComputerFacts, type HistoryEntryLike, type RelayState, type ReportEvent, type TabFailure, type WantedFile } from "./relay";
+import {
+ DONE_SHOWN_MS,
++ META_BATCH_HISTORY,
+ RELAY_LIMITS,
+ RELAY_TIMES,
+ type BeatAnswer,
+ type ClaimedTask,
+ type ComputerFacts,
+ type GiveBackWhy,
+ type HistoryEntryLike,
+ type RelayState,
+ type ReportEvent,
+ type TabFailure,
+ type TaskInput,
+ type WantedFile,
+} from "./relay";
/** The parts of a WebSocket the runner uses (the browser's, or Node's). */
export interface SocketLike {
@@@ -896,17 -626,12 +897,18 @@@ export class ComputerRunner
const q = await this.read<{ queue_running?: unknown[][]; queue_pending?: unknown[][] }>("/queue").catch(() => null);
if (!q) {
await this.waitForComfy(t);
+ moved(`back:${this.now()}`);
continue;
}
- const running = [...(q.queue_running ?? []), ...(q.queue_pending ?? [])].some((r) => hasPrefix(r[2], following!));
+ const queued = [...(q.queue_running ?? []), ...(q.queue_pending ?? [])].filter((r) => hasPrefix(r[2], following!));
+ const running = queued.length > 0;
+ if (running) runningSince ??= this.now();
- const passes = Object.values(await this.read<Record<string, HistoryEntryLike>>("/history?max_items=64").catch(() => ({}))).filter((e) => hasPrefix(e.prompt?.[2], following!));
+ // Every pass once the last is done (an EXR export saves frames in each one).
+ const passes = running ? [] : Object.values(await this.read<Record<string, HistoryEntryLike>>(`/history?max_items=${META_BATCH_HISTORY}`).catch(() => ({}))).filter((e) => hasPrefix(e.prompt?.[2], following!));
- const a = await this.report(t, { event: "passes", running, entries: running ? [] : passes.map(slim) });
+ const ev = this.events.get(String(queued[0]?.[1] ?? ""));
+ moved(JSON.stringify([queued.map((r) => r[1]), passes.length, ev?.value, ev?.node, ev?.nodesDone]));
+ if (!running && worker) await this.keep(t, { kind: "passes", entries: passes, execMs: execOf(passes) });
+ const a = await this.report(t, { event: "passes", running, entries: running ? [] : passes.map(slim), ...(!running && exec(execOf(passes))) });
if (a.stop) throw new Stopped();
if (!running) return { entries: passes, answer: a };
this.job(t, { phase: "running" });
diff --cc src/lib/gpu/types.ts
index 15108c1e,260f926f..8fb5124d
--- a/src/lib/gpu/types.ts
+++ b/src/lib/gpu/types.ts
@@@ -89,12 -93,8 +93,14 @@@ export interface IndexWorkflow
firstRun: string[];
/** On a graph a real ComfyUI accepted. */
validated?: true;
+ /**
+ * CPU work: no model file, no first-run download and `vramGb: 0` written in the manifest (joins, trims, adding sound,
+ * Ken Burns). A marker only: nothing in the studio reads it yet. Derived by scripts/comfy/build-requirements.mjs
+ * (cpuWork).
+ */
+ cpu?: true;
+ /** The card its nodes need (the NVIDIA RTX Video nodes): checked against the GPU's name. */
+ gpu?: GpuNeed;
}
// ---------------------------------------------------------------------------
diff --cc src/server/billing.ts
index d68a3cd8,19d91d08..87460104
--- a/src/server/billing.ts
+++ b/src/server/billing.ts
@@@ -46,12 -46,8 +46,13 @@@ export interface RunFacts
inputs: { image: number; video: number; audio: number };
lane: string | null;
providerUsd: number | null;
- /** The other steps the run makes beside `model` (a 2K take's Open-H3 Regenerate finish), when it makes any. */
- steps?: { model: string; op: string }[];
+ /**
+ * Every step of the run that uses this install's GPUs, its own step first, so one quote and one hold cover a whole
- * chain (one press of Run). Steps that need no model (joins, trims) and text steps are left out: they cost nothing.
- * Absent: the run is its own one step.
++ * chain (one press of Run) and the steps a run makes beside its own model (a 2K take's Open-H3 Regenerate finish).
++ * Steps that need no model (joins, trims) and text steps are left out: they cost nothing. Absent: the run is its own
++ * one step.
+ */
+ steps?: { model: string; op: string | null; kind: RunFacts["kind"]; jobs: number; lane: string | null }[];
}
export interface QueueFacts {
diff --cc src/server/generations.ts
index 5f50b819,249bd99d..e1531013
--- a/src/server/generations.ts
+++ b/src/server/generations.ts
@@@ -99,13 -101,10 +103,13 @@@ import { convertMask, decodePng, encode
import { engineMode, getSetting, withCandidates, withoutCandidates } from "./settings";
import { blockedForAccounts, discardBody, fetchRemoteToFile, RemoteFetchError } from "./remote-fetch";
import { accountSend } from "./account-send";
-import { stamped, stampOf, withRunStamp } from "./run-stamp";
-import { placeInLine, poolWaitMs, runOnPool } from "./hosted";
+import { stamped, stampOf, withoutStamp, withRunStamp } from "./run-stamp";
+import { POOL_WORDS, RELAY_WORDS } from "@/lib/relay";
+import { placeInLine, poolRunsProvider, poolWaitMs, runOnPool } from "./hosted";
+import { poolLane } from "./computer/pool";
+import { runCeilingMs } from "./queue-settings";
import { sweepBilling } from "./billing-outbox";
- import { inDemoScope } from "./demo-scope";
+ import { inDemoScope, outsideDemo } from "./demo-scope";
import { moderationConfigured } from "./moderation";
import { holdForCheck, sweepOutputChecks } from "./output-checks";
import { absolutePath, adoptFile, contentTypeFor, deleteAsset, localHead, readRef, saveFile, scratchDir, scratchOutputFile } from "./storage";
@@@ -2084,11 -2112,10 +2244,13 @@@ async function submitNow
const POLL_MS = 1500;
/** Jobs about to finish (progress ≥ 0.9) are polled this often, so results land sooner. */
const FAST_POLL_MS = 500;
-/** How long a job may run once its provider has started it… */
+/**
+ * How long a job may run once its provider has started it… (A job on this install's own GPUs: its lane's run ceiling,
+ * which the owner sets, 45 minutes by default: runningLimitMs.)
+ */
const TIMEOUT_MS = 45 * 60 * 1000;
+ /** …except on the WorldCast worker (N7-9): 50 steps at CFG 5 on a 14B model, tens of minutes a clip (its time is unpublished). */
+ const WORLDCAST_TIMEOUT_MS = 3 * 60 * 60 * 1000;
/** …and how long it may wait in the provider's queue first (a busy local GPU works through jobs one by one). */
const QUEUE_TIMEOUT_MS = 4 * 60 * 60 * 1000;
/** A row this old with no external id, that no submit in this process is working on, was cut off by a restart. */
@@@ -2260,25 -2281,6 +2422,26 @@@ async function fastTick(): Promise<void
}
}
+/**
+ * How long a started job may run: on this install's own GPUs (an account's run there, or the owner's ComfyUI job), its
- * lane's run ceiling (queue-settings.ts); anywhere else (an account's own GPU or key, a cloud provider) 45 minutes, as
- * always.
++ * lane's run ceiling (queue-settings.ts); on the WorldCast worker 3 hours; anywhere else (an account's own GPU or key, a
++ * cloud provider) 45 minutes, as always.
+ */
+function runningLimitMs(r: Pick<Row, "provider">, meta: Record<string, unknown>, account: string | undefined, onPool: boolean): number {
++ if (r.provider === "worldcast") return WORLDCAST_TIMEOUT_MS;
+ if (r.provider !== "comfyui" || (account && !onPool)) return TIMEOUT_MS;
+ const wf = typeof meta.workflowId === "string" && !meta.workflowId.includes("{") ? meta.workflowId : null;
+ return runCeilingMs(wf ? poolLane(wf) : null);
+}
+
+/**
+ * Is the run's job a task for the workers? An account's run on this install's GPUs that went to the workers, or one the
+ * provider marked so when it handed the job over (the owner's jobs on the workers too).
+ */
+function workersTask(meta: Record<string, unknown>, onPool: boolean): boolean {
+ return typeof meta.relay === "string" && (onPool || meta.workers === true);
+}
+
/** Order by: the owner's rows (no account in the request) before accounts'. */
const ACCOUNT_LAST = "(json_extract(request_json, '$.account') IS NOT NULL)";
diff --cc src/server/hosted-run.ts
index 11eeef19,137fec35..531444c9
--- a/src/server/hosted-run.ts
+++ b/src/server/hosted-run.ts
@@@ -21,20 -22,14 +23,21 @@@ import
type RefuseCode,
type RunFacts,
} from "./billing";
-import { outputKind, previewGeneration } from "./generations";
-import { HOSTED_WORDS, inputCounts, poolAllowsRun, poolReady, queueFacts, runFacts, runOnPool } from "./hosted";
+import { getModel } from "@/lib/catalog";
+import { needsOf } from "@/lib/lanes";
+import { PLACE_ASK_HEADER } from "@/lib/guest-access";
+import { createGenerations, outputKind, plannedSteps, previewGeneration, type PlannedStep } from "./generations";
+import { loadIndex } from "./gpu/index-file";
+import { poolLane } from "./computer/pool";
- import { HOSTED_GUEST_WORDS, HOSTED_WORDS, inputCounts, poolAllows, poolOnWorkers, poolReady, poolRunsProvider, poolTakes, poolTakesFiles, POOL_LANE, queueFacts, runFacts, runOnPool, workflowPicks } from "./hosted";
++import { HOSTED_GUEST_WORDS, HOSTED_WORDS, inputCounts, poolAllows, poolAllowsRun, poolOnWorkers, poolReady, poolRunsProvider, poolTakes, poolTakesFiles, POOL_LANE, queueFacts, runFacts, runOnPool, workflowPicks } from "./hosted";
+import { withRunStamp } from "./run-stamp";
import { hostedRunsOn } from "./hosted-switch";
import { checkRun, moderationConfigured } from "./moderation";
import type { RunStamp } from "./run-stamp";
import { readRef } from "./storage";
+ import { readSnapshot } from "./gpu/snapshots";
import { ACCOUNT_LIMITS } from "./account-files";
+import { poolLimitRefusal } from "./pool-limits";
import { runAsTenant } from "./tenant";
/**
@@@ -72,148 -67,8 +75,153 @@@ const billingRefusal = (code: RefuseCod
type Planned = ReturnType<typeof previewGeneration>;
-/** The decision for an account's run: its own GPU or key as today, this install's GPUs, or a refusal. */
-export type PlaceDecision = { kind: "own" } | { kind: "pool"; planned: Planned; policy: Policy } | { kind: "refuse"; refusal: Refusal };
+/**
+ * The decision for an account's run: its own GPU or key as today, this install's GPUs, or a refusal. On this install's
+ * GPUs: the request as it runs there (`req`, `capped` when the policy cut its outputs), its plan, its policy and the steps
+ * it is priced for.
+ */
+export type PlaceDecision =
+ | { kind: "own" }
+ | { kind: "pool"; planned: Planned; policy: Policy; steps: RunFacts["steps"]; req: GenerationRequest; capped: boolean }
+ | { kind: "refuse"; refusal: Refusal };
+
+const OWN: PlaceDecision = { kind: "own" };
+
+/** What an account whose own GPU didn't answer is asked, when its run named no place (never moved and charged unasked). */
+export const OWN_GPU_QUIET = "Your GPU isn't answering right now. Run this on this studio's GPUs instead, or try again when your GPU is back.";
+
+/** A run this install's GPUs won't take, refused in the words the price check before Run gives too. */
+const notOffered = (error: string): PlaceDecision => ({ kind: "refuse", refusal: { status: 403, body: { error, code: "not-offered" }, headers: { [BILLING_HEADER]: "not-offered" } } });
+
+const askPlace = (): Refusal => ({ status: 409, body: { error: OWN_GPU_QUIET, code: "own-gpu-offline" }, headers: { [PLACE_ASK_HEADER]: "1" } });
+
+/** Does the policy put runs on this install's GPUs first, before the account's own GPU? */
+const prefersPool = (p: Policy | null | undefined): boolean => !!p?.hosted && p.prefer === "pool";
+
+/** May a run of this kind use this install's GPUs under the policy (`kinds` absent: every kind)? */
+export const kindAllowed = (p: Pick<Policy, "kinds">, kind: RunFacts["kind"]): boolean => p.kinds?.[kind] !== false;
+
+const stepEndpoint = (s: PlannedStep): string | undefined => {
+ const m = getModel(s.modelId);
+ return (m?.routes.find((r) => r.op === s.op && r.provider === s.provider) ?? m?.routes.find((r) => r.provider === s.provider))?.endpoint;
+};
+
+/**
+ * A ComfyUI step that needs no model and no graphics memory (a join, a trim, a mux): light work that costs nothing and
+ * that every policy allows.
+ */
+function freeStep(s: PlannedStep): boolean {
+ if (s.provider !== "comfyui") return false;
+ const endpoint = stepEndpoint(s);
+ if (!endpoint) return false;
+ // A workflow that picks its graph at run time (`video-concat-{n}`): light when every graph it may pick is.
+ const index = loadIndex();
+ const needs = (endpoint.includes("{") ? workflowPicks(endpoint) : [endpoint]).map((id) => needsOf(index, id));
+ return needs.length > 0 && needs.every((x) => !!x && x.files.length === 0 && x.minVramBytes === 0);
+}
+
+/**
+ * Every row an account's run would make on this install's GPUs (a chain's later steps too), planned as the real run plans
+ * them and thrown away. Null when the request can't be made (the real run says why).
+ */
+export function poolSteps(accountId: string, req: GenerationRequest): PlannedStep[] | null {
+ try {
+ return runOnPool(accountId, () => withRunStamp({ place: "pool" }, () => plannedSteps(() => createGenerations(req))));
+ } catch {
+ return null;
+ }
+}
+
+/**
+ * The first step of a run that this install's GPUs may not take under the policy (its model or app not offered, a kind
+ * the policy leaves out, a model no worker is allowed, a cloud model, a text step or one made in the browser: steps that
+ * can't run there), in words; null when every step may run there. A light ComfyUI step (a join) costs nothing and every
+ * policy allows it, but it still runs there: something there must take it, or the run's other steps would finish and
+ * their join would wait for nothing.
+ */
+export function stepsProblem(p: Policy, steps: PlannedStep[]): string | null {
+ for (const s of steps) {
+ if (!poolRunsProvider(s.provider)) return HOSTED_WORDS.notOffered;
+ if (freeStep(s)) {
+ if (s.provider === "comfyui" && !poolTakes(stepEndpoint(s))) return HOSTED_WORDS.notOffered;
+ continue;
+ }
+ if (s.provider !== "comfyui" || s.kind === "model3d") return HOSTED_WORDS.notOffered;
+ if (!poolAllows(p, s.modelId, s.presetId) || !kindAllowed(p, s.kind as RunFacts["kind"])) return HOSTED_WORDS.notOffered;
+ if (!poolTakes(stepEndpoint(s))) return HOSTED_WORDS.notOffered;
+ }
+ return null;
+}
+
+/** The steps of a run that use this install's GPUs, for its one price: each model and operation once, with its rows. */
+export function pricedSteps(steps: PlannedStep[]): NonNullable<RunFacts["steps"]> {
+ const out = new Map<string, NonNullable<RunFacts["steps"]>[number]>();
+ for (const s of steps) {
+ if (freeStep(s) || !poolRunsProvider(s.provider)) continue;
+ const key = `${s.modelId} ${s.op}`;
+ const had = out.get(key);
+ if (had) {
+ had.jobs++;
+ continue;
+ }
+ const endpoint = stepEndpoint(s);
+ out.set(key, { model: s.modelId, op: s.op || null, kind: s.kind as RunFacts["kind"], jobs: 1, lane: poolOnWorkers() && endpoint && !endpoint.includes("{") ? poolLane(endpoint) : POOL_LANE });
+ }
+ return [...out.values()];
+}
+
- /** Why this install's GPUs won't take a run: a 3D model, a model or kind not offered there, LoRAs, or a kind of file. */
- export type GateReason = "model3d" | "notOffered" | "loras" | "inputs";
++/**
++ * Why this install's GPUs won't take a run: a 3D model, a model or kind not offered there, a model their card can't run,
++ * LoRAs, or a kind of file.
++ */
++export type GateReason = "model3d" | "notOffered" | "rtxCard" | "loras" | "inputs";
+
+/** The words for a gate's reason: an account may connect its own GPU in Settings, a guest has nowhere to do that yet. */
+export function gateWords(reason: GateReason, guest: boolean): string {
+ if (reason === "model3d") return OWN_GPU_TOOL_MESSAGE;
+ return (guest ? HOSTED_GUEST_WORDS : HOSTED_WORDS)[reason];
+}
+
+/**
+ * The one check of whether this install's GPUs take a run, shared by the run itself (decidePlace) and the price check
+ * before Run (poolQuote), so the two always agree: its output kind (no 3D there), the policy's model, app and kind
- * lists, a worker allowed its lane, LoRAs, the kinds of file it sends, and every later step of a chain (planned only
- * once the cheaper checks pass). `p` null: the billing service didn't answer, so only what needs no policy is checked.
- * Passed, it gives the planned steps for the run's one price.
++ * lists (for the run's own model and every other model it makes a step with, such as a 2K take's finish), a worker
++ * allowed its lane, a card that can run it, LoRAs, the kinds of file it sends, and every later step of a chain (planned
++ * only once the cheaper checks pass). `p` null: the billing service didn't answer, so only what needs no policy is
++ * checked. Passed, it gives the planned steps for the run's one price.
+ */
+export function poolGate(
+ p: Policy | null,
+ planned: Planned,
+ req: GenerationRequest,
+ planSteps: () => PlannedStep[] | null,
+): { ok: true; steps: PlannedStep[] | null } | { ok: false; reason: GateReason } {
+ const kind = outputKind(planned.op, planned.model);
+ if (kind === "model3d") return { ok: false, reason: "model3d" };
- if (p && (!poolAllows(p, planned.model.id, req.presetId) || !kindAllowed(p, kind))) return { ok: false, reason: "notOffered" };
++ if (p && (!poolAllowsRun(p, planned, req.presetId) || !kindAllowed(p, kind))) return { ok: false, reason: "notOffered" };
+ // Nothing of this install's would ever run it (no worker is allowed its lane): never a run that waits for nothing.
+ if (!poolTakes(planned.route.endpoint)) return { ok: false, reason: "notOffered" };
++ if (poolCardRefuses(planned.model.id)) return { ok: false, reason: "rtxCard" };
+ if (req.loras?.length) return { ok: false, reason: "loras" };
+ if (p) {
+ const inputs = inputCounts(req);
+ const takes = (k: "image" | "video" | "audio") => p.uploads[k] && poolTakesFiles(k);
+ if ((inputs.image && !takes("image")) || (inputs.video && !takes("video")) || (inputs.audio && !takes("audio"))) return { ok: false, reason: "inputs" };
+ }
+ // Every step of a chain, not only its first: each one the policy must allow, and the run is priced for all of them.
+ const steps = planSteps();
+ if (steps && p && stepsProblem(p, steps)) return { ok: false, reason: "notOffered" };
+ return { ok: true, steps };
+}
+
+/**
+ * The account a guest's price check plans a chain's later steps under: no real account has it (account ids hold no
+ * colon), and nothing planned under it is kept (plannedSteps throws every row away).
+ */
+const GUEST_PLAN = "guest:plan";
+
+/** Every row a run would make on this install's GPUs, for an account or (planned as nobody's) for a guest's price check. */
+const stepsFor = (account: Account | null, req: GenerationRequest) => poolSteps(account?.id ?? GUEST_PLAN, req);
/** Is the account's own GPU there to run now? */
async function ownGpuOnline(accountId: string): Promise<boolean> {
@@@ -226,74 -81,46 +234,90 @@@
}
}
+/**
+ * A request as it runs on this install's GPUs: no more outputs than the studio's cap per run, and the policy's when lower
+ * (`capped`: fewer than it asked). The price check and the run plan and price this same request.
+ */
+export function poolRequest(req: GenerationRequest, p: Pick<Policy, "limits"> | null): { req: GenerationRequest; capped: boolean } {
+ const policyCap = p && p.limits.outputsPerRun > 0 ? [Math.floor(p.limits.outputsPerRun)] : [];
+ const cap = Math.min(ACCOUNT_LIMITS.outputsPerRun, ...policyCap);
+ if ((req.params?.numOutputs ?? 1) <= cap) return { req, capped: false };
+ return { req: { ...req, params: { ...req.params, numOutputs: cap } }, capped: true };
+}
+
+ /**
+ * A model that needs an NVIDIA RTX card (src/lib/catalog/rtx-video.ts) on this install's GPUs: refused when the install's
+ * last GPU check says its card can't run it (a CPU, an Apple, AMD or Intel device, an older NVIDIA card) or its ComfyUI
+ * lacks the RTX Video nodes. A card the name doesn't tell, or no check yet, never refuses (the run says what it finds).
++ * On the workers that check is of another machine, so it isn't made: a worker takes a job only when it has the job's
++ * node packs and files.
+ */
+ export function poolCardRefuses(modelId: string): boolean {
++ if (poolOnWorkers()) return false;
+ const need = rtxCardOf(modelId);
+ if (!need) return false;
+ const inv = readSnapshot({ kind: "install", key: "install", via: "server" })?.inventory;
+ if (!inv?.reachable) return false;
+ return gpuFits(need, inv) === false || RTX_CLASSES.some((c) => inv.nodes.missing.includes(c));
+ }
+
/**
* Where an account's run goes (hosted.ts has the order). Only with hosted runs on; otherwise always "own" (today).
+ *
+ * An account with a GPU of its own keeps it as before: its own GPU first (unless the policy puts this install's first),
+ * and every run this install's GPUs wouldn't take (the service down, hosted runs closed to it, a model or a kind not
+ * offered, LoRAs, inputs, a step no worker takes, 3D) goes to its own GPU, even while that GPU doesn't answer. Only a run
+ * this install's GPUs would take, that named no place, whose own GPU doesn't answer, is asked about (never moved there,
+ * and charged, unasked).
*/
-export async function decidePlace(account: Account, req: GenerationRequest, wish: PlaceWish): Promise<PlaceDecision> {
- if (!hostedRunsOn() || wish === "own" || !poolReady()) return { kind: "own" };
+export async function decidePlace(account: Account, asked: GenerationRequest, wish: PlaceWish): Promise<PlaceDecision> {
+ if (!hostedRunsOn() || wish === "own" || !poolReady()) return OWN;
let planned: Planned;
try {
- planned = runOnPool(account.id, () => previewGeneration(req));
+ planned = runOnPool(account.id, () => previewGeneration(asked));
} catch {
// A paid model, a model switched off, a request with something wrong: today's path says what.
- return { kind: "own" };
+ return OWN;
+ }
+ if (planned.route.provider !== "comfyui") return OWN;
+ // What this install's GPUs can't take goes to the account's own GPU when it has one and didn't ask for this install's.
+ const ownFallback = !!accountGpu(account.id) && wish !== "pool";
+ // Its own GPU first, unless the policy puts this install's first. The policy as last read is enough to know that (no
+ // call to the billing service); when none is kept, it is read while the GPU is checked.
+ let p = cachedPolicy(account.id);
+ let ownOffline = false;
+ if (ownFallback && !prefersPool(p)) {
+ const [online, read] = await Promise.all([ownGpuOnline(account.id), p === undefined ? billingPolicy(account.id) : Promise.resolve(p)]);
+ p = read;
+ if (!prefersPool(p)) {
+ if (online) return OWN;
+ ownOffline = true;
+ }
+ }
+ if (p === undefined) p = await billingPolicy(account.id);
+ if (!p) return ownFallback ? OWN : { kind: "refuse", refusal: billingRefusal("paused", BILLING_WAIT.run) };
+ // Closed to this account: its own GPU (or today's "Connect your GPU"); asked for by name, said so.
+ if (!p.hosted) return wish === "pool" ? notOffered(HOSTED_WORDS.notHosted) : OWN;
+ // Planned, checked and priced for the outputs it would make there (the policy's cap per run).
+ const { req, capped } = poolRequest(asked, p);
+ if (capped) {
+ try {
+ planned = runOnPool(account.id, () => previewGeneration(req));
+ } catch {
+ return OWN;
+ }
+ }
+ // The same check as the price check before Run (poolGate): what this install's GPUs can't take goes to the account's
+ // own GPU when it has one and didn't ask for this install's; otherwise it is refused in the same words.
+ const gate = poolGate(p, planned, req, () => stepsFor(account, req));
+ if (!gate.ok) {
+ if (ownFallback) return OWN;
+ const error = gateWords(gate.reason, false);
+ return gate.reason === "model3d" ? { kind: "refuse", refusal: { status: 403, body: { error, code: "own-gpu-tool" }, headers: {} } } : notOffered(error);
}
- if (planned.route.provider !== "comfyui") return { kind: "own" };
- const hasGpu = !!accountGpu(account.id);
- if (hasGpu && wish !== "pool" && (await ownGpuOnline(account.id))) return { kind: "own" };
- const p = await billingPolicy(account.id);
- if (!p) return { kind: "refuse", refusal: billingRefusal("paused", BILLING_PAUSED) };
- if (!p.hosted) return { kind: "own" };
- // From here on the run would be this install's: what it can't take there goes to the account's own GPU when it has one.
- const notHere = (error: string): PlaceDecision => (hasGpu && wish !== "pool" ? { kind: "own" } : { kind: "refuse", refusal: { status: 403, body: { error, code: "not-offered" }, headers: { [BILLING_HEADER]: "not-offered" } } });
- if (outputKind(planned.op, planned.model) === "model3d") return hasGpu && wish !== "pool" ? { kind: "own" } : { kind: "refuse", refusal: { status: 403, body: { error: OWN_GPU_TOOL_MESSAGE, code: "own-gpu-tool" }, headers: {} } };
- if (!poolAllowsRun(p, planned, req.presetId)) return notHere(HOSTED_WORDS.notOffered);
- if (poolCardRefuses(planned.model.id)) return notHere(HOSTED_WORDS.rtxCard);
- if (req.loras?.length) return notHere(HOSTED_WORDS.loras);
- const inputs = inputCounts(req);
- if ((inputs.image && !p.uploads.image) || (inputs.video && !p.uploads.video) || (inputs.audio && !p.uploads.audio)) return notHere(HOSTED_WORDS.inputs);
- return { kind: "pool", planned, policy: p };
+ // Its own GPU didn't answer the check: asked, never moved to this install's GPUs (and charged) without a word.
+ if (ownOffline) return { kind: "refuse", refusal: askPlace() };
+ return { kind: "pool", planned, policy: p, steps: gate.steps ? pricedSteps(gate.steps) : undefined, req, capped };
}
/** The input files of a request, for the moderation service: their kind and sha256 (pictures' previews: not sent yet). */
diff --cc src/server/hosted.ts
index eb504b74,37ddb04c..3c959396
--- a/src/server/hosted.ts
+++ b/src/server/hosted.ts
@@@ -113,13 -52,6 +114,14 @@@ export const HOSTED_WORDS =
waitedTooLong: "This studio's GPUs were busy, so it didn't run. Not charged.",
};
+/** The same refusals for a guest, who has no Settings to connect a GPU in yet. */
+export const HOSTED_GUEST_WORDS = {
+ notOffered: "This one isn't offered here. Pick another model.",
++ rtxCard: "This one isn't offered here right now. Pick another choice.",
+ loras: "Extra LoRAs aren't offered here. Run without them.",
+ inputs: "This kind of file can't be used here. Use a picture instead.",
+};
+
/** May this model (and app) run on this install's GPUs under this policy? */
export function poolAllows(p: Pick<Policy, "pool">, modelId: string, presetId?: string | null): boolean {
const m = p.pool ?? {};
@@@ -213,127 -144,13 +223,143 @@@ export function placeInLine(generationI
return { place: before + 1, etaSeconds: typical === null ? null : Math.round(((before + 1) * typical) / 1000) };
}
+type Size = { width: number; height: number };
+const megapixelsOf = (s: Size) => Math.round((s.width * s.height) / 10_000) / 100;
+const positive = (v: unknown): number | null => ((typeof v === "number" || typeof v === "string") && Number.isFinite(Number(v)) && Number(v) > 0 ? Number(v) : null);
+
+/** The size of a request's first input picture (else clip), from its file's header; null when it can't be read. */
+function inputSize(req: GenerationRequest): Size | null {
+ const i = req.inputs ?? {};
+ const picture = i.images?.[0] ?? i.endImage;
+ const head = picture ? localHead(picture) : null;
+ const still = head ? imageSize(head) : null;
+ if (still) return still;
+ const clip = i.video ?? i.videos?.[0];
+ const info = clip ? storedMedia(clip)?.info : null;
+ return info?.width && info.height ? { width: info.width, height: info.height } : null;
+}
+
+/** An upscale model's own factor, from its file's name (RealESRGAN_x4plus, 4x-UltraSharp: 4). */
+function modelFactor(name: unknown): number {
+ const m = typeof name === "string" ? /(?:^|[^a-z0-9])x(\d)(?:[^0-9]|$)|(?:^|[^a-z0-9])(\d)x(?:[^a-z0-9]|$)/i.exec(name) : null;
+ return m ? Number(m[1] ?? m[2]) : 1;
+}
+
+/**
+ * The size of each picture or frame a ComfyUI workflow makes, about, as the provider binds its graph (comfyui.ts
+ * prepare): the canvas the graph binds (the request's own canvas only where the workflow binds one, else its aspect ratio
+ * and resolution within the workflow's limits); or, for a workflow that takes its size from its input (an edit, an
+ * upscale, a face swap), the input's size, an upscale's times its factor, within the workflow's limits. Undefined when
+ * there's no such workflow, null when its input can't be read.
+ */
+function workflowSize(req: GenerationRequest, endpoint: string, modelId: string): Size | null | undefined {
+ let found: ReturnType<typeof getWorkflow>;
+ try {
+ found = getWorkflow(endpoint);
+ } catch {
+ return undefined;
+ }
+ const { manifest, workflow } = found;
+ const b = manifest.bindings as Record<string, { node: string; input: string }[] | undefined>;
+ const d = (manifest.defaults ?? {}) as Record<string, unknown>;
+ const extra = (req.params?.extra ?? {}) as Record<string, unknown>;
+ // A bound value: the request's, else the workflow's default, else what its graph holds.
+ const valueOf = (key: string): unknown => {
+ if (extra[key] !== undefined) return extra[key];
+ if (d[key] !== undefined) return d[key];
+ const at = b[key]?.[0];
+ return at ? (workflow[at.node]?.inputs as Record<string, unknown> | undefined)?.[at.input] : undefined;
+ };
+ const maxW = Number(manifest.limits?.maxWidth ?? Infinity);
+ const maxH = Number(manifest.limits?.maxHeight ?? Infinity);
+ const src = inputSize(req);
+ if (b.width && b.height) {
+ const [w, h] = [positive(extra.width), positive(extra.height)];
+ if (w && h) return fitCanvas(w, h, manifest.limits);
+ const model = getModel(modelId);
+ const asked = req.params?.aspectRatio ?? model?.defaults?.aspectRatio;
+ const h3 = isH3Graph(manifest.id);
+ // "auto" (or H3 from a still) keeps the input's shape when its header says it.
+ const follows = !asked || asked === "auto" || (h3 && !!b.image);
+ const shape = follows && src ? `${src.width}:${src.height}` : asked === "auto" ? undefined : asked;
+ if (h3) return h3Canvas(shape);
+ const multiple = Number(manifest.limits?.dimensionMultiple ?? 16);
+ const dims = computeDimensions(shape, req.params?.resolution ?? model?.defaults?.resolution, { width: Number(d.width ?? 1024), height: Number(d.height ?? 1024) }, multiple);
+ const k = Math.min(1, maxW / dims.width, maxH / dims.height);
+ return { width: Math.max(multiple, Math.floor((dims.width * k) / multiple) * multiple), height: Math.max(multiple, Math.floor((dims.height * k) / multiple) * multiple) };
+ }
+ if (!src) return null;
+ let size: Size = { ...src };
+ // What it scales its input to: so many megapixels, an upscale model's factor and a scale, a shorter side.
+ const mp = b.megapixels ? positive(valueOf("megapixels")) : null;
+ if (mp) {
+ const k = Math.sqrt((mp * 1e6) / (size.width * size.height));
+ size = { width: size.width * k, height: size.height * k };
+ }
+ let factor = b.upscaleModel ? modelFactor(valueOf("upscaleModel")) : 1;
+ if (b.scale) {
+ const scale = positive(valueOf("scale")) ?? 1;
+ // SeedVR2 lowers its scale to fit its limits, to a 0.01 step (comfyui.ts); the others scale as asked.
+ factor *= manifest.id === "upscale-image-seedvr2" ? Math.min(scale, Math.floor(Math.min(maxW / size.width, maxH / size.height) * 100) / 100) : scale;
+ }
+ size = { width: size.width * factor, height: size.height * factor };
+ const short = b.shortSide ? positive(valueOf("shortSide")) : null;
+ if (short) {
+ const k = short / Math.min(size.width, size.height);
+ size = { width: size.width * k, height: size.height * k };
+ }
+ // Padding out (an outpaint) adds to the canvas.
+ const pad = (key: string) => (b[key] ? (positive(valueOf(key)) ?? 0) : 0);
+ size = { width: size.width + pad("padLeft") + pad("padRight"), height: size.height + pad("padTop") + pad("padBottom") };
+ const k = Math.min(1, maxW / size.width, maxH / size.height);
+ return { width: Math.round(size.width * k), height: Math.round(size.height * k) };
+}
+
+/**
+ * The megapixels of each picture or frame a run makes, about. A ComfyUI run (every run on this install's GPUs): the size
+ * its workflow makes (workflowSize), never a size the request names that its workflow doesn't bind. A cloud run: the
+ * canvas the request names (params.extra.width and height), else its aspect ratio and resolution (the model's defaults
+ * where it names none). Null for sound, text and 3D, and for a run sized by an input that can't be read.
+ */
+export function requestMegapixels(req: GenerationRequest, kind: RunFacts["kind"], modelId: string, comfyEndpoint?: string): number | null {
+ if (kind !== "image" && kind !== "video") return null;
+ const model = getModel(modelId);
+ const byAsk = () => computeDimensions(req.params?.aspectRatio ?? model?.defaults?.aspectRatio, req.params?.resolution ?? model?.defaults?.resolution, {});
+ if (comfyEndpoint) {
+ const size = workflowSize(req, comfyEndpoint, modelId);
+ if (size !== undefined) return size ? megapixelsOf(size) : null;
+ // A workflow it picks at run time (a join of n clips): as asked.
+ return megapixelsOf(byAsk());
+ }
+ const extra = (req.params?.extra ?? {}) as Record<string, unknown>;
+ const [w, h] = [positive(extra.width), positive(extra.height)];
+ return megapixelsOf(w && h ? { width: w, height: h } : byAsk());
+}
+
++/**
++ * A run's own step, then the other steps it makes beside it (a 2K take's finish), each model and operation once with its
++ * count: the shape of RunFacts.steps.
++ */
++function stepsBeside(own: NonNullable<RunFacts["steps"]>[number], others: { model: string; op: string }[]): NonNullable<RunFacts["steps"]> {
++ const out = new Map<string, NonNullable<RunFacts["steps"]>[number]>([[`${own.model} ${own.op ?? ""}`, own]]);
++ for (const o of others) {
++ const key = `${o.model} ${o.op || ""}`;
++ const had = out.get(key);
++ if (had) had.jobs++;
++ else out.set(key, { model: o.model, op: o.op || null, kind: own.kind, jobs: 1, lane: own.lane });
++ }
++ return [...out.values()];
++}
++
/** The facts the billing service prices a run by (from a planned request: previewGeneration's answer). */
export function runFacts(
req: GenerationRequest,
- p: { model: { id: string; kind: string; engine: "open" | "cloud" }; op: string; jobs: number; outputs: number; providerId: string; costUsd: number | null; loras: { applied: unknown[] }; route?: { endpoint?: string } },
- p: { model: { id: string; kind: string; engine: "open" | "cloud" }; op: string; jobs: number; outputs: number; providerId: string; costUsd: number | null; loras: { applied: unknown[] }; steps?: { model: string; op: string }[] },
++ p: { model: { id: string; kind: string; engine: "open" | "cloud" }; op: string; jobs: number; outputs: number; providerId: string; costUsd: number | null; loras: { applied: unknown[] }; route?: { endpoint?: string }; steps?: { model: string; op: string }[] },
kind: RunFacts["kind"],
): RunFacts {
const model = getModel(p.model.id);
+ const endpoint = p.route?.endpoint;
++ const lane = poolOnWorkers() && endpoint && !endpoint.includes("{") ? poolLane(endpoint) : POOL_LANE;
return {
place: "pool",
model: p.model.id,
@@@ -351,7 -168,9 +377,10 @@@
fps: req.params?.fps ?? null,
loras: p.loras.applied.length,
inputs: inputCounts(req),
- lane: poolOnWorkers() && endpoint && !endpoint.includes("{") ? poolLane(endpoint) : POOL_LANE,
- lane: POOL_LANE,
++ lane,
providerUsd: p.costUsd,
- // The run's other steps (a 2K take's finish), each a model and op the service prices beside the main one.
- ...(p.steps?.length && { steps: p.steps.map((s) => ({ model: s.model, op: s.op })) }),
++ // The run's other steps (a 2K take's finish), priced beside its own step as one run. A plan of every row the run
++ // makes (hosted-run.ts pricedSteps) takes the place of this where there is one.
++ ...(p.steps?.length && { steps: stepsBeside({ model: p.model.id, op: p.op || null, kind, jobs: p.jobs, lane }, p.steps) }),
};
}
diff --cc src/server/providers/comfyui.ts
index d3e12b61,affbadae..5fc6139f
--- a/src/server/providers/comfyui.ts
+++ b/src/server/providers/comfyui.ts
@@@ -92,7 -112,7 +115,7 @@@ import { outsideTenant, runAsTenant, te
import { ask, checkReach, reachSync, sharedCheck, type Reach } from "./reach";
import { ProviderError, type PollResult, type ProviderAdapter, type RemoteOutput } from "./types";
import { isOutOfMemory } from "@/lib/gpu/fix-codes";
- import { makingWords, POOL_WORDS, queueWords, RELAY_TIMES, RELAY_WORDS, savingWords, sendingWords, tabFailureWords, type ComputerFacts, type HistoryEntryLike, type TabFailure, type WantedFile } from "@/lib/relay";
-import { makingWords, META_BATCH_HISTORY, queueWords, RELAY_TIMES, RELAY_WORDS, savingWords, sendingWords, tabFailureWords, type HistoryEntryLike, type TabFailure, type WantedFile } from "@/lib/relay";
++import { makingWords, META_BATCH_HISTORY, POOL_WORDS, queueWords, RELAY_TIMES, RELAY_WORDS, savingWords, sendingWords, tabFailureWords, type ComputerFacts, type HistoryEntryLike, type TabFailure, type WantedFile } from "@/lib/relay";
import type { GenerationFix } from "@/lib/catalog/types";
import {
checkClocks,
@@@ -113,8 -132,8 +136,9 @@@
type Principal,
type TaskRow,
} from "../computer/tasks";
-import { OWNER_BOOST_MS, poolFields, poolWaitMs, poolWaitWords } from "../computer/pool";
+import { attemptDeadline, poolFacts, poolFields, poolLane, poolWaitMs, poolWaitWords, workersAllowed } from "../computer/pool";
+import { ownerWaitMs } from "../queue-settings";
+ import { worldcastBase, worldcastHealth } from "../worldcast";
export const WORKFLOW_DIR = path.join(process.cwd(), "workflows", "comfyui");
@@@ -193,28 -207,23 +217,42 @@@ export function computerScope(): Princi
return where === "computer" || where === "workers" ? "owner" : undefined;
}
-/** The owner's ComfyUI jobs go to the workers (Settings: ComfyUI runs on "workers"), not to one computer. */
-const onWorkers = (computer: Principal | undefined) => computer === "owner" && !ownGpu() && getSetting("comfyWhere") === "workers";
+/**
+ * The jobs of this principal go to the workers: the owner's while Settings says ComfyUI runs on "workers", and an
+ * account's run on this install's GPUs then (never one computer's tab).
+ */
+const onWorkers = (computer: Principal | undefined) => {
+ if (!computer || ownGpu()) return false;
+ if (computer === "owner") return getSetting("comfyWhere") === "workers";
+ return !!poolScope.getStore() && computer.startsWith("acct:");
+};
+
+/**
+ * What a computer's jobs are shaped by (its VRAM, RAM, device, LoRA files): what its tab last said. An account's run on
+ * the workers reads theirs instead (those allowed the workflow's lane), never the account's own computer.
+ */
+function factsOf(computer: Principal, endpoint?: string): ComputerFacts | null {
+ if (computer !== "owner" && onWorkers(computer)) return poolFacts(endpoint && !endpoint.includes("{") ? poolLane(endpoint) : null);
+ return runnerFacts(computer);
+}
+
+/** Inside a run on this install's GPUs (hosted runs): the account's jobs are tasks for the workers. */
+export const onPoolWorkers = (): boolean => !!poolScope.getStore();
+ /**
+ * Which ComfyUI a job in this scope runs on, as a name two runs are compared by (MiniMax H3's 2K finish loads the latent
+ * its draft saved only on the ComfyUI that saved it): an account's link or computer, the owner's computer, or this
+ * install's server. null where nothing stays between jobs: the owner's workers empty their output folder after each one.
+ */
+ export function comfyPlace(): string | null {
+ const own = ownGpu();
+ if (own) return own.kind === "computer" ? `computer:${own.principal}` : own.url ? `link:${own.url}` : null;
+ const computer = computerScope();
+ if (computer) return onWorkers(computer) ? null : `computer:${computer}`;
+ const url = getSetting("comfyUrl").replace(/\/+$/, "");
+ return url ? `server:${url}` : null;
+ }
+
/**
* FUOBE_POOL_MEDIA_INPUTS: what a job for workers may send them ("image" unless set; "image,video,audio" for all).
* Pictures are always made again from their pixels first (no EXIF, no GPS, nothing a decoder on that PC could trip on).
@@@ -1881,11 -1993,11 +2073,16 @@@ export async function prepareWorkflow(e
reviewInputs = { video: values.video, image: values.image, prefix: values.filenamePrefix };
}
}
+ // An account's run on this install's GPUs never names a file there itself: a file input in params.extra is one this
+ // run sent (a media ref, uploaded above), else it is dropped (it could name another run's file in the same folder).
+ if (tenantAccount() && (poolScope.getStore() || serverScope.getStore())) {
+ for (const k of mediaKeys(manifest, workflow)) if (k in extra && !sentHere.has(k)) delete extra[k];
+ }
+ // Idol 3D: "It's a photo" is the clean graph's "real" crop (the core graph's photo switch), then the pack's pruning.
+ if (manifest.id === IDOL_WORKFLOWS.core || manifest.id === IDOL_WORKFLOWS.clean || manifest.id === IDOL_VIEWS_WORKFLOW) {
+ Object.assign(values, idolGraphValues(extra, (k) => !!b[k as BindingKey]));
+ for (const k of ["cropMode", "photoCrop", "minOpacity", "maxScale"]) delete extra[k];
+ }
for (const [k, v] of Object.entries(extra)) values[k as BindingKey] = v;
// SeedVR2's `scale` multiplies the picture before one diffusion pass over all of it, and its graph is made for up to
// limits.maxWidth × maxHeight: the multiplier comes down to fit the picture (a 3000 × 2000 photo at the template's 4x
diff --cc tests/hosted-runs-kandinsky6.test.ts
index 00000000,14a7d45f..85c760f3
mode 000000,100644..100644
--- a/tests/hosted-runs-kandinsky6.test.ts
+++ b/tests/hosted-runs-kandinsky6.test.ts
@@@ -1,0 -1,85 +1,85 @@@
+ import http from "node:http";
+ import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";
+ import { tempDir } from "./helpers/temp-dir";
-import { FAKE_POLICY, listenInRange, startFakeBilling, type FakeBilling } from "./helpers/fake-billing";
++import { FAKE_POLICY, listenOnFreePort, startFakeBilling, type FakeBilling } from "./helpers/fake-billing";
+ import { startFakeComfy, type FakeComfy } from "./helpers/fake-comfy-runner";
+
+ // Kandinsky 6.0 on hosted runs (FUOBE_HOSTED_RUNS=1; nm10-kandinsky6): an account with no GPU of its own may make a clip with
+ // dialogue on this install's ComfyUI like any open model, priced by the billing service as a video run; image to video and
+ // Kandinsky VSR read a file, so they follow the policy's uploads, and fal's Kandinsky never runs there.
+ const dir = tempDir("fuobe-hosted-k6-");
+ process.env.FUOBE_DATA_DIR = dir;
+ process.env.FUOBE_PUBLIC_SIGNUP = "1";
+ delete process.env.FUOBE_PASSWORD;
+ delete process.env.FUOBE_HOSTED_RUNS;
+ delete process.env.FUOBE_MODERATION_URL;
+ globalThis.__fuobeTestDiskFree = 1e13;
+
+ const probe = http.createServer();
-const comfyPort = await listenInRange(probe);
++const comfyPort = await listenOnFreePort(probe);
+ await new Promise<void>((r) => probe.close(() => r()));
+ const comfy: FakeComfy = await startFakeComfy({ output: "image", delayMs: 0 }, comfyPort);
+ process.env.COMFYUI_URL = comfy.url;
+
+ const auth = await import("@/server/auth");
+ const billing = await import("@/server/billing");
+ const { decidePlace, poolQuote } = await import("@/server/hosted-run");
+
+ let fake: FakeBilling;
+ let account: NonNullable<ReturnType<typeof auth.accountById>>;
+ beforeAll(async () => {
+ fake = await startFakeBilling();
+ auth.setPassword("install password");
+ account = auth.accountById(auth.createAccount("[email protected]", "long enough").id)!;
+ });
+ afterAll(async () => {
+ globalThis.__fuobeTestDiskFree = undefined;
+ for (const k of ["FUOBE_HOSTED_RUNS", "FUOBE_BILLING_URL", "FUOBE_BILLING_TOKEN"]) delete process.env[k];
+ await fake.close();
+ await comfy.close();
+ });
+ beforeEach(() => {
+ billing.resetBillingCache();
+ process.env.FUOBE_HOSTED_RUNS = "1";
+ process.env.FUOBE_BILLING_URL = fake.url;
+ process.env.FUOBE_BILLING_TOKEN = "test-billing-token";
+ fake.policy = { ...FAKE_POLICY };
+ });
+
+ const t2v = { feature: "video" as const, modelId: "oss-kandinsky6", engine: "open" as const, op: "t2v" as const, prompt: "A woman says “Hello”", params: { extra: { quality: "lite" } } };
+ const i2v = { ...t2v, op: "i2v" as const, inputs: { images: ["/api/files/uploads/face.png"] } };
+ const vsr = { feature: "upscale" as const, modelId: "oss-kandinsky6-vsr", engine: "open" as const, op: "upscale-video" as const, prompt: "", inputs: { video: "/api/files/uploads/clip.mp4" }, params: { resolution: "2.25x" } };
+
+ describe("Kandinsky 6.0 on this install's GPUs", () => {
+ it("plans and prices a clip from words there as a video run", async () => {
+ const before = fake.calls_of("/v1/quote").length;
+ const q = await poolQuote(account, t2v, undefined);
+ expect(q).not.toBeNull();
+ expect(q!.planned.model.id).toBe("oss-kandinsky6");
+ expect(q!.planned.route).toMatchObject({ provider: "comfyui", endpoint: "kandinsky6-t2av" });
+ expect(q!.quote).toMatchObject({ amount: 7, priceVersion: "v7" });
+ const sent = fake.calls_of("/v1/quote").slice(before);
+ expect(sent).toHaveLength(1);
+ expect((sent[0].body as { run: Record<string, unknown> }).run).toMatchObject({ place: "pool", model: "oss-kandinsky6", op: "t2v", kind: "video", engine: "open" });
+ expect((await decidePlace(account, t2v, undefined)).kind).toBe("pool");
+ });
+
+ it("a first frame or a clip to upscale goes there only when the policy takes those uploads", async () => {
+ for (const [req, kind] of [[i2v, "image"], [vsr, "video"]] as const) {
+ fake.policy = { ...FAKE_POLICY, uploads: { ...FAKE_POLICY.uploads, [kind]: false } };
+ billing.resetBillingCache();
+ const refused = await decidePlace(account, req, undefined);
+ expect(refused.kind, req.modelId).toBe("refuse");
+ if (refused.kind === "refuse") expect(refused.refusal.body.code).toBe("not-offered");
+ fake.policy = { ...FAKE_POLICY, uploads: { ...FAKE_POLICY.uploads, [kind]: true } };
+ billing.resetBillingCache();
+ expect((await decidePlace(account, req, undefined)).kind, req.modelId).toBe("pool");
+ }
+ });
+
+ it("fal's Kandinsky 6.0 and VSR are never priced there", async () => {
+ expect(await poolQuote(account, { ...t2v, modelId: "kandinsky-6", engine: "cloud" }, undefined)).toBeNull();
+ expect((await decidePlace(account, { ...t2v, modelId: "kandinsky-6", engine: "cloud" }, undefined)).kind).toBe("own");
+ expect((await decidePlace(account, { ...vsr, modelId: "kandinsky-vsr", engine: "cloud" }, undefined)).kind).toBe("own");
+ });
+ });
diff --cc tests/hosted-runs.test.ts
index 55b00d41,b94b396b..36628409
--- a/tests/hosted-runs.test.ts
+++ b/tests/hosted-runs.test.ts
@@@ -161,6 -151,67 +163,71 @@@ describe("hosted runs on", () =>
expect(poolAllows({ pool: { apps: { allow: ["app-y"] } } }, "m", "app-x")).toBe(false);
});
+ it("an NVIDIA RTX model on an install whose card isn't RTX: refused in plain words before any quote or hold", async () => {
+ process.env.FUOBE_BILLING_URL = fake.url;
+ process.env.FUOBE_BILLING_TOKEN = "test-billing-token";
+ fake.policy = { ...fake.policy, uploads: { image: true, video: true, audio: false } };
+ const clip = await upload(TINY_MP4, "video/mp4", "rtx.mp4");
+ expect(clip.status).toBe(201);
+ const { url } = (await clip.json()) as { url: string };
+ const INSTALL = { kind: "install", key: "install", via: "server" } as const;
+ const check = (device: { name: string; type: string } | null, missing: string[] = []) => {
+ const at = Date.now();
+ writeSnapshot(INSTALL, {
+ v: 1, via: "server", checkedAt: at, tookMs: 5, reachable: true,
+ devices: device ? [{ ...device, index: 0, vramTotal: 24 * 2 ** 30, vramFree: 24 * 2 ** 30 }] : [],
+ manager: { api: "none" }, nodes: { have: [], missing, total: 1, readAt: at, how: "object_info" },
+ combos: {}, packs: {}, models: {}, loras: {}, fingerprint: "x", errors: [],
+ } as never);
+ };
+ const rtx = { feature: "upscale", modelId: "oss-rtx-video-upscale", op: "upscale-video", inputs: { video: url }, params: { resolution: "1080p" } };
+ const runs = async (body: unknown) => {
+ const before = fake.calls.length;
+ const r = await post(body);
+ const reached = fake.calls.slice(before).map((c) => c.path.split("?")[0]);
+ return { r, body: (await r.json()) as { error: string; code?: string }, reached };
+ };
+ try {
+ for (const [device, missing] of [
+ [{ name: "cpu", type: "cpu" }, []],
+ [{ name: "cuda:0 AMD Radeon RX 7900 XTX : native", type: "cuda" }, []],
+ [{ name: "cuda:0 NVIDIA GeForce GTX 1080 Ti : cudaMallocAsync", type: "cuda" }, []],
+ [{ name: "cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync", type: "cuda" }, ["RTXVideoSuperResolution"]],
+ ] as const) {
+ check(device, [...missing]);
+ const { r, body, reached } = await runs(rtx);
+ expect(r.status).toBe(403);
+ expect(body.code).toBe("not-offered");
+ expect(body.error).toContain("NVIDIA RTX card");
+ // Visitor words: no script, switch or file names.
+ expect(body.error).not.toMatch(/install-comfyui|RTX_VIDEO|scripts\/|\.sh\b/);
+ expect(reached).not.toContain("/v1/quote");
+ expect(reached).not.toContain("/v1/reserve");
- // The price check doesn't offer it here either: it is priced for the account's own GPU (no quote).
++ // The price check says the same before Run, so Run is off, and asks the billing service nothing.
++ const asked = fake.calls.length;
+ const preview = await generationsRoute.POST(new Request("http://localhost:3000/api/generations?preview=1", { method: "POST", headers: headers({ "content-type": "application/json" }), body: JSON.stringify(rtx) }));
- expect(((await preview.json()) as { place?: string }).place).toBeUndefined();
++ const checked = (await preview.json()) as { place?: string; quote?: { allowed: boolean; code?: string; text: string } };
++ expect(checked.place).toBe("pool");
++ expect(checked.quote).toMatchObject({ allowed: false, code: "not-offered", text: body.error });
++ expect(fake.calls.slice(asked).map((c) => c.path.split("?")[0])).not.toContain("/v1/quote");
+ }
+ // Frame generation needs an RTX 40 series card or newer: an RTX 3090 is refused, an RTX 4070 isn't.
+ check({ name: "cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync", type: "cuda" });
+ const fg = { feature: "fps-boost", modelId: "oss-rtx-frame-generation", op: "interpolate", inputs: { video: url }, params: { targetFps: 60 } };
+ expect((await runs(fg)).body.code).toBe("not-offered");
+ check({ name: "cuda:0 NVIDIA GeForce RTX 4070 : cudaMallocAsync", type: "cuda" });
+ expect((await runs(fg)).body.code).not.toBe("not-offered");
+ // A card the name doesn't tell (a data-centre card) is never refused for its name.
+ check({ name: "cuda:0 NVIDIA H100 80GB HBM3 : cudaMallocAsync", type: "cuda" });
+ expect((await runs(rtx)).body.code).not.toBe("not-offered");
+ } finally {
+ check({ name: "cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync", type: "cuda" });
+ }
+ // The owner's line names the setup script; an account never gets it.
+ expect(RTX_MISSING.owner).toContain("install-comfyui.sh");
+ expect(RTX_MISSING.visitor).not.toMatch(/install-comfyui|RTX_VIDEO|scripts\//);
+ });
+
it("an install whose ComfyUI is on the owner's computer doesn't offer hosted runs", async () => {
process.env.COMFYUI_WHERE = "computer";
try {
diff --cc tests/pool-limits.test.ts
index 661cf52d,00000000..448a55af
mode 100644,000000..100644
--- a/tests/pool-limits.test.ts
+++ b/tests/pool-limits.test.ts
@@@ -1,779 -1,0 +1,799 @@@
+import crypto from "node:crypto";
+import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
+import { startFakeBilling, FAKE_POLICY, type FakeBilling } from "./helpers/fake-billing";
+import { tempDir } from "./helpers/temp-dir";
+
+/**
+ * Limits on runs on this install's GPUs: the policy's runs at once, runs waiting, runs an hour and runs from one address
+ * an hour count those runs only, together with making the run's rows (requests that arrive together never pass them
+ * together); runs on an account's own GPU keep the studio's own limits. Also where a run goes: the policy's default
+ * place, an own GPU that doesn't answer (asked, never moved), the kinds a policy allows, a guest's policy, every step of
+ * a chain checked and priced once, and the real size of a picture in its price facts.
+ */
+
+vi.mock("next/server", async (importOriginal) => ({ ...(await importOriginal<typeof import("next/server")>()), connection: async () => {} }));
+vi.setConfig({ testTimeout: 60_000 });
+
+const dir = tempDir("fuobe-pool-limits-");
+process.env.FUOBE_DATA_DIR = dir;
+process.env.COMFYUI_URL = "http://127.0.0.1:7";
+process.env.FUOBE_PUBLIC_SIGNUP = "1";
+delete process.env.FUOBE_PASSWORD;
+delete process.env.FUOBE_HOSTED_RUNS;
+delete process.env.FUOBE_HOSTED_FREE;
+delete process.env.FUOBE_BILLING_URL;
+delete process.env.FUOBE_MODERATION_URL;
+delete process.env.FUOBE_TRUST_PROXY;
+globalThis.__fuobeTestDiskFree = 1e13;
+
+const realFetch = globalThis.fetch;
+let allowed: string[] = [];
+globalThis.fetch = (async (input: RequestInfo | URL, init?: RequestInit) => {
+ const url = String(input instanceof Request ? input.url : input);
+ if (allowed.some((a) => url.startsWith(a))) return realFetch(input, init);
+ return new Response("not reachable in this test", { status: 599 });
+}) as typeof fetch;
+
+const auth = await import("@/server/auth");
+const generationsRoute = await import("@/app/api/generations/route");
+const { db } = await import("@/server/db");
+const { resetRates } = await import("@/server/rate");
+const { setSetting } = await import("@/server/settings");
+const tasks = await import("@/server/computer/tasks");
+const pool = await import("@/server/computer/pool");
+const billing = await import("@/server/billing");
+const hostedRun = await import("@/server/hosted-run");
+const limits = await import("@/server/pool-limits");
+const { visitorStatus } = await import("@/server/account-gpu");
+const { loadManifest } = await import("@/server/providers/comfyui");
+const { loadIndex } = await import("@/server/gpu/index-file");
+const { allLanes } = await import("@/lib/lanes");
+const { getModel } = await import("@/lib/catalog");
+const { CONNECT_GPU_HEADER, OWN_GPU_TOOL_MESSAGE, PLACE_ASK_HEADER } = await import("@/lib/guest-access");
+const hosted = await import("@/server/hosted");
+const { getGeneration } = await import("@/server/generations");
+const { ACCOUNT_MESSAGES } = await import("@/server/account-files");
+
+const HOST = "localhost:3000";
+const SITE_HEADERS = { host: HOST, "sec-fetch-site": "same-origin", origin: `http://${HOST}` };
+const sha = (s: string) => crypto.createHash("sha256").update(s).digest("hex");
+const IMAGE = { feature: "image", modelId: "oss-z-image-turbo", prompt: "a lighthouse" };
+
+let fake: FakeBilling;
+let n = 0;
+/** The stand-in worker of the test that runs. */
+let worker: { id: string };
+
+/** A new account and its cookie (each test gets its own, so counts never carry over). */
+function account(o: { gpu?: "online" | "offline" } = {}) {
+ const a = auth.createAccount(`limits-${++n}@example.com`, "long enough");
+ if (o.gpu) {
+ auth.setAccountGpu(a.id, { mode: "computer" });
+ if (o.gpu === "online") tasks.beat(`acct:${a.id}`, { device: `device-${n}`, takeover: true, facts: { vramBytes: 24 * 2 ** 30 } });
+ }
+ return { id: a.id, cookie: `${auth.SESSION_COOKIE}=${auth.createSession(a.id).value}` };
+}
+
+const post = async (body: Record<string, unknown>, cookie: string, headers: Record<string, string> = {}) => {
+ const text = JSON.stringify(body);
+ const r = await generationsRoute.POST(
+ new Request(`http://${HOST}/api/generations`, { method: "POST", headers: { ...SITE_HEADERS, cookie, "content-type": "application/json", "content-length": String(Buffer.byteLength(text)), ...headers }, body: text }),
+ );
+ return { status: r.status, headers: r.headers, body: (await r.json()) as { items?: { id: string; place?: string }[]; code?: string; error?: string } };
+};
+
+/** Wait (up to 5 s) until `ok` holds: work the route left running in the background has landed. */
+async function waitFor(ok: () => boolean): Promise<void> {
+ const end = Date.now() + 5000;
+ while (!ok()) {
+ if (Date.now() > end) throw new Error("timed out waiting");
+ await new Promise((r) => setTimeout(r, 10));
+ }
+}
+
+/** Runs on this install's GPUs an account has made. */
+const poolRuns = (id: string) =>
+ (db().prepare("SELECT COUNT(DISTINCT COALESCE(batch_id, id)) AS n FROM generations WHERE json_extract(request_json, '$.account') = ? AND json_extract(request_json, '$.place') = 'pool'").get(id) as { n: number }).n;
+const ownRuns = (id: string) =>
+ (db().prepare("SELECT COUNT(*) AS n FROM generations WHERE json_extract(request_json, '$.account') = ? AND json_extract(request_json, '$.place') IS NULL").get(id) as { n: number }).n;
+
+function standInWorker() {
+ const w = pool.addWorker(`stand-in-${++n}`);
+ const lanes = allLanes(loadIndex(), sha);
+ pool.patchWorker(w.id, { paused: false, hours: { always: true }, allow: Object.fromEntries(lanes.map((l) => [l.lane, { delayMs: 0 }])), claimAfterMs: 0 });
+ db()
+ .prepare("UPDATE relay_workers SET lanes_json = ?, facts_json = ? WHERE id = ?")
+ .run(JSON.stringify({ lanes: lanes.map((l) => l.lane), workflows: loadManifest().workflows.map((x) => x.id) }), JSON.stringify({ vramBytes: 96 * 2 ** 30 }), w.id);
+ return w;
+}
+
+const withBilling = (policy: Record<string, unknown> = {}) => {
+ process.env.FUOBE_BILLING_URL = fake.url;
+ process.env.FUOBE_BILLING_TOKEN = "test-billing-token";
+ fake.policy = { ...FAKE_POLICY, ...policy, limits: { ...FAKE_POLICY.limits, outputsPerRun: 4, ...((policy.limits as object) ?? {}) }, ttlS: 0 };
+ billing.resetBillingCache();
+};
+
+beforeAll(async () => {
+ fake = await startFakeBilling();
+ allowed = [fake.url];
+ auth.setPassword("install password");
+});
+afterAll(async () => {
+ globalThis.fetch = realFetch;
+ globalThis.__fuobeTestDiskFree = undefined;
+ for (const k of ["FUOBE_HOSTED_RUNS", "FUOBE_HOSTED_FREE", "FUOBE_BILLING_URL", "FUOBE_BILLING_TOKEN", "FUOBE_TRUST_PROXY"]) delete process.env[k];
+ await fake.close();
+});
+beforeEach(() => {
+ resetRates();
+ billing.resetBillingCache();
+ process.env.FUOBE_HOSTED_RUNS = "1";
+ process.env.FUOBE_HOSTED_FREE = "1";
+ delete process.env.FUOBE_BILLING_URL;
+ delete process.env.FUOBE_BILLING_TOKEN;
+ delete process.env.FUOBE_TRUST_PROXY;
+ fake.policy = { ...FAKE_POLICY };
+ fake.guestPolicy = null;
+ fake.price = { amount: 7, version: "v7" };
+ setSetting("comfyWhere", "workers");
+ setSetting("comfyUrl", "");
+ setSetting("engineMode", "open");
+ setSetting("demoMode", "off");
+ db().prepare("DELETE FROM relay_workers").run();
+ // Nothing of an earlier test waits in line.
+ db().prepare("UPDATE relay_tasks SET state = 'canceled' WHERE state IN ('waiting','sending','queued','running','collecting')").run();
+ worker = standInWorker();
+});
+
+const tick = () => globalThis.__fuobeRunner?.tick();
+async function until<T>(fn: () => T | Promise<T>, tries = 200, everyMs = 25): Promise<T> {
+ let v = await fn();
+ for (let i = 0; i < tries && !v; i++) {
+ await tick();
+ await new Promise((r) => setTimeout(r, everyMs));
+ v = await fn();
+ }
+ return v;
+}
+const taskOf = (generationId: string) => db().prepare("SELECT * FROM relay_tasks WHERE generation_id = ? ORDER BY created_at DESC").get(generationId) as { id: string; state: string } | undefined;
+const workerRow = () => db().prepare("SELECT * FROM relay_workers WHERE id = ?").get(worker.id) as import("@/server/computer/workers").WorkerRow;
+/** The stand-in worker takes the next task in line, as the worker program does. */
+function workerTakes() {
+ pool.workerBeat(workerRow(), pool.cleanBeat({ device: `wkr-${worker.id}`, protocol: 2, version: "1", local: { paused: false, why: null, until: null }, gpu: {}, inventoryHash: null, running: [], stopped: [] }));
+ return pool.workerClaim(workerRow(), [], Date.now());
+}
+const started = (generationId: string) => !!(db().prepare("SELECT started_at FROM generation_runs WHERE id = ?").get(generationId) as { started_at: number | null } | undefined)?.started_at;
+const preview = async (body: Record<string, unknown>, cookie: string) => {
+ const text = JSON.stringify(body);
+ const r = await generationsRoute.POST(new Request(`http://${HOST}/api/generations?preview=1`, { method: "POST", headers: { ...SITE_HEADERS, cookie, "content-type": "application/json", "content-length": String(Buffer.byteLength(text)) }, body: text }));
+ return { status: r.status, body: (await r.json()) as { place?: string; quote?: { amount: number } } };
+};
+
+const SHOWN = { shown: { amount: 7, priceVersion: "v7" } };
+
+describe("runs at once on this install's GPUs", () => {
+ it("10 requests sent together against a limit of 2 make exactly 2 runs, and every other hold goes back", async () => {
+ withBilling({ limits: { activeRuns: 2, waiting: 0, runsPerHour: 0 } });
+ const a = account();
+ const before = fake.holds.size;
+ const answers = await Promise.all(Array.from({ length: 10 }, () => post({ ...IMAGE, ...SHOWN }, a.cookie)));
+ const made = answers.filter((r) => r.status === 201);
+ expect(made.length, JSON.stringify(answers.map((r) => [r.status, r.body.error]))).toBe(2);
+ expect(poolRuns(a.id)).toBe(2);
+ for (const r of answers.filter((x) => x.status !== 201)) {
+ expect(r.status).toBe(429);
+ expect(r.body.code).toBe("active-runs");
+ expect(r.body.error).toBe(limits.POOL_LIMIT_WORDS.active(2));
+ }
+ // Each request that got a hold and made nothing gives it back (an outbox release).
+ const holds = fake.holds.size - before;
+ const releases = (db().prepare("SELECT COUNT(*) AS n FROM billing_outbox WHERE kind = 'release'").get() as { n: number }).n;
+ expect(holds - 2).toBe(releases);
+ });
+
+ it("the count and the rows are one transaction: a second count inside it sees the first run", () => {
+ const a = account();
+ const p = { limits: { activeRuns: 1, waiting: 0, runsPerHour: 0, outputsPerRun: 0, maxMegapixels: 0, maxSeconds: 0, keepDays: 0, spaceBytes: 0 } };
+ const insert = () =>
+ db()
+ .prepare("INSERT INTO generations (id, feature, model_id, engine, provider, op, kind, status, request_json, outputs_json, created_at, updated_at) VALUES (?, 'image', 'm', 'open', 'comfyui', 't2i', 'image', 'queued', ?, '[]', ?, ?)")
+ .run(`tx-${++n}`, JSON.stringify({ account: a.id, place: "pool" }), Date.now(), Date.now());
+ const first = limits.admitRun({ accountId: a.id, pool: { policy: p, addr: null } }, insert);
+ expect(first.ok).toBe(true);
+ const second = limits.admitRun({ accountId: a.id, pool: { policy: p, addr: null } }, insert);
+ expect(second.ok).toBe(false);
+ // A refusal thrown inside keeps nothing it wrote.
+ const p2 = { ...p, limits: { ...p.limits, activeRuns: 5 } };
+ const r = limits.admitRun({ accountId: a.id, pool: { policy: p2, addr: null } }, () => {
+ insert();
+ throw new limits.AdmitRefused({ status: 403, error: "no", code: "not-offered" });
+ });
+ expect(r.ok).toBe(false);
+ expect(poolRuns(a.id)).toBe(1);
+ });
+
+ it("runs on the account's own GPU never count against the policy, and keep the studio's own limit of 4", async () => {
+ withBilling({ limits: { activeRuns: 1, waiting: 0, runsPerHour: 0 } });
+ const a = account({ gpu: "online" });
+ for (let i = 0; i < 3; i++) {
+ const r = await post(IMAGE, a.cookie);
+ expect(r.status, JSON.stringify(r.body)).toBe(201);
+ expect(r.body.items![0].place).toBeUndefined();
+ }
+ expect(ownRuns(a.id)).toBe(3);
+ // One on this install's GPUs still fits its policy's 1.
+ const pooled = await post({ ...IMAGE, place: "pool", ...SHOWN }, a.cookie);
+ expect(pooled.status, JSON.stringify(pooled.body)).toBe(201);
+ expect(poolRuns(a.id)).toBe(1);
+ // The studio's own 4 counts every run, as before.
+ const fifth = await post(IMAGE, a.cookie);
+ expect(fifth.status).toBe(429);
+ });
+
+ it("with a free install (no billing service) the policy's limits apply to runs there too", async () => {
+ const a = account();
+ const p = await billing.policy(a.id);
+ expect(p).toBe(billing.OPEN_POLICY);
+ // Lower than the studio's own limits, so only the policy's own count can stop these runs.
+ const was = { ...billing.OPEN_POLICY.limits };
+ try {
+ billing.OPEN_POLICY.limits.activeRuns = 1;
+ expect((await post(IMAGE, a.cookie)).status).toBe(201);
+ const second = await post(IMAGE, a.cookie);
+ expect(second.status).toBe(429);
+ expect(second.body.error).toBe(limits.POOL_LIMIT_WORDS.active(1));
+ expect(second.body.error).not.toBe(ACCOUNT_MESSAGES.activeRuns);
+ billing.OPEN_POLICY.limits.activeRuns = 0;
+ billing.OPEN_POLICY.limits.runsPerHour = 2;
+ expect((await post(IMAGE, a.cookie)).status).toBe(201);
+ const third = await post(IMAGE, a.cookie);
+ expect(third.status).toBe(429);
+ expect(third.body.code).toBe("limit");
+ expect(third.body.error).toBe(limits.POOL_LIMIT_WORDS.hourly);
+ } finally {
+ Object.assign(billing.OPEN_POLICY.limits, was);
+ }
+ expect(poolRuns(a.id)).toBe(2);
+ });
+});
+
+describe("runs waiting, runs an hour, runs from one address", () => {
+ it("a run that hasn't started counts as waiting", async () => {
+ withBilling({ limits: { activeRuns: 5, waiting: 1, runsPerHour: 0 } });
+ const a = account();
+ expect((await post({ ...IMAGE, ...SHOWN }, a.cookie)).status).toBe(201);
+ const second = await post({ ...IMAGE, ...SHOWN }, a.cookie);
+ expect(second.status).toBe(429);
+ expect(second.body.error).toBe(limits.POOL_LIMIT_WORDS.waiting(1));
+ // Once a worker has taken it (its run has started), the next one may wait.
+ const id = (db().prepare("SELECT id FROM generations WHERE json_extract(request_json, '$.account') = ?").get(a.id) as { id: string }).id;
+ const t = await until(() => taskOf(id));
+ expect(workerTakes()?.id).toBe(t!.id);
+ expect(await until(() => started(id))).toBe(true);
+ expect((await post({ ...IMAGE, ...SHOWN }, a.cookie)).status).toBe(201);
+ });
+
+ it("runs an hour are counted in the database, one per press of Run, with a time to try again", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 2 } });
+ const a = account();
+ expect((await post({ ...IMAGE, ...SHOWN }, a.cookie)).status).toBe(201);
+ expect((await post({ ...IMAGE, ...SHOWN }, a.cookie)).status).toBe(201);
+ const third = await post({ ...IMAGE, ...SHOWN }, a.cookie);
+ expect(third.status).toBe(429);
+ expect(third.body.code).toBe("limit");
+ expect(Number(third.headers.get("retry-after"))).toBeGreaterThan(3000);
+ expect((db().prepare("SELECT COUNT(*) AS n FROM pool_admissions WHERE account = ?").get(a.id) as { n: number }).n).toBe(2);
+ // A restart (new in-memory counts) changes nothing.
+ resetRates();
+ expect((await post({ ...IMAGE, ...SHOWN }, a.cookie)).status).toBe(429);
+ });
+
+ it("runs from one client address an hour, across accounts, only behind a trusted proxy, kept as a hash", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0, addressRunsPerHour: 2 } });
+ const from = { "x-forwarded-for": "203.0.113.9" };
+ const a = account();
+ const b = account();
+ // No trusted proxy: clients can't be told apart, so no address count.
+ expect((await post({ ...IMAGE, ...SHOWN }, a.cookie, from)).status).toBe(201);
+ process.env.FUOBE_TRUST_PROXY = "1";
+ expect((await post({ ...IMAGE, ...SHOWN }, a.cookie, from)).status).toBe(201);
+ expect((await post({ ...IMAGE, ...SHOWN }, b.cookie, from)).status).toBe(201);
+ const third = await post({ ...IMAGE, ...SHOWN }, b.cookie, from);
+ expect(third.status).toBe(429);
+ expect(third.body.error).toBe(limits.POOL_LIMIT_WORDS.address);
+ expect((await post({ ...IMAGE, ...SHOWN }, b.cookie, { "x-forwarded-for": "198.51.100.4" })).status).toBe(201);
+ const kept = db().prepare("SELECT addr FROM pool_admissions WHERE addr IS NOT NULL").all() as { addr: string }[];
+ expect(kept.length).toBeGreaterThan(0);
+ // A salted hash, never the address itself (a hash's hex digits may hold "203" by chance: the address never).
+ expect(kept.every((r) => /^[0-9a-f]{32}$/.test(r.addr) && !r.addr.includes("203.0.113.9"))).toBe(true);
+ });
+
+ it("a run's address hash goes two hours on, even when no other run comes", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0, addressRunsPerHour: 5 } });
+ process.env.FUOBE_TRUST_PROXY = "1";
+ const a = account();
+ expect((await post({ ...IMAGE, ...SHOWN }, a.cookie, { "x-forwarded-for": "203.0.113.77" })).status).toBe(201);
+ const kept = () => (db().prepare("SELECT COUNT(*) AS n FROM pool_admissions WHERE account = ?").get(a.id) as { n: number }).n;
+ expect(kept()).toBe(1);
+ // Two hours and a minute pass with no other run here; the runner turns as it always does.
+ db().prepare("UPDATE pool_admissions SET at = ? WHERE account = ?").run(Date.now() - 121 * 60_000, a.id);
+ globalThis.__fuobePoolAdmissionsPruned = 0;
+ await tick();
+ expect(kept()).toBe(0);
+ expect((db().prepare("SELECT COUNT(*) AS n FROM pool_admissions WHERE at < ?").get(Date.now() - 120 * 60_000) as { n: number }).n).toBe(0);
+ });
+});
+
+describe("where a run goes", () => {
+ it("the policy's default place: this install's GPUs first, even with the account's own GPU online; a named place wins", async () => {
+ withBilling({ prefer: "pool", limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account({ gpu: "online" });
+ const r = await post({ ...IMAGE, ...SHOWN }, a.cookie);
+ expect(r.status, JSON.stringify(r.body)).toBe(201);
+ expect(r.body.items![0].place).toBe("pool");
+ // The request a page gets back (and sends again on Retry) never says where it ran.
+ expect((r.body.items![0] as { request?: Record<string, unknown> }).request?.place).toBeUndefined();
+ const own = await post({ ...IMAGE, place: "own" }, a.cookie);
+ expect(own.status).toBe(201);
+ expect(own.body.items![0].place).toBeUndefined();
+ // Without it, the own GPU first as before.
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const again = await post(IMAGE, a.cookie);
+ expect(again.body.items![0].place).toBeUndefined();
+ // The status tells the pages.
+ const status = await visitorStatus(auth.accountById(a.id)!);
+ expect(status.viewer.prefer).toBeUndefined();
+ withBilling({ prefer: "pool" });
+ expect((await visitorStatus(auth.accountById(a.id)!)).viewer.prefer).toBe("pool");
+ });
+
+ it("with this install's GPUs first, a run that names no place and that they don't take runs on the account's own GPU", async () => {
+ withBilling({ prefer: "pool", pool: { deny: ["oss-z-image-turbo"] }, limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account({ gpu: "online" });
+ const r = await post(IMAGE, a.cookie);
+ expect(r.status, JSON.stringify(r.body)).toBe(201);
+ expect(r.body.items![0].place).toBeUndefined();
+ // Named, it is a refusal (the person asked for that place).
+ const named = await post({ ...IMAGE, place: "pool", ...SHOWN }, a.cookie);
+ expect(named.status).toBe(403);
+ expect(named.body.code).toBe("not-offered");
+ });
+
+ it("an own GPU that doesn't answer: a run that named no place is asked about, never moved and charged", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account({ gpu: "offline" });
+ const holds = fake.holds.size;
+ const r = await post({ ...IMAGE, ...SHOWN }, a.cookie);
+ expect(r.status).toBe(409);
+ expect(r.body.code).toBe("own-gpu-offline");
+ expect(r.headers.get(PLACE_ASK_HEADER)).toBe("1");
+ expect(fake.holds.size).toBe(holds);
+ expect(poolRuns(a.id)).toBe(0);
+ // Asked for this install's GPUs, it runs there.
+ const yes = await post({ ...IMAGE, place: "pool", ...SHOWN }, a.cookie);
+ expect(yes.status, JSON.stringify(yes.body)).toBe(201);
+ expect(poolRuns(a.id)).toBe(1);
+ });
+
+ it("an own GPU that doesn't answer: a run this install's GPUs wouldn't take goes to that GPU, as before, never asked about", async () => {
+ const a = account({ gpu: "offline" });
+ const own = (r: Awaited<ReturnType<typeof post>>, why: string) => {
+ expect(r.body.code, why).not.toBe("own-gpu-offline");
+ expect(r.headers.get(PLACE_ASK_HEADER), why).toBeNull();
+ expect(r.status, `${why}: ${JSON.stringify(r.body)}`).toBe(201);
+ expect(r.body.items![0].place, why).toBeUndefined();
+ // Stopped, so the studio's own limit of runs at once leaves room for the next.
+ db().prepare("UPDATE generations SET status = 'canceled' WHERE json_extract(request_json, '$.account') = ? AND status IN ('queued', 'running')").run(a.id);
+ };
+ const holds = fake.holds.size;
+ // Closed to the account.
+ withBilling({ hosted: false, limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ own(await post(IMAGE, a.cookie), "hosted runs closed");
+ // A model the policy doesn't offer there.
+ withBilling({ pool: { allow: ["oss-qwen-image-21-turbo"] }, limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ own(await post(IMAGE, a.cookie), "a model not offered");
+ // A kind the policy leaves out.
+ withBilling({ kinds: { image: false }, limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ own(await post(IMAGE, a.cookie), "a kind left out");
+ // Extra LoRAs.
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const lora = await post({ ...IMAGE, loras: [{ file: "a-look.safetensors", strength: 0.8 }] }, a.cookie);
+ expect(lora.body.code).not.toBe("own-gpu-offline");
+ expect(lora.status, JSON.stringify(lora.body)).not.toBe(403);
+ // The billing service not answering (and no earlier answer kept).
+ billing.resetBillingCache();
+ fake.down = "error";
+ try {
+ own(await post(IMAGE, a.cookie), "the service down");
+ } finally {
+ fake.down = false;
+ }
+ expect(poolRuns(a.id)).toBe(0);
+ expect(fake.holds.size).toBe(holds);
+ expect(ownRuns(a.id)).toBeGreaterThanOrEqual(3);
+ });
+
+ it("asked for this install's GPUs by name while they are closed to the account: said so, never run on its own GPU", async () => {
+ withBilling({ hosted: false, limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account({ gpu: "online" });
+ const r = await post({ ...IMAGE, place: "pool", ...SHOWN }, a.cookie);
+ expect(r.status).toBe(403);
+ expect(r.body.code).toBe("not-offered");
+ expect(ownRuns(a.id) + poolRuns(a.id)).toBe(0);
+ });
+
+ it("an own GPU that answers: its run never waits for the billing service once its policy is known", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ fake.policy = { ...fake.policy, ttlS: 60 };
+ const a = account({ gpu: "online" });
+ await billing.policy(a.id);
+ const asked = () => fake.calls_of("/v1/policy").length;
+ const before = asked();
+ const r = await post(IMAGE, a.cookie);
+ expect(r.status).toBe(201);
+ expect(r.body.items![0].place).toBeUndefined();
+ expect(asked()).toBe(before);
+ // A service that doesn't answer is waited for once, then not again for a while.
+ billing.resetBillingCache();
+ fake.down = "hang";
+ try {
+ const t0 = Date.now();
+ expect((await post(IMAGE, a.cookie)).status).toBe(201);
+ expect(Date.now() - t0).toBeLessThan(billing.BILLING_TIMEOUTS.policy + 1500);
+ const after = asked();
+ const t1 = Date.now();
+ expect((await post(IMAGE, a.cookie)).status).toBe(201);
+ expect(Date.now() - t1).toBeLessThan(billing.BILLING_TIMEOUTS.policy);
+ expect(asked()).toBe(after);
+ } finally {
+ fake.down = false;
+ }
+ });
+
+ it("a kind the policy leaves out is not offered here", async () => {
+ withBilling({ kinds: { image: false }, limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account();
+ const r = await post({ ...IMAGE, ...SHOWN }, a.cookie);
+ expect(r.status).toBe(403);
+ expect(r.body.code).toBe("not-offered");
+ expect(hostedRun.kindAllowed({ kinds: { image: false } }, "video")).toBe(true);
+ expect(hostedRun.kindAllowed({}, "model3d")).toBe(true);
+ });
+
+ it("3D isn't offered on this install's GPUs yet, even with kinds.model3d on: an account with no GPU of its own is told the tool isn't available here", async () => {
+ withBilling({ kinds: { model3d: true }, limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account();
+ const uploadsRoute = await import("@/app/api/uploads/route");
+ const { TINY_PNG } = await import("./helpers/fake-comfy-runner");
+ const up = await uploadsRoute.POST(
+ new Request(`http://${HOST}/api/uploads`, { method: "POST", headers: { ...SITE_HEADERS, cookie: a.cookie, "content-type": "image/png", "x-file-name": "photo.png", "content-length": String(TINY_PNG.length) }, body: new Uint8Array(TINY_PNG) }),
+ );
+ expect(up.status).toBe(201);
+ const { url } = (await up.json()) as { url: string };
+ const holds = fake.holds.size;
+ const r = await post({ feature: "image-to-3d", modelId: "oss-pixal3d", op: "image-to-3d", inputs: { images: [url] }, ...SHOWN }, a.cookie);
+ expect(r.status, JSON.stringify(r.body)).toBe(403);
+ expect(r.body.code).toBe("own-gpu-tool");
+ expect(r.body.error).toBe(OWN_GPU_TOOL_MESSAGE);
+ expect(r.headers.get(CONNECT_GPU_HEADER)).toBeNull();
+ expect(poolRuns(a.id)).toBe(0);
+ expect(fake.holds.size).toBe(holds);
+ });
+
+ it("a guest's policy that gets no answer isn't asked for again on every page for a while", async () => {
+ withBilling();
+ fake.down = "error";
+ try {
+ const before = fake.calls_of("/v1/policy").length;
+ expect((await visitorStatus(null)).viewer.hosted).toBeUndefined();
+ expect((await visitorStatus(null)).viewer.hosted).toBeUndefined();
+ expect(fake.calls_of("/v1/policy").length).toBe(before + 1);
+ expect(billing.cachedPolicy(null)).toBeNull();
+ } finally {
+ fake.down = false;
+ }
+ billing.resetBillingCache();
+ expect((await visitorStatus(null)).viewer.hosted).toBe(true);
+ });
+
+ it("a guest is told what the billing service's policy for guests says", async () => {
+ withBilling();
+ fake.guestPolicy = { ...FAKE_POLICY, hosted: false, ttlS: 0 };
+ expect((await visitorStatus(null)).viewer.hosted).toBeUndefined();
+ expect(fake.calls_of("/v1/policy").at(-1)!.path).toBe("/v1/policy");
+ fake.guestPolicy = { ...FAKE_POLICY, hosted: true, ttlS: 0 };
+ billing.resetBillingCache();
+ expect((await visitorStatus(null)).viewer.hosted).toBe(true);
+ // No billing service: as any account.
+ delete process.env.FUOBE_BILLING_URL;
+ expect((await visitorStatus(null)).viewer.hosted).toBe(true);
+ });
+});
+
+describe("a run's price facts", () => {
+ it("send the real size of a picture, and every step of a chain once", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account();
+ const r = await post({ ...IMAGE, params: { aspectRatio: "16:9", resolution: "1K" }, ...SHOWN }, a.cookie);
+ expect(r.status, JSON.stringify(r.body)).toBe(201);
+ const run = (fake.calls_of("/v1/reserve").at(-1)!.body as { run: { megapixels: number | null; steps?: { model: string; jobs: number }[] } }).run;
+ expect(run.megapixels).toBeGreaterThan(0.9);
+ expect(run.megapixels).toBeLessThan(1.2);
+ expect(run.steps).toEqual([expect.objectContaining({ model: "oss-z-image-turbo", jobs: 1 })]);
+ // A film of two shots: its two clips priced together with one hold; the join costs nothing.
+ const film = await post({ feature: "video", modelId: "oss-wan22-14b-fast", prompt: "x", params: { aspectRatio: "16:9", shots: [{ prompt: "wide shot", duration: 3 }, { prompt: "close-up", duration: 3 }] }, ...SHOWN }, a.cookie);
+ expect(film.status, JSON.stringify(film.body)).toBe(201);
+ const reserves = fake.calls_of("/v1/reserve");
+ const filmRun = (reserves.at(-1)!.body as { run: { steps?: { model: string; jobs: number }[] } }).run;
+ expect(filmRun.steps?.find((s) => s.model === "oss-wan22-14b-fast")?.jobs).toBe(2);
+ expect(filmRun.steps?.every((s) => s.model === "oss-wan22-14b-fast"), JSON.stringify(filmRun.steps)).toBe(true);
+ expect(poolRuns(a.id)).toBe(2);
+ });
+
+ it("send the size a run really makes: an upscale of a large picture its upscaled size, never a size the request names that its workflow doesn't use", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account();
+ const sharp = (await import("sharp")).default;
+ const big = await sharp({ create: { width: 2000, height: 1500, channels: 3, background: "#468" } })
+ .png()
+ .toBuffer();
+ const uploadsRoute = await import("@/app/api/uploads/route");
+ const up = await uploadsRoute.POST(
+ new Request(`http://${HOST}/api/uploads`, { method: "POST", headers: { ...SITE_HEADERS, cookie: a.cookie, "content-type": "image/png", "x-file-name": "big.png", "content-length": String(big.length) }, body: new Uint8Array(big) }),
+ );
+ expect(up.status).toBe(201);
+ const { url } = (await up.json()) as { url: string };
+ // SeedVR2's 4x, held to its 4096 px limit (2.04x): 4080 × 3060, whatever size the request names.
+ const upscale = { feature: "image", modelId: "oss-seedvr2-image", op: "upscale-image", inputs: { images: [url] }, params: { extra: { width: 64, height: 64 } }, ...SHOWN };
+ const r = await post(upscale, a.cookie);
+ expect(r.status, JSON.stringify(r.body)).toBe(201);
+ const run = (fake.calls_of("/v1/reserve").at(-1)!.body as { run: { model: string; megapixels: number | null } }).run;
+ expect(run).toMatchObject({ model: "oss-seedvr2-image", megapixels: 12.48 });
+ // ESRGAN's model makes it 4 times as large: 8000 × 6000.
+ expect(hosted.requestMegapixels({ ...upscale, modelId: "oss-upscale-image" } as never, "image", "oss-upscale-image", "upscale-image-esrgan")).toBe(48);
+ // A workflow that binds its canvas makes the canvas the request names (a layout's), on its grid.
+ const endpoint = getModel(IMAGE.modelId)!.routes.find((x) => x.provider === "comfyui")!.endpoint;
+ expect(hosted.requestMegapixels({ ...IMAGE, params: { extra: { width: 1280, height: 720 } } } as never, "image", IMAGE.modelId, endpoint)).toBe(0.92);
+ });
+
+ it("under the policy's cap on outputs, the price check and the run plan, price and make the same run", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0, outputsPerRun: 1 } });
+ const a = account();
+ const asked = { ...IMAGE, params: { numOutputs: 4 } };
+ const q = await preview(asked, a.cookie);
+ expect(q.body.place).toBe("pool");
+ const quoted = (fake.calls_of("/v1/quote").at(-1)!.body as { run: { jobs: number; steps?: { jobs: number }[] } }).run;
+ const r = await post({ ...asked, ...SHOWN }, a.cookie);
+ expect(r.status, JSON.stringify(r.body)).toBe(201);
+ const reserved = (fake.calls_of("/v1/reserve").at(-1)!.body as { run: { jobs: number; steps?: { jobs: number }[] } }).run;
+ expect(quoted.jobs).toBe(1);
+ expect(reserved.jobs).toBe(1);
+ expect(reserved.steps).toEqual(quoted.steps);
+ expect(reserved.steps?.[0].jobs).toBe(1);
+ expect(r.body.items).toHaveLength(1);
+ expect((r.body as { notes?: string[] }).notes).toContain(ACCOUNT_MESSAGES.outputsCapped);
+ });
+
+ it("the account's runs in the line facts count one per press of Run, however many jobs", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account();
+ const r = await post({ ...IMAGE, params: { numOutputs: 3 }, ...SHOWN }, a.cookie);
+ expect(r.status, JSON.stringify(r.body)).toBe(201);
+ expect(r.body.items!.length).toBeGreaterThan(1);
+ await waitFor(() => r.body.items!.every((g) => !!taskOf(g.id)));
+ expect(hosted.queueFacts(a.id, "z-image-turbo-t2i").mine).toEqual({ waiting: 1, running: 0 });
+ expect((await post({ ...IMAGE, ...SHOWN }, a.cookie)).status).toBe(201);
+ const sent = (fake.calls_of("/v1/reserve").at(-1)!.body as { queue: { mine: { waiting: number } } }).queue;
+ expect(sent.mine.waiting).toBe(1);
+ });
+
+ it("a run whose hold set nothing aside never says it wasn't charged", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account();
+ const stopped = async () => {
+ const r = await post({ ...IMAGE, ...SHOWN }, a.cookie);
+ expect(r.status, JSON.stringify(r.body)).toBe(201);
+ const id = r.body.items![0].id;
+ db().prepare("UPDATE generations SET status = 'canceled', completed_at = ? WHERE id = ?").run(Date.now(), id);
+ return getGeneration(id)!;
+ };
+ expect((await stopped()).notCharged).toBe(true);
+ fake.price = { amount: 0, version: "v0" };
+ const free = await stopped();
+ expect(free.place).toBe("pool");
+ expect(free.notCharged).toBeUndefined();
+ });
+
+ it("a chain whose join no worker takes is refused before anything is made", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ const a = account();
+ const film = { feature: "video", modelId: "oss-wan22-14b-fast", prompt: "x", params: { aspectRatio: "16:9", shots: [{ prompt: "wide shot", duration: 3 }, { prompt: "close-up", duration: 3 }] }, ...SHOWN };
+ // Every lane but the joins'.
+ const joins = new Set(hosted.workflowPicks("video-concat-{n}").map((id) => pool.poolLane(id)));
+ expect(joins.size).toBeGreaterThan(0);
+ const lanes = allLanes(loadIndex(), sha).map((l) => l.lane);
+ expect(lanes.some((l) => !joins.has(l))).toBe(true);
+ pool.patchWorker(worker.id, { allow: Object.fromEntries(lanes.filter((l) => !joins.has(l)).map((l) => [l, { delayMs: 0 }])) });
+ const holds = fake.holds.size;
+ const r = await post(film, a.cookie);
+ expect(r.status, JSON.stringify(r.body)).toBe(403);
+ expect(r.body.code).toBe("not-offered");
+ expect(poolRuns(a.id)).toBe(0);
+ expect(fake.holds.size).toBe(holds);
+ // Its price check says the same before Run: not offered here, so Run stays off.
+ const check = (await preview(film, a.cookie)).body as { quote?: { allowed: boolean; code?: string } };
+ expect(check.quote).toMatchObject({ allowed: false, code: "not-offered" });
+ });
+
+ it("every step must be one the policy allows: a later step's model it leaves out stops the run before anything is made", () => {
+ const steps = (models: [string, string][]) => models.map(([modelId, provider], i) => ({ id: `s${i}`, modelId, op: "t2i", provider, kind: "image", presetId: null, waits: i > 0 }));
+ const p = { ...billing.OPEN_POLICY, pool: { deny: ["oss-qwen-image-edit"] } };
+ expect(hostedRun.stepsProblem(p, steps([["oss-z-image-turbo", "comfyui"]]))).toBeNull();
+ expect(hostedRun.stepsProblem(p, steps([["oss-z-image-turbo", "comfyui"], ["oss-qwen-image-edit", "comfyui"]]))).not.toBeNull();
+ // A cloud step can't run here, and neither can a text step or one made in the browser: the run is refused before
+ // Run, never part way through.
+ expect(hostedRun.stepsProblem(billing.OPEN_POLICY, steps([["oss-z-image-turbo", "comfyui"], ["fal-flux", "fal"]]))).not.toBeNull();
+ for (const provider of ["llm", "local", "mock"]) {
+ expect(hostedRun.stepsProblem({ ...billing.OPEN_POLICY, pool: { allow: ["oss-z-image-turbo"] } }, steps([["oss-z-image-turbo", "comfyui"], ["some-step", provider]])), provider).toBe(hosted.HOSTED_WORDS.notOffered);
+ }
+ expect(hostedRun.pricedSteps(steps([["oss-z-image-turbo", "comfyui"], ["oss-z-image-turbo", "comfyui"]]))).toEqual([expect.objectContaining({ model: "oss-z-image-turbo", jobs: 2 })]);
+ });
+});
+
+describe("the price check before Run and the run itself", async () => {
+ const { PLACEHOLDER } = await import("@/lib/composer");
+ const { HOSTED_GUEST_WORDS, HOSTED_WORDS } = await import("@/server/hosted");
+ const { OWN_GPU_TOOL_MESSAGE } = await import("@/lib/guest-access");
+ /** A Fuobe DoP effect: its start frame is made first on another model, then animated. */
+ const EFFECT = { feature: "video", presetId: "effect-acid", modelId: "fuobe-dop", op: "i2v", prompt: "a dancer", inputs: { images: [PLACEHOLDER.image] } };
+ const LORAS = { ...IMAGE, loras: [{ file: "x.safetensors", url: "https://huggingface.co/x/x.safetensors" }] };
+ const THREE_D = { feature: "3d", modelId: "oss-pixal3d", op: "image-to-3d", prompt: "", inputs: { images: [PLACEHOLDER.image] } };
+ const NO_LIMITS = { activeRuns: 0, waiting: 0, runsPerHour: 0 };
+
+ it("agree on every case: what the run would be refused for, the price check refuses before Run, in the same words", async () => {
+ const cases: { name: string; req: Record<string, unknown>; policy?: Record<string, unknown>; refused?: string }[] = [
+ { name: "taken", req: IMAGE },
+ { name: "a chain, every step taken", req: EFFECT },
+ { name: "a model the policy denies", req: IMAGE, policy: { pool: { deny: ["oss-z-image-turbo"] } }, refused: HOSTED_WORDS.notOffered },
+ { name: "a kind the policy keeps off", req: IMAGE, policy: { kinds: { image: false } }, refused: HOSTED_WORDS.notOffered },
+ { name: "extra LoRAs", req: LORAS, refused: HOSTED_WORDS.loras },
+ { name: "a kind of file the policy keeps off", req: EFFECT, policy: { uploads: { image: false, video: false, audio: false } }, refused: HOSTED_WORDS.inputs },
+ { name: "a chain whose later step the policy denies", req: EFFECT, policy: { pool: { deny: ["fuobe-mixed-media"] } }, refused: HOSTED_WORDS.notOffered },
+ { name: "a 3D model", req: THREE_D, refused: OWN_GPU_TOOL_MESSAGE },
+ ];
+ const a = account();
+ const acct = auth.accountById(a.id)!;
+ for (const c of cases) {
+ withBilling({ limits: NO_LIMITS, ...(c.policy ?? {}) });
+ const req = { ...c.req, account: a.id } as never;
+ const run = await hostedRun.decidePlace(acct, req, undefined);
+ const check = await hostedRun.poolQuote(acct, req, undefined);
+ if (!c.refused) {
+ expect(run.kind, c.name).toBe("pool");
+ expect(check?.quote.allowed, c.name).toBe(true);
+ continue;
+ }
+ expect(run.kind, c.name).toBe("refuse");
+ expect(run.kind === "refuse" && run.refusal.body.error, c.name).toBe(c.refused);
+ expect(check?.quote, c.name).toMatchObject({ allowed: false, text: c.refused });
+ }
+ });
+
+ it("a guest's price check plans every step of a chain too, and words its refusals for someone with no Settings yet", async () => {
+ withBilling({ limits: NO_LIMITS });
+ expect((await hostedRun.poolQuote(null, EFFECT as never, undefined))?.quote.allowed).toBe(true);
+ // A later step this install's GPUs don't take: refused before Run, never only once the run starts after sign-up.
+ withBilling({ limits: NO_LIMITS, pool: { deny: ["fuobe-mixed-media"] } });
+ expect((await hostedRun.poolQuote(null, EFFECT as never, undefined))?.quote).toMatchObject({ allowed: false, code: "not-offered", text: HOSTED_GUEST_WORDS.notOffered });
+ withBilling({ limits: NO_LIMITS, pool: { deny: ["oss-z-image-turbo"] } });
+ const denied = await hostedRun.poolQuote(null, IMAGE as never, undefined);
+ expect(denied?.quote).toMatchObject({ allowed: false, text: HOSTED_GUEST_WORDS.notOffered });
+ expect(denied?.quote.text).not.toMatch(/Settings|your own GPU/);
+ withBilling({ limits: NO_LIMITS });
+ expect((await hostedRun.poolQuote(null, LORAS as never, undefined))?.quote.text).toBe(HOSTED_GUEST_WORDS.loras);
+ // Planned as nobody's: nothing of the plan is kept.
+ expect((db().prepare("SELECT COUNT(*) AS n FROM generations WHERE json_extract(request_json, '$.account') = 'guest:plan'").get() as { n: number }).n).toBe(0);
+ });
+
++ it("a model that needs an NVIDIA RTX card: the install's own card check applies to its own ComfyUI, never to the workers", async () => {
++ const { writeSnapshot } = await import("@/server/gpu/snapshots");
++ const at = Date.now();
++ writeSnapshot({ kind: "install", key: "install", via: "server" }, {
++ v: 1, via: "server", checkedAt: at, tookMs: 5, reachable: true,
++ devices: [{ name: "cpu", type: "cpu", index: 0, vramTotal: 0, vramFree: 0 }],
++ manager: { api: "none" }, nodes: { have: [], missing: [], total: 1, readAt: at, how: "object_info" },
++ combos: {}, packs: {}, models: {}, loras: {}, fingerprint: "x", errors: [],
++ } as never);
++ expect(hostedRun.poolCardRefuses("oss-rtx-video-upscale")).toBe(false);
++ setSetting("comfyWhere", "");
++ expect(hostedRun.poolCardRefuses("oss-rtx-video-upscale")).toBe(true);
++ expect(hostedRun.poolCardRefuses("oss-z-image-turbo")).toBe(false);
++ setSetting("comfyWhere", "workers");
++ // A guest is told it isn't offered, with nowhere to connect a GPU named.
++ expect(hostedRun.gateWords("rtxCard", true)).toBe(HOSTED_GUEST_WORDS.rtxCard);
++ expect(hostedRun.gateWords("rtxCard", true)).not.toMatch(/Settings|your own GPU|NVIDIA/);
++ expect(hostedRun.gateWords("rtxCard", false)).toBe(HOSTED_WORDS.rtxCard);
++ });
++
+ it("asks for the client's address only when the policy counts runs per address, and keeps its salt without writing again", async () => {
+ const salted = () => !!db().prepare("SELECT 1 FROM settings WHERE key = 'pool.addressSalt'").get();
+ const from = "203.0.113.20";
+ const preview = async (cookie: string) => {
+ const text = JSON.stringify(IMAGE);
+ const r = await generationsRoute.POST(
+ new Request(`http://${HOST}/api/generations?preview=1`, {
+ method: "POST",
+ headers: { ...SITE_HEADERS, cookie, "content-type": "application/json", "content-length": String(Buffer.byteLength(text)), "x-forwarded-for": from },
+ body: text,
+ }),
+ );
+ return (await r.json()) as { quote?: { allowed: boolean } };
+ };
+ db().prepare("DELETE FROM settings WHERE key = 'pool.addressSalt'").run();
+ globalThis.__fuobeAddressSalt = undefined;
+ process.env.FUOBE_TRUST_PROXY = "1";
+ const a = account();
+ // Hosted runs off: nothing of it at all.
+ delete process.env.FUOBE_HOSTED_RUNS;
+ await preview(a.cookie);
+ expect(salted()).toBe(false);
+ process.env.FUOBE_HOSTED_RUNS = "1";
+ // No count per address in the policy: the address isn't read.
+ withBilling({ limits: NO_LIMITS });
+ expect((await preview(a.cookie)).quote?.allowed).toBe(true);
+ expect(salted()).toBe(false);
+ // Counted per address: read, under a salt made once.
+ withBilling({ limits: { ...NO_LIMITS, addressRunsPerHour: 5 } });
+ expect((await preview(a.cookie)).quote?.allowed).toBe(true);
+ expect(salted()).toBe(true);
+ const ask = () => limits.clientAddress(new Request("http://x/", { headers: { "x-forwarded-for": from } }));
+ const first = ask();
+ // Kept in memory after that: the settings row isn't written (nor read) for each check.
+ db().prepare("DELETE FROM settings WHERE key = 'pool.addressSalt'").run();
+ expect(ask()).toBe(first);
+ expect(salted()).toBe(false);
+ });
+});
+
+describe("a run on this install's GPUs that can't finish", async () => {
+ const { getGeneration } = await import("@/server/generations");
+ const { POOL_WORDS } = await import("@/lib/relay");
+ const { HIDDEN_WORDS } = await import("@/server/output-checks");
+ const fail = (id: string, error: string) => db().prepare("UPDATE generations SET status = 'failed', error = ?, completed_at = ? WHERE id = ?").run(error, Date.now(), id);
+ const hide = (id: string) => {
+ fail(id, HIDDEN_WORDS);
+ db().prepare("INSERT INTO output_checks (asset_id, generation_id, state, asked_at, tries, next_at) VALUES (?, ?, 'hidden', ?, 0, ?)").run(`asset-${id}`, id, Date.now(), Date.now());
+ };
+ const FREE = { shown: { amount: 0, priceVersion: "v0" } };
+
+ it("says Not charged only when its hold set an amount aside", async () => {
+ withBilling({ limits: { activeRuns: 0, waiting: 0, runsPerHour: 0 } });
+ fake.price = { amount: 0, version: "v0" };
+ const a = account();
+ const free = await post({ ...IMAGE, ...FREE }, a.cookie);
+ expect(free.status, JSON.stringify(free.body)).toBe(201);
+ const freeId = free.body.items![0].id;
+ fail(freeId, "the worker stopped");
+ const g = getGeneration(freeId)!;
+ expect(g.place).toBe("pool");
+ expect(g.notCharged).toBeUndefined();
+ expect(g.error).toBe(POOL_WORDS.failed);
+ // Removed by the output checks: their sentence, without the charge.
+ const hidden = await post({ ...IMAGE, ...FREE }, a.cookie);
+ const hiddenId = hidden.body.items![0].id;
+ hide(hiddenId);
+ expect(getGeneration(hiddenId)!.error).toBe("This result was removed by the studio's checks.");
+ expect(getGeneration(hiddenId)!.notCharged).toBeUndefined();
+ // Something set aside: it says so.
+ fake.price = { amount: 7, version: "v7" };
+ const paid = await post({ ...IMAGE, ...SHOWN }, a.cookie);
+ expect(paid.status, JSON.stringify(paid.body)).toBe(201);
+ const paidId = paid.body.items![0].id;
+ hide(paidId);
+ expect(getGeneration(paidId)).toMatchObject({ notCharged: true, error: HIDDEN_WORDS });
+ // That the hold set something aside stays the server's: never sent with the request.
+ expect("charged" in getGeneration(paidId)!.request).toBe(false);
+ expect((JSON.parse((db().prepare("SELECT request_json FROM generations WHERE id = ?").get(paidId) as { request_json: string }).request_json) as { charged?: boolean }).charged).toBe(true);
+ });
+});
diff --cc tests/regenerate-more-hosted.test.ts
index 00000000,c946a2d8..bddedff2
mode 000000,100644..100644
--- a/tests/regenerate-more-hosted.test.ts
+++ b/tests/regenerate-more-hosted.test.ts
@@@ -1,0 -1,86 +1,99 @@@
+ import fs from "node:fs";
+ import http from "node:http";
+ import os from "node:os";
+ import path from "node:path";
+ import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
-import { listenInRange, startFakeBilling, type FakeBilling } from "./helpers/fake-billing";
++import { listenOnFreePort, startFakeBilling, type FakeBilling } from "./helpers/fake-billing";
+ import { startFakeComfy, type FakeComfy } from "./helpers/fake-comfy-runner";
+
+ // MiniMax H3 at 2K with hosted runs on (review 6 of package n7-10): an account's 2K run on this install's GPUs is planned
+ // and priced with each take's Open-H3 Regenerate finish beside its 768p draft, and a policy that keeps the finish's model
+ // off those GPUs keeps the whole run off, priced or run.
+ // Regenerate is switched off for now (REGEN_OFFERED); these tests check it as it runs once switched on.
+ // tests/regenerate-offered.test.ts checks that nothing offers it while it is off.
+ vi.mock("@/lib/catalog/regenerate", async (importOriginal) => ({ ...(await importOriginal<typeof import("@/lib/catalog/regenerate")>()), REGEN_OFFERED: true }));
+ const dir = fs.mkdtempSync(path.join(os.tmpdir(), "fuobe-regen-hosted-"));
+ process.env.FUOBE_DATA_DIR = dir;
+ process.env.FUOBE_PUBLIC_SIGNUP = "1";
+ delete process.env.FUOBE_PASSWORD;
+ delete process.env.FUOBE_HOSTED_RUNS;
+ delete process.env.FUOBE_BILLING_URL;
+ delete process.env.FUOBE_MODERATION_URL;
+ globalThis.__fuobeTestDiskFree = 1e13;
+
+ const probe = http.createServer();
-const comfyPort = await listenInRange(probe);
++const comfyPort = await listenOnFreePort(probe);
+ await new Promise<void>((r) => probe.close(() => r()));
+ const comfy: FakeComfy = await startFakeComfy({ output: "video", delayMs: 0 }, comfyPort);
+ process.env.COMFYUI_URL = comfy.url;
+
+ const auth = await import("@/server/auth");
+ const billing = await import("@/server/billing");
+ const { resetRates } = await import("@/server/rate");
+ const { decidePlace, poolQuote } = await import("@/server/hosted-run");
+ const R = await import("@/lib/catalog/regenerate");
+
+ let fake: FakeBilling;
+ let a = "";
+ beforeAll(async () => {
+ fake = await startFakeBilling();
+ auth.setPassword("install password");
+ a = auth.createAccount("[email protected]", "long enough").id;
+ });
+ afterAll(async () => {
+ globalThis.__fuobeTestDiskFree = undefined;
+ for (const k of ["FUOBE_HOSTED_RUNS", "FUOBE_BILLING_URL", "FUOBE_BILLING_TOKEN"]) delete process.env[k];
+ await fake.close();
+ await comfy.close();
+ try {
+ fs.rmSync(dir, { recursive: true, force: true });
+ } catch {}
+ });
+ beforeEach(() => {
+ resetRates();
+ billing.resetBillingCache();
+ process.env.FUOBE_HOSTED_RUNS = "1";
+ process.env.FUOBE_BILLING_URL = fake.url;
+ process.env.FUOBE_BILLING_TOKEN = "test-billing-token";
+ fake.policy = { hosted: true, pool: {}, uploads: { image: true, video: false, audio: false }, limits: { activeRuns: 7, waiting: 7, runsPerHour: 70, outputsPerRun: 2, maxMegapixels: 7, maxSeconds: 7, keepDays: 7, spaceBytes: 7 }, ttlS: 0 };
+ });
+
+ const twoK = (resolution = "2K") => ({ feature: "video", modelId: R.H3_OPEN_MODEL, op: "t2v" as const, prompt: "A lighthouse in a storm", params: { resolution, duration: 5, numOutputs: 2 } });
+ const finishes = (n: number) => Array.from({ length: n }, () => ({ model: R.REGEN_MODEL, op: "upscale-video" }));
+
+ describe("MiniMax H3 at 2K on this install's GPUs", () => {
+ it("plans and prices each take's finish beside its draft", async () => {
+ const place = await decidePlace(auth.accountById(a)!, twoK(), undefined);
+ expect(place.kind).toBe("pool");
+ if (place.kind !== "pool") return;
+ expect(place.planned.model.id).toBe(R.H3_OPEN_MODEL);
+ expect(place.planned.steps).toEqual(finishes(2));
+ const before = fake.calls_of("/v1/quote").length;
+ const quoted = await poolQuote(auth.accountById(a)!, twoK(), undefined);
+ expect(quoted?.planned.steps).toEqual(finishes(2));
++ // Priced as one run: the drafts first, then every take's finish (each model and operation once, with its count).
++ const priced = [
++ { model: R.H3_OPEN_MODEL, op: "t2v", kind: "video", jobs: 2 },
++ { model: R.REGEN_MODEL, op: "upscale-video", kind: "video", jobs: 2 },
++ ];
++ expect(place.steps).toMatchObject(priced);
+ const sent = fake.calls_of("/v1/quote").slice(before).at(-1)?.body as { run: { model: string; jobs: number; steps?: unknown } };
- expect(sent.run).toMatchObject({ model: R.H3_OPEN_MODEL, jobs: 2, steps: finishes(2) });
++ expect(sent.run).toMatchObject({ model: R.H3_OPEN_MODEL, jobs: 2, steps: priced });
++ expect(sent.run.steps).toHaveLength(2);
++ // The plan alone (no row planned yet, as the moderation service's facts are) gives the same steps.
++ const { runFacts } = await import("@/server/hosted");
++ expect(runFacts(twoK(), place.planned, "video").steps).toMatchObject(priced);
+ // 768p is the model alone.
+ expect((await poolQuote(auth.accountById(a)!, twoK("768p"), undefined))?.planned.steps).toBeUndefined();
+ });
+
+ it("a policy that keeps Open-H3 Regenerate off these GPUs keeps the 2K run off; 768p still runs here", async () => {
+ fake.policy = { ...fake.policy, pool: { deny: [R.REGEN_MODEL] } };
- expect(await poolQuote(auth.accountById(a)!, twoK(), undefined)).toBeNull();
++ // Said before Run (Run is off), in the words the run itself gets, and never priced.
++ const before = fake.calls_of("/v1/quote").length;
++ expect((await poolQuote(auth.accountById(a)!, twoK(), undefined))?.quote).toMatchObject({ allowed: false, code: "not-offered" });
++ expect(fake.calls_of("/v1/quote").length).toBe(before);
+ expect((await decidePlace(auth.accountById(a)!, twoK(), undefined)).kind).toBe("refuse");
+ expect((await decidePlace(auth.accountById(a)!, twoK("768p"), undefined)).kind).toBe("pool");
+ });
+ });
diff --cc workflows/comfyui/model-pins.json
index 646002ba,8ef199ef..11d63574
--- a/workflows/comfyui/model-pins.json
+++ b/workflows/comfyui/model-pins.json
@@@ -99,6 -104,6 +99,11 @@@
"sizeBytes": 335304388,
"sha256": "afc8e28272cd15db3919bacdb6918ce9c1ed22e96cb12c4d5ed0fba823529e38"
},
++ "https://huggingface.co/Comfy-Org/Hunyuan-Video/resolve/533a43813f01517d9e624f9e824a85bb94094120/split_files/vae/hunyuan_video_vae_bf16.safetensors": {
++ "revision": "533a43813f01517d9e624f9e824a85bb94094120",
++ "sizeBytes": 492984198,
++ "sha256": "e8f8553275406d84ccf22e7a47601650d8f98bdb8aa9ccfdd6506b57a9701aed"
++ },
"https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/diffusion_models/hunyuanvideo1.5_720p_i2v_fp16.safetensors": {
"revision": "1405a2b738c29b890cf6d03fc038d8d3e92eeed7",
"sizeBytes": 16653368128,
@@@ -319,6 -309,6 +324,11 @@@
"sizeBytes": 253816616,
"sha256": "c5320595fc61859ccdd0282184208f7b781c983b8ce4c6bc3e7723a807d3d28d"
},
++ "https://huggingface.co/Comfy-Org/Qwen-Image/resolve/1f12b17be14c89b026c51a91d67c32f84bb047bc/split_files/text_encoders/qwen_2.5_vl_7b.safetensors": {
++ "revision": "1f12b17be14c89b026c51a91d67c32f84bb047bc",
++ "sizeBytes": 16584415576,
++ "sha256": "cfafd739459bc86257397259f612a9aee88e5b98e85b5c0d0d1717e898b3463a"
++ },
"https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_2512_fp8_e4m3fn.safetensors": {
"revision": "1f12b17be14c89b026c51a91d67c32f84bb047bc",
"sizeBytes": 20430679144,
@@@ -334,6 -324,6 +344,11 @@@
"sizeBytes": 253806246,
"sha256": "a70580f0213e67967ee9c95f05bb400e8fb08307e017a924bf3441223e023d1f"
},
++ "https://huggingface.co/Comfy-Org/Qwen3.5/resolve/5d50a2252bf1bcd49e5fee9b5f296986d442682b/text_encoders/qwen3.5_9b_bf16.safetensors": {
++ "revision": "5d50a2252bf1bcd49e5fee9b5f296986d442682b",
++ "sizeBytes": 19306312328,
++ "sha256": "7e6e9f08d598f829cb940e60ac0c698e1f1c27a47daffd7e598cd78c78b4cc53"
++ },
"https://huggingface.co/Comfy-Org/Qwen3.5/resolve/main/text_encoders/qwen3.5_4b_bf16.safetensors": {
"revision": "5d50a2252bf1bcd49e5fee9b5f296986d442682b",
"sizeBytes": 9319828320,
@@@ -899,11 -812,6 +914,21 @@@
"sizeBytes": 995765578,
"sha256": "3160fabf8edf0bc4dd8de40353a180813b111ce586b655ad54af9a7b8c6736de"
},
++ "https://huggingface.co/Pika-Labs/Pika-H3-Flex/resolve/3ff166447d5edb1406107ab8370c42000ce173e4/comfy/loras/pika_h3_flex_fl2va_comfy_bf16.safetensors": {
++ "revision": "3ff166447d5edb1406107ab8370c42000ce173e4",
++ "sizeBytes": 1956172176,
++ "sha256": "68783e6447696ec365d13c0554941e070bee4cfea13c37da52498ec4f9a53f89"
++ },
++ "https://huggingface.co/Pika-Labs/Pika-H3-Flex/resolve/3ff166447d5edb1406107ab8370c42000ce173e4/comfy/loras/pika_h3_flex_ref2va_comfy_bf16.safetensors": {
++ "revision": "3ff166447d5edb1406107ab8370c42000ce173e4",
++ "sizeBytes": 1956172176,
++ "sha256": "e4d058fbd027377b925a0ee607b514ddd9037873fee3afa05d73b302e6f7f8e1"
++ },
+ "https://huggingface.co/PrunaAI/P-Q-Image-2.1-Comfy/resolve/aa7dcecb1767e220e31a55706e33fd057c9a3fca/p_q_image_2.1_6_steps_upsampled_v0.2_comfyui_bf16.safetensors": {
+ "revision": "aa7dcecb1767e220e31a55706e33fd057c9a3fca",
+ "sizeBytes": 344061264,
+ "sha256": "b10e6231bebc4852d921f168366fdb0f495ff867bcabd592a0626ca11dba7561"
+ },
"https://huggingface.co/RudySen/Krea2-realism-V2/resolve/main/Krea2-realism-V2.safetensors": {
"revision": "ad6f07e426303e7087d215362dbc057b0073dca3",
"sizeBytes": 1562410344,
@@@ -1026,9 -918,8 +1051,14 @@@
},
"https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors": {
"revision": "feef60b0aaf63a4773ace96636ebbcf43b881312",
- "sizeBytes": 6724090780
+ "sizeBytes": 6724090780,
+ "sha256": "e5d85a7421d197bf5a12474511936ecabce19a833252f16e9310a983194a4458"
+ },
++ "https://huggingface.co/briaai/VRMBG-3.0/resolve/59716e19a6cc97f91311edea190938219c097b76/model.safetensors": {
++ "revision": "59716e19a6cc97f91311edea190938219c097b76",
++ "sizeBytes": 884915688,
++ "sha256": "3100fd296d2991f4859db9d83c43ece45f432659b06db3d79810dad033c62253"
+ },
"https://huggingface.co/city96/Wan2.1-I2V-14B-480P-gguf/resolve/main/wan2.1-i2v-14b-480p-Q8_0.gguf": {
"revision": "b4b6b3b3f0f64975fb33b1d5d1a46ca24e065f03",
"sizeBytes": 18144640384,
@@@ -1074,11 -965,6 +1104,111 @@@
"sizeBytes": 236117032,
"sha256": "e0cea9508025a39e41f50da0e7d10fbd9db182d057c745136a42ef8829914c8f"
},
++ "https://huggingface.co/facebook/dinov2-large/resolve/47b73eefe95e8d44ec3623f8890bd894b6ea2d6c/config.json": {
++ "revision": "47b73eefe95e8d44ec3623f8890bd894b6ea2d6c",
++ "sizeBytes": 549,
++ "sha256": "12df51c069a2dc1305e34ba71ef58bc2407ea553b75f4722a1715c1bce3bbed0"
++ },
++ "https://huggingface.co/facebook/dinov2-large/resolve/47b73eefe95e8d44ec3623f8890bd894b6ea2d6c/model.safetensors": {
++ "revision": "47b73eefe95e8d44ec3623f8890bd894b6ea2d6c",
++ "sizeBytes": 1217522888,
++ "sha256": "399fba97a95f22c36834418bc69373364a99af3a1153da1c0fb31db567c92e23"
++ },
+ "https://huggingface.co/gribbliest/qwen-image-2.1-qma-camera-angles/resolve/13007eec2648c09529e930164c2ccc9c8c12428c/qwen-image-2.1-qma-camera-angles.safetensors": {
+ "revision": "13007eec2648c09529e930164c2ccc9c8c12428c",
+ "sizeBytes": 318820224,
+ "sha256": "ad2c20e0e103b6ad3ffffc56ab4e89c0822263c488aa4dd70e7e03091ff37b8d"
+ },
++ "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/model_index.json": {
++ "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
++ "sizeBytes": 224,
++ "sha256": "e24988612733dad44b7354fbfa0b2ef50073ba6ef8d7a677e41023dc2d651386"
++ },
++ "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/scheduler/scheduler_config.json": {
++ "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
++ "sizeBytes": 127,
++ "sha256": "40cdcdaaa6149dea32b86a5ff730e581b069ae619d7f580444ef503737fb0bf3"
++ },
++ "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/transformer_1024/config.json": {
++ "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
++ "sizeBytes": 1337,
++ "sha256": "2f96d851844e159523cb6cf5e5b29ddbc1354e222a333232612c19e1eaf278c2"
++ },
++ "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/transformer_1024/model.safetensors": {
++ "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
++ "sizeBytes": 3675679280,
++ "sha256": "a2ca5e44dde51cacecd59b42fceeb5f14e75d55e6dd047337752c4e6f281008c"
++ },
++ "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/transformer_512/config.json": {
++ "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
++ "sizeBytes": 1336,
++ "sha256": "809189b8183c3f44118751322f2cb6fe6fa4ca1922ea16c88cd032970d4bc937"
++ },
++ "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/transformer_512/model.safetensors": {
++ "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
++ "sizeBytes": 3675679280,
++ "sha256": "8ba88311dccf23463c6e10dd0d3bd5e0c5c35d1608c6f466413b6428b5ad8e56"
++ },
++ "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/vae/config.json": {
++ "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
++ "sizeBytes": 131,
++ "sha256": "71c629eb188485786227277c7bb5b0fa0a1bfcf07a3d21316174da6b4d04f92f"
++ },
++ "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/vae/model.safetensors": {
++ "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
++ "sizeBytes": 376629712,
++ "sha256": "605d207c77f8db0b33c567a5861252f0090cf3c3604dfda1cfee09e8f0b53f3e"
++ },
++ "https://huggingface.co/hkchengrex/MMAudio/resolve/eb13a1a98fdbec91753775c57b074ccdfc60587c/ext_weights/v1-44.pth": {
++ "revision": "eb13a1a98fdbec91753775c57b074ccdfc60587c",
++ "sizeBytes": 1221942998,
++ "sha256": "ab6cc15dc31947675f75c950c41f4dcfd0d6d1817555ac871f809ec388e4651a"
++ },
++ "https://huggingface.co/kandinskylab/Kandinsky-6.0-Lite-distill-5s-Diffusers/resolve/4c487e8b4aeeb9059e5a77905aa2ddb59ec28f81/transformer/diffusion_pytorch_model.safetensors": {
++ "revision": "4c487e8b4aeeb9059e5a77905aa2ddb59ec28f81",
++ "sizeBytes": 6381599096,
++ "sha256": "b1b52668561d9138d93bb4da13c9999e615bf569be9f8cf65732d54652447f53"
++ },
++ "https://huggingface.co/kandinskylab/Kandinsky-6.0-Pro-distill-5s-Diffusers/resolve/80d5e6c7f646c5f512b684e2da0765618d805894/transformer/diffusion_pytorch_model.safetensors": {
++ "revision": "80d5e6c7f646c5f512b684e2da0765618d805894",
++ "sizeBytes": 60344993576,
++ "sha256": "f84ea3266560bbd1f203a874b8cee43e080073820facaf3306cab8fae2798a97"
++ },
++ "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/latent_upscaler/config.json": {
++ "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
++ "sizeBytes": 2258
++ },
++ "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/latent_upscaler/diffusion_pytorch_model.safetensors": {
++ "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
++ "sizeBytes": 7308101968,
++ "sha256": "ee43faf02cda418cf368a9c391e27f90045b440d16088ad0c3d1a04b763dcd91"
++ },
++ "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/model_index.json": {
++ "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
++ "sizeBytes": 359
++ },
++ "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/scheduler/scheduler_config.json": {
++ "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
++ "sizeBytes": 231
++ },
++ "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/transformer/config.json": {
++ "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
++ "sizeBytes": 1214
++ },
++ "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/transformer/diffusion_pytorch_model.safetensors": {
++ "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
++ "sizeBytes": 3187645192,
++ "sha256": "02462583bbc99ae8be8a4bb2aab1b62babfdda1302806f938fca94ed3fabf1fe"
++ },
++ "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/vae/config.json": {
++ "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
++ "sizeBytes": 569
++ },
++ "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/vae/diffusion_pytorch_model.safetensors": {
++ "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
++ "sizeBytes": 6955556660,
++ "sha256": "079413ec24542e5c20bd98e6a49a82c0a1f3e64add1c2fc12eff3fdfe6498bf8"
++ },
"https://huggingface.co/larryvrh/MiniMax-H3-Turbo-Lora/resolve/43a74557ac3f6539db8e0f2a959d03feb7a81480/minimax_h3_turbo_v4_step600_ema.safetensors": {
"revision": "43a74557ac3f6539db8e0f2a959d03feb7a81480",
"sizeBytes": 779849816,
@@@ -1149,11 -1055,130 +1284,35 @@@
"sizeBytes": 38592940,
"sha256": "35c2a4e284515275d2e49a8e8cb5cd392ae67a1f1d345de1c12a0202c7b6b610"
},
- "https://huggingface.co/linoyts/Qwen-Image-2.1-DMD2-2steps/resolve/5bae28369ecea3232405c17a53c04d35d15796b8/pytorch_lora_weights_v1_5.safetensors": {
- "revision": "5bae28369ecea3232405c17a53c04d35d15796b8",
- "sizeBytes": 67144520,
- "sha256": "0cfee5d5fbb9c5f6262c82db4f59dd4e872dfaac9fb7c82c9f7191e0d31406c4"
- },
- "https://huggingface.co/lightx2v/Qwen-Image-2.1-Lightning/resolve/6b0a1176327c01522a44276c5da67331a025b6fc/pytorch_lora_weights.safetensors": {
- "revision": "6b0a1176327c01522a44276c5da67331a025b6fc",
- "sizeBytes": 67144280,
- "sha256": "53c69320d4163da51032f90275074028cb098556039c72b45f8dce9f0f9e34a3"
- },
- "https://huggingface.co/PrunaAI/P-Q-Image-2.1-Comfy/resolve/aa7dcecb1767e220e31a55706e33fd057c9a3fca/p_q_image_2.1_6_steps_upsampled_v0.2_comfyui_bf16.safetensors": {
- "revision": "aa7dcecb1767e220e31a55706e33fd057c9a3fca",
- "sizeBytes": 344061264,
- "sha256": "b10e6231bebc4852d921f168366fdb0f495ff867bcabd592a0626ca11dba7561"
- },
- "https://huggingface.co/akhaliq/Qwen-Image-2.1-Next-Scene-LoRA/resolve/67ce88cd413fe177758af5d91e25eb3a334aa06f/next_scene_step2500.safetensors": {
- "revision": "67ce88cd413fe177758af5d91e25eb3a334aa06f",
- "sizeBytes": 335605648,
- "sha256": "55482093e8b8a80183810037df12f804196cee58e9e85311dc4f3bacf27a60b0"
- },
- "https://huggingface.co/madebyollin/texture-fix-vae-for-qwen-image-2.1/resolve/9a10df811f183323e4e94d255c18add1924ce340/texture_fix_vae_for_qwen_image_2.1_bf16.safetensors": {
- "revision": "9a10df811f183323e4e94d255c18add1924ce340",
- "sizeBytes": 675509688,
- "sha256": "36f56608b02077a50a08ea3dbcdb88351298ceba49948f41f9f87186378e6908"
- },
- "https://huggingface.co/Pika-Labs/Pika-H3-Flex/resolve/3ff166447d5edb1406107ab8370c42000ce173e4/comfy/loras/pika_h3_flex_fl2va_comfy_bf16.safetensors": {
- "revision": "3ff166447d5edb1406107ab8370c42000ce173e4",
- "sizeBytes": 1956172176,
- "sha256": "68783e6447696ec365d13c0554941e070bee4cfea13c37da52498ec4f9a53f89"
- },
- "https://huggingface.co/Pika-Labs/Pika-H3-Flex/resolve/3ff166447d5edb1406107ab8370c42000ce173e4/comfy/loras/pika_h3_flex_ref2va_comfy_bf16.safetensors": {
- "revision": "3ff166447d5edb1406107ab8370c42000ce173e4",
- "sizeBytes": 1956172176,
- "sha256": "e4d058fbd027377b925a0ee607b514ddd9037873fee3afa05d73b302e6f7f8e1"
- },
- "https://huggingface.co/facebook/dinov2-large/resolve/47b73eefe95e8d44ec3623f8890bd894b6ea2d6c/config.json": {
- "revision": "47b73eefe95e8d44ec3623f8890bd894b6ea2d6c",
- "sizeBytes": 549,
- "sha256": "12df51c069a2dc1305e34ba71ef58bc2407ea553b75f4722a1715c1bce3bbed0"
- },
- "https://huggingface.co/facebook/dinov2-large/resolve/47b73eefe95e8d44ec3623f8890bd894b6ea2d6c/model.safetensors": {
- "revision": "47b73eefe95e8d44ec3623f8890bd894b6ea2d6c",
- "sizeBytes": 1217522888,
- "sha256": "399fba97a95f22c36834418bc69373364a99af3a1153da1c0fb31db567c92e23"
- },
- "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/model_index.json": {
- "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
- "sizeBytes": 224,
- "sha256": "e24988612733dad44b7354fbfa0b2ef50073ba6ef8d7a677e41023dc2d651386"
- },
- "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/scheduler/scheduler_config.json": {
- "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
- "sizeBytes": 127,
- "sha256": "40cdcdaaa6149dea32b86a5ff730e581b069ae619d7f580444ef503737fb0bf3"
- },
- "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/transformer_1024/config.json": {
- "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
- "sizeBytes": 1337,
- "sha256": "2f96d851844e159523cb6cf5e5b29ddbc1354e222a333232612c19e1eaf278c2"
- },
- "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/transformer_1024/model.safetensors": {
- "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
- "sizeBytes": 3675679280,
- "sha256": "a2ca5e44dde51cacecd59b42fceeb5f14e75d55e6dd047337752c4e6f281008c"
- },
- "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/transformer_512/config.json": {
- "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
- "sizeBytes": 1336,
- "sha256": "809189b8183c3f44118751322f2cb6fe6fa4ca1922ea16c88cd032970d4bc937"
- },
- "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/transformer_512/model.safetensors": {
- "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
- "sizeBytes": 3675679280,
- "sha256": "8ba88311dccf23463c6e10dd0d3bd5e0c5c35d1608c6f466413b6428b5ad8e56"
- },
- "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/vae/config.json": {
- "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
- "sizeBytes": 131,
- "sha256": "71c629eb188485786227277c7bb5b0fa0a1bfcf07a3d21316174da6b4d04f92f"
- },
- "https://huggingface.co/hi3d-official/Hi3Dv1.0/resolve/d502e938cbedc6e87aba8884614c5ca6d177a4b6/vae/model.safetensors": {
- "revision": "d502e938cbedc6e87aba8884614c5ca6d177a4b6",
- "sizeBytes": 376629712,
- "sha256": "605d207c77f8db0b33c567a5861252f0090cf3c3604dfda1cfee09e8f0b53f3e"
- },
- "https://huggingface.co/openai/clip-vit-large-patch14/resolve/32bd64288804d66eefd0ccbe215aa642df71cc41/config.json": {
- "revision": "32bd64288804d66eefd0ccbe215aa642df71cc41",
- "sizeBytes": 4519,
- "sha256": "8a09b467700c58138c29d53c605b34ebc69beaadd13274a8a2af8ad2c2f4032a"
- },
- "https://huggingface.co/openai/clip-vit-large-patch14/resolve/32bd64288804d66eefd0ccbe215aa642df71cc41/model.safetensors": {
- "revision": "32bd64288804d66eefd0ccbe215aa642df71cc41",
- "sizeBytes": 1710540580,
- "sha256": "a2bf730a0c7debf160f7a6b50b3aaf3703e7e88ac73de7a314903141db026dcb"
- },
- "https://huggingface.co/gribbliest/qwen-image-2.1-qma-camera-angles/resolve/13007eec2648c09529e930164c2ccc9c8c12428c/qwen-image-2.1-qma-camera-angles.safetensors": {
- "revision": "13007eec2648c09529e930164c2ccc9c8c12428c",
- "sizeBytes": 318820224,
- "sha256": "ad2c20e0e103b6ad3ffffc56ab4e89c0822263c488aa4dd70e7e03091ff37b8d"
+ "https://huggingface.co/nvidia/NVIDIA-NemotronLabs-RE-USE/resolve/31f82f2efad1095034492f236e8dac9239ba713b/model.safetensors": {
+ "revision": "31f82f2efad1095034492f236e8dac9239ba713b",
+ "sizeBytes": 38592940,
+ "sha256": "06badaf4029b297f97f7fe48d62990b48d5482608210df577354e0d4e0ed70e1"
},
- "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/loras/minimax_h3_DMAD_4step_full_lora_avg_rank_39_bf16.safetensors": {
- "revision": "f5c3b1d5a63e008a691fca1b6096fd57a5307536",
- "sizeBytes": 366647000,
- "sha256": "ddfdd94f4c9a0f32bf3649bb8e98ca20db572e4db6bcd9cca546a5b33ea32d11"
++ "https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/bigvgan_generator.pt": {
++ "revision": "95a9d1dcb12906c03edd938d77b9333d6ded7dfb",
++ "sizeBytes": 489041291,
++ "sha256": "d9fe7ec6bd0b44ed9d66973d5012d8181c1570b01e5c72df51973e241dccd357"
+ },
- "https://huggingface.co/mdevoz/SolarRendererRank64/resolve/984a10b7c167bbb94614f9644d5fedbb93a8c6e6/solarrenderer_4step_lora_rank64.safetensors": {
- "revision": "984a10b7c167bbb94614f9644d5fedbb93a8c6e6",
- "sizeBytes": 691873992,
- "sha256": "3ad1a6593813499bc351822062cc5f0b35ec761c69110614b2d2ccd7d34ae3e8"
++ "https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/config.json": {
++ "revision": "95a9d1dcb12906c03edd938d77b9333d6ded7dfb",
++ "sizeBytes": 1403
+ },
- "https://huggingface.co/mdevoz/SolarRendererRank64/resolve/984a10b7c167bbb94614f9644d5fedbb93a8c6e6/solarrenderer_control_lora_rank64.safetensors": {
- "revision": "984a10b7c167bbb94614f9644d5fedbb93a8c6e6",
- "sizeBytes": 691873968,
- "sha256": "5ab559206030075e268b788547b9f3e420e6d96a4711a8f58a8fc7744c01365f"
++ "https://huggingface.co/nynxz/Hy-Nomas/resolve/e8ddc4bfa664d69213930552493c220c3af56f41/nomas_dit_distilled_bf16.safetensors": {
++ "revision": "e8ddc4bfa664d69213930552493c220c3af56f41",
++ "sizeBytes": 17107123184,
++ "sha256": "fecc7c94de4c4d7a9513e4d9c15c430fad24927554e5a2531b2d36313bafdbb7"
+ },
- "https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors": {
- "revision": "feef60b0aaf63a4773ace96636ebbcf43b881312",
- "sizeBytes": 9748113996
++ "https://huggingface.co/nynxz/Hy-Nomas/resolve/e8ddc4bfa664d69213930552493c220c3af56f41/nomas_dit_distilled_int8_convrot.safetensors": {
++ "revision": "e8ddc4bfa664d69213930552493c220c3af56f41",
++ "sizeBytes": 8966889488,
++ "sha256": "0cf9c169c22149c83c647485e5e30319f137cd153a62bdf5813bc0657520b835"
+ },
- "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/AniSora/Wan2_2_I2V_AniSora_3_2_HIGH_rank_64_fp16.safetensors": {
- "revision": "8260d429d19fd7a72304cad059160b95d843913f",
- "sizeBytes": 630695648,
- "sha256": "bdc68451d6bccd6efb70f6eb916ede7cc470e3b6dacd0273da528246334095da"
++ "https://huggingface.co/nynxz/Hy-Nomas/resolve/e8ddc4bfa664d69213930552493c220c3af56f41/nomas_pixelumm_vae_bf16.safetensors": {
++ "revision": "e8ddc4bfa664d69213930552493c220c3af56f41",
++ "sizeBytes": 15776972360,
++ "sha256": "2003b63f87917f80061d0196c3114c70374c4d60a44ce72e03cf52305eeaa5e3"
+ },
"https://huggingface.co/nynxz/Idol/resolve/c718f2b1b95b353edd07d17e845719fc10880a44/diffusion_models/idol_fp16.safetensors": {
"revision": "c718f2b1b95b353edd07d17e845719fc10880a44",
"sizeBytes": 741107210,
@@@ -1164,44 -1189,153 +1323,54 @@@
"sizeBytes": 576148658,
"sha256": "c511d99eb668ec4b06d883cb6e43770bc35e3864e16e7058e8d6211ba5c509aa"
},
- "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/912b6e38b2092ec4d2e86d24183e0d59ea059d48/vae/minimax_h3_sol_vae_int8_convrot.safetensors": {
- "revision": "912b6e38b2092ec4d2e86d24183e0d59ea059d48",
- "sizeBytes": 1988306504,
- "sha256": "a742069ba173bc3aba64cf8d8289d073e0818f2753f2fc2768f0342645089682"
- },
- "https://huggingface.co/FastVideo/FastVideo-FastH3-8-Step-V2-NVFP4-Comfy/resolve/994a40beb8c8f15739e4f0fad96aec101bb7123c/diffusion_models/fastvideo_fasth3_8step_v2_pruned_nvfp4.safetensors": {
- "revision": "994a40beb8c8f15739e4f0fad96aec101bb7123c",
- "sizeBytes": 13612462670,
- "sha256": "49371f21b546e59813984938a1b4fbea9348eb5003e07a01d48083efcc5a1d94"
- },
- "https://huggingface.co/FastVideo/FastVideo-FastH3-Comfy/resolve/ec1e3aa374a91c57b0b94a1623b7e657c0498cf2/diffusion_models/fastvideo_fasth3_8step_v2_pruned_int8_convrot.safetensors": {
- "revision": "ec1e3aa374a91c57b0b94a1623b7e657c0498cf2",
- "sizeBytes": 22128378696,
- "sha256": "0922785978dc9bfe1adf27d8b291b0ca763f9f165f882e6cb297c72fbb6deda8"
- },
- "https://huggingface.co/FastVideo/FastVideo-FastH3-Trim-Comfy/resolve/f66c13dc17391dd4da99242a407918b92bf7d5fc/diffusion_models/fastvideo_fasth3_trim_8step_fp8.safetensors": {
- "revision": "f66c13dc17391dd4da99242a407918b92bf7d5fc",
- "sizeBytes": 19683522390,
- "sha256": "dbc05815de2f86a0028d10e4e90b19b759dd689078835a8c363706934d18f31a"
- },
- "https://huggingface.co/FastVideo/FastVideo-FastH3-Trim-Comfy/resolve/f66c13dc17391dd4da99242a407918b92bf7d5fc/diffusion_models/fastvideo_fasth3_trim_8step_int8_convrot.safetensors": {
- "revision": "f66c13dc17391dd4da99242a407918b92bf7d5fc",
- "sizeBytes": 18924757904,
- "sha256": "ff6e40bc592f7362ea0d7bfcf4e0402bb2c26376d9d1bd4fffb047a5203c2153"
- },
- "https://huggingface.co/FastVideo/FastVideo-FastH3-Trim-Comfy/resolve/f66c13dc17391dd4da99242a407918b92bf7d5fc/diffusion_models/fastvideo_fasth3_trim_8step_nvfp4.safetensors": {
- "revision": "f66c13dc17391dd4da99242a407918b92bf7d5fc",
- "sizeBytes": 11894623166,
- "sha256": "748b2bcc9c4b7bf7b23406987b42d4ac40362070c164cf11092482be6a863455"
- },
- "https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/diffusion_models/minimax_music3_dit_int8_convrot.safetensors": {
- "revision": "9e364ccd290a401561091fb441ed19cd7de92550",
- "sizeBytes": 2502161682,
- "sha256": "d6b959633e69899f99f3a92d6741c0fe79f26958a30811e50e372ef978b24d5f"
- },
- "https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/text_encoders/minimax_music3_text_encoder_pruned_int8_convrot.safetensors": {
- "revision": "9e364ccd290a401561091fb441ed19cd7de92550",
- "sizeBytes": 9196611886,
- "sha256": "010b7416d2336a08c711bc22ee65849c9623069ddb7d89bec011a75699e52014"
- },
- "https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/vae/minimax_music3_dav.safetensors": {
- "revision": "9e364ccd290a401561091fb441ed19cd7de92550",
- "sizeBytes": 216696128,
- "sha256": "2a32155b769be01445fcc2a8663b910fc9e1751e18dc1c3ec528064512d9ef0c"
- },
- "https://huggingface.co/Comfy-Org/YuE2/resolve/main/checkpoints/yue2_3b_int8_convrot.safetensors": {
- "revision": "2f76ca75e6ee094169de899cc7fc99d6887e2196",
- "sizeBytes": 3960938800,
- "sha256": "96fe199377309001ed8cd26a944baeee8cc31a20ba7c36d1d3c0a7e1f4149db6"
- },
- "https://huggingface.co/Comfy-Org/YuE2/resolve/main/audio_encoders/sheetsage2_bf16.safetensors": {
- "revision": "2f76ca75e6ee094169de899cc7fc99d6887e2196",
- "sizeBytes": 1386868122,
- "sha256": "5fd960ce3df281e3f3a889d174584d88f96247711480cf96377b12d7e8b6adc5"
- },
- "https://huggingface.co/Comfy-Org/Hunyuan-Video/resolve/533a43813f01517d9e624f9e824a85bb94094120/split_files/vae/hunyuan_video_vae_bf16.safetensors": {
- "revision": "533a43813f01517d9e624f9e824a85bb94094120",
- "sizeBytes": 492984198,
- "sha256": "e8f8553275406d84ccf22e7a47601650d8f98bdb8aa9ccfdd6506b57a9701aed"
- },
- "https://huggingface.co/Comfy-Org/Qwen-Image/resolve/1f12b17be14c89b026c51a91d67c32f84bb047bc/split_files/text_encoders/qwen_2.5_vl_7b.safetensors": {
- "revision": "1f12b17be14c89b026c51a91d67c32f84bb047bc",
- "sizeBytes": 16584415576,
- "sha256": "cfafd739459bc86257397259f612a9aee88e5b98e85b5c0d0d1717e898b3463a"
- },
- "https://huggingface.co/Comfy-Org/Qwen3.5/resolve/5d50a2252bf1bcd49e5fee9b5f296986d442682b/text_encoders/qwen3.5_9b_bf16.safetensors": {
- "revision": "5d50a2252bf1bcd49e5fee9b5f296986d442682b",
- "sizeBytes": 19306312328,
- "sha256": "7e6e9f08d598f829cb940e60ac0c698e1f1c27a47daffd7e598cd78c78b4cc53"
- },
- "https://huggingface.co/hkchengrex/MMAudio/resolve/eb13a1a98fdbec91753775c57b074ccdfc60587c/ext_weights/v1-44.pth": {
- "revision": "eb13a1a98fdbec91753775c57b074ccdfc60587c",
- "sizeBytes": 1221942998,
- "sha256": "ab6cc15dc31947675f75c950c41f4dcfd0d6d1817555ac871f809ec388e4651a"
- },
- "https://huggingface.co/kandinskylab/Kandinsky-6.0-Lite-distill-5s-Diffusers/resolve/4c487e8b4aeeb9059e5a77905aa2ddb59ec28f81/transformer/diffusion_pytorch_model.safetensors": {
- "revision": "4c487e8b4aeeb9059e5a77905aa2ddb59ec28f81",
- "sizeBytes": 6381599096,
- "sha256": "b1b52668561d9138d93bb4da13c9999e615bf569be9f8cf65732d54652447f53"
- },
- "https://huggingface.co/kandinskylab/Kandinsky-6.0-Pro-distill-5s-Diffusers/resolve/80d5e6c7f646c5f512b684e2da0765618d805894/transformer/diffusion_pytorch_model.safetensors": {
- "revision": "80d5e6c7f646c5f512b684e2da0765618d805894",
- "sizeBytes": 60344993576,
- "sha256": "f84ea3266560bbd1f203a874b8cee43e080073820facaf3306cab8fae2798a97"
- },
- "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/latent_upscaler/config.json": {
- "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
- "sizeBytes": 2258
- },
- "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/latent_upscaler/diffusion_pytorch_model.safetensors": {
- "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
- "sizeBytes": 7308101968,
- "sha256": "ee43faf02cda418cf368a9c391e27f90045b440d16088ad0c3d1a04b763dcd91"
- },
- "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/model_index.json": {
- "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
- "sizeBytes": 359
- },
- "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/scheduler/scheduler_config.json": {
- "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
- "sizeBytes": 231
- },
- "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/transformer/config.json": {
- "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
- "sizeBytes": 1214
++ "https://huggingface.co/openai/clip-vit-large-patch14/resolve/32bd64288804d66eefd0ccbe215aa642df71cc41/config.json": {
++ "revision": "32bd64288804d66eefd0ccbe215aa642df71cc41",
++ "sizeBytes": 4519,
++ "sha256": "8a09b467700c58138c29d53c605b34ebc69beaadd13274a8a2af8ad2c2f4032a"
+ },
- "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/transformer/diffusion_pytorch_model.safetensors": {
- "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
- "sizeBytes": 3187645192,
- "sha256": "02462583bbc99ae8be8a4bb2aab1b62babfdda1302806f938fca94ed3fabf1fe"
++ "https://huggingface.co/openai/clip-vit-large-patch14/resolve/32bd64288804d66eefd0ccbe215aa642df71cc41/model.safetensors": {
++ "revision": "32bd64288804d66eefd0ccbe215aa642df71cc41",
++ "sizeBytes": 1710540580,
++ "sha256": "a2bf730a0c7debf160f7a6b50b3aaf3703e7e88ac73de7a314903141db026dcb"
+ },
- "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/vae/config.json": {
- "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
- "sizeBytes": 569
+ "https://huggingface.co/pablodawson/MiniMax-H3-360-Orbit-LoRA/resolve/5ddbc2dbbe95edbbdaf5017c3e934b1d01791697/minimax_h3_flf2v_lora_v1.safetensors": {
+ "revision": "5ddbc2dbbe95edbbdaf5017c3e934b1d01791697",
+ "sizeBytes": 155111424,
+ "sha256": "14f13e3effaf3e729fdc0c97680344aa63f473be0c55963f963d718b3db2a4d4"
},
- "https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/vae/diffusion_pytorch_model.safetensors": {
- "revision": "3d6672923a4dfcd387961864654e123dd53b8ee4",
- "sizeBytes": 6955556660,
- "sha256": "079413ec24542e5c20bd98e6a49a82c0a1f3e64add1c2fc12eff3fdfe6498bf8"
+ "https://huggingface.co/phazei/HunyuanVideo-Foley/resolve/main/hunyuanvideo_foley_xl_fp8_e4m3fn.safetensors": {
+ "revision": "f94bbf32576f02b37715f54cdba3a5e82910dde7",
+ "sizeBytes": 3754152400,
+ "sha256": "37df8a9ad46a9b52f8e073e3d71394e40352478400369ba7db56d793dd0e99b4"
},
- "https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/bigvgan_generator.pt": {
- "revision": "95a9d1dcb12906c03edd938d77b9333d6ded7dfb",
- "sizeBytes": 489041291,
- "sha256": "d9fe7ec6bd0b44ed9d66973d5012d8181c1570b01e5c72df51973e241dccd357"
+ "https://huggingface.co/phazei/HunyuanVideo-Foley/resolve/main/synchformer_state_dict_fp16.safetensors": {
+ "revision": "f94bbf32576f02b37715f54cdba3a5e82910dde7",
+ "sizeBytes": 474981066,
+ "sha256": "4876e7dc86cd255bcf79540d93838362aed2e8a9d6f4574a92728c9fc699f511"
},
- "https://huggingface.co/nvidia/bigvgan_v2_44khz_128band_512x/resolve/95a9d1dcb12906c03edd938d77b9333d6ded7dfb/config.json": {
- "revision": "95a9d1dcb12906c03edd938d77b9333d6ded7dfb",
- "sizeBytes": 1403
+ "https://huggingface.co/phazei/HunyuanVideo-Foley/resolve/main/vae_128d_48k_fp16.safetensors": {
+ "revision": "f94bbf32576f02b37715f54cdba3a5e82910dde7",
+ "sizeBytes": 743210820,
+ "sha256": "216fdd5a4c9774417b209a5d1754db5326c9f47375b232cce1333c13b3f239ab"
},
- "https://huggingface.co/briaai/VRMBG-3.0/resolve/59716e19a6cc97f91311edea190938219c097b76/model.safetensors": {
- "revision": "59716e19a6cc97f91311edea190938219c097b76",
- "sizeBytes": 884915688,
- "sha256": "3100fd296d2991f4859db9d83c43ece45f432659b06db3d79810dad033c62253"
+ "https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors": {
+ "revision": "462165984030d82259a11f4367a4eed129e94a7b",
+ "sizeBytes": 6938078334,
+ "sha256": "31e35c80fc4829d14f90153f4c74cd59c90b779f6afe05a74cd6120b893f7e5b"
},
- "https://huggingface.co/nynxz/Hy-Nomas/resolve/e8ddc4bfa664d69213930552493c220c3af56f41/nomas_dit_distilled_int8_convrot.safetensors": {
- "revision": "e8ddc4bfa664d69213930552493c220c3af56f41",
- "sizeBytes": 8966889488,
- "sha256": "0cf9c169c22149c83c647485e5e30319f137cd153a62bdf5813bc0657520b835"
+ "https://huggingface.co/vrgamedevgirl84/Wan14BT2VFusioniX/resolve/b9793a1f84727f2f69bdffecc2f50f0abfa746a6/FusionX_LoRa/Wan2.1_I2V_14B_FusionX_LoRA.safetensors": {
+ "revision": "b9793a1f84727f2f69bdffecc2f50f0abfa746a6",
+ "sizeBytes": 371128616,
+ "sha256": "0eb5df85d5bc5fba32966de8b357c7643413219479605cc933412b60305c01f8"
},
- "https://huggingface.co/nynxz/Hy-Nomas/resolve/e8ddc4bfa664d69213930552493c220c3af56f41/nomas_dit_distilled_bf16.safetensors": {
- "revision": "e8ddc4bfa664d69213930552493c220c3af56f41",
- "sizeBytes": 17107123184,
- "sha256": "fecc7c94de4c4d7a9513e4d9c15c430fad24927554e5a2531b2d36313bafdbb7"
+ "https://huggingface.co/xocialize/tryon-FLUX.2-klein-4B-lora/resolve/main/tryon-klein-4b.safetensors": {
+ "revision": "5e590220c687190a3d8dc66d173570f9de097984",
+ "sizeBytes": 92426760,
+ "sha256": "e251c836b4792910cb322317f58a91063f73bef7255031912886af840dc7dd43"
},
- "https://huggingface.co/nynxz/Hy-Nomas/resolve/e8ddc4bfa664d69213930552493c220c3af56f41/nomas_pixelumm_vae_bf16.safetensors": {
- "revision": "e8ddc4bfa664d69213930552493c220c3af56f41",
- "sizeBytes": 15776972360,
- "sha256": "2003b63f87917f80061d0196c3114c70374c4d60a44ce72e03cf52305eeaa5e3"
+ "https://huggingface.co/ybelkada/segment-anything/resolve/7790786db131bcdc639f24a915d9f2c331d843ee/checkpoints/sam_vit_b_01ec64.pth": {
+ "revision": "7790786db131bcdc639f24a915d9f2c331d843ee",
+ "sizeBytes": 375042383,
+ "sha256": "ec2df62732614e57411cdcf32a23ffdf28910380d03139ee0f4fcbe91eb8c912"
}
}
diff --cc workflows/comfyui/requirements.json
index c677e5f5,e7fe93a9..d49329bb
--- a/workflows/comfyui/requirements.json
+++ b/workflows/comfyui/requirements.json
@@@ -1,10 -1,12 +1,12 @@@
{
"v": 1,
- "hash": "87d214c40e10848b733f3afb7c8367356d3c28d9c8407b9edd9b7fb882b3629a",
- "hash": "78dd3225fea1cfcfe3a31da941f81b45b6a4fb8c4c469bad7645bc2d46da0f87",
++ "hash": "f5baeb273ba96fff5dd5e8357daad4dc6738bc814443fc420cae84e7e19424eb",
"comfyui": {"min":"0.42.0","testedCommit":"5841c187"},
- "folders": ["audio_encoders","background_removal","checkpoints","clip_vision","dbs","diffusion_models","facerestore_models","foley","frame_interpolation","geometry_estimation","insightface","latent_upscale_models","loras","mmaudio","model_patches","optical_flow","reuse","sams","text_encoders","thinksound","upscale_models","vae"],
- "sentinels": ["AILab_Qwen3ASRSubtitle","AILab_Qwen3TTSVoiceClone_Advanced","AILab_Qwen3TTSVoiceDesign_Advanced","AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_ImageCropRotatePad","AUSBOSS_NODES_MaskByTouch","AUSBOSS_NODES_StitchInpaint","Add Subtitles To Frames","Apply Whisper","CFGOverride","ClothesSegment","ComfyMathExpression","CropFuobeLive","DBSLoader","DBSSeparate","DownloadAndLoadWav2VecModel","DualModelGuider","FL_ChatterboxDialogTTS","FL_ChatterboxMultilingualTTS","FL_ChatterboxVC","GetImageRangeFromBatch","GetImageSizeAndCount","GrowMaskWithBlur","H3AdaLNLoRAFix","H3AdvancedSwapPlan","H3CharacterSwapAssemble","H3CharacterSwapController","H3CharacterSwapExpandMask","H3CharacterSwapModels","H3CharacterSwapPrepareVideo","H3CharacterSwapRecoverMasks","H3CharacterSwapSelectSubject","H3CharacterSwapSettings","H3CharacterSwapShot","H3CharacterSwapWindowPlan","H3ClipShots","H3FaceChunks","H3FaceJoin","H3FaceMaskSAM","H3FaceStitch","H3FaceTrackCrop","H3FillShots","H3GreyMannequins","H3ObjectSwapPlan","H3PeopleMask","H3RelayAppendWindow","H3RelayApplyEditMask","H3RelayApplyHistory","H3RelayExpandMask","H3RelayFinishWindows","H3RelayPrepareSource","H3RelayRecoverMasks","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelaySelectMask","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan","H3RoleMask","H3SLAAttention","H3SoundtrackOrSilence","H3SourceSlice","H3SubjectPrompt","H3TrackCrops","H3TrackRoles","HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader","INTConstant","Ideogram4Scheduler","ImageBatchExtendWithOverlap","ImageDetailContrast","ImageGridtoBatch","ImageResizeKJv2","IndexTTS2Simple","Krea2EditGroundedEncode","Krea2EditModelPatch","Krea2OstrisEditModelPatch","LTXAVTextEncoderLoader","LTXAddVideoICLoRAGuide","LTXICLoRALoaderModelOnly","LTXVAddGuide","LTXVAudioVAEDecode","LTXVAudioVAELoader","LTXVConcatAVLatent","LTXVConditioning","LTXVCropGuides","LTXVDualCFGGuider","LTXVEmptyLatentAudio","LTXVImgToVideoInplace","LTXVLatentUpsampler","LTXVPreprocess","LTXVScheduler","LTXVSeparateAVLatent","LTXVTiledFusionSampler","LatentSyncNode","LoadBackgroundRemovalModel","LoadImageFuobeLive","LoadVideoDepthAnythingModel","MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler","MelBandRoFormerModelLoader","MelBandRoFormerSampler","Metric3D-NormalMapPreprocessor","MiniMaxH3ChainAssemble","MiniMaxH3ChainContext","MiniMaxH3ChainCurrent","MiniMaxH3ChainLoopEnd","MiniMaxH3ChainLoopStart","MiniMaxH3ChainPlanModern","MiniMaxH3ChainReview","MiniMaxH3ChainSegmentSave","MiniMaxH3ContexMaskedTarget","MiniMaxH3FantasticVideoEditLatent","MiniMaxH3GenerationProfile","MiniMaxH3LoopTrim","MiniMaxH3SourceTimeline","MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler","MultiTalkModelLoader","MultiTalkWav2VecEmbeds","OpenH3RegenFastVAEDecode","OpenH3RegenFinish","OpenH3RegenLora","OpenH3RegenPrepareDraft","OpenH3RegenRefineLatent","OpenH3RegenSigmas","OpenH3RegenUpscale","OpenH3SaveRefinedLatent","Orion4D_FXMax_DCTLToneMapper","PasteBackFuobeLive","QWMComposite","QWMDetect","QWMFinal","QWMPrepare","QWMRefineMask","QWMResidualDetect","Qwen21EncodeFuobeLive","Qwen21ReferenceFuobeLive","QwenImage21Cache","REUSEEnhance","REUSELoader","RIFE VFI","RMBG","ReActorFaceSwap","RemoveBackground","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SAMLoader","SaveImageFuobeLive","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","SolarRendererConditioning","SolarRendererLoraLoader","SolarRendererModel","SolarRendererSigmas","TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO","TextEncodeFibo2","TextEncodeKrea2OstrisEdit","TextEncodeQwenImage21","ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","VHS_BatchManager","VHS_LoadAudioUpload","VHS_LoadVideo","VHS_SelectEveryNthImage","VHS_VideoCombine","VHS_VideoInfo","VHS_VideoInfoLoaded","VRAM_Debug","VideoDepthAnythingOutput","VideoDepthAnythingProcess","VideoLengthAdjuster","ViggleTurboLora","ViggleTurboSigmas","VoxCPM2_Clone","VoxCPM2_TTS","WanVideoBlockSwap","WanVideoClipVisionEncode","WanVideoDecode","WanVideoEncode","WanVideoImageToVideoMultiTalk","WanVideoLoraSelect","WanVideoModelLoader","WanVideoPassImagesFromSamples","WanVideoSampler","WanVideoTextEncodeCached","WanVideoVAELoader","ZenImage21AdapterLoader","ZenImage21TextEncode"],
+ "folders": ["Hi3D","RMBG","audio_encoders","background_removal","checkpoints","clip_vision","dbs","diffusion_models","facerestore_models","foley","frame_interpolation","geometry_estimation","insightface","kandinsky6_audio_vae","latent_upscale_models","loras","mmaudio","model_patches","optical_flow","reuse","sams","text_encoders","thinksound","upscale_models","vae"],
+ "sentinels": ["AILab_FeyNoBg","AILab_Qwen3ASRSubtitle","AILab_Qwen3TTSVoiceClone_Advanced","AILab_Qwen3TTSVoiceDesign_Advanced","AILab_VRMBG","AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_ImageCropRotatePad","AUSBOSS_NODES_MaskByTouch","AUSBOSS_NODES_StitchInpaint","Add Subtitles To Frames","Apply Whisper","AuKGenerateEdit","AuKModelLoader","CFGOverride","ClothesSegment","ComfyMathExpression","CorridorKey2","CropFuobeLive","DBSLoader","DBSSeparate","DownloadAndLoadWav2VecModel","DualModelGuider","FL_ChatterboxDialogTTS","FL_ChatterboxMultilingualTTS","FL_ChatterboxVC","GetImageRangeFromBatch","GetImageSizeAndCount","GrowMaskWithBlur","H3AdaLNLoRAFix","H3AdvancedSwapPlan","H3CharacterSwapAssemble","H3CharacterSwapController","H3CharacterSwapExpandMask","H3CharacterSwapModels","H3CharacterSwapPrepareVideo","H3CharacterSwapRecoverMasks","H3CharacterSwapSelectSubject","H3CharacterSwapSettings","H3CharacterSwapShot","H3CharacterSwapWindowPlan","H3ClipShots","H3FaceChunks","H3FaceJoin","H3FaceMaskSAM","H3FaceStitch","H3FaceTrackCrop","H3FillShots","H3GreyMannequins","H3ObjectSwapPlan","H3PeopleMask","H3RelayAppendWindow","H3RelayApplyEditMask","H3RelayApplyHistory","H3RelayExpandMask","H3RelayFinishWindows","H3RelayPrepareSource","H3RelayRecoverMasks","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelaySelectMask","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan","H3RoleMask","H3SLAAttention","H3SoundtrackOrSilence","H3SourceSlice","H3SubjectPrompt","H3TrackCrops","H3TrackRoles","Hi3DLoadMesh","Hi3DModelLoader","Hi3DRefine","HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader","INTConstant","Ideogram4Scheduler","IdolCamera","IdolPreprocessImage","IdolPruneSplat","ImageBatchExtendWithOverlap","ImageDetailContrast","ImageGridtoBatch","ImageResizeKJv2","IndexTTS2Simple","Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6ImageToVideoAudio","Kandinsky6LatentUpscalerLoader","Kandinsky6RemoveReferenceLatent","Kandinsky6SRVAELoader","Kandinsky6Sampler","Kandinsky6TextEncode","Kandinsky6VSRUpscale","Krea2EditGroundedEncode","Krea2EditModelPatch","Krea2OstrisEditModelPatch","LTXAVTextEncoderLoader","LTXAddVideoICLoRAGuide","LTXICLoRALoaderModelOnly","LTXVAddGuide","LTXVAudioVAEDecode","LTXVAudioVAELoader","LTXVConcatAVLatent","LTXVConditioning","LTXVCropGuides","LTXVDualCFGGuider","LTXVEmptyLatentAudio","LTXVImgToVideoInplace","LTXVLatentUpsampler","LTXVPreprocess","LTXVScheduler","LTXVSeparateAVLatent","LTXVTiledFusionSampler","LatentSyncNode","LoadBackgroundRemovalModel","LoadImageFuobeLive","LoadVideoDepthAnythingModel","MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler","MelBandRoFormerModelLoader","MelBandRoFormerSampler","Metric3D-NormalMapPreprocessor","MiniMaxH3ChainAssemble","MiniMaxH3ChainContext","MiniMaxH3ChainCurrent","MiniMaxH3ChainLoopEnd","MiniMaxH3ChainLoopStart","MiniMaxH3ChainPlanModern","MiniMaxH3ChainReview","MiniMaxH3ChainSegmentSave","MiniMaxH3ContexMaskedTarget","MiniMaxH3FantasticVideoEditLatent","MiniMaxH3GenerationProfile","MiniMaxH3LoopTrim","MiniMaxH3SourceTimeline","MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler","MultiTalkModelLoader","MultiTalkWav2VecEmbeds","NomasCameraPath","NomasWorldContinue","NomasWorldGenerate","NomasWorldPrompt","OpenH3LoadRefinedLatent","OpenH3RegenFastVAEDecode","OpenH3RegenFinish","OpenH3RegenLora","OpenH3RegenPrepareDraft","OpenH3RegenRefineLatent","OpenH3RegenSigmas","OpenH3RegenUpscale","OpenH3SaveRefinedLatent","Orion4D_FXMax_DCTLToneMapper","PasteBackFuobeLive","QWMComposite","QWMDetect","QWMFinal","QWMPrepare","QWMRefineMask","QWMResidualDetect","Qwen21EncodeFuobeLive","Qwen21ReferenceFuobeLive","QwenImage21Cache","REUSEEnhance","REUSELoader","RIFE VFI","RMBG","RTXTrueHDR","RTXVideoFrameGeneration","RTXVideoSuperResolution","ReActorFaceSwap","RemoveBackground","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SAMLoader","SaveImageFuobeLive","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","SolarRendererConditioning","SolarRendererLoraLoader","SolarRendererModel","SolarRendererSigmas","TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO","TextEncodeFibo2","TextEncodeKrea2OstrisEdit","TextEncodeQwenImage21","ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","VHS_BatchManager","VHS_LoadAudioUpload","VHS_LoadVideo","VHS_SelectEveryNthImage","VHS_VideoCombine","VHS_VideoInfo","VHS_VideoInfoLoaded","VRAM_Debug","VideoDepthAnythingOutput","VideoDepthAnythingProcess","VideoLengthAdjuster","ViggleTurboLora","ViggleTurboSigmas","VoxCPM2_Clone","VoxCPM2_TTS","WanVideoBlockSwap","WanVideoClipVisionEncode","WanVideoDecode","WanVideoEncode","WanVideoImageToVideoMultiTalk","WanVideoLoraSelect","WanVideoModelLoader","WanVideoPassImagesFromSamples","WanVideoSampler","WanVideoTextEncodeCached","WanVideoVAELoader","ZenImage21AdapterLoader","ZenImage21TextEncode"],
"packs": {
+ "ComfyUI-AuK": {"repo":"https://github.com/Tencent-Hunyuan/AuK","commit":"0d40366b1039e37c6cad008ab4713f6ad6d954b7","classes":["AuKGenerateEdit","AuKModelLoader"],"folders":[],"isolated":false,"subdir":"comfyui/ComfyUI-AuK","requirementsTxt":false,"install":"manual"},
+ "ComfyUI-CorridorKey2": {"repo":"https://github.com/hashu786/ComfyUI-CorridorKey2","commit":"d1228b68796786acee92b6497f72a60d70d1a844","classes":["CorridorKey2"],"folders":["corridorkey2"],"isolated":false,"requirementsTxt":true,"install":"manual"},
"ComfyUI-DBS": {"repo":"https://github.com/hiroki-abe-58/ComfyUI-DBS","commit":"f656e53434b5485c148a2866fbd6ddc6b6152ed6","registry":{"id":"dbs-soundtrack-separation","version":""},"classes":["DBSLoader","DBSSeparate"],"folders":["dbs"],"isolated":false,"requirementsTxt":true,"install":"manual"},
"ComfyUI-Fantastic-MiniMaxH3-PromptBuilder": {"repo":"https://github.com/Adudeguyman/ComfyUI-Fantastic-MiniMaxH3-PromptBuilder","commit":"22e719fe89336c628383363182a4da3cb58d4f9b","classes":["MiniMaxH3FantasticVideoEditLatent"],"folders":[],"isolated":false,"requirementsTxt":false,"install":"manual"},
"ComfyUI-Frame-Interpolation": {"repo":"https://github.com/Fannovel16/ComfyUI-Frame-Interpolation","commit":"26545cc2dd95bc3d27f056016300673bdeee78f5","registry":{"id":"comfyui-frame-interpolation","version":""},"classes":["RIFE VFI"],"folders":[],"isolated":false,"requirementsTxt":false,"install":"manual"},
@@@ -69,10 -93,20 +93,20 @@@
"clip_vision/dino_v3_L_naf_fp32.safetensors": {"folder":"clip_vision","file":"dino_v3_L_naf_fp32.safetensors","url":"https://huggingface.co/Comfy-Org/Pixal3D/resolve/main/clip_vision/dino_v3_L_naf_fp32.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Pixal3D/resolve/f37641be376725d324c56626007cc477f1249a69/clip_vision/dino_v3_L_naf_fp32.safetensors","sizeBytes":1215214176,"gated":false,"presence":"loader","loaders":[["CLIPVisionLoader","clip_name"]]},
"clip_vision/dino_v3_vit_h.safetensors": {"folder":"clip_vision","file":"dino_v3_vit_h.safetensors","url":"https://huggingface.co/VAST-AI/TripoSplat/resolve/main/clip_vision/dino_v3_vit_h.safetensors","pinnedUrl":"https://huggingface.co/VAST-AI/TripoSplat/resolve/56a96e603204ec410c4da60c13ea4fa09a2169a9/clip_vision/dino_v3_vit_h.safetensors","sizeBytes":1681247696,"gated":false,"presence":"loader","loaders":[["CLIPVisionLoader","clip_name"]]},
"clip_vision/sigclip_vision_patch14_384.safetensors": {"folder":"clip_vision","file":"sigclip_vision_patch14_384.safetensors","url":"https://huggingface.co/Comfy-Org/sigclip_vision_384/resolve/main/sigclip_vision_patch14_384.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/sigclip_vision_384/resolve/5421dab31229df19801c8e3af446b5a8bc71a3bc/sigclip_vision_patch14_384.safetensors","sizeBytes":856505640,"gated":false,"presence":"loader","loaders":[["CLIPVisionLoader","clip_name"]]},
- "dbs/DBS-BSRNN-DnR/config.json": {"folder":"dbs","file":"DBS-BSRNN-DnR/config.json","url":"https://huggingface.co/JusperLee/DBS-BSRNN-DnR/resolve/5af343f57f106fbb95efe8a60f1a3999eeb0aef8/config.json","pinnedUrl":"https://huggingface.co/JusperLee/DBS-BSRNN-DnR/resolve/5af343f57f106fbb95efe8a60f1a3999eeb0aef8/config.json","sizeBytes":1242,"gated":false,"packFolder":"ComfyUI-DBS","presence":"unobservable"},
+ "dbs/DBS-BSRNN-DnR/config.json": {"folder":"dbs","file":"DBS-BSRNN-DnR/config.json","url":"https://huggingface.co/JusperLee/DBS-BSRNN-DnR/resolve/5af343f57f106fbb95efe8a60f1a3999eeb0aef8/config.json","pinnedUrl":"https://huggingface.co/JusperLee/DBS-BSRNN-DnR/resolve/5af343f57f106fbb95efe8a60f1a3999eeb0aef8/config.json","sizeBytes":1242,"sha256":"57055e2b71913d98a4e1ed426b71617f0dfc372901cc5a8a3bc4a5c69415043e","gated":false,"packFolder":"ComfyUI-DBS","presence":"unobservable"},
"dbs/DBS-BSRNN-DnR/model.safetensors": {"folder":"dbs","file":"DBS-BSRNN-DnR/model.safetensors","url":"https://huggingface.co/JusperLee/DBS-BSRNN-DnR/resolve/5af343f57f106fbb95efe8a60f1a3999eeb0aef8/model.safetensors","pinnedUrl":"https://huggingface.co/JusperLee/DBS-BSRNN-DnR/resolve/5af343f57f106fbb95efe8a60f1a3999eeb0aef8/model.safetensors","sizeBytes":18886156,"gated":false,"packFolder":"ComfyUI-DBS","presence":"list"},
- "dbs/DBS-TIGER-DnR/config.json": {"folder":"dbs","file":"DBS-TIGER-DnR/config.json","url":"https://huggingface.co/JusperLee/DBS-TIGER-DnR/resolve/22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b/config.json","pinnedUrl":"https://huggingface.co/JusperLee/DBS-TIGER-DnR/resolve/22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b/config.json","sizeBytes":957,"gated":false,"packFolder":"ComfyUI-DBS","presence":"unobservable"},
+ "dbs/DBS-TIGER-DnR/config.json": {"folder":"dbs","file":"DBS-TIGER-DnR/config.json","url":"https://huggingface.co/JusperLee/DBS-TIGER-DnR/resolve/22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b/config.json","pinnedUrl":"https://huggingface.co/JusperLee/DBS-TIGER-DnR/resolve/22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b/config.json","sizeBytes":957,"sha256":"c7f7893323e78f9b99747a13090558a13c4f4b77383a38acb9979709fd04d1d8","gated":false,"packFolder":"ComfyUI-DBS","presence":"unobservable"},
"dbs/DBS-TIGER-DnR/model.safetensors": {"folder":"dbs","file":"DBS-TIGER-DnR/model.safetensors","url":"https://huggingface.co/JusperLee/DBS-TIGER-DnR/resolve/22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b/model.safetensors","pinnedUrl":"https://huggingface.co/JusperLee/DBS-TIGER-DnR/resolve/22da7d4cd3ea63f9365181008bff1c0d2ab6fb2b/model.safetensors","sizeBytes":4111836,"gated":false,"packFolder":"ComfyUI-DBS","presence":"list"},
+ "diffusion_models/Kandinsky-6.0-Lite-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors": {"folder":"diffusion_models","file":"Kandinsky-6.0-Lite-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","url":"https://huggingface.co/kandinskylab/Kandinsky-6.0-Lite-distill-5s-Diffusers/resolve/4c487e8b4aeeb9059e5a77905aa2ddb59ec28f81/transformer/diffusion_pytorch_model.safetensors","pinnedUrl":"https://huggingface.co/kandinskylab/Kandinsky-6.0-Lite-distill-5s-Diffusers/resolve/4c487e8b4aeeb9059e5a77905aa2ddb59ec28f81/transformer/diffusion_pytorch_model.safetensors","sizeBytes":6381599096,"gated":false,"presence":"loader","loaders":[["UNETLoader","unet_name"]]},
+ "diffusion_models/Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors": {"folder":"diffusion_models","file":"Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","url":"https://huggingface.co/kandinskylab/Kandinsky-6.0-Pro-distill-5s-Diffusers/resolve/80d5e6c7f646c5f512b684e2da0765618d805894/transformer/diffusion_pytorch_model.safetensors","pinnedUrl":"https://huggingface.co/kandinskylab/Kandinsky-6.0-Pro-distill-5s-Diffusers/resolve/80d5e6c7f646c5f512b684e2da0765618d805894/transformer/diffusion_pytorch_model.safetensors","sizeBytes":60344993576,"gated":false,"presence":"list"},
+ "diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/latent_upscaler/config.json": {"folder":"diffusion_models","file":"Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/latent_upscaler/config.json","url":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/latent_upscaler/config.json","pinnedUrl":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/latent_upscaler/config.json","sizeBytes":2258,"gated":false,"presence":"unobservable"},
+ "diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/latent_upscaler/diffusion_pytorch_model.safetensors": {"folder":"diffusion_models","file":"Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/latent_upscaler/diffusion_pytorch_model.safetensors","url":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/latent_upscaler/diffusion_pytorch_model.safetensors","pinnedUrl":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/latent_upscaler/diffusion_pytorch_model.safetensors","sizeBytes":7308101968,"gated":false,"presence":"loader","loaders":[["Kandinsky6LatentUpscalerLoader","latent_upscaler_checkpoint"]]},
+ "diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/model_index.json": {"folder":"diffusion_models","file":"Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/model_index.json","url":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/model_index.json","pinnedUrl":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/model_index.json","sizeBytes":359,"gated":false,"presence":"unobservable"},
+ "diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/scheduler/scheduler_config.json": {"folder":"diffusion_models","file":"Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/scheduler/scheduler_config.json","url":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/scheduler/scheduler_config.json","pinnedUrl":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/scheduler/scheduler_config.json","sizeBytes":231,"gated":false,"presence":"unobservable"},
+ "diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/transformer/config.json": {"folder":"diffusion_models","file":"Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/transformer/config.json","url":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/transformer/config.json","pinnedUrl":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/transformer/config.json","sizeBytes":1214,"gated":false,"presence":"unobservable"},
+ "diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors": {"folder":"diffusion_models","file":"Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","url":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/transformer/diffusion_pytorch_model.safetensors","pinnedUrl":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/transformer/diffusion_pytorch_model.safetensors","sizeBytes":3187645192,"gated":false,"presence":"loader","loaders":[["UNETLoader","unet_name"]]},
+ "diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/vae/config.json": {"folder":"diffusion_models","file":"Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/vae/config.json","url":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/vae/config.json","pinnedUrl":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/vae/config.json","sizeBytes":569,"gated":false,"presence":"unobservable"},
+ "diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/vae/diffusion_pytorch_model.safetensors": {"folder":"diffusion_models","file":"Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/vae/diffusion_pytorch_model.safetensors","url":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/vae/diffusion_pytorch_model.safetensors","pinnedUrl":"https://huggingface.co/kandinskylab/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/resolve/3d6672923a4dfcd387961864654e123dd53b8ee4/vae/diffusion_pytorch_model.safetensors","sizeBytes":6955556660,"gated":false,"presence":"loader","loaders":[["Kandinsky6SRVAELoader","kvae_checkpoint"]]},
"diffusion_models/MelBandRoformer_fp16.safetensors": {"folder":"diffusion_models","file":"MelBandRoformer_fp16.safetensors","url":"https://huggingface.co/Kijai/MelBandRoFormer_comfy/resolve/main/MelBandRoformer_fp16.safetensors","pinnedUrl":"https://huggingface.co/Kijai/MelBandRoFormer_comfy/resolve/7dc5fa7824f1f3089a5c4b130d767004ccc1ed12/MelBandRoformer_fp16.safetensors","sizeBytes":456479072,"gated":false,"presence":"loader","loaders":[["MelBandRoFormerModelLoader","model_name"]]},
"diffusion_models/Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors": {"folder":"diffusion_models","file":"Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors","url":"https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/main/WanMove/Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors","pinnedUrl":"https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/033a4e487f60220b3d6e469599a6aebc46e13cee/WanMove/Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors","sizeBytes":16402832658,"gated":false,"presence":"loader","loaders":[["UNETLoader","unet_name"]]},
"diffusion_models/Wan2_1-I2V-14B-480p_fp8_e4m3fn_scaled_KJ.safetensors": {"folder":"diffusion_models","file":"Wan2_1-I2V-14B-480p_fp8_e4m3fn_scaled_KJ.safetensors","url":"https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/main/I2V/Wan2_1-I2V-14B-480p_fp8_e4m3fn_scaled_KJ.safetensors","pinnedUrl":"https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/033a4e487f60220b3d6e469599a6aebc46e13cee/I2V/Wan2_1-I2V-14B-480p_fp8_e4m3fn_scaled_KJ.safetensors","sizeBytes":16643349018,"gated":false,"presence":"loader","loaders":[["UNETLoader","unet_name"]]},
@@@ -222,21 -261,22 +261,22 @@@
"text_encoders/adapter_v12.safetensors": {"folder":"text_encoders","file":"adapter_v12.safetensors","url":"https://github.com/recoilme/zen-image-edit-comfyui/releases/download/v2/adapter_v12.safetensors","pinnedUrl":"https://github.com/recoilme/zen-image-edit-comfyui/releases/download/v2/adapter_v12.safetensors","sizeBytes":638987136,"sha256":"85578cd0b41dfac3fad1845be2755971367deee5348a692feb589a09d120ea8c","gated":false,"presence":"list"},
"text_encoders/byt5_small_glyphxl_fp16.safetensors": {"folder":"text_encoders","file":"byt5_small_glyphxl_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/text_encoders/byt5_small_glyphxl_fp16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/1405a2b738c29b890cf6d03fc038d8d3e92eeed7/split_files/text_encoders/byt5_small_glyphxl_fp16.safetensors","sizeBytes":438643184,"gated":false,"presence":"loader","loaders":[["DualCLIPLoader","clip_name2"]]},
"text_encoders/clip_g_hidream.safetensors": {"folder":"text_encoders","file":"clip_g_hidream.safetensors","url":"https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/clip_g_hidream.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/942970a008493fc9bf05b4827374009e69f6a993/split_files/text_encoders/clip_g_hidream.safetensors","sizeBytes":1389743104,"gated":false,"presence":"loader","loaders":[["QuadrupleCLIPLoader","clip_name2"]]},
- "text_encoders/clip_l.safetensors": {"folder":"text_encoders","file":"clip_l.safetensors","url":"https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors","pinnedUrl":"https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/6af2a98e3f615bdfa612fbd85da93d1ed5f69ef5/clip_l.safetensors","sizeBytes":246144152,"gated":false,"presence":"loader","loaders":[["DualCLIPLoader","clip_name1"]]},
+ "text_encoders/clip_l.safetensors": {"folder":"text_encoders","file":"clip_l.safetensors","url":"https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors","pinnedUrl":"https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/6af2a98e3f615bdfa612fbd85da93d1ed5f69ef5/clip_l.safetensors","sizeBytes":246144152,"gated":false,"presence":"loader","loaders":[["DualCLIPLoader","clip_name1"],["DualCLIPLoader","clip_name2"]]},
"text_encoders/clip_l_hidream.safetensors": {"folder":"text_encoders","file":"clip_l_hidream.safetensors","url":"https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/clip_l_hidream.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/942970a008493fc9bf05b4827374009e69f6a993/split_files/text_encoders/clip_l_hidream.safetensors","sizeBytes":247586528,"gated":false,"presence":"loader","loaders":[["QuadrupleCLIPLoader","clip_name1"]]},
- "text_encoders/gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors": {"folder":"text_encoders","file":"gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/text_encoders/gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/text_encoders/gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors","sizeBytes":15370000000,"gated":true,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
+ "text_encoders/gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors": {"folder":"text_encoders","file":"gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/text_encoders/gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5/resolve/49b093a39c19169a8a81721dcc541e07e945232f/text_encoders/gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors","sizeBytes":15372969374,"gated":true,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/gemma4_e4b_it_fp8_scaled.safetensors": {"folder":"text_encoders","file":"gemma4_e4b_it_fp8_scaled.safetensors","url":"https://huggingface.co/Comfy-Org/gemma-4/resolve/main/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/gemma-4/resolve/63d0f7c476756b88910170c1df75e2384ea1af31/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors","sizeBytes":9057782194,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/gemma_3_12B_it_fp4_mixed.safetensors": {"folder":"text_encoders","file":"gemma_3_12B_it_fp4_mixed.safetensors","url":"https://huggingface.co/Comfy-Org/ltx-2/resolve/main/split_files/text_encoders/gemma_3_12B_it_fp4_mixed.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/ltx-2/resolve/ccde4ba417d7900669fd56dd292a883cee11ff37/split_files/text_encoders/gemma_3_12B_it_fp4_mixed.safetensors","sizeBytes":9447702218,"gated":false,"presence":"loader","loaders":[["LTXAVTextEncoderLoader","text_encoder"]]},
"text_encoders/llama_3.1_8b_instruct_fp8_scaled.safetensors": {"folder":"text_encoders","file":"llama_3.1_8b_instruct_fp8_scaled.safetensors","url":"https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/main/split_files/text_encoders/llama_3.1_8b_instruct_fp8_scaled.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/HiDream-I1_ComfyUI/resolve/942970a008493fc9bf05b4827374009e69f6a993/split_files/text_encoders/llama_3.1_8b_instruct_fp8_scaled.safetensors","sizeBytes":9081258056,"gated":false,"presence":"loader","loaders":[["QuadrupleCLIPLoader","clip_name4"]]},
"text_encoders/minimax_music3_text_encoder_pruned_int8_convrot.safetensors": {"folder":"text_encoders","file":"minimax_music3_text_encoder_pruned_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/text_encoders/minimax_music3_text_encoder_pruned_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/9e364ccd290a401561091fb441ed19cd7de92550/text_encoders/minimax_music3_text_encoder_pruned_int8_convrot.safetensors","sizeBytes":9196611886,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/mistral_3_small_flux2_bf16.safetensors": {"folder":"text_encoders","file":"mistral_3_small_flux2_bf16.safetensors","url":"https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/flux2-dev/resolve/9630c1b4b6e690497ae0c19bb6b1b35d4ebedcb7/split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors","sizeBytes":35584897447,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
- "text_encoders/ovisocr3_0.8b_bf16.safetensors": {"folder":"text_encoders","file":"ovisocr3_0.8b_bf16.safetensors","url":"https://huggingface.co/ATH-MaaS/OvisOCR3/resolve/main/model.safetensors","pinnedUrl":"https://huggingface.co/ATH-MaaS/OvisOCR3/resolve/4833d5d2afa6e769ee933f024504d67ace80a24c/model.safetensors","sizeBytes":1706030528,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
+ "text_encoders/ovisocr3_0.8b_bf16.safetensors": {"folder":"text_encoders","file":"ovisocr3_0.8b_bf16.safetensors","url":"https://huggingface.co/ATH-MaaS/OvisOCR3/resolve/main/model.safetensors","pinnedUrl":"https://huggingface.co/ATH-MaaS/OvisOCR3/resolve/17f255e2c8ae6d18d5d5edb0a474bd4ed39aef90/model.safetensors","sizeBytes":1706030528,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3.5_4b_bf16.safetensors": {"folder":"text_encoders","file":"qwen3.5_4b_bf16.safetensors","url":"https://huggingface.co/Comfy-Org/Qwen3.5/resolve/main/text_encoders/qwen3.5_4b_bf16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Qwen3.5/resolve/5d50a2252bf1bcd49e5fee9b5f296986d442682b/text_encoders/qwen3.5_4b_bf16.safetensors","sizeBytes":9319828320,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
+ "text_encoders/qwen3.5_9b_bf16.safetensors": {"folder":"text_encoders","file":"qwen3.5_9b_bf16.safetensors","url":"https://huggingface.co/Comfy-Org/Qwen3.5/resolve/5d50a2252bf1bcd49e5fee9b5f296986d442682b/text_encoders/qwen3.5_9b_bf16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Qwen3.5/resolve/5d50a2252bf1bcd49e5fee9b5f296986d442682b/text_encoders/qwen3.5_9b_bf16.safetensors","sizeBytes":19306312328,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors": {"folder":"text_encoders","file":"qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors","url":"https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors","sizeBytes":9748113996,"gated":true,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors": {"folder":"text_encoders","file":"qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors","url":"https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors","pinnedUrl":"https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors","sizeBytes":6724090780,"gated":true,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
- "text_encoders/qwen3.5_9b_int8_convrot.safetensors": {"folder":"text_encoders","file":"qwen3.5_9b_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/text_encoders/qwen3.5_9b_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/text_encoders/qwen3.5_9b_int8_convrot.safetensors","sizeBytes":9748121532,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
+ "text_encoders/qwen3.5_9b_int8_convrot.safetensors": {"folder":"text_encoders","file":"qwen3.5_9b_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/text_encoders/qwen3.5_9b_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/2929efe3cdd506c0a430bcfca70a9a8d805cc095/text_encoders/qwen3.5_9b_int8_convrot.safetensors","sizeBytes":9748121532,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors": {"folder":"text_encoders","file":"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","sizeBytes":15687142551,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
- "text_encoders/qwen3vl_4b_fp8_scaled.safetensors": {"folder":"text_encoders","file":"qwen3vl_4b_fp8_scaled.safetensors","url":"https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Krea-2/resolve/1171f4dc7e325bf3734586942e737872506c73e1/text_encoders/qwen3vl_4b_fp8_scaled.safetensors","sizeBytes":5242467968,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
+ "text_encoders/qwen3vl_4b_fp8_scaled.safetensors": {"folder":"text_encoders","file":"qwen3vl_4b_fp8_scaled.safetensors","url":"https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Krea-2/resolve/588feaf955b08b9ac4723eeb751752ab045dba71/text_encoders/qwen3vl_4b_fp8_scaled.safetensors","sizeBytes":5242467968,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3vl_4b_int8_convrot.safetensors": {"folder":"text_encoders","file":"qwen3vl_4b_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/4742d4bec410034142c8e65559e5f00c6f29eccb/text_encoders/qwen3vl_4b_int8_convrot.safetensors","sizeBytes":4858559240,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3vl_8b_fp8_scaled.safetensors": {"folder":"text_encoders","file":"qwen3vl_8b_fp8_scaled.safetensors","url":"https://huggingface.co/Comfy-Org/Ideogram-4/resolve/main/text_encoders/qwen3vl_8b_fp8_scaled.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Ideogram-4/resolve/2aa6c75ce6d5fabded0ca4d0f76abbfaf8edc87d/text_encoders/qwen3vl_8b_fp8_scaled.safetensors","sizeBytes":10588637512,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3vl_8b_int8_convrot.safetensors": {"folder":"text_encoders","file":"qwen3vl_8b_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/aacf31a6d48e707f352ecba714cee0680da3479b/text_encoders/qwen3vl_8b_int8_convrot.safetensors","sizeBytes":9350798360,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
@@@ -260,10 -301,11 +301,11 @@@
"vae/flux2-vae.safetensors": {"folder":"vae","file":"flux2-vae.safetensors","url":"https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/flux2-dev/resolve/9630c1b4b6e690497ae0c19bb6b1b35d4ebedcb7/split_files/vae/flux2-vae.safetensors","sizeBytes":336213556,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/flux2-vae_small.safetensors": {"folder":"vae","file":"flux2-vae_small.safetensors","url":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/vae/flux2-vae_small.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/vae/flux2-vae_small.safetensors","sizeBytes":249521340,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/full_encoder_small_decoder.safetensors": {"folder":"vae","file":"full_encoder_small_decoder.safetensors","url":"https://huggingface.co/black-forest-labs/FLUX.2-small-decoder/resolve/main/full_encoder_small_decoder.safetensors","pinnedUrl":"https://huggingface.co/black-forest-labs/FLUX.2-small-decoder/resolve/a3efc24f613ef42d9428af62fdbd6f5fd8856c4a/full_encoder_small_decoder.safetensors","sizeBytes":249519092,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
+ "vae/hunyuan_video_vae_bf16.safetensors": {"folder":"vae","file":"hunyuan_video_vae_bf16.safetensors","url":"https://huggingface.co/Comfy-Org/Hunyuan-Video/resolve/533a43813f01517d9e624f9e824a85bb94094120/split_files/vae/hunyuan_video_vae_bf16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Hunyuan-Video/resolve/533a43813f01517d9e624f9e824a85bb94094120/split_files/vae/hunyuan_video_vae_bf16.safetensors","sizeBytes":492984198,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/hunyuanvideo15_vae_fp16.safetensors": {"folder":"vae","file":"hunyuanvideo15_vae_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/main/split_files/vae/hunyuanvideo15_vae_fp16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged/resolve/1405a2b738c29b890cf6d03fc038d8d3e92eeed7/split_files/vae/hunyuanvideo15_vae_fp16.safetensors","sizeBytes":2521292758,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/idol_decoder_fp16.safetensors": {"folder":"vae","file":"idol_decoder_fp16.safetensors","url":"https://huggingface.co/nynxz/Idol/resolve/c718f2b1b95b353edd07d17e845719fc10880a44/vae/idol_decoder_fp16.safetensors","pinnedUrl":"https://huggingface.co/nynxz/Idol/resolve/c718f2b1b95b353edd07d17e845719fc10880a44/vae/idol_decoder_fp16.safetensors","sizeBytes":576148658,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
- "vae/ltx-2.5-audio-vae-bf16.safetensors": {"folder":"vae","file":"ltx-2.5-audio-vae-bf16.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-audio-vae-bf16.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-audio-vae-bf16.safetensors","sizeBytes":360000000,"gated":true,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
- "vae/ltx-2.5-video-vae-bf16.safetensors": {"folder":"vae","file":"ltx-2.5-video-vae-bf16.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-video-vae-bf16.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-video-vae-bf16.safetensors","sizeBytes":1470000000,"gated":true,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
+ "vae/ltx-2.5-audio-vae-bf16.safetensors": {"folder":"vae","file":"ltx-2.5-audio-vae-bf16.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-audio-vae-bf16.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5/resolve/49b093a39c19169a8a81721dcc541e07e945232f/vae/ltx-2.5-audio-vae-bf16.safetensors","sizeBytes":364866540,"gated":true,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
+ "vae/ltx-2.5-video-vae-bf16.safetensors": {"folder":"vae","file":"ltx-2.5-video-vae-bf16.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-video-vae-bf16.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5/resolve/49b093a39c19169a8a81721dcc541e07e945232f/vae/ltx-2.5-video-vae-bf16.safetensors","sizeBytes":1472223346,"gated":true,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/minimax_h3_audio_vae_fp32.safetensors": {"folder":"vae","file":"minimax_h3_audio_vae_fp32.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_audio_vae_fp32.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_audio_vae_fp32.safetensors","sizeBytes":605254808,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/minimax_h3_sol_vae_int8_convrot.safetensors": {"folder":"vae","file":"minimax_h3_sol_vae_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/912b6e38b2092ec4d2e86d24183e0d59ea059d48/vae/minimax_h3_sol_vae_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/912b6e38b2092ec4d2e86d24183e0d59ea059d48/vae/minimax_h3_sol_vae_int8_convrot.safetensors","sizeBytes":1988306504,"gated":false,"presence":"list"},
"vae/minimax_h3_video_vae_fp16.safetensors": {"folder":"vae","file":"minimax_h3_video_vae_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_fp16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_fp16.safetensors","sizeBytes":5207808496,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
@@@ -311,7 -354,8 +354,8 @@@
"flux3-klein-base-t2i-lora": {"core":["CLIPLoader","CLIPTextEncode","EmptyFlux2LatentImage","KSampler","PrimitiveStringMultiline","SaveImage","TextGenerate","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/flux3-image-klein-base-int8-convrot.safetensors","text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors","text_encoders/qwen3vl_4b_int8_convrot.safetensors","vae/flux2-vae.safetensors"],"optional":["diffusion_models/flux3-image-klein-base-bf16.safetensors","diffusion_models/flux3-image-klein-base-nvfp4.safetensors"],"vramGb":16,"isolated":false,"firstRun":[],"validated":true},
"flux3-klein-edit": {"core":["BatchImagesNode","CLIPLoader","CLIPTextEncode","ConditioningZeroOut","KSampler","LoadImage","PrimitiveStringMultiline","ReferenceMultiLatent","SaveImage","TextGenerate","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/flux3-image-klein-int8-convrot.safetensors","text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors","text_encoders/qwen3vl_4b_int8_convrot.safetensors","vae/flux2-vae.safetensors"],"optional":["diffusion_models/flux3-image-klein-bf16.safetensors","diffusion_models/flux3-image-klein-nvfp4.safetensors"],"vramGb":16,"isolated":false,"firstRun":[],"validated":true},
"flux3-klein-t2i": {"core":["CLIPLoader","CLIPTextEncode","EmptyFlux2LatentImage","KSampler","PrimitiveStringMultiline","SaveImage","TextGenerate","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/flux3-image-klein-int8-convrot.safetensors","text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors","text_encoders/qwen3vl_4b_int8_convrot.safetensors","vae/flux2-vae.safetensors"],"optional":["diffusion_models/flux3-image-klein-bf16.safetensors","diffusion_models/flux3-image-klein-nvfp4.safetensors"],"vramGb":16,"isolated":false,"firstRun":[],"validated":true},
- "fps-rtx-framegen": {"core":["ComfyMathExpression","CreateVideo","GetVideoComponents","ImageBatch","ImageFromBatch","LoadVideo","PrimitiveFloat","PrimitiveInt","SaveVideo"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_SelectEveryNthImage"],"ComfyUI_Nvidia_VFX_Nodes":["RTXVideoFrameGeneration"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"gpu":"nvidia-rtx-40","firstRun":[]},
- "frame-extract": {"core":["GetVideoComponents","ImageFromBatch","LoadVideo","SaveImage","Video Slice"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
++ "fps-rtx-framegen": {"core":["ComfyMathExpression","CreateVideo","GetVideoComponents","ImageBatch","ImageFromBatch","LoadVideo","PrimitiveFloat","PrimitiveInt","SaveVideo"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_SelectEveryNthImage"],"ComfyUI_Nvidia_VFX_Nodes":["RTXVideoFrameGeneration"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"gpu":"nvidia-rtx-40","firstRun":[],"cpu":true},
+ "frame-extract": {"core":["GetVideoComponents","ImageFromBatch","LoadVideo","SaveImage","Video Slice"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
"grid-zimage-contact-sheet": {"core":["CLIPLoader","CLIPTextEncode","ConditioningZeroOut","EmptySD3LatentImage","KSampler","ModelSamplingAuraFlow","SaveImage","StringConcatenate","UNETLoader","VAEDecode","VAELoader"],"packs":{"ComfyUI-KJNodes":["ImageGridtoBatch"]},"files":["diffusion_models/z_image_turbo_bf16.safetensors","text_encoders/qwen_3_4b.safetensors","vae/ae.safetensors"],"optional":[],"vramGb":14,"isolated":false,"firstRun":[],"validated":true},
"head-swap-qwen-image-21": {"core":["CLIPLoader","CLIPTextEncode","CheckpointLoaderSimple","ComfySwitchNode","GetImageSize","ImageCompositeMasked","ImageScale","ImageScaleToMaxDimension","ImageToMask","KSampler","LoadImage","LoraLoaderModelOnly","MaskToImage","QwenImage21Cache","SAM3_Detect","SaveImage","SplitImageWithAlpha","TextEncodeQwenImage21","UNETLoader","VAEDecode","VAELoader"],"packs":{"ComfyUI-KJNodes":["GrowMaskWithBlur"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","diffusion_models/qwen_image_2.1_int8_convrot.safetensors","loras/bfs_head_v1.1_qwen_2.1.safetensors","text_encoders/qwen3vl_8b_int8_convrot.safetensors","vae/qwen_image_2.1_vae_bf16.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[],"validated":true},
"hidream-i1-dev-t2i": {"core":["CLIPTextEncode","EmptySD3LatentImage","KSampler","ModelSamplingSD3","QuadrupleCLIPLoader","SaveImage","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/hidream_i1_dev_fp8.safetensors","text_encoders/clip_g_hidream.safetensors","text_encoders/clip_l_hidream.safetensors","text_encoders/llama_3.1_8b_instruct_fp8_scaled.safetensors","text_encoders/t5xxl_fp8_e4m3fn_scaled.safetensors","vae/ae.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
@@@ -325,9 -371,12 +371,12 @@@
"image-to-3d-pixal3d": {"core":["ApplyTextureToMesh","BakeAmbientOcclusion","BakeNormalMapFromMesh","BakeTextureFromVoxel","CFGOverride","CLIPVisionLoader","DecimateMesh","EmptyTrellis2LatentStructure","GetMeshInfo","ImageCropToMask","KSampler","LoadBackgroundRemovalModel","LoadImage","LoadMoGeModel","MeshSmoothNormals","MeshToFile3D","MoGeGeometryToFOV","MoGeInference","ModelSamplingSD3","Pixal3DConditioning","PrimitiveInt","RemeshMesh","RemoveBackground","RescaleCFG","Save3DAdvanced","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","UNETLoader","UnwrapMesh","VAELoader","VaeDecodeShapeTrellis","VaeDecodeStructureTrellis2","VaeDecodeTextureTrellis"],"packs":{},"files":["background_removal/birefnet.safetensors","clip_vision/dino_v3_L_naf_fp32.safetensors","diffusion_models/pixal3d_int8_convrot.safetensors","geometry_estimation/moge_2_vitl_normal_fp16.safetensors","vae/trellis_2_shape_vae_bf16.safetensors","vae/trellis_2_texture_vae_bf16.safetensors"],"optional":[],"vramGb":16,"isolated":false,"firstRun":[],"validated":true},
"image-to-3d-trellis2": {"core":["ApplyTextureToMesh","BakeAmbientOcclusion","BakeNormalMapFromMesh","BakeTextureFromVoxel","CFGOverride","CLIPVisionLoader","DecimateMesh","EmptyTrellis2LatentStructure","GetMeshInfo","ImageCropToMask","KSampler","LoadBackgroundRemovalModel","LoadImage","MeshSmoothNormals","MeshToFile3D","ModelSamplingSD3","PrimitiveInt","RemeshMesh","RemoveBackground","RescaleCFG","Save3DAdvanced","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","UNETLoader","UnwrapMesh","VAELoader","VaeDecodeShapeTrellis","VaeDecodeStructureTrellis2","VaeDecodeTextureTrellis"],"packs":{},"files":["background_removal/birefnet.safetensors","clip_vision/dino_v3_L_naf_fp32.safetensors","diffusion_models/trellis_2_int8_convrot.safetensors","vae/trellis_2_shape_vae_bf16.safetensors","vae/trellis_2_texture_vae_bf16.safetensors"],"optional":[],"vramGb":16,"isolated":false,"firstRun":[],"validated":true},
"image-to-3d-trellis2-multiview": {"core":["ApplyTextureToMesh","BakeAmbientOcclusion","BakeNormalMapFromMesh","BakeTextureFromVoxel","BatchImagesNode","CFGOverride","CLIPVisionLoader","CreateVideo","DecimateMesh","EmptyTrellis2LatentStructure","GetMeshInfo","ImageCropToMask","KSampler","LoadBackgroundRemovalModel","LoadImage","LoadMoGeModel","MeshSmoothNormals","MeshToFile3D","MoGeGeometryToFOV","MoGeInference","ModelSamplingSD3","Pixal3DMultiViewConditioning","PrimitiveInt","RemeshMesh","RemoveBackground","RenderMesh","RescaleCFG","RotateMesh","Save3DAdvanced","SaveVideo","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","UNETLoader","UnwrapMesh","VAELoader","VaeDecodeShapeTrellis","VaeDecodeStructureTrellis2","VaeDecodeTextureTrellis"],"packs":{},"files":["background_removal/birefnet.safetensors","clip_vision/dino_v3_L_naf_fp32.safetensors","diffusion_models/pixal3d_multiview_int8_convrot.safetensors","geometry_estimation/moge_2_vitl_normal_fp16.safetensors","vae/trellis_2_shape_vae_bf16.safetensors","vae/trellis_2_texture_vae_bf16.safetensors"],"optional":[],"vramGb":16,"isolated":false,"firstRun":[],"validated":true},
+ "image-to-mesh-idol": {"core":["CLIPVisionLoader","ComfySwitchNode","CreateCameraInfo","CreateVideo","EmptyImage","ImageCompositeMasked","ImageScale","InvertMask","KSampler","LoadBackgroundRemovalModel","LoadImage","RemoveBackground","RenderSplat","SaveGLB","SaveVideo","SplatToMesh","TripoSplatConditioning","TripoSplatPreprocessImage","UNETLoader","VAEDecodeTripoSplat","VAELoader"],"packs":{},"files":["background_removal/birefnet.safetensors","clip_vision/dino_v3_vit_h.safetensors","diffusion_models/idol_fp16.safetensors","vae/flux2-vae.safetensors","vae/idol_decoder_fp16.safetensors"],"optional":[],"vramGb":8,"isolated":false,"firstRun":[],"validated":true},
"image-to-splat-idol": {"core":["CLIPVisionLoader","ComfySwitchNode","CreateCameraInfo","CreateVideo","EmptyImage","ImageCompositeMasked","ImageScale","InvertMask","KSampler","LoadBackgroundRemovalModel","LoadImage","RemoveBackground","RenderSplat","SaveGLB","SaveVideo","SplatToFile3D","TripoSplatConditioning","TripoSplatPreprocessImage","UNETLoader","VAEDecodeTripoSplat","VAELoader"],"packs":{},"files":["background_removal/birefnet.safetensors","clip_vision/dino_v3_vit_h.safetensors","diffusion_models/idol_fp16.safetensors","vae/flux2-vae.safetensors","vae/idol_decoder_fp16.safetensors"],"optional":[],"vramGb":8,"isolated":false,"firstRun":[],"validated":true},
+ "image-to-splat-idol-clean": {"core":["CLIPVisionLoader","ComfySwitchNode","CreateCameraInfo","CreateVideo","InvertMask","KSampler","LoadBackgroundRemovalModel","LoadImage","PreviewAny","RemoveBackground","RenderSplat","SaveGLB","SaveImage","SaveVideo","SplatToFile3D","TripoSplatConditioning","UNETLoader","VAEDecodeTripoSplat","VAELoader"],"packs":{"ComfyUI-Idol":["IdolCamera","IdolPreprocessImage","IdolPruneSplat"]},"files":["background_removal/birefnet.safetensors","clip_vision/dino_v3_vit_h.safetensors","diffusion_models/idol_fp16.safetensors","vae/flux2-vae.safetensors","vae/idol_decoder_fp16.safetensors"],"optional":[],"vramGb":8,"isolated":false,"firstRun":[]},
"image-to-splat-triposplat": {"core":["CLIPVisionLoader","ComfySwitchNode","CreateCameraInfo","CreateVideo","InvertMask","KSampler","LoadBackgroundRemovalModel","LoadImage","RemoveBackground","RenderSplat","SaveGLB","SaveVideo","SplatToFile3D","TripoSplatConditioning","TripoSplatPreprocessImage","UNETLoader","VAEDecodeTripoSplat","VAELoader"],"packs":{},"files":["background_removal/birefnet.safetensors","clip_vision/dino_v3_vit_h.safetensors","diffusion_models/triposplat_fp16.safetensors","vae/flux2-vae.safetensors","vae/triposplat_vae_decoder_fp16.safetensors"],"optional":[],"vramGb":8,"isolated":false,"firstRun":[],"validated":true},
+ "image-to-views-idol": {"core":["CLIPVisionLoader","ComfySwitchNode","InvertMask","KSampler","LoadBackgroundRemovalModel","LoadImage","RemoveBackground","RenderSplat","SaveImage","TripoSplatConditioning","UNETLoader","VAEDecodeTripoSplat","VAELoader"],"packs":{"ComfyUI-Idol":["IdolCamera","IdolPreprocessImage","IdolPruneSplat"]},"files":["background_removal/birefnet.safetensors","clip_vision/dino_v3_vit_h.safetensors","diffusion_models/idol_fp16.safetensors","vae/flux2-vae.safetensors","vae/idol_decoder_fp16.safetensors"],"optional":[],"vramGb":8,"isolated":false,"firstRun":[]},
- "image-vectorize-vtracer": {"core":["LoadImage","SaveSVGNode"],"packs":{"ComfyUI-ToSVG":["TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
+ "image-vectorize-vtracer": {"core":["LoadImage","SaveSVGNode"],"packs":{"ComfyUI-ToSVG":["TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
"image-watermark-remove-qwen21": {"core":["CLIPLoader","KSampler","LoadImage","ModelAttentionBackend","PreviewAny","QwenImage21Cache","SaveImage","TextEncodeQwenImage21","UNETLoader","VAEDecode","VAELoader"],"packs":{"ComfyUI-Qwen-Watermark":["QWMComposite","QWMDetect","QWMFinal","QWMPrepare","QWMRefineMask","QWMResidualDetect"]},"files":["diffusion_models/qwen_image_2.1_int8_convrot.safetensors","sams/sam_vit_b_01ec64.pth","text_encoders/qwen3vl_8b_int8_convrot.safetensors","vae/qwen_image_2.1_vae_bf16.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[],"validated":true},
"image-watermark-remove-qwen21-brush": {"core":["CLIPLoader","KSampler","LoadImage","LoadImageMask","ModelAttentionBackend","PreviewAny","QwenImage21Cache","SaveImage","TextEncodeQwenImage21","UNETLoader","VAEDecode","VAELoader"],"packs":{"ComfyUI-Qwen-Watermark":["QWMComposite","QWMDetect","QWMFinal","QWMPrepare","QWMRefineMask","QWMResidualDetect"]},"files":["diffusion_models/qwen_image_2.1_int8_convrot.safetensors","sams/sam_vit_b_01ec64.pth","text_encoders/qwen3vl_8b_int8_convrot.safetensors","vae/qwen_image_2.1_vae_bf16.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[],"validated":true},
"image-watermark-scan-qwen3vl": {"core":["CLIPLoader","ComfyMathExpression","GetImageSize","ImageCrop","LoadImage","PreviewAny"],"packs":{"ComfyUI-Qwen-Watermark":["QWMDetect"]},"files":["text_encoders/qwen3vl_8b_int8_convrot.safetensors"],"optional":[],"vramGb":10,"isolated":false,"firstRun":[],"validated":true},
@@@ -337,7 -386,9 +386,9 @@@
"interpolate-rife": {"core":["ComfyMathExpression","CreateVideo","FrameInterpolate","FrameInterpolationModelLoader","GetVideoComponents","LoadVideo","PrimitiveInt","SaveVideo"],"packs":{},"files":["frame_interpolation/rife_v4.26.safetensors"],"optional":[],"vramGb":2,"isolated":false,"firstRun":[],"validated":true},
"interpolate-rife-fps": {"core":["ComfyMathExpression","CreateVideo","FrameInterpolate","FrameInterpolationModelLoader","GetVideoComponents","ImageBatch","ImageFromBatch","LoadVideo","PrimitiveFloat","PrimitiveInt","SaveVideo"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_SelectEveryNthImage"]},"files":["frame_interpolation/rife_v4.26.safetensors"],"optional":["frame_interpolation/film_net_fp16.safetensors"],"vramGb":2,"isolated":false,"firstRun":[],"validated":true},
"interpolate-rife-vfi": {"core":["ComfyMathExpression","PrimitiveInt"],"packs":{"ComfyUI-Frame-Interpolation":["RIFE VFI"],"ComfyUI-VideoHelperSuite":["VHS_LoadVideo","VHS_VideoCombine","VHS_VideoInfo"]},"files":[],"optional":[],"vramGb":2,"isolated":false,"firstRun":["RIFE VFI downloads rife49.pth into custom_nodes/ComfyUI-Frame-Interpolation/ckpts/rife on first run"],"validated":true},
+ "kandinsky6-i2av": {"core":["CLIPLoader","CreateVideo","DualCLIPLoader","ImageScale","LoadImage","SaveVideo","UNETLoader","VAEDecode","VAEEncode","VAELoader"],"packs":{"kandinsky6":["Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6ImageToVideoAudio","Kandinsky6RemoveReferenceLatent","Kandinsky6Sampler","Kandinsky6TextEncode"]},"files":["audio_vae/bigvgan_vocoder/bigvgan_generator.pt","audio_vae/bigvgan_vocoder/config.json","audio_vae/v1-44.pth","diffusion_models/Kandinsky-6.0-Lite-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","text_encoders/clip_l.safetensors","text_encoders/qwen_2.5_vl_7b.safetensors","vae/hunyuan_video_vae_bf16.safetensors"],"optional":["diffusion_models/Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","text_encoders/qwen3.5_9b_bf16.safetensors"],"vramGb":24,"isolated":false,"firstRun":[]},
+ "kandinsky6-t2av": {"core":["CLIPLoader","CreateVideo","DualCLIPLoader","SaveVideo","UNETLoader","VAEDecode","VAELoader"],"packs":{"kandinsky6":["Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6Sampler","Kandinsky6TextEncode"]},"files":["audio_vae/bigvgan_vocoder/bigvgan_generator.pt","audio_vae/bigvgan_vocoder/config.json","audio_vae/v1-44.pth","diffusion_models/Kandinsky-6.0-Lite-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","text_encoders/clip_l.safetensors","text_encoders/qwen_2.5_vl_7b.safetensors","vae/hunyuan_video_vae_bf16.safetensors"],"optional":["diffusion_models/Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","text_encoders/qwen3.5_9b_bf16.safetensors"],"vramGb":24,"isolated":false,"firstRun":[]},
- "kenburns-still": {"core":["ComfyMathExpression","ConcatenateVideo","CreateVideo","EndLoop","GetImageSize","ImageCrop","ImageScale","ImageScaleBy","LoadImage","PrimitiveFloat","PrimitiveInt","RebatchImages","SaveVideo","StartLoop"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
+ "kenburns-still": {"core":["ComfyMathExpression","ConcatenateVideo","CreateVideo","EndLoop","GetImageSize","ImageCrop","ImageScale","ImageScaleBy","LoadImage","PrimitiveFloat","PrimitiveInt","RebatchImages","SaveVideo","StartLoop"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
"krea2-edit-general": {"core":["CLIPLoader","EmptySD3LatentImage","KSampler","LoadImage","LoraLoaderModelOnly","SaveImage","UNETLoader","VAEDecode","VAEEncode","VAELoader"],"packs":{"comfyui-krea2edit":["Krea2EditGroundedEncode","Krea2EditModelPatch"]},"files":["diffusion_models/krea2_turbo_fp8_scaled.safetensors","loras/krea2_general_edit_v2.safetensors","text_encoders/qwen3vl_4b_fp8_scaled.safetensors","vae/qwen_image_vae.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[]},
"krea2-edit-identity": {"core":["CLIPLoader","EmptySD3LatentImage","KSampler","LoadImage","LoraLoaderModelOnly","SaveImage","UNETLoader","VAEDecode","VAEEncode","VAELoader"],"packs":{"comfyui-krea2edit":["Krea2EditGroundedEncode","Krea2EditModelPatch"]},"files":["diffusion_models/krea2_turbo_fp8_scaled.safetensors","loras/krea2_identity_edit_v2.safetensors","text_encoders/qwen3vl_4b_fp8_scaled.safetensors","vae/qwen_image_vae.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[]},
"krea2-inpaint": {"core":["CLIPLoader","ConditioningZeroOut","EmptyImage","EmptyLatentImage","GetImageSize","ImageCompositeMasked","ImageScaleToTotalPixels","KSampler","LoadImage","LoadImageMask","LoraLoaderModelOnly","SaveImage","UNETLoader","VAEDecode","VAELoader"],"packs":{"ComfyUI-Krea2-Ostris-Edit":["Krea2OstrisEditModelPatch","TextEncodeKrea2OstrisEdit"]},"files":["diffusion_models/krea2_turbo_fp8_scaled.safetensors","loras/krea2_inpaint_edit.safetensors","text_encoders/qwen3vl_4b_fp8_scaled.safetensors","vae/qwen_image_vae.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[]},
@@@ -414,10 -470,11 +470,11 @@@
"relight-scene-read": {"core":["DA3Inference","DA3Render","LoadBackgroundRemovalModel","LoadDA3Model","LoadImage","MaskToImage","RemoveBackground","SaveImage"],"packs":{},"files":["background_removal/birefnet.safetensors","geometry_estimation/depth_anything_3_mono_large.safetensors"],"optional":[],"vramGb":6,"isolated":false,"firstRun":[],"validated":true},
"restore-qwen-image-21": {"core":["CLIPLoader","ImageScaleToTotalPixels","KSampler","LoadImage","LoraLoaderModelOnly","QwenImage21Cache","ResizeImageMaskNode","SaveImage","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","SplitImageWithAlpha","TextEncodeQwenImage21","UNETLoader","VAEDecode","VAEDecodeTiled","VAEEncodeTiled","VAELoader"],"packs":{},"files":["diffusion_models/qwen_image_2.1_int8_convrot.safetensors","diffusion_models/seedvr2_7b_int8_convrot.safetensors","loras/qwen-image-2.1-restore.safetensors","text_encoders/qwen3vl_8b_int8_convrot.safetensors","vae/qwen_image_2.1_vae_bf16.safetensors","vae/seedvr2_ema_vae_fp16.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[],"validated":true},
"scene-mesh-moge": {"core":["ComfyMathExpression","ComfySwitchNode","GetImageSize","LoadImage","LoadMoGeModel","MoGeInference","MoGePointMapToMesh","MoGeRender","ResizeImagesByLongerEdge","SaveGLB","SaveImage"],"packs":{},"files":["geometry_estimation/moge_2_vitl_normal_fp16.safetensors"],"optional":[],"vramGb":4,"isolated":false,"firstRun":[],"validated":true},
- "sdr-to-hdr-rtx": {"core":["CreateVideo","GetVideoComponents","LoadVideo","SaveVideo"],"packs":{"ComfyUI_Nvidia_VFX_Nodes":["RTXTrueHDR"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"gpu":"nvidia-rtx","firstRun":[]},
++ "sdr-to-hdr-rtx": {"core":["CreateVideo","GetVideoComponents","LoadVideo","SaveVideo"],"packs":{"ComfyUI_Nvidia_VFX_Nodes":["RTXTrueHDR"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"gpu":"nvidia-rtx","firstRun":[],"cpu":true},
"sdxl-t2i": {"core":["CLIPTextEncode","CheckpointLoaderSimple","EmptyLatentImage","KSampler","SaveImage","VAEDecode"],"packs":{},"files":["checkpoints/sd_xl_base_1.0.safetensors"],"optional":[],"vramGb":8,"isolated":false,"firstRun":[],"validated":true},
- "selftest-image": {"core":["ImageInvert","LoadImage","SaveImage"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
- "selftest-meta-batch": {"core":["ImageInvert"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_BatchManager","VHS_LoadVideo","VHS_VideoCombine"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
- "selftest-video": {"core":["CreateVideo","ImageBatch","ImageInvert","LoadImage","RepeatImageBatch","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
+ "selftest-image": {"core":["ImageInvert","LoadImage","SaveImage"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
+ "selftest-meta-batch": {"core":["ImageInvert"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_BatchManager","VHS_LoadVideo","VHS_VideoCombine"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
+ "selftest-video": {"core":["CreateVideo","ImageBatch","ImageInvert","LoadImage","RepeatImageBatch","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
"separate-soundtrack-dbs": {"core":["AudioMerge","LoadAudio","PreviewAny","SaveAudioAdvanced"],"packs":{"ComfyUI-DBS":["DBSLoader","DBSSeparate"]},"files":["dbs/DBS-BSRNN-DnR/config.json","dbs/DBS-BSRNN-DnR/model.safetensors","dbs/DBS-TIGER-DnR/config.json","dbs/DBS-TIGER-DnR/model.safetensors"],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
"sfx-hunyuan-foley": {"core":["SaveAudioMP3"],"packs":{"ComfyUI-HunyuanVideo-Foley":["HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader"]},"files":["foley/hunyuanvideo_foley_xl_fp8_e4m3fn.safetensors","foley/synchformer_state_dict_fp16.safetensors","foley/vae_128d_48k_fp16.safetensors"],"optional":[],"vramGb":12,"isolated":false,"firstRun":["HunyuanDependenciesLoader fetches the SigLIP2 and CLAP text encoders into the Hugging Face cache on first run"],"validated":true},
"sfx-mmaudio-t2a": {"core":["SaveAudioMP3"],"packs":{"ComfyUI-MMAudio":["MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler"]},"files":["mmaudio/apple_DFN5B-CLIP-ViT-H-14-384_fp16.safetensors","mmaudio/mmaudio_large_44k_v2_fp16.safetensors","mmaudio/mmaudio_synchformer_fp16.safetensors","mmaudio/mmaudio_vae_44k_fp16.safetensors"],"optional":[],"vramGb":8,"isolated":false,"firstRun":[],"validated":true},
@@@ -426,9 -483,11 +483,11 @@@
"sfx-thinksound": {"core":["SaveAudioMP3"],"packs":{"ComfyUI-ThinkSound_Wrapper":["ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler"]},"files":["thinksound/synchformer_state_dict.pth","thinksound/thinksound_light.ckpt","thinksound/vae.ckpt"],"optional":[],"vramGb":12,"isolated":true,"firstRun":["ThinkSoundFeatureUtilsLoader fetches google/t5-v1_1-xl and facebook/metaclip-h14 into the Hugging Face cache on first run"],"validated":true},
"soul-cast-sheet-zimage": {"core":["CLIPLoader","CLIPTextEncode","ConditioningZeroOut","EmptySD3LatentImage","KSampler","ModelSamplingAuraFlow","SaveImage","StringConcatenate","UNETLoader","VAEDecode","VAELoader"],"packs":{"ComfyUI-KJNodes":["ImageGridtoBatch"]},"files":["diffusion_models/z_image_turbo_bf16.safetensors","text_encoders/qwen_3_4b.safetensors","vae/ae.safetensors"],"optional":[],"vramGb":14,"isolated":false,"firstRun":[],"validated":true},
"soundtrack-remix-dbs": {"core":["AudioAdjustVolume","AudioMerge","LoadAudio","PreviewAny","SaveAudioAdvanced"],"packs":{"ComfyUI-DBS":["DBSLoader","DBSSeparate"]},"files":["dbs/DBS-BSRNN-DnR/config.json","dbs/DBS-BSRNN-DnR/model.safetensors","dbs/DBS-TIGER-DnR/config.json","dbs/DBS-TIGER-DnR/model.safetensors"],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
+ "speech-edit-auk": {"core":["AudioConcat","AudioMerge","EmptyAudio","LoadAudio","SaveAudio","SplitAudioChannels","TrimAudioDuration"],"packs":{"ComfyUI-AuK":["AuKGenerateEdit","AuKModelLoader"]},"files":[],"optional":[],"vramGb":24,"isolated":false,"firstRun":["install-comfyui.sh with AUK=1 AUK_WEIGHTS=1 downloads into the AuK checkout's ckpts/ (relative paths resolve there, not in a ComfyUI models folder): tencent/AuK-Flash at 575b92f0895f75180bf2cbd35f2e176c5732b8ed (auk_flash.safetensors 6.12 GB, vae.safetensors 0.64 GB, config.yaml) and Qwen/Qwen2.5-Omni-3B at f75b40e3da2003cdd6e1829b1f420ca70797c34e (3 safetensors shards, 11.97 GB, plus config and tokenizer files); AUK_BASE=1 adds tencent/AuK at 790742b71a4430120daf2b2099192abae449eb9f (auk_base.safetensors 6.12 GB) for the Best setting"]},
"speech-translate-gemma4": {"core":["CLIPLoader","LoadAudio","SaveText","TextGenerate"],"packs":{},"files":["text_encoders/gemma4_e4b_it_fp8_scaled.safetensors"],"optional":[],"vramGb":12,"isolated":false,"firstRun":[],"validated":true},
+ "speech-tts-auk": {"core":["LoadAudio","SaveAudio"],"packs":{"ComfyUI-AuK":["AuKGenerateEdit","AuKModelLoader"]},"files":[],"optional":[],"vramGb":24,"isolated":false,"firstRun":["install-comfyui.sh with AUK=1 AUK_WEIGHTS=1 downloads into the AuK checkout's ckpts/ (relative paths resolve there, not in a ComfyUI models folder): tencent/AuK-Flash at 575b92f0895f75180bf2cbd35f2e176c5732b8ed (auk_flash.safetensors 6.12 GB, vae.safetensors 0.64 GB, config.yaml) and Qwen/Qwen2.5-Omni-3B at f75b40e3da2003cdd6e1829b1f420ca70797c34e (3 safetensors shards, 11.97 GB, plus config and tokenizer files); AUK_BASE=1 adds tencent/AuK at 790742b71a4430120daf2b2099192abae449eb9f (auk_base.safetensors 6.12 GB) for the Best setting"]},
"steam-it-qwen-image-21": {"core":["CLIPLoader","CLIPTextEncode","CheckpointLoaderSimple","GrowMask","KSampler","LoadImage","QwenImage21Cache","SAM3_Detect","SaveImage","SetLatentNoiseMask","SplitImageWithAlpha","TextEncodeQwenImage21","UNETLoader","VAEDecode","VAEEncode","VAELoader"],"packs":{"ausboss-nodes":["AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_StitchInpaint"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","diffusion_models/qwen_image_2.1_int8_convrot.safetensors","text_encoders/qwen3vl_8b_int8_convrot.safetensors","vae/qwen_image_2.1_vae_bf16.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[],"validated":true},
- "still-to-clip": {"core":["ComfyMathExpression","CreateVideo","EmptyAudio","ImageScale","LoadImage","PrimitiveFloat","RepeatImageBatch","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
+ "still-to-clip": {"core":["ComfyMathExpression","CreateVideo","EmptyAudio","ImageScale","LoadImage","PrimitiveFloat","RepeatImageBatch","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
"storyboard-qwen-edit-2509-next-scene": {"core":["CFGNorm","CLIPLoader","FluxKontextImageScale","KSampler","LoadImage","LoraLoaderModelOnly","ModelSamplingAuraFlow","PrimitiveFloat","PrimitiveInt","SaveImageAdvanced","StringConcatenate","TextEncodeQwenImageEditPlus","UNETLoader","VAEDecode","VAEEncode","VAELoader"],"packs":{},"files":["diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors","loras/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors","loras/next-scene_lora-v2-3000.safetensors","text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors","vae/qwen_image_vae.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
"style-ref-flux2-klein-4b": {"core":["CFGGuider","CLIPLoader","CLIPTextEncode","ConditioningZeroOut","EmptyFlux2LatentImage","Flux2Scheduler","ImageScaleToTotalPixels","KSamplerSelect","LoadImage","RandomNoise","ReferenceLatent","SamplerCustomAdvanced","SaveImage","UNETLoader","VAEDecode","VAEEncode","VAELoader"],"packs":{},"files":["diffusion_models/flux-2-klein-4b-fp8.safetensors","text_encoders/qwen_3_4b.safetensors","vae/flux2-vae.safetensors"],"optional":[],"vramGb":10,"isolated":false,"firstRun":[],"validated":true},
"style-ref-krea2": {"core":["BasicScheduler","CFGGuider","CLIPLoader","ConditioningZeroOut","EmptyLatentImage","FluxKontextMultiReferenceLatentMethod","KSamplerSelect","LoadImage","LoraLoaderModelOnly","ModelSamplingFlux","PrimitiveStringMultiline","RandomNoise","SamplerCustomAdvanced","SaveImage","TextEncodeQwenImageEditPlus","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/krea2_turbo_int8_convrot.safetensors","loras/krea2_style_reference.safetensors","text_encoders/qwen3vl_4b_fp8_scaled.safetensors","vae/qwen_image_vae.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[],"validated":true},
@@@ -447,6 -506,7 +506,7 @@@
"upscale-image-seedvr2": {"core":["JoinImageWithAlpha","KSampler","LoadImage","ResizeImageMaskNode","SaveImage","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","UNETLoader","VAEDecodeTiled","VAEEncodeTiled","VAELoader"],"packs":{},"files":["diffusion_models/seedvr2_7b_int8_convrot.safetensors","vae/seedvr2_ema_vae_fp16.safetensors"],"optional":[],"vramGb":16,"isolated":false,"firstRun":[],"validated":true},
"upscale-video-esrgan": {"core":["CreateVideo","GetVideoComponents","ImageUpscaleWithModel","LoadVideo","SaveVideo","UpscaleModelLoader"],"packs":{},"files":["upscale_models/RealESRGAN_x4plus.safetensors"],"optional":[],"vramGb":4,"isolated":false,"firstRun":[],"validated":true},
"upscale-video-esrgan-chunked": {"core":["ImageUpscaleWithModel","ResizeImageMaskNode","UpscaleModelLoader"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_BatchManager","VHS_LoadVideo","VHS_VideoCombine","VHS_VideoInfo"]},"files":["upscale_models/RealESRGAN_x4plus.safetensors"],"optional":[],"vramGb":4,"isolated":false,"firstRun":[],"validated":true},
- "upscale-video-rtx": {"core":["ComfyMathExpression","PrimitiveInt","ResizeImageMaskNode"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_BatchManager","VHS_LoadVideo","VHS_VideoCombine","VHS_VideoInfo"],"ComfyUI_Nvidia_VFX_Nodes":["RTXVideoSuperResolution"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"gpu":"nvidia-rtx","firstRun":[]},
++ "upscale-video-rtx": {"core":["ComfyMathExpression","PrimitiveInt","ResizeImageMaskNode"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_BatchManager","VHS_LoadVideo","VHS_VideoCombine","VHS_VideoInfo"],"ComfyUI_Nvidia_VFX_Nodes":["RTXVideoSuperResolution"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"gpu":"nvidia-rtx","firstRun":[],"cpu":true},
"upscale-video-seedvr2": {"core":["CreateVideo","GetVideoComponents","KSampler","LoadVideo","ResizeImageMaskNode","SaveVideo","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","UNETLoader","VAEDecodeTiled","VAEEncodeTiled","VAELoader"],"packs":{},"files":["diffusion_models/seedvr2_3b_int8_convrot.safetensors","vae/seedvr2_ema_vae_fp16.safetensors"],"optional":[],"vramGb":16,"isolated":false,"firstRun":[],"validated":true},
"upscale-video-seedvr2-chunked": {"core":["KSampler","ResizeImageMaskNode","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","UNETLoader","VAEDecodeTiled","VAEEncodeTiled","VAELoader"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_BatchManager","VHS_LoadVideo","VHS_VideoCombine","VHS_VideoInfo"]},"files":["diffusion_models/seedvr2_3b_int8_convrot.safetensors","vae/seedvr2_ema_vae_fp16.safetensors"],"optional":[],"vramGb":16,"isolated":false,"firstRun":[],"validated":true},
"v2a-hunyuan-foley": {"core":["ConcatenateVideo","LoadVideo","SaveAudioMP3","SaveVideo"],"packs":{"ComfyUI-HunyuanVideo-Foley":["HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader"],"ComfyUI-VideoHelperSuite":["VHS_LoadVideo"]},"files":["foley/hunyuanvideo_foley_xl_fp8_e4m3fn.safetensors","foley/synchformer_state_dict_fp16.safetensors","foley/vae_128d_48k_fp16.safetensors"],"optional":[],"vramGb":12,"isolated":false,"firstRun":["HunyuanDependenciesLoader fetches the SigLIP2 and CLAP text encoders into the Hugging Face cache on first run"],"validated":true},
@@@ -488,10 -549,12 +549,12 @@@
"video-inpaint-wan-vace": {"core":["CLIPLoader","CLIPTextEncode","CheckpointLoaderSimple","ComfyMathExpression","CreateVideo","GetImageSize","GetVideoComponents","GrowMask","ImageCompositeMasked","ImageFromBatch","ImageScale","ImageToMask","InvertMask","KSampler","LoadVideo","LoraLoaderModelOnly","MaskToImage","ModelSamplingSD3","PrimitiveFloat","PrimitiveInt","SAM3_TrackToMask","SAM3_VideoTrack","SaveVideo","TrimAudioDuration","TrimVideoLatent","UNETLoader","VAEDecode","VAELoader","Video Slice","WanVaceToVideo"],"packs":{"ComfyUI-KJNodes":["GrowMaskWithBlur"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","diffusion_models/wan2.1_vace_14B_fp16.safetensors","loras/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors","text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors","vae/wan_2.1_vae.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
"video-inpaint-wan-vace-painted": {"core":["CLIPLoader","CLIPTextEncode","CheckpointLoaderSimple","ComfyMathExpression","CreateVideo","GetImageSize","GetVideoComponents","GrowMask","ImageCompositeMasked","ImageFromBatch","ImageScale","ImageToMask","InvertMask","KSampler","LoadImageMask","LoadVideo","LoraLoaderModelOnly","MaskToImage","ModelSamplingSD3","PrimitiveFloat","PrimitiveInt","SAM3_TrackToMask","SAM3_VideoTrack","SaveImage","SaveVideo","TrimAudioDuration","TrimVideoLatent","UNETLoader","VAEDecode","VAELoader","Video Slice","WanVaceToVideo"],"packs":{"ComfyUI-KJNodes":["GrowMaskWithBlur"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","diffusion_models/wan2.1_vace_14B_fp16.safetensors","loras/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors","text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors","vae/wan_2.1_vae.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
"video-insert-wan-vace": {"core":["CLIPLoader","CLIPTextEncode","ComfyMathExpression","CreateVideo","GetImageSize","GetVideoComponents","GrowMask","ImageCompositeMasked","ImageFromBatch","ImageScale","ImageToMask","InvertMask","KSampler","LoadImage","LoadImageMask","LoadVideo","LoraLoaderModelOnly","MaskToImage","ModelSamplingSD3","PrimitiveFloat","PrimitiveInt","RepeatImageBatch","SaveVideo","TrimAudioDuration","TrimVideoLatent","UNETLoader","VAEDecode","VAELoader","Video Slice","WanVaceToVideo"],"packs":{"ComfyUI-KJNodes":["GrowMaskWithBlur"]},"files":["diffusion_models/wan2.1_vace_14B_fp16.safetensors","loras/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors","text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors","vae/wan_2.1_vae.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
+ "video-key-corridorkey": {"core":["MaskToImage","SaveImageAdvanced"],"packs":{"ComfyUI-CorridorKey2":["CorridorKey2"],"ComfyUI-VideoHelperSuite":["VHS_BatchManager","VHS_LoadVideo","VHS_VideoCombine","VHS_VideoInfo"]},"files":[],"optional":[],"vramGb":6,"isolated":false,"firstRun":["CorridorKey2 downloads about 5.1 GB into models/corridorkey2/ on first run: corridorkey_v2.safetensors (2.66 GB) and foundation_stats.safetensors from nikopueringer/CorridorKey2.0 (its main revision, cf44a8db when checked), NVIDIA C-RADIOv4-SO400M @ c0457f5d (1.72 GB), Microsoft MoGe-2 ViT-B @ ca5f0e07 (0.42 GB) and Google DeepMind RVM small (0.27 GB, md5-checked)"]},
"video-mask-h3-relay": {"core":["CLIPTextEncode","CheckpointLoaderSimple","CreateVideo","GetImageSize","GetVideoComponents","ImageBatch","ImageFromBatch","ImageScale","LoadVideo","MaskToImage","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SaveVideo","Video Slice"],"packs":{"h3-relay":["H3RelayPrepareSource","H3RelayRecoverMasks","H3RelaySelectMask"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors"],"optional":[],"vramGb":6,"isolated":false,"firstRun":[]},
+ "video-matte-vrmbg3": {"core":["CreateVideo","GetVideoComponents","LoadVideo","SaveImageAdvanced","SaveVideo"],"packs":{"ComfyUI-RMBG":["AILab_VRMBG"],"ComfyUI-VideoHelperSuite":["VHS_VideoCombine"]},"files":["RMBG/VRMBG-3.0/model.safetensors"],"optional":[],"vramGb":6,"isolated":false,"firstRun":[]},
"video-motion-transfer-h3": {"core":["BasicGuider","BasicScheduler","CLIPLoader","ImageScale","ImageScaleToMaxDimension","KSamplerSelect","LoadImage","LoraLoaderModelOnly","MiniMaxH3ReferenceToVideo","MiniMaxH3SigmaShift","ModelAttentionBackend","RandomNoise","SamplerCustomAdvanced","UNETLoader","VAEDecode","VAELoader"],"packs":{"ComfyUI-Fantastic-MiniMaxH3-PromptBuilder":[],"ComfyUI-KJNodes":["VRAM_Debug"],"ComfyUI-MiniMaxH3-Context-Loop":[],"ComfyUI-VideoHelperSuite":["VHS_LoadVideo","VHS_VideoCombine"],"comfyui-h3-oneclick-swap":["H3SoundtrackOrSilence"],"comfyui_controlnet_aux":["Metric3D-NormalMapPreprocessor"]},"files":["diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors","loras/minimax_h3_DMAD_4step_full_lora_avg_rank_39_bf16.safetensors","text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","vae/minimax_h3_audio_vae_fp32.safetensors","vae/minimax_h3_video_vae_int8_convrot.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":["Metric3D vit-small (metric_depth_vit_small_800k.pth) -> custom_nodes/comfyui_controlnet_aux/ckpts/JUGGHM/Metric3D (fetched on first run unless placed there)"]},
- "video-mux-audio": {"core":["AudioAdjustVolume","AudioMerge","ConcatenateVideo","EmptyAudio","LoadAudio","LoadVideo","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
- "video-mux-audio-replace": {"core":["ConcatenateVideo","LoadAudio","LoadVideo","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
+ "video-mux-audio": {"core":["AudioAdjustVolume","AudioMerge","ConcatenateVideo","EmptyAudio","LoadAudio","LoadVideo","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
+ "video-mux-audio-replace": {"core":["ConcatenateVideo","LoadAudio","LoadVideo","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
"video-person-remove-h3-mask": {"core":["CLIPTextEncode","CheckpointLoaderSimple","CreateVideo","EmptyImage","GetImageSize","GetVideoComponents","GrowMask","ImageCompositeMasked","ImageFromBatch","LoadVideo","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SaveVideo","ThresholdMask"],"packs":{},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors"],"optional":[],"vramGb":6,"isolated":false,"firstRun":[],"validated":true},
"video-person-remove-h3-relay": {"core":["BasicScheduler","CFGGuider","CLIPLoader","CLIPTextEncode","CheckpointLoaderSimple","CreateVideo","EmptyImage","EndLoop","GetImageSize","GetVideoComponents","GrowMask","ImageCompositeMasked","ImageFromBatch","ImageScale","KSamplerSelect","LTXVSeparateAVLatent","LoadImage","LoadVideo","LoraLoaderModelOnly","MiniMaxH3AddGuide","MiniMaxH3ReferenceToVideo","MiniMaxH3SigmaShift","ModelAttentionBackend","RandomNoise","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SamplerCustomAdvanced","SaveVideo","SelectCLIPDevice","StartLoop","ThresholdMask","UNETLoader","VAEDecode","VAEDecodeAudio","VAELoader"],"packs":{"h3-relay":["H3RelayAppendWindow","H3RelayApplyHistory","H3RelayFinishWindows","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors","loras/H3-Person-Remover-V1.safetensors","text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","vae/minimax_h3_audio_vae_fp32.safetensors","vae/minimax_h3_video_vae_fp16.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
"video-reframe-wan22-fun-vace": {"core":["CLIPLoader","CLIPTextEncode","CreateVideo","GetVideoComponents","KSamplerAdvanced","LoadVideo","LoraLoaderModelOnly","ModelSamplingSD3","SaveVideo","TrimVideoLatent","UNETLoader","VAEDecode","VAELoader","WanVaceToVideo"],"packs":{"ComfyUI-KJNodes":["ImageResizeKJv2"]},"files":["diffusion_models/wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors","diffusion_models/wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors","loras/wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors","loras/wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors","text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors","vae/wan_2.1_vae.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
@@@ -501,11 -565,12 +565,12 @@@
"video-restyle-wan22-fun-vace": {"core":["BatchImagesNode","CLIPLoader","CLIPTextEncode","ComfyMathExpression","CreateVideo","DA3Inference","DA3Render","GetVideoComponents","ImageFromBatch","ImageScale","ImageToMask","KSamplerAdvanced","LoadDA3Model","LoadImage","LoadVideo","LoraLoaderModelOnly","MaskToImage","ModelSamplingSD3","PrimitiveInt","RepeatImageBatch","SaveVideo","SolidMask","TrimVideoLatent","UNETLoader","VAEDecode","VAELoader","WanVaceToVideo"],"packs":{},"files":["diffusion_models/wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors","diffusion_models/wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors","geometry_estimation/depth_anything_3_mono_large.safetensors","loras/wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors","loras/wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors","text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors","vae/wan_2.1_vae.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
"video-scene-describe": {"core":["CLIPLoader","ImageScaleToMaxDimension","LoadImage","PreviewAny","PrimitiveStringMultiline","StringConcatenate","TextGenerate"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_LoadVideo","VHS_SelectEveryNthImage"]},"files":["text_encoders/qwen3vl_8b_int8_convrot.safetensors"],"optional":[],"vramGb":12,"isolated":false,"firstRun":[]},
"video-scene-edit-h3": {"core":["AudioConcat","BasicGuider","BasicScheduler","CLIPLoader","CLIPTextEncode","CheckpointLoaderSimple","ComfyMathExpression","EmptyAudio","ImageFromBatch","ImageScaleToMaxDimension","KSamplerSelect","LoadImage","LoraLoaderModelOnly","MiniMaxH3ReferenceToVideo","MiniMaxH3SigmaShift","ModelAttentionBackend","RandomNoise","SAM3_VideoTrack","SamplerCustomAdvanced","TextGenerate","TrimAudioDuration","UNETLoader","VAEDecode","VAEDecodeAudio","VAELoader"],"packs":{"ComfyUI-Fantastic-MiniMaxH3-PromptBuilder":["MiniMaxH3FantasticVideoEditLatent"],"ComfyUI-KJNodes":["GrowMaskWithBlur"],"ComfyUI-MiniMaxH3-Context-Loop":["MiniMaxH3ChainAssemble","MiniMaxH3ChainContext","MiniMaxH3ChainCurrent","MiniMaxH3ChainLoopEnd","MiniMaxH3ChainLoopStart","MiniMaxH3ChainPlanModern","MiniMaxH3ChainReview","MiniMaxH3ChainSegmentSave","MiniMaxH3ContexMaskedTarget","MiniMaxH3GenerationProfile","MiniMaxH3LoopTrim","MiniMaxH3SourceTimeline"],"ComfyUI-VideoHelperSuite":["VHS_LoadVideo"],"comfyui-h3-oneclick-swap":["H3ClipShots","H3FillShots","H3GreyMannequins","H3ObjectSwapPlan","H3PeopleMask","H3SourceSlice"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors","loras/minimax_h3_DMAD_4step_full_lora_avg_rank_39_bf16.safetensors","text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","text_encoders/qwen3vl_8b_int8_convrot.safetensors","vae/minimax_h3_audio_vae_fp32.safetensors","vae/minimax_h3_video_vae_int8_convrot.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
- "video-sdr-to-hdr": {"core":["CreateVideo","GetVideoComponents","ImageSDRToHDR","LoadVideo","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
- "video-sdr-to-hdr-exr": {"core":["CreateVideo","GetVideoComponents","ImageSDRToHDR","LoadVideo","SaveImageAdvanced","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
- "video-segment-resample": {"core":["CreateVideo","ImageFromBatch","ImageScale","SaveImage","SaveVideo"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_LoadVideo"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
+ "video-sdr-to-hdr": {"core":["CreateVideo","GetVideoComponents","ImageSDRToHDR","LoadVideo","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
+ "video-sdr-to-hdr-exr": {"core":["CreateVideo","GetVideoComponents","ImageSDRToHDR","LoadVideo","SaveImageAdvanced","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
+ "video-segment-resample": {"core":["CreateVideo","ImageFromBatch","ImageScale","SaveImage","SaveVideo"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_LoadVideo"]},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
"video-swap-wan-vace": {"core":["CLIPLoader","CLIPTextEncode","CheckpointLoaderSimple","ComfyMathExpression","CreateVideo","GetImageSize","GetVideoComponents","GrowMask","ImageCompositeMasked","ImageFromBatch","ImageScale","ImageToMask","InvertMask","KSampler","LoadImage","LoadVideo","LoraLoaderModelOnly","MaskToImage","ModelSamplingSD3","PrimitiveFloat","PrimitiveInt","SAM3_TrackToMask","SAM3_VideoTrack","SaveVideo","TrimAudioDuration","TrimVideoLatent","UNETLoader","VAEDecode","VAELoader","Video Slice","WanVaceToVideo"],"packs":{"ComfyUI-KJNodes":["GrowMaskWithBlur"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","diffusion_models/wan2.1_vace_14B_fp16.safetensors","loras/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors","text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors","vae/wan_2.1_vae.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
- "video-trim": {"core":["LoadVideo","SaveVideo","Video Slice"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
+ "video-trim": {"core":["LoadVideo","SaveVideo","Video Slice"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
+ "video-upscale-kandinsky6-vsr": {"core":["CreateVideo","GetVideoComponents","LoadVideo","SaveVideo","UNETLoader"],"packs":{"kandinsky6-sr":["Kandinsky6LatentUpscalerLoader","Kandinsky6SRVAELoader","Kandinsky6VSRUpscale"]},"files":["diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/latent_upscaler/config.json","diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/latent_upscaler/diffusion_pytorch_model.safetensors","diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/model_index.json","diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/scheduler/scheduler_config.json","diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/transformer/config.json","diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/transformer/diffusion_pytorch_model.safetensors","diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/vae/config.json","diffusion_models/Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers/vae/diffusion_pytorch_model.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[]},
"voice-change-chatterbox": {"core":["ComfyMathExpression","LoadAudio","PrimitiveInt","SaveAudioMP3"],"packs":{"ComfyUI_Fill-ChatterBox":["FL_ChatterboxVC"]},"files":[],"optional":[],"vramGb":3,"isolated":false,"firstRun":["FL_ChatterboxVC downloads ResembleAI/chatterbox s3gen.pt (1.06 GB) + conds.pt into models/chatterbox/chatterbox_vc on first run"],"validated":true},
"voice-clean-bed-reuse": {"core":["AudioMerge","LoadAudio","PreviewAny","SaveAudioAdvanced"],"packs":{"ComfyUI-DBS":["DBSLoader","DBSSeparate"],"ComfyUI-RE-USE":["REUSEEnhance","REUSELoader"]},"files":["dbs/DBS-BSRNN-DnR/config.json","dbs/DBS-BSRNN-DnR/model.safetensors","dbs/DBS-TIGER-DnR/config.json","dbs/DBS-TIGER-DnR/model.safetensors","reuse/NemotronLabs-RE-USE.safetensors"],"optional":["reuse/NemotronLabs-RE-USE-laughter.safetensors"],"vramGb":0,"isolated":false,"firstRun":[]},
"voice-clean-reuse": {"core":["LoadAudio","PreviewAny","SaveAudioAdvanced"],"packs":{"ComfyUI-RE-USE":["REUSEEnhance","REUSELoader"]},"files":["reuse/NemotronLabs-RE-USE.safetensors"],"optional":["reuse/NemotronLabs-RE-USE-laughter.safetensors"],"vramGb":0,"isolated":false,"firstRun":[]},