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 branch 'o/o13-popcorn-evolution' into claude/fuobe-parity-4

Claude76ecd89af5df
diff --cc scripts/gen-cloud-models.py
index df4ba70f,0307ef8c..999c8cda
--- a/scripts/gen-cloud-models.py
+++ b/scripts/gen-cloud-models.py
@@@ -608,26 -602,25 +608,45 @@@ model("fuobe-character-swap", "Fuobe Ch
original=True, fit_values=True, badges=["audio"],
pricing=("second", 0.075, "768p; 480p $0.0625/s; whole seconds, 5–15 per call", {"byResolution": {"768p": 0.075, "480p": 0.0625}}),
options={"resolutions": ["480p", "768p"]}, defaults={"resolution": "768p"})
+# ----- Originals (O9): Fuobe Mixed Media and Fuobe Shorts on hosted open weights (research §8 mixed-media →
+# studios[mixed-media].original, studios[shorts].original). Mixed Media's cloud half draws one frame: Z-Image Turbo
+# with its Fun ControlNet on the frame's own outlines (preprocess canny) and the look's LoRAs, at the render's one
+# seed; src/lib/catalog/mixed-media.ts fans it out over every frame (and frame 0 of Smooth), sending the frame's
+# size (image_size {width, height}: about 1 or 4 megapixels in the clip's shape) and the look's control scale.
+# Shorts' cloud half is Wan 2.2 Fun VACE by depth from a restyled first frame; its aspect ratio isn't asked of the
+# model (the cut is cropped to 9:16 or 16:9 first, as for any restyle model that keeps its input's shape).
+MIXED_O = next(s for s in ORIGINALS["studios"] if s["id"] == "mixed-media")["original"]["cloud"]
+model("fuobe-mixed-media", "Fuobe Mixed Media", "Fuobe Original", "fuobe-mixed-media", "video",
+ "Every frame drawn again in the look under its own outlines, one seed: Z-Image Turbo + ControlNet with the look's LoRA",
+ [("edit", MIXED_O["frame"], "fal", {"fixed": MIXED_O["fixed"], "defaults": MIXED_O["defaults"]})],
+ original=True, pricing=("megapixel", per_megapixel(MIXED_O["frame"]), MIXED_O["price"]))
+# The restyled first frame goes as first_frame_url only (the recipe sends no VACE subject references: `images` is dropped),
+# and fal derives the depth from the cut (preprocess, fixed).
+model("fuobe-shorts", "Fuobe Shorts", "Fuobe Original", "fuobe-shorts", "video",
+ "Your footage in a new look, motion kept: a restyled first frame carried through every frame by depth (Wan 2.2 Fun VACE)",
+ [("v2v", SHORTS_O["cloud"]["restyle"], "fal", {"drop": ["aspectRatio", "images"], "fixed": SHORTS_O["cloud"]["fixed"]})],
+ original=True, fit_values=True, pricing=("second", 0.1, f"720p; 580p $0.075, 480p $0.05 · {_FRAMES16}; the first frame's Qwen edit is priced on its own",
+ {"byResolution": {"720p": 0.1, "580p": 0.075, "480p": 0.05}}),
+ api_defaults=SHORTS_O["cloud"]["defaults"], defaults={"resolution": "720p"}, licence=SHORTS_O["licence"])
+ # ----- Originals (O13): Fuobe Evolution's cloud half (research §8 evolution → studios[evolution].original): Higgsfield
+ # Evolution's change intensity as LTX-2.3 22B video-to-video's video_strength (1 − the denoise the open graph uses; set by
+ # src/lib/catalog/evolution.ts through params.extra), the LLM-written direction as the prompt, prompt expansion off. Silent
+ # (the clip's own sound goes back on), 24 fps, at most 481 frames a call (Evolution cuts longer clips into pieces); the
+ # tier's size for the clip's shape from Fuobe Cinema's table. Priced per megapixel of video like Fuobe Cinema.
+ EVOLUTION = next(s for s in ORIGINALS["studios"] if s["id"] == "evolution")["original"]["cloud"]
+ EVOLUTION_MP = per_megapixel(EVOLUTION["endpoint"])
+ EVOLUTION_MP_LORA = per_megapixel(EVOLUTION["loraEndpoint"])
+ EVOLUTION_PER_SECOND = {t: round(s["16:9"][0] * s["16:9"][1] * EVOLUTION["fps"] / 1e6 * EVOLUTION_MP, 4) for t, s in CINEMA_SIZES.items()}
+ EVOLUTION_PER_SECOND_LORA = {t: round(s["16:9"][0] * s["16:9"][1] * EVOLUTION["fps"] / 1e6 * EVOLUTION_MP_LORA, 4) for t, s in CINEMA_SIZES.items()}
+ model("fuobe-evolution", "Fuobe Evolution", "Fuobe Original", "fuobe-evolution", "video",
+ "Takes your clip further in a direction an LLM writes from your references: LTX-2.3 video to video at a change intensity",
+ [("v2v", EVOLUTION["endpoint"], "fal", {"loraEndpoint": EVOLUTION["loraEndpoint"], "fixed": EVOLUTION["fixed"]})],
+ original=True, sizes=CINEMA_SIZES,
+ pricing=("second", EVOLUTION_PER_SECOND["720p"],
+ f"${EVOLUTION_MP} per megapixel of video (width × height × frames): about ${round(EVOLUTION_PER_SECOND['720p'] * 5, 2)} for 5 s at 720p; ${EVOLUTION_MP_LORA} with LoRAs",
+ {"byResolution": EVOLUTION_PER_SECOND, "withLoras": EVOLUTION_PER_SECOND_LORA["720p"], "withLorasByResolution": EVOLUTION_PER_SECOND_LORA,
+ "videoMegapixel": {"usd": EVOLUTION_MP, "withLoras": EVOLUTION_MP_LORA}}),
+ defaults={"aspectRatio": "16:9", "duration": 5, "resolution": "720p"}, frame_step=8)
model("ltx-2-5", "LTX 2.5 Pro", "Lightricks", "ltx", "video", "Fast 4K-capable video with audio",
[("t2v", "lightricks/ltx-2.5/text-to-video/pro"), ("i2v", "lightricks/ltx-2.5/image-to-video/pro")],
badges=["audio"], defaults={"aspectRatio": "16:9"})
diff --cc src/lib/catalog/cloud-models.generated.ts
index c908e20d,334b82d8..bc8d4074
--- a/src/lib/catalog/cloud-models.generated.ts
+++ b/src/lib/catalog/cloud-models.generated.ts
@@@ -19102,130 -19094,197 +19102,323 @@@ export const ORIGINAL_CLOUD: ModelDef[
}
}
},
+ {
+ "id": "fuobe-mixed-media",
+ "name": "Fuobe Mixed Media",
+ "vendor": "Fuobe Original",
+ "family": "fuobe-mixed-media",
+ "engine": "cloud",
+ "kind": "video",
+ "tagline": "Every frame drawn again in the look under its own outlines, one seed: Z-Image Turbo + ControlNet with the look's LoRA",
+ "routes": [
+ {
+ "op": "edit",
+ "provider": "fal",
+ "endpoint": "fal-ai/z-image/turbo/controlnet/lora",
+ "map": {
+ "image": "image_url",
+ "numOutputs": "num_images",
+ "seed": "seed",
+ "fixed": {
+ "preprocess": "canny",
+ "output_format": "jpeg",
+ "enable_prompt_expansion": false
+ },
+ "defaults": {
+ "num_inference_steps": 8
+ },
+ "loras": {
+ "shape": "items",
+ "key": "loras",
+ "max": 3,
+ "range": {
+ "min": 0,
+ "max": 4
+ }
+ }
+ }
+ }
+ ],
+ "options": {
+ "seed": true,
+ "maxOutputs": 4,
+ "maxImages": 1
+ },
+ "licence": {
+ "licence": "Apache-2.0",
+ "commercial": true,
+ "note": "Z-Image Turbo / base weights are Apache-2.0 (HF Tongyi-MAI/Z-Image-Turbo, Tongyi-MAI/Z-Image)",
+ "checked": "2026-10-23"
+ },
+ "pricing": {
+ "unit": "megapixel",
+ "usd": 0.01,
+ "note": "$0.01 per megapixel of each frame: a 1K frame (about 1 MP in the clip's shape) costs about $0.01, so 240 frames about $2.40; 2K (about 4 MP) about $0.04 a frame"
+ }
+ },
+ {
+ "id": "fuobe-shorts",
+ "name": "Fuobe Shorts",
+ "vendor": "Fuobe Original",
+ "family": "fuobe-shorts",
+ "engine": "cloud",
+ "kind": "video",
+ "tagline": "Your footage in a new look, motion kept: a restyled first frame carried through every frame by depth (Wan 2.2 Fun VACE)",
+ "routes": [
+ {
+ "op": "v2v",
+ "provider": "fal",
+ "endpoint": "fal-ai/wan-22-vace-fun-a14b/depth",
+ "map": {
+ "negativePrompt": "negative_prompt",
+ "image": "first_frame_url",
+ "video": "video_url",
+ "seed": "seed",
+ "fps": "frames_per_second",
+ "resolution": {
+ "key": "resolution",
+ "accepts": [
+ "auto",
+ "240p",
+ "360p",
+ "480p",
+ "580p",
+ "720p"
+ ]
+ },
+ "fixed": {
+ "preprocess": true
+ },
+ "defaults": {
+ "match_input_num_frames": true,
+ "match_input_frames_per_second": true
+ }
+ }
+ }
+ ],
+ "options": {
+ "negativePrompt": true,
+ "seed": true,
+ "resolutions": [
+ "auto",
+ "240p",
+ "360p",
+ "480p",
+ "580p",
+ "720p"
+ ],
+ "maxImages": 1
+ },
+ "licence": {
+ "licence": "Apache-2.0",
+ "commercial": true,
+ "note": "Wan 2.2 Fun VACE A14B (the restyle) and Qwen-Image-Edit 2511 (the first frame) are Apache-2.0; on the open engine Depth Anything 3 mono-large and lightx2v too"
+ },
+ "defaults": {
+ "resolution": "720p"
+ },
+ "pricing": {
+ "unit": "second",
+ "usd": 0.1,
+ "note": "720p; 580p $0.075, 480p $0.05 \u00b7 fal bills frames \u00f7 16 as video seconds: a 30 fps clip costs about 1.9\u00d7 its length; the first frame's Qwen edit is priced on its own",
+ "byResolution": {
+ "720p": 0.1,
+ "580p": 0.075,
+ "480p": 0.05
+ }
+ }
++ },
+ {
+ "id": "fuobe-evolution",
+ "name": "Fuobe Evolution",
+ "vendor": "Fuobe Original",
+ "family": "fuobe-evolution",
+ "engine": "cloud",
+ "kind": "video",
+ "tagline": "Takes your clip further in a direction an LLM writes from your references: LTX-2.3 video to video at a change intensity",
+ "routes": [
+ {
+ "op": "v2v",
+ "provider": "fal",
+ "endpoint": "fal-ai/ltx-2.3-22b/video-to-video",
+ "map": {
+ "negativePrompt": "negative_prompt",
+ "video": "video_url",
+ "seed": "seed",
+ "generateAudio": "generate_audio",
+ "fps": "fps",
+ "numFrames": {
+ "key": "num_frames",
+ "fps": 24,
+ "min": 9,
+ "max": 481,
+ "step": 8
+ },
+ "size": {
+ "key": "video_size",
+ "multiple": 16,
+ "table": {
+ "480p": {
+ "21:9": [
+ 1120,
+ 480
+ ],
+ "16:9": [
+ 864,
+ 480
+ ],
+ "4:3": [
+ 640,
+ 480
+ ],
+ "1:1": [
+ 480,
+ 480
+ ],
+ "3:4": [
+ 480,
+ 640
+ ],
+ "9:16": [
+ 480,
+ 864
+ ]
+ },
+ "720p": {
+ "21:9": [
+ 1504,
+ 640
+ ],
+ "16:9": [
+ 1280,
+ 704
+ ],
+ "4:3": [
+ 1024,
+ 768
+ ],
+ "1:1": [
+ 960,
+ 960
+ ],
+ "3:4": [
+ 768,
+ 1024
+ ],
+ "9:16": [
+ 704,
+ 1280
+ ]
+ },
+ "1080p": {
+ "21:9": [
+ 2240,
+ 960
+ ],
+ "16:9": [
+ 1920,
+ 1088
+ ],
+ "4:3": [
+ 1440,
+ 1088
+ ],
+ "1:1": [
+ 1088,
+ 1088
+ ],
+ "3:4": [
+ 1088,
+ 1440
+ ],
+ "9:16": [
+ 1088,
+ 1920
+ ]
+ }
+ }
+ },
+ "fixed": {
+ "enable_prompt_expansion": false,
+ "generate_audio": false,
+ "match_video_length": false,
+ "match_input_fps": false,
+ "fps": 24
+ },
+ "loras": {
+ "shape": "items",
+ "key": "loras",
+ "required": true,
+ "range": {
+ "min": 0,
+ "max": 4
+ },
+ "weightName": true
+ }
+ },
+ "loraEndpoint": "fal-ai/ltx-2.3-22b/video-to-video/lora"
+ }
+ ],
+ "options": {
+ "durations": [
+ 3,
+ 4,
+ 5,
+ 6,
+ 8,
+ 10,
+ 12,
+ 15,
+ 20
+ ],
+ "aspectRatios": [
+ "21:9",
+ "16:9",
+ "4:3",
+ "1:1",
+ "3:4",
+ "9:16"
+ ],
+ "resolutions": [
+ "480p",
+ "720p",
+ "1080p"
+ ],
+ "negativePrompt": true,
+ "seed": true,
+ "audio": true
+ },
+ "licence": {
+ "licence": "LTX-2 / LTX-2.x Community License",
+ "commercial": true,
+ "note": "Free for companies under US$10M annual revenue; above that a paid licence (github.com/Lightricks/LTX-2 LICENSE-2, LICENSE-2_x, section 2.1)",
+ "checked": "2026-10-23"
+ },
+ "defaults": {
+ "aspectRatio": "16:9",
+ "duration": 5,
+ "resolution": "720p",
+ "generateAudio": true
+ },
+ "pricing": {
+ "unit": "second",
+ "usd": 0.0347,
+ "note": "$0.001605 per megapixel of video (width \u00d7 height \u00d7 frames): about $0.17 for 5 s at 720p; $0.001805 with LoRAs",
+ "byResolution": {
+ "480p": 0.016,
+ "720p": 0.0347,
+ "1080p": 0.0805
+ },
+ "withLoras": 0.039,
+ "withLorasByResolution": {
+ "480p": 0.018,
+ "720p": 0.039,
+ "1080p": 0.0905
+ },
+ "videoMegapixel": {
+ "usd": 0.001605,
+ "withLoras": 0.001805
+ }
+ }
}
];
diff --cc src/server/generations.ts
index 46ff06be,7d261b84..74eddcec
--- a/src/server/generations.ts
+++ b/src/server/generations.ts
@@@ -16,10 -16,8 +16,10 @@@ import { estimateCost, inferOperation,
import { framedLength, keepMatte } from "@/lib/catalog/payload";
import { fitLoras, loraName, lorasFit } from "@/lib/catalog/loras";
import { dualEngine, onEngine, pickEngine } from "@/lib/catalog/engines";
- import { promptWithLoras, soulKind, soulLook, soulPostSteps } from "@/lib/catalog/soul";
+ import { promptWithLoras, SOUL_MODELS, soulKind, soulLook, soulPostSteps } from "@/lib/catalog/soul";
import { isDop } from "@/lib/catalog/dop";
+import { MIXED_ORIGINAL, originalFrameSize } from "@/lib/catalog/mixed-media";
+import { imageSize } from "@/lib/image-size";
import { finishSteps } from "@/lib/soul-post";
import {
CHAIN_LIST_SLACK,
diff --cc tests/eval-harness.test.ts
index bcdabdfb,79e45301..e87b97df
--- a/tests/eval-harness.test.ts
+++ b/tests/eval-harness.test.ts
@@@ -35,9 -35,9 +35,11 @@@ const element = await import("@/app/api
const genjutsu = await import("@/app/api/genjutsu/route");
const genjutsuEstimate = await import("@/app/api/genjutsu/estimate/route");
const mixedEstimate = await import("@/app/api/mixed-media/estimate/route");
+const shortsEstimate = await import("@/app/api/shorts/estimate/route");
+const shortsSessions = await import("@/app/api/shorts/sessions/route");
const paletteLock = await import("@/app/api/palettes/lock/route");
+ const evolution = await import("@/app/api/evolution/route");
+ const evolutionEstimate = await import("@/app/api/evolution/estimate/route");
// The harness is plain ESM JavaScript (it runs with node, no build step).
const evalCli = (await import("../scripts/eval/eval.mjs")) as { main: (argv: string[], io?: object) => Promise<number> };
@@@ -74,9 -73,9 +76,11 @@@ const ROUTES: [string, RegExp, (req: Re
["POST", /^\/api\/genjutsu$/, (r) => genjutsu.POST(r)],
["POST", /^\/api\/genjutsu\/estimate$/, (r) => genjutsuEstimate.POST(r)],
["POST", /^\/api\/mixed-media\/estimate$/, (r) => mixedEstimate.POST(r)],
+ ["POST", /^\/api\/shorts\/estimate$/, (r) => shortsEstimate.POST(r)],
+ ["POST", /^\/api\/shorts\/sessions$/, (r) => shortsSessions.POST(r)],
["POST", /^\/api\/palettes\/lock$/, (r) => paletteLock.POST(r)],
+ ["POST", /^\/api\/evolution$/, (r) => evolution.POST(r)],
+ ["POST", /^\/api\/evolution\/estimate$/, (r) => evolutionEstimate.POST(r)],
];
let server: http.Server;
@@@ -242,16 -261,22 +266,32 @@@ describe("the runner on the demo provid
expect(row.outputs?.[0]?.kind).toBe("video");
});
+ it("runs a Shorts session through its route and measures the stitched clip", async () => {
+ const r = await cli(["run", "--suite", "shorts", "--engine", "demo", "--cases", "shorts/session", "--seeds", "1001", "--no-metrics"]);
+ expect(r.code, r.stderr).toBe(0);
+ const [row] = store.latestJobs(path.join(results, runIdFrom(r.stderr)));
+ expect(row.status, JSON.stringify(row)).toBe("succeeded");
+ expect((row.request as { route: string }).route).toBe("/api/shorts/sessions");
+ expect((row.request as { body: Record<string, unknown> }).body).toMatchObject({ engine: "open", modelId: "fuobe-shorts", presetId: "shorts-claymation", range: { start: 0, end: 6 } });
+ expect(row.outputs?.[0]?.kind).toBe("video");
+ });
+
+ it("runs Fuobe Evolution's suite on the demo provider: two references a case, three for the written direction", async () => {
+ const r = await cli(["run", "--suite", "evolution", "--engine", "demo", "--cases", "evolution/low,evolution/written", "--no-metrics"]);
+ expect(r.code, r.stderr).toBe(0);
+ const rows = store.latestJobs(path.join(results, runIdFrom(r.stderr)));
+ expect(rows.map((x) => [x.caseId, x.status]).sort()).toEqual([
+ ["evolution/low", "succeeded"],
+ ["evolution/written", "succeeded"],
+ ]);
+ const body = (id: string) => (rows.find((x) => x.caseId === id)!.request as { body: Record<string, unknown> }).body;
+ expect(body("evolution/low")).toMatchObject({ engine: "open", intensity: "low" });
+ expect(body("evolution/low").references).toHaveLength(2);
+ expect(body("evolution/written").references).toHaveLength(3);
+ expect(body("evolution/written").direction).toBeUndefined();
+ expect(rows.every((x) => x.outputs?.[0]?.kind === "video")).toBe(true);
+ });
+
it("runs Genjutsu's Character swap on the 6 s fixture clip: the part, the character, who to swap", async () => {
const r = await cli(["run", "--suite", "genjutsu", "--engine", "demo", "--cases", "genjutsu/character,genjutsu/character-plain", "--no-metrics"]);
expect(r.code, r.stderr).toBe(0);