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.

QMA and Remove dialogue follow-ups

Adarshbf24969931cb
diff --git a/docs/public-signup.md b/docs/public-signup.md
index 4ce7a870..ef18de82 100644
--- a/docs/public-signup.md
+++ b/docs/public-signup.md
@@ -203,9 +203,9 @@ cloudflared tunnel --url http://localhost:8188 # or: ngrok http 8188
soundtrack and Video tools → Remove dialogue (both `POST /api/audio-tools`) and the turnaround
video (`POST /api/turnaround`), though their price checks work, priced for the account's own
GPU. Split soundtrack's and Remove dialogue's pages say so up front ("Split soundtrack isn't
- available here", "Remove dialogue isn't available here"), with their upload and run off. Remove
- dialogue and Restore & colourise are also left out of the Video tools tabs and the result menus for a
- guest or an account.
+ available here", "Remove dialogue isn't available here"), with their upload and run off. Result
+ menus don't offer Remove dialogue to a guest or an account. Restore & colourise is left out of the
+ Video tools tabs and the result menus for them.
- **Files a run takes.** A run on your GPU takes only files you uploaded here, or your own results.
A link or a `data:` URI answers 400 with `code: "input-not-allowed"`, someone else's file 403
(`input-not-yours`), and a file that has expired 404 (`input-gone`, "That file has expired.
diff --git a/docs/research/new-models-10.json b/docs/research/new-models-10.json
index be76f864..d6a51a3f 100644
--- a/docs/research/new-models-10.json
+++ b/docs/research/new-models-10.json
@@ -809,7 +809,7 @@
"url": "https://huggingface.co/Qwen/Qwen3-TTS-12Hz-1.7B-Base",
"inFuobe": true,
"confirmed": true,
- "builtBy": "nm10-voice-design",
+ "builtBy": "Design a voice",
"revisions": {
"Qwen/Qwen3-TTS-12Hz-1.7B-Base": "fd4b254389122332181a7c3db7f27e918eec64e3",
"Qwen/Qwen3-TTS-12Hz-1.7B-VoiceDesign": "5ecdb67327fd37bb2e042aab12ff7391903235d3",
@@ -827,7 +827,7 @@
"url": "https://huggingface.co/openbmb/VoxCPM2",
"inFuobe": true,
"confirmed": true,
- "builtBy": "nm10-voice-design"
+ "builtBy": "Design a voice"
},
{
"name": "Fish Audio Drama 3",
@@ -840,7 +840,7 @@
"url": "https://huggingface.co/fishaudio/drama-3",
"inFuobe": false,
"confirmed": true,
- "consideredNotBuilt": "nm10-voice-design (2026-11-02): no local ComfyUI node (only the Fish Audio API partner node) and not hosted on fal or Replicate; running it locally needs an SGLang-Omni worker (35B MoE, about 40 GB). Left for a later package."
+ "consideredNotBuilt": "Design a voice (2026-11-02): no local ComfyUI node (only the Fish Audio API partner node) and not hosted on fal or Replicate; running it locally needs an SGLang-Omni worker (35B MoE, about 40 GB). Left for later."
},
{
"name": "VEED Dubbing / Dubbing Pro",
diff --git a/docs/research/new-models-10.md b/docs/research/new-models-10.md
index af438bf1..271bd076 100644
--- a/docs/research/new-models-10.md
+++ b/docs/research/new-models-10.md
@@ -61,7 +61,7 @@ Columns: licence as written by the publisher; VRAM as published (guesses are mar
| **FLUX 3 Image Klein** + Base + prompt upsampler (10-13) | 5.6B t2i, edit, up to 10 references, layout boxes; 16 steps (Base 50) | FLUX Kommunity License v1.0 (non-commercial; commercial output for < US$5M revenue); Qwen3-VL-4B encoder Apache-2.0; gated "auto" | int8 DiT 5.83 GB, encoder int8 4.86 GB, upsampler w4a8 6.72 GB; B200 peak 25-31 GB; 17.8 GB measured by Freefield | native (templates 10-15) | fal `blackforestlabs/flux-3/klein/*` incl. `/lora` and trainers (10-26) | no (round 4 parked it on licence) |
| Qwen-Image 2.1 speed: LightX2V Lightning 4-step (10-13), DMD2 2-step (10-23), Pruna P-Q-Image 6-step v0.2 (10-27), Fun Acc 4-step (09-24), Turbo8, Viggle Turbo | 2-8 steps at CFG 1 | Lightning Apache-2.0 (per comfyui-wiki; HF tag empty); the rest Qwen Research | LoRAs | LoRAs; Pruna ships official workflows | no | no (Fuobe has the official Turbo checkpoint) |
| **Zen Image Edit** (09-22) | Qwen-Image 2.1 with a 0.8B encoder (17.5 → 1.7 GB) + a cleaner VAE | Qwen Research | ~17.5 GB resident | custom (two routes) | no | no |
-| Qwen-Image 2.1 LoRAs: Next-Scene, Multiple-Angles (72 views), AnyAngle, Consistency, Restore, Outfit Swap, Head Swap (BFS), Fun ControlNet Union | storyboards, angles, edits on frame, control | Next-Scene / Multiple-Angles Apache-2.0 (per comfyui-wiki); AnyAngle MIT; others vary | LoRAs; ControlNet 7.5 GB | LoRAs / custom | fal has 2509/2511 gallery LoRAs only (fal's own Qwen-Image 2.1 and its edit, read 11-02, take no LoRAs) | QMA angles built (qma-angles, open engine) |
+| Qwen-Image 2.1 LoRAs: Next-Scene, Multiple-Angles (72 views), AnyAngle, Consistency, Restore, Outfit Swap, Head Swap (BFS), Fun ControlNet Union | storyboards, angles, edits on frame, control | Next-Scene / Multiple-Angles Apache-2.0 (per comfyui-wiki); AnyAngle MIT; others vary | LoRAs; ControlNet 7.5 GB | LoRAs / custom | fal has 2509/2511 gallery LoRAs only (fal's own Qwen-Image 2.1 and its edit, read 11-02, take no LoRAs) | QMA angles built (open engine) |
| Krea 2 BBOX (10-27), Kroma v0.3.1 (10-07), Krea 2 Turbo 2- and 3-step distills, Krea 2 Edit V2, Inpaint Edit, Lineart Edit, Anygles | layout boxes, speed, edits | Krea 2 Community; others unconfirmed | BBOX single files 26 GB | stock nodes / ComfyUI-Krea2Edit | no | Krea 2 family yes; these no |
| MOSS-Image Edit LoRA (10-22, core node), Edit HQ v5 (10-25), Kromoss (10-19, Apache-2.0), rapid-moss 4-step, DMD 8-step, MAX ULTRA LoHa (4 MP), Destripe, Color/Depth control (core), KohakuMoss trainer | edits, speed, hi-res, control | mostly Apache-2.0 / unconfirmed | LoRAs | core edit node after v0.42.1 | no | MOSS-Image yes; control queued (`n7-11`); edit no |
| Ming-Image 0.1 Design / Design-Layer (09-17) | design images, RGBA layer split | MIT | Comfy repack 162 GB, 80 GB GPU | Design native (v0.38) | no | no |
diff --git a/src/app/(studio)/canvas/page.tsx b/src/app/(studio)/canvas/page.tsx
index 7024d567..7f7eb328 100644
--- a/src/app/(studio)/canvas/page.tsx
+++ b/src/app/(studio)/canvas/page.tsx
@@ -6,11 +6,23 @@ import type { Engine } from "@/lib/catalog/types";
export const metadata: Metadata = { title: "Canvas" };
-/** One template's board outline and model names on an engine. */
+/**
+ * One template's board outline and model names on an engine, with the name a node falls back to when its model is
+ * switched off in Models & licences (the card swaps it in the browser, as the board the server makes does).
+ */
function forEngine(t: CanvasTemplate, engine: Engine): TemplateCardData["byEngine"][Engine] {
const graph = t.build(engine);
- const names = graph.nodes.filter(isGenerator).map((n) => getModel(n.data.modelId ?? "")?.name);
- return { outline: outline(graph), models: [...new Set(names.filter((m): m is string => !!m))] };
+ const nameOf = (id?: string) => getModel(id ?? "")?.name;
+ const names = graph.nodes.filter(isGenerator).map((n) => nameOf(n.data.modelId));
+ const without = t.build(engine, () => false).nodes;
+ const ifOff: NonNullable<TemplateCardData["byEngine"][Engine]["ifOff"]> = [];
+ for (const n of graph.nodes) {
+ const id = n.data.modelId;
+ const name = nameOf(id);
+ const instead = nameOf(without.find((x) => x.id === n.id)?.data.modelId);
+ if (id && name && instead && instead !== name && !ifOff.some((x) => x.id === id)) ifOff.push({ id, name, instead });
+ }
+ return { outline: outline(graph), models: [...new Set(names.filter((m): m is string => !!m))], ...(ifOff.length && { ifOff }) };
}
/** Template cards built here, so the browser never loads the model catalog for /canvas (nor for the pages that prefetch it). */
diff --git a/src/components/canvas/canvas-list.tsx b/src/components/canvas/canvas-list.tsx
index a52d36de..c8165596 100644
--- a/src/components/canvas/canvas-list.tsx
+++ b/src/components/canvas/canvas-list.tsx
@@ -16,10 +16,11 @@ import { EngineSwitch } from "@/components/studio/engine-switch";
import { PageShell } from "@/components/page-shell";
import { SelfHostNote } from "@/components/self-host-note";
import { CoverArt, CoverImg, useCoverPlayback } from "@/components/template-cover";
-import { useEngine, useIsVisitor } from "@/lib/api";
+import { useEngine, useIsVisitor, useModelAccess } from "@/lib/api";
// Types only: the catalog (models, templates) stays on the server; the page passes slim template cards.
import type { CanvasNodeType, CanvasSummary, Outline } from "@/lib/catalog/canvas";
import type { Engine } from "@/lib/catalog/types";
+import { offered, type AccessSummary } from "@/lib/model-access";
import { timeAgo } from "@/lib/format";
import { templateCover } from "@/lib/template-covers";
import { cn } from "@/lib/utils";
@@ -145,7 +146,14 @@ export interface TemplateCardData {
hue: number;
/** The picker's section (Effects 2.0 chains); none: the workflows. */
group?: string;
- byEngine: Record<Engine, { outline: Outline; models: string[] }>;
+ /** ifOff: a model's name and the one its node falls back to when the model is off on this install. */
+ byEngine: Record<Engine, { outline: Outline; models: string[]; ifOff?: { id: string; name: string; instead: string }[] }>;
+}
+
+/** The model names a card shows as this install offers them: a model that is off shows the one its node falls back to. */
+function offeredNames({ models, ifOff }: TemplateCardData["byEngine"][Engine], access: AccessSummary | undefined, engine: Engine): string[] {
+ if (!ifOff || !access) return models;
+ return [...new Set(models.map((m) => ifOff.find((x) => x.name === m && !offered(access, x.id, engine))?.instead ?? m))];
}
/** What each template section is, under its heading (a guest or an account runs a canvas on a self-hosted Fuobe only). */
@@ -155,8 +163,9 @@ const GROUP_NOTES: Record<string, (visitor: boolean) => string> = {
};
/** onUse: none for a guest or an account (a canvas is saved to the owner's library: the page says so once). */
-export function TemplateCard({ t, engine, onUse, busy }: { t: TemplateCardData; engine: Engine; onUse?: () => void; busy: boolean }) {
- const { outline, models } = t.byEngine[engine];
+export function TemplateCard({ t, engine, onUse, busy, access }: { t: TemplateCardData; engine: Engine; onUse?: () => void; busy: boolean; access?: AccessSummary }) {
+ const { outline } = t.byEngine[engine];
+ const models = offeredNames(t.byEngine[engine], access, engine);
// Its real cover when it has one (what it makes: a still, a clip, or its frames side by side), with the board in
// miniature over a corner; else the board alone.
const cover = templateCover("canvas", t.id);
@@ -222,6 +231,7 @@ function ListInner({ templates }: { templates: TemplateCardData[] }) {
const [deleting, setDeleting] = useState<CanvasSummary | null>(null);
// A canvas is saved to the studio's library, which is its owner's: a guest or an account can look, not start one.
const visitor = useIsVisitor();
+ const access = useModelAccess();
const items = (canvases.data ?? []).filter((c) => !q || c.name.toLowerCase().includes(q.toLowerCase()));
const setTab = (t: "mine" | "templates") => router.replace(t === "templates" ? "/canvas?tab=templates" : "/canvas", { scroll: false });
@@ -342,7 +352,7 @@ function ListInner({ templates }: { templates: TemplateCardData[] }) {
{templates
.filter((t) => (t.group ?? "") === group)
.map((t) => (
- <TemplateCard key={t.id} t={t} engine={engine} busy={creating === t.id} onUse={visitor ? undefined : () => void start(t.id, { templateId: t.id, engine })} />
+ <TemplateCard key={t.id} t={t} engine={engine} access={access} busy={creating === t.id} onUse={visitor ? undefined : () => void start(t.id, { templateId: t.id, engine })} />
))}
</div>
</section>
diff --git a/src/components/cinema/soul-builders.tsx b/src/components/cinema/soul-builders.tsx
index 235217ac..2caf69cc 100644
--- a/src/components/cinema/soul-builders.tsx
+++ b/src/components/cinema/soul-builders.tsx
@@ -12,7 +12,7 @@ import { Switch } from "@/components/ui/switch";
import { Textarea } from "@/components/ui/textarea";
import { useSoulFinish } from "@/components/studio/soul-finish";
import { TurnaroundButton } from "@/components/turnaround/turnaround-dialog";
-import { useLikelyVisitor, useSaveElement, useStatus } from "@/lib/api";
+import { useLikelyVisitor, useModelAccess, useSaveElement, useStatus } from "@/lib/api";
import { getModel } from "@/lib/catalog";
import {
CAST_LOOK,
@@ -36,6 +36,7 @@ import {
import { soulLook } from "@/lib/catalog/soul";
import { sheetPictures } from "@/lib/catalog/turnaround";
import { finishedUrl } from "@/lib/soul-post";
+import { offered } from "@/lib/model-access";
import { QMA_MODEL } from "@/lib/qma";
import type { Engine, Generation } from "@/lib/catalog/types";
import { formatCost } from "@/lib/format";
@@ -396,7 +397,8 @@ function SoulLocation({ projectId, folderId, engine, settings, context, brief, o
const [picked, setPicked] = useState<string[]>([]);
// Other views on your GPU: the Multiple-Angles default, or QMA · 96 views, when this install offers it.
const [qma, setQma] = useState(false);
- const qmaOffered = engine === "open" && !!getModel(QMA_MODEL);
+ const access = useModelAccess();
+ const qmaOffered = engine === "open" && !!getModel(QMA_MODEL) && offered(access, QMA_MODEL, "open");
// The hint about your GPU is for the studio's own install: guests and accounts run in the cloud.
const visitor = useLikelyVisitor();
const { generate, results, setIds, current } = useBuilderRun(projectId);
diff --git a/src/components/turnaround/turnaround-dialog.tsx b/src/components/turnaround/turnaround-dialog.tsx
index 8e0f2608..7d7248c6 100644
--- a/src/components/turnaround/turnaround-dialog.tsx
+++ b/src/components/turnaround/turnaround-dialog.tsx
@@ -13,7 +13,7 @@ import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } f
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger } from "@/components/ui/dropdown-menu";
import { Progress } from "@/components/ui/progress";
import { Switch } from "@/components/ui/switch";
-import { useEngine, useGenerations } from "@/lib/api";
+import { useEngine, useGenerations, useLikelyVisitor } from "@/lib/api";
import { SOUL_ID_COPY } from "@/lib/catalog/training";
import {
FILL_NAMES,
@@ -165,8 +165,10 @@ function Thumb({ url, className }: { url?: string; className?: string }) {
}
function TurnaroundForm({ pictures, name, realPerson: realDefault = false, elementId, engine: fixedEngine, onRun, title, flyAround, fictional, route: startRoute, onStarted }: Props & { onStarted: (run: Run) => void }) {
- const [appEngine, setAppEngine] = useEngine();
+ const [appEngine, setAppEngine, engineMode] = useEngine();
const engine = fixedEngine ?? appEngine;
+ // The note about your GPU is for the studio's own install with both engines: guests and accounts run in the cloud.
+ const visitor = useLikelyVisitor();
const start = useMemo(() => startingViews(pictures), [pictures]);
const [views, setViews] = useState<Partial<Record<TurnSide, string>>>(start.views);
const [sheet, setSheet] = useState<string | undefined>(start.sheet);
@@ -332,7 +334,7 @@ function TurnaroundForm({ pictures, name, realPerson: realDefault = false, eleme
<Chips label="Route" value={usedRoute} options={p.routes.map((r) => ({ value: r, label: TURN_ROUTES[r].name }))} onChange={(v) => setRoute(v as TurnRoute)} hint={usedRoute ? TURN_ROUTES[usedRoute].detail : undefined} />
)}
{p && p.routes.length === 1 && usedRoute && <p className="text-[12px] text-muted-foreground">{TURN_ROUTES[usedRoute].detail}.</p>}
- {engine === "cloud" && <p className="text-[12px] text-muted-foreground">The 8-view still set, and sides drawn with QMA · 96 views, run on your GPU (open source).</p>}
+ {engine === "cloud" && !visitor && engineMode === "both" && <p className="text-[12px] text-muted-foreground">The 8-view still set, and sides drawn with QMA · 96 views, run on your GPU (open source).</p>}
{camera && <Chips label="Path" value={path ?? TURN_PATHS[0].id} options={TURN_PATHS.map((x) => ({ value: x.id, label: x.name }))} onChange={setPath} hint={TURN_PATHS.find((x) => x.id === (path ?? TURN_PATHS[0].id))?.description} />}
<div className="flex flex-wrap gap-x-6 gap-y-3">
{p && p.durations.length > 0 && <Chips label="Length" value={String(p.duration)} options={p.durations.map((d) => ({ value: String(d), label: `${d} s` }))} onChange={(v) => setDuration(Number(v))} />}
diff --git a/src/lib/catalog/canvas.ts b/src/lib/catalog/canvas.ts
index 90b22d9b..8f72cfd3 100644
--- a/src/lib/catalog/canvas.ts
+++ b/src/lib/catalog/canvas.ts
@@ -1921,11 +1921,12 @@ export const CANVAS_TEMPLATES: CanvasTemplate[] = [
build: tpl(
[
{ id: "product", type: "image-input", x: 0, y: ROW, data: { label: "Product photo" } },
- // On your GPU the three angles are QMA · 96 views: the camera itself turns (its pose in params.extra) and
+ // On your GPU the front and side angles are QMA · 96 views: the camera itself turns (its pose in params.extra) and
// the words follow its camera words, so a board switched to the cloud keeps each angle. Without QMA offered: Qwen-Image 2.1.
+ // The top-down flat lay stays on Qwen-Image 2.1: QMA's highest camera is a high angle, not straight down.
{ id: "front", type: "model", x: COL, y: 0, data: { mediaKind: "image", label: "Front ¾ angle", op: "edit", prompt: "The same product from a three-quarter front angle on a seamless studio background, soft key light, sharp details" }, models: { cloud: "nano-banana-pro", open: QMA_MODEL, fallback: { open: "oss-qwen-image-21" } }, on: { open: { params: { extra: { horizontal_angle: 45, vertical_angle: 30, zoom: 5 } } } } },
{ id: "side", type: "model", x: COL, y: ROW, data: { mediaKind: "image", label: "Side profile", op: "edit", prompt: "The same product in a clean side profile on a seamless studio background, rim light, sharp details" }, models: { cloud: "nano-banana-pro", open: QMA_MODEL, fallback: { open: "oss-qwen-image-21" } }, on: { open: { params: { extra: { horizontal_angle: 90, vertical_angle: 0, zoom: 5 } } } } },
- { id: "top", type: "model", x: COL, y: ROW * 2, data: { mediaKind: "image", label: "Top-down", op: "edit", prompt: "The same product shot top-down as a flat lay on a seamless studio background, even light" }, models: { cloud: "nano-banana-pro", open: QMA_MODEL, fallback: { open: "oss-qwen-image-21" } }, on: { open: { params: { extra: { horizontal_angle: 0, vertical_angle: 60, zoom: 5 } } } } },
+ { id: "top", type: "model", x: COL, y: ROW * 2, data: { mediaKind: "image", label: "Top-down", op: "edit", prompt: "The same product shot top-down as a flat lay on a seamless studio background, even light" }, models: { cloud: "nano-banana-pro", open: "oss-qwen-image-21" } },
{ id: "video", type: "model", x: COL * 2, y: ROW - 40, data: { mediaKind: "video", label: "Ad clip", op: "ref2v", prompt: "A premium product commercial: the camera orbits the product from the reference angles, studio lighting, slow and smooth", params: { aspectRatio: "16:9", duration: 5 } }, models: { cloud: "seedance-2-5", open: "oss-wan-vace" } },
{ id: "out", type: "output", x: COL * 3, y: ROW, data: { label: "Ad" } },
],
diff --git a/src/lib/catalog/storyboard.ts b/src/lib/catalog/storyboard.ts
index 62057282..f736617a 100644
--- a/src/lib/catalog/storyboard.ts
+++ b/src/lib/catalog/storyboard.ts
@@ -11,8 +11,8 @@
*
* The board is Fuobe's open recipe on both engines: on your GPU each next frame is Qwen-Image 2.1 with akhaliq's 2.1
* Next-Scene LoRA, or the classic Qwen-Image-Edit 2509 + next-scene LoRA when the board asks for it
- * (`nextScene`); in the cloud fal's hosted Qwen-Image-Edit 2509 with the 2509 LoRA (sent as a URL), as Qwen-Image 2.1 isn't
- * hosted. Nano Banana Pro stays a separate choice in the cloud (`partner`), every frame on it as boards ran before.
+ * (`nextScene`); in the cloud fal's hosted Qwen-Image-Edit 2509 with the 2509 LoRA (sent as a URL), as fal's hosted Qwen-Image
+ * 2.1 takes no LoRAs. Nano Banana Pro stays a separate choice in the cloud (`partner`), every frame on it as boards ran before.
*/
import { loraEntry, loraRef } from "./loras";
import type { ChainSlot, Engine, GenerationRequest, LoraRef } from "./types";
diff --git a/src/lib/hubs.ts b/src/lib/hubs.ts
index c7f02582..36c82ffe 100644
--- a/src/lib/hubs.ts
+++ b/src/lib/hubs.ts
@@ -5,7 +5,10 @@
*/
export type HubKind = "audio" | "video-tools" | "upscale";
-/** ownerOnly: a mode that runs on a self-hosted Fuobe only and is new there; its tab is left out for a guest or an account. */
+/**
+ * ownerOnly: a mode a guest or an account doesn't see at all (its tab is left out for them). A tool that runs on a
+ * self-hosted Fuobe only keeps its tab, and its page says up front that it isn't available here.
+ */
export const HUB_MODES: Record<HubKind, { id: string; label: string; ownerOnly?: true }[]> = {
upscale: [
{ id: "image", label: "Image" },
@@ -32,7 +35,7 @@ export const HUB_MODES: Record<HubKind, { id: string; label: string; ownerOnly?:
"video-tools": [
{ id: "matte", label: "Remove background" },
{ id: "remove-object", label: "Remove object" },
- { id: "remove-dialogue", label: "Remove dialogue", ownerOnly: true },
+ { id: "remove-dialogue", label: "Remove dialogue" },
{ id: "evolution", label: "Evolution" },
{ id: "restore", label: "Restore & colourise", ownerOnly: true },
{ id: "relight", label: "Relight" },
diff --git a/src/lib/qwen21-speed.ts b/src/lib/qwen21-speed.ts
index 888bf032..6868e420 100644
--- a/src/lib/qwen21-speed.ts
+++ b/src/lib/qwen21-speed.ts
@@ -14,7 +14,7 @@ import type { ModelOptions } from "@/lib/catalog/types";
* there (src/server/qwen21-gpu.ts decides once per run, so the pre-flight and the run take the same graph).
* - Options → Decoder: the Texture-Fix VAE ("Clean") in place of the stock decoder; off until tested.
*
- * Qwen-Image 2.1 isn't hosted on fal or Replicate, so all of this is the open engine's.
+ * fal's hosted Qwen-Image 2.1 takes no LoRAs or speed graphs, so these options are the open engine's.
*/
export type Qwen21Speed = "full" | "turbo" | "fast" | "details" | "draft";
diff --git a/tests/qma-angles.test.ts b/tests/qma-angles.test.ts
index 04be8ee5..ab4f92a8 100644
--- a/tests/qma-angles.test.ts
+++ b/tests/qma-angles.test.ts
@@ -211,21 +211,27 @@ describe("the turnaround", () => {
});
describe("the Canvas product angles and the GPU board", () => {
- it("runs the three angles on QMA on your GPU, with the camera in each node's settings", () => {
+ it("runs the front and side angles on QMA on your GPU, with the camera in each node's settings", () => {
const t = CANVAS_TEMPLATES.find((x) => x.id === "product-angles")!;
const open = t.build("open");
const cloud = t.build("cloud");
for (const id of ["front", "side", "top"]) {
- const o = open.nodes.find((n) => n.id === id)!;
- expect(o.data.modelId).toBe(QMA_MODEL);
- expect(o.data.params?.extra).toHaveProperty("horizontal_angle");
const c = cloud.nodes.find((n) => n.id === id)!;
expect(c.data.modelId).toBe("nano-banana-pro");
expect(c.data.params).toBeUndefined();
}
+ for (const id of ["front", "side"]) {
+ const o = open.nodes.find((n) => n.id === id)!;
+ expect(o.data.modelId).toBe(QMA_MODEL);
+ expect(o.data.params?.extra).toHaveProperty("horizontal_angle");
+ }
+ // QMA has no straight-down camera: the flat lay stays a plain edit.
const top = open.nodes.find((n) => n.id === "top")!;
- expect(planGeneration({ feature: "canvas", modelId: QMA_MODEL, prompt: top.data.prompt ?? "", inputs: { images: ["/api/files/p.png"] }, params: top.data.params }, getModel, getPreset).prompt).toBe(
- "<qma> front view high-angle shot medium shot The same product shot top-down as a flat lay on a seamless studio background, even light",
+ expect(top.data.modelId).toBe("oss-qwen-image-21");
+ expect(top.data.params?.extra).toBeUndefined();
+ const side = open.nodes.find((n) => n.id === "side")!;
+ expect(planGeneration({ feature: "canvas", modelId: QMA_MODEL, prompt: side.data.prompt ?? "", inputs: { images: ["/api/files/p.png"] }, params: side.data.params }, getModel, getPreset).prompt).toMatch(
+ /^<qma> .*The same product in a clean side profile/,
);
});
diff --git a/tests/regenerate-offered.test.ts b/tests/regenerate-offered.test.ts
index 3572f816..a94a9ec9 100644
--- a/tests/regenerate-offered.test.ts
+++ b/tests/regenerate-offered.test.ts
@@ -87,8 +87,8 @@ describe("tools a guest or an account can't open", () => {
expect(ids(upload(), { visitor: true })).not.toContain("restore-video");
});
- it("marks their Video tools tabs as the owner's only", () => {
+ it("leaves only Restore & colourise's Video tools tab out for a visitor: Remove dialogue's page says it isn't available here", () => {
const tabs = Object.fromEntries(HUB_MODES["video-tools"].map((m) => [m.id, m.ownerOnly ?? false]));
- expect(tabs).toMatchObject({ restore: true, "remove-dialogue": true, matte: false, evolution: false });
+ expect(tabs).toMatchObject({ restore: true, "remove-dialogue": false, matte: false, evolution: false });
});
});