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.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Merge branch 'o/soul' into claude/fuobe-parity-4
Claudecf6b24b5709d
diff --cc package.jsonindex 2d1d2022,11558d2f..a2642a59--- a/package.json+++ b/package.json@@@ -16,7 -16,7 +16,7 @@@"test:e2e:library": "node tests/e2e/library-flows.mjs","test:e2e:mobile": "node tests/e2e/no-horizontal-scroll.mjs","test:e2e:shell": "node tests/e2e/shell.mjs",- "gen:catalog": "python3 scripts/gen-cloud-models.py && python3 scripts/gen-higgsfield-models.py && python3 scripts/gen-higgsfield-presets.py && python3 scripts/gen-oss-loras.py && python3 scripts/gen-lora-library.py && python3 scripts/gen-influencer-options.py && node scripts/gen-icon-map.mjs",- "gen:catalog": "python3 scripts/gen-cloud-models.py && python3 scripts/gen-higgsfield-models.py && python3 scripts/gen-higgsfield-presets.py && python3 scripts/gen-oss-loras.py && python3 scripts/gen-lora-library.py && python3 scripts/gen-soul-originals.py && node scripts/gen-icon-map.mjs",++ "gen:catalog": "python3 scripts/gen-cloud-models.py && python3 scripts/gen-higgsfield-models.py && python3 scripts/gen-higgsfield-presets.py && python3 scripts/gen-oss-loras.py && python3 scripts/gen-lora-library.py && python3 scripts/gen-influencer-options.py && python3 scripts/gen-soul-originals.py && node scripts/gen-icon-map.mjs","typecheck": "tsc --noEmit","eval:run": "node scripts/eval/eval.mjs run","eval:report": "node scripts/eval/eval.mjs report",diff --cc scripts/comfy/validation-state.jsonindex 90ef7d68,1926c1bd..f61b3355--- a/scripts/comfy/validation-state.json+++ b/scripts/comfy/validation-state.json@@@ -815,6 -815,12 +815,12 @@@"error": null,"at": "2026-10-16T20:57:21.746Z"},+ "z-image-turbo-i2i": {+ "sha256": "bc702da5141ab4941d1fa0af9eb6cdc94c789f69c2f53c82a4335e1f1df763ea",+ "validated": true,+ "error": null,- "at": "2026-10-25T22:25:23.424Z"++ "at": "2026-10-26T00:27:46.842Z"+ },"z-image-turbo-t2i": {"sha256": "dda8f9b795709c31220a732c2db134e130cda20d0672c0cca64905b1f8397a70","validated": true,diff --cc src/server/generations.tsindex a5c124dc,5f53aff7..62cdea14--- a/src/server/generations.ts+++ b/src/server/generations.ts@@@ -13,8 -13,10 +13,11 @@@ import { chainedWaitMessage, keyframeChimport { estimateCost, inferOperation, planGeneration, routeLoras, routesFor } from "@/lib/catalog/plan";import { framedLength, keepMatte } from "@/lib/catalog/payload";import { fitLoras, lorasFit } from "@/lib/catalog/loras";+ import { dualEngine, onEngine, pickEngine } from "@/lib/catalog/engines";+ import { promptWithLoras, soulKind, soulLook, soulPostSteps } from "@/lib/catalog/soul";+ import { finishSteps } from "@/lib/soul-post";import {+ CHAIN_LIST_SLACK,LAST_FRAME_CHAIN,OPERATION_OUTPUT,type ChainSlot,@@@ -1271,10 -1196,49 +1300,51 @@@ export async function cancelGeneration(.catch(() => {});}update(id, { status: "canceled", completed_at: Date.now(), message: null });+ // Steps waiting only to feed this one are dropped too (nothing was spent on them).+ dropUnused(depIds(r.depends_on));}+ // ---------------------------------------------------------------------------+ // Fuobe Soul's post steps (the look's grade and overlay), made in the browser when the result arrives.++ /** The aspect ratio a stored request asked for (Soul Cinema's 21:9 is made at 16:9 and cropped). */+ function requestAspect(json: string): string | undefined {+ try {+ return (JSON.parse(json) as GenerationRequest).params?.aspectRatio;+ } catch {+ return undefined;+ }+ }++ export class FinishError extends Error {+ constructor(+ message: string,+ readonly status: number,+ ) {+ super(message);+ }+ }++ /**+ * Keep the finished picture of a Soul result in place of the raw one: the raw one stays as meta.original (its+ * file is still the generation's), meta.finished marks it done. The first finished copy wins: another tab's+ * answer is 409, and an output with nothing left to do is refused.+ */+ export function finishOutput(id: string, index: number, png: Buffer): Generation {+ const r = db().prepare("SELECT * FROM generations WHERE id = ?").get(id) as Row | undefined;+ if (!r) throw new FinishError("Not found", 404);+ if (r.status !== "succeeded") throw new FinishError("The result isn't ready yet", 409);+ const outputs = JSON.parse(r.outputs_json) as OutputFile[];+ const o = outputs[index];+ if (!o || !Number.isInteger(index)) throw new FinishError("No such output", 404);+ if (o.meta?.finished) throw new FinishError("Already finished", 409);+ if (!finishSteps(o)) throw new FinishError("This output has no grade or overlay to apply", 400);+ const asset = saveFile({ data: png, contentType: "image/png", name: `${id}-${index}-finished.png`, source: "generation", generationId: id });+ outputs[index] = { ...o, url: asset.url, assetId: asset.id, contentType: "image/png", meta: { ...o.meta, finished: true, original: o.url } };+ update(id, { outputs_json: JSON.stringify(outputs) });+ return getGeneration(id, { includeDeleted: true })!;+ }+// ---------------------------------------------------------------------------// Results made in the browser (colour grading): stored as finished generations.diff --cc workflows/comfyui/manifest.jsonindex 8cd518b1,36e8c7e0..ebcae38d--- a/workflows/comfyui/manifest.json+++ b/workflows/comfyui/manifest.json@@@ -1,6 -1,6 +1,6 @@@{"version": 1,-- "generatedAt": "2026-10-24T05:04:42.430Z",++ "generatedAt": "2026-10-26T00:27:25.145Z","comfyuiCommit": "fc04da91b2ab12f99e4716371a7e4f98ac982597","comfyuiVersion": "0.41.0","workflowTemplatesVersion": "0.11.86",