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
Self-hosted: one plain label for models that run on a visitor's own setup
Adarsh0917a5069cf8
diff --git a/src/components/studio/composer.tsx b/src/components/studio/composer.tsxindex 7c406d1b..2e3e7604 100644--- a/src/components/studio/composer.tsx+++ b/src/components/studio/composer.tsx@@ -38,7 +38,7 @@ import { PlaceIntro } from "./place-intro";import { PoolNote } from "./pool-note";import { EndFrameNote } from "./end-frame-note";import { modelOwnSetup, pickerRules } from "@/lib/pool-rules";-import { carryParams, closestHere, hereDefault, hereOwnLink, hereReason, hereRunLabel, hereSetup, runsHere } from "@/lib/runnable-here";+import { carryParams, closestHere, HERE_SET_UP, hereDefault, hereReason, hereRunLabel, hereSetup, runsHere } from "@/lib/runnable-here";import { useHere } from "@/hooks/use-pool-rules";import { controlSetup, keyOnlySetup } from "@/lib/own-setup-controls";import { ownSetupDetail, ownSetupLabel, ownSetupShort } from "@/lib/own-setup";@@ -2224,7 +2224,7 @@ export function Composer({ docked }: { docked: boolean }) {className="h-10 min-w-0 shrink gap-1.5 rounded-full px-4 text-[13px] font-medium max-sm:w-full">{altRun || create.isPending ? <Loader2 className="motion-spinner size-4 shrink-0" /> : <ArrowUp className="size-4 shrink-0" />}- <span className="truncate">{hereRunLabel(hereAlt, here?.owner)}</span>+ <span className="truncate">{hereRunLabel(hereAlt, sitePlace.text, here?.owner)}</span></Button>) : (<Tooltip>@@ -2263,10 +2263,10 @@ export function Composer({ docked }: { docked: boolean }) {<div aria-live="polite">{hereAlt && hereNeed && model && (<p data-here-alt className="flex flex-wrap items-center gap-x-2 px-2 text-[12px] text-muted-foreground">- <span className="inline-flex min-h-6 items-center">{hereReason(model, here?.owner ? "a worker" : sitePlace.text)}</span>+ <span className="inline-flex min-h-6 items-center">{hereReason(model, hereNeed, here?.owner)}</span>{here?.owner ? (<Link href="/settings/workers" className="inline-flex min-h-6 items-center font-medium text-brand-text underline-offset-2 hover:underline">- {hereOwnLink(model.name, hereNeed, true)} →+ {HERE_SET_UP} →</Link>) : (<button@@ -2276,7 +2276,7 @@ export function Composer({ docked }: { docked: boolean }) {onClick={hereOwn}className="inline-flex min-h-6 items-center text-left font-medium text-brand-text underline-offset-2 hover:underline">- {hereOwnLink(model.name, hereNeed)} →+ {HERE_SET_UP} →</button>)}</p>diff --git a/src/lib/catalog/regenerate.ts b/src/lib/catalog/regenerate.tsindex 675e81c3..5ac9ea0b 100644--- a/src/lib/catalog/regenerate.ts+++ b/src/lib/catalog/regenerate.ts@@ -389,7 +389,7 @@ export const REGEN_COPY = {/** The owner's GPU line (the install detail is theirs to act on). */gpu: "About 3 minutes per 5 s at 2K on a 72 GB GPU. Needs about 40 GB of new files (OPEN_H3_REGEN=1 in install-comfyui.sh).",/** The same line for guests and accounts. */- gpuVisitor: "Runs on your own GPU · about 3 minutes per 5 s at 2K",+ gpuVisitor: "Self-hosted · about 3 minutes per 5 s at 2K",/** Results are 16:9 or 9:16 whatever the clip's shape. */shape: "Comes out 16:9, or 9:16 for a tall clip: other shapes are cropped to fit.",/** The owner's refusal when the server's ComfyUI lacks the nodes. */diff --git a/src/lib/own-setup.ts b/src/lib/own-setup.tsindex b51946bf..b98bda71 100644--- a/src/lib/own-setup.ts+++ b/src/lib/own-setup.ts@@ -165,23 +165,16 @@ export const keyName = (p: string): string => KEY_NAME[p] ?? p;export const MODEL3D_SETUP: OwnSetup = { need: "gpu", vramGb: 24 };/**- * The label next to an item: "Runs on your own GPU · 48 GB", "Set up on your computer", "Use your own- * fal.ai key". Plain and positive: what to use, never why.+ * The label next to an item: "Self-hosted", or "Self-hosted · your fal.ai key" where only a key runs it. Plain and+ * positive: what it is, never why; the card's memory and the steps are the detail's (ownSetupDetail).*/export function ownSetupLabel(o: OwnSetup): string {- if (o.need === "key") return `Use your own ${keyName(o.provider)} key`;- const gb = o.vramGb ? ` · ${o.vramGb} GB` : "";- if (o.linux) return `Runs on your own Linux GPU${gb}`;- if (o.orKey) return `Runs on your own GPU${gb} or ${keyName(o.orKey)} key`;- if (!o.vramGb && o.files) return "Set up on your computer";- return `Runs on your own GPU${gb}`;+ return o.need === "key" ? `Self-hosted · your ${keyName(o.provider)} key` : "Self-hosted";}-/** The short label where a phone has no room: "Your GPU · 48 GB", "Your fal.ai key". */+/** The short label where a phone has no room: "Self-hosted", "Self-hosted · fal.ai key". */export function ownSetupShort(o: OwnSetup): string {- if (o.need === "key") return `Your ${keyName(o.provider)} key`;- if (o.orKey) return `GPU or ${keyName(o.orKey)} key`;- return `Your GPU${o.vramGb ? ` · ${o.vramGb} GB` : ""}`;+ return o.need === "key" ? `Self-hosted · ${keyName(o.provider)} key` : "Self-hosted";}/** One sentence for a tooltip or a card: what the visitor sets up, and where. */diff --git a/src/lib/runnable-here.ts b/src/lib/runnable-here.tsindex 58ea0df3..3f219efe 100644--- a/src/lib/runnable-here.ts+++ b/src/lib/runnable-here.ts@@ -1,5 +1,5 @@import type { GenParams, ModelDef, Operation } from "./catalog/types";-import { keyName, type OwnSetup } from "./own-setup";+import { keyName, ownSetupLabel, type OwnSetup } from "./own-setup";import { modelOwnSetup, runsGoHere, type PoolRules } from "./pool-rules";/**@@ -52,29 +52,30 @@ export function hereSetup(here: Here | null | undefined, m: Pick<ModelDef, "id"export const runsHere = (here: Here | null | undefined, m: Pick<ModelDef, "id" | "kind" | "engine">): boolean => !hereSetup(here, m);/**- * The short positive tag on a "More models" row: "With your GPU · 24 GB", "With your fal.ai key", "With your GPU or- * fal.ai key"; the owner's "Add to a worker".+ * The short positive tag on a "More models" row: the own-setup label ("Self-hosted", "Self-hosted · your fal.ai key");+ * the owner's "Add to a worker".*/export function hereTag(o: OwnSetup, owner = false): string {- if (owner) return "Add to a worker";- if (o.need === "key") return `With your ${keyName(o.provider)} key`;- if (o.orKey) return `With your GPU or ${keyName(o.orKey)} key`;- return `With your GPU${o.vramGb ? ` · ${o.vramGb} GB` : ""}`;+ return owner ? "Add to a worker" : ownSetupLabel(o);}-/** The link under the free alternative, to the model's own setup: "Use LTX-2.5 with your own GPU" (the owner: a worker). */-export function hereOwnLink(name: string, o: OwnSetup, owner = false): string {- if (owner) return `Add ${name} to a worker`;- if (o.need === "key") return `Use ${name} with your ${keyName(o.provider)} key`;- if (o.orKey) return `Use ${name} with your own GPU or key`;- return `Use ${name} with your own GPU`;-}+/** The link under the free alternative, to the model's own setup (Connect your GPU, Add your key, a guest's sign-up). */+export const HERE_SET_UP = "Set it up";-/** The primary button's words for the free alternative: "Run free with LTX-2.3" (the owner's runs are his: "Run with"). */-export const hereRunLabel = (alt: Pick<ModelDef, "name">, owner = false): string => `${owner ? "Run with" : "Run free with"} ${alt.name}`;+/**+ * The primary button's words for the free alternative: "Run free on Fuobe Cloud with MiniMax H3" (the owner's runs are+ * his: "Run with MiniMax H3").+ */+export const hereRunLabel = (alt: Pick<ModelDef, "name">, place: string, owner = false): string => (owner ? `Run with ${alt.name}` : `Run free on ${place} with ${alt.name}`);-/** The one-line reason beside it: "LTX-2.5 isn't on Fuobe Cloud yet". */-export const hereReason = (m: Pick<ModelDef, "name">, place: string): string => `${m.name} isn't on ${place} yet`;+/**+ * The line under it: "LTX-2.5 runs self-hosted for now — on your own GPU or with your own key." (what runs it: a GPU, a+ * key, or either); the owner's: add its files to a worker.+ */+export function hereReason(m: Pick<ModelDef, "name">, o: OwnSetup, owner = false): string {+ const how = owner ? "add its files to a worker" : o.need === "key" ? `with your own ${keyName(o.provider)} key` : o.orKey ? "on your own GPU or with your own key" : "on your own GPU";+ return `${m.name} runs self-hosted for now — ${how}.`;+}/** What the draft asks for that a stand-in should keep: its operation, settings and how many pictures it sends. */export interface HereAsk {diff --git a/src/server/hosted.ts b/src/server/hosted.tsindex 1b824eb8..cb806194 100644--- a/src/server/hosted.ts+++ b/src/server/hosted.ts@@ -197,18 +197,18 @@ export function runOnPool<T>(accountId: string | null, fn: () => T): T {* Words for runs on this install's GPUs, with the name visitors read for them (`place`, src/server/place-name.ts). Every* sentence fits any name: no verb agrees with it.*- * What these GPUs don't run is a label, never a refusal: the price slot says where it runs ("Runs on your own GPU"), its+ * What these GPUs don't run is a label, never a refusal: the price slot says where it runs ("Self-hosted"), its* tooltip says what to do (hostedDetails), and Run opens the way there (Connect your GPU, or a guest's sign-up). The* same labels for a guest and an account.*/export function hostedWords(place: Place) {return {- notOffered: "Runs on your own GPU",- loras: "LoRAs run on your own GPU",- files: "This style runs on your own GPU",- inputs: "This file runs on your own GPU",- rtxCard: "Runs on your own RTX GPU",- size: "This size runs on your own GPU",+ notOffered: "Self-hosted",+ loras: "LoRAs run self-hosted",+ files: "This style runs self-hosted",+ inputs: "This file runs self-hosted",+ rtxCard: "Self-hosted · RTX GPU",+ size: "This size runs self-hosted",notHosted: `Your account can't run on ${place.text} right now. Your own GPU or key still works.`,};}diff --git a/tests/account-3d-apps.test.ts b/tests/account-3d-apps.test.tsindex 1cbab4c6..1fe44129 100644--- a/tests/account-3d-apps.test.ts+++ b/tests/account-3d-apps.test.ts@@ -179,7 +179,7 @@ describe("an account's 3D app runs on its own ComfyUI", () => {it("the same run stamped for this install's GPUs is refused when it is made", () => {const req = imageTo3dApp(photo) as Parameters<typeof createGenerations>[0];- expect(() => asAccount(a, () => withRunStamp({ place: "pool" }, () => createGenerations(req)))).toThrow("Runs on your own GPU · 24 GB");+ expect(() => asAccount(a, () => withRunStamp({ place: "pool" }, () => createGenerations(req)))).toThrow("Self-hosted");// A place in the request itself is dropped: only the stamp in scope sets it.const own = asAccount(a, () => createGenerations({ ...req, place: "pool" } as never));expect(own[0].request.place).toBeUndefined();diff --git a/tests/account-image-to-3d.test.ts b/tests/account-image-to-3d.test.tsindex 83edb7f2..6a0f7463 100644--- a/tests/account-image-to-3d.test.ts+++ b/tests/account-image-to-3d.test.ts@@ -326,7 +326,7 @@ describe("3D is allowed on the account's own GPU or key, and refused on this insit("a run stamped for this install's GPUs is refused when it is made; the account's own is made", () => {const photo = runAsTenant({ kind: "account", id: a }, () => saveFile({ data: TINY_PNG, contentType: "image/png", source: "upload", name: "p.png" }).url);const req = fromImage(photo);- expect(() => asAccount(a, () => withRunStamp({ place: "pool" }, () => createGenerations(req)))).toThrow("Runs on your own GPU · 24 GB");+ expect(() => asAccount(a, () => withRunStamp({ place: "pool" }, () => createGenerations(req)))).toThrow("Self-hosted");const made = asAccount(a, () => createGenerations(req));expect(made[0].kind).toBe("model3d");expect(made[0].request.account).toBe(a);diff --git a/tests/glb-finish-safety.test.ts b/tests/glb-finish-safety.test.tsindex 500b1e53..d9397c7e 100644--- a/tests/glb-finish-safety.test.ts+++ b/tests/glb-finish-safety.test.ts@@ -12,7 +12,7 @@ const { saveFile } = await import("@/server/storage");const { asAccount, createGenerations } = await import("@/server/generations");const { db } = await import("@/server/db");const { withRunStamp } = await import("@/server/run-stamp");-const MODEL3D_LABEL = "Runs on your own GPU · 24 GB";+const MODEL3D_LABEL = "Self-hosted";afterAll(() => {delete process.env.FUOBE_TEST_SECRET;});diff --git a/tests/hi3d-refine.test.ts b/tests/hi3d-refine.test.tsindex 751946ea..fa31a247 100644--- a/tests/hi3d-refine.test.ts+++ b/tests/hi3d-refine.test.ts@@ -23,7 +23,7 @@ const { getModel, getPreset, MODELS } = await import("@/lib/catalog");const { inferOperation, planGeneration } = await import("@/lib/catalog/plan");const { OPERATION_OUTPUT } = await import("@/lib/catalog/types");const { buildLicenceList, licenceInfo, licenceTerms, NODE_PACKS } = await import("@/lib/licences");-const MODEL3D_LABEL = "Runs on your own GPU · 24 GB";+const MODEL3D_LABEL = "Self-hosted";const { withRunStamp } = await import("@/server/run-stamp");const hi3d = await import("@/lib/av/hi3d");const m3d = await import("@/lib/av/model3d");diff --git a/tests/hosted-app-runs.test.ts b/tests/hosted-app-runs.test.tsindex 8f55c4b5..9ab10a40 100644--- a/tests/hosted-app-runs.test.ts+++ b/tests/hosted-app-runs.test.ts@@ -126,7 +126,7 @@ const CASES: Case[] = [{ name: "Character Sheet", route: routes.character, url: "/api/photodump/character", body: () => ({ mode: "describe", engine: "open", prompt: "a surfer from Lisbon" }) },// The turnaround's angle LoRA isn't one this install's GPUs carry yet, and Fly around's path is drawn from a 3D step.{ name: "Turnaround", route: routes.turnaround, url: "/api/turnaround", body: (pic) => ({ engine: "open", views: { front: pic, back: pic } }), ownOnly: HOSTED_WORDS.notOffered },- { name: "Fly around", route: routes.flyAround, url: "/api/fly-around", body: (pic) => ({ engine: "open", image: pic, orbit: { degrees: 90, direction: "cw" } }), ownOnly: /^Runs on your own GPU · \d+ GB$/ },+ { name: "Fly around", route: routes.flyAround, url: "/api/fly-around", body: (pic) => ({ engine: "open", image: pic, orbit: { degrees: 90, direction: "cw" } }), ownOnly: /^Self-hosted$/ },];describe("hosted runs off: an account's app runs as any tool run, on its own GPU", () => {diff --git a/tests/hosted-runs-kandinsky6.test.ts b/tests/hosted-runs-kandinsky6.test.tsindex 60b54d4c..f9b9aa35 100644--- a/tests/hosted-runs-kandinsky6.test.ts+++ b/tests/hosted-runs-kandinsky6.test.ts@@ -71,7 +71,7 @@ describe("Kandinsky 6.0 on this install's GPUs", () => {const refused = await decidePlace(account, req, undefined);expect(refused.kind, req.modelId).toBe("refuse");// A label, never a refusal: the run's answer opens Connect your GPU.- if (refused.kind === "refuse") expect(refused.refusal.body).toMatchObject({ code: "connect-gpu", error: "This file runs on your own GPU", ownSetup: { need: "gpu" } });+ if (refused.kind === "refuse") expect(refused.refusal.body).toMatchObject({ code: "connect-gpu", error: "This file runs self-hosted", ownSetup: { need: "gpu" } });fake.policy = { ...FAKE_POLICY, uploads: { ...FAKE_POLICY.uploads, [kind]: true } };billing.resetBillingCache();expect((await decidePlace(account, req, undefined)).kind, req.modelId).toBe("pool");diff --git a/tests/hosted-runs-voice-design.test.ts b/tests/hosted-runs-voice-design.test.tsindex 8be01d99..239bd4eb 100644--- a/tests/hosted-runs-voice-design.test.ts+++ b/tests/hosted-runs-voice-design.test.ts@@ -69,7 +69,7 @@ describe("Design a voice on this install's GPUs", () => {it("a clone reads a voice sample: offered only when the policy takes audio uploads", async () => {const refused = await decidePlace(account, clone, undefined);expect(refused.kind).toBe("refuse");- if (refused.kind === "refuse") expect(refused.refusal.body).toMatchObject({ code: "connect-gpu", error: "This file runs on your own GPU" });+ if (refused.kind === "refuse") expect(refused.refusal.body).toMatchObject({ code: "connect-gpu", error: "This file runs self-hosted" });fake.policy = { ...FAKE_POLICY, uploads: { ...FAKE_POLICY.uploads, audio: true } };billing.resetBillingCache();expect((await decidePlace(account, clone, undefined)).kind).toBe("pool");diff --git a/tests/hosted-runs.test.ts b/tests/hosted-runs.test.tsindex 2959322b..eab51a18 100644--- a/tests/hosted-runs.test.ts+++ b/tests/hosted-runs.test.ts@@ -121,7 +121,7 @@ describe("hosted runs on", () => {// A label, never a refusal: the answer opens Connect your GPU, with what it needs in a header.expect(loras.headers.get("x-fuobe-connect-gpu")).toBe("1");expect(JSON.parse(decodeURIComponent(loras.headers.get("x-fuobe-own-setup") ?? "null"))).toMatchObject({ need: "gpu" });- expect((await loras.json()) as { code: string; error: string }).toMatchObject({ code: "connect-gpu", error: "LoRAs run on your own GPU" });+ expect((await loras.json()) as { code: string; error: string }).toMatchObject({ code: "connect-gpu", error: "LoRAs run self-hosted" });process.env.FUOBE_BILLING_URL = fake.url;process.env.FUOBE_BILLING_TOKEN = "test-billing-token";fake.policy = { ...fake.policy, pool: { deny: ["oss-z-image-turbo"] } };@@ -130,7 +130,7 @@ describe("hosted runs on", () => {// The same: its label, and the answer opens Connect your GPU (never the billing card).expect(denied.headers.get("x-fuobe-billing")).toBeNull();expect(denied.headers.get("x-fuobe-connect-gpu")).toBe("1");- expect((await denied.json()) as { code: string; error: string }).toMatchObject({ code: "connect-gpu", error: "Runs on your own GPU" });+ expect((await denied.json()) as { code: string; error: string }).toMatchObject({ code: "connect-gpu", error: "Self-hosted" });});it("an account the policy keeps off this install's GPUs gets today's answer", async () => {@@ -204,7 +204,7 @@ describe("hosted runs on", () => {const { r, body, reached } = await runs(rtx);expect(r.status).toBe(403);expect(body.code).toBe("connect-gpu");- expect(body.error).toBe("Runs on your own RTX GPU");+ expect(body.error).toBe("Self-hosted · RTX GPU");// 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");@@ -220,7 +220,7 @@ describe("hosted runs on", () => {// 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).toMatchObject({ code: "connect-gpu", error: "Runs on your own RTX GPU" });+ expect((await runs(fg)).body).toMatchObject({ code: "connect-gpu", error: "Self-hosted · RTX GPU" });check({ name: "cuda:0 NVIDIA GeForce RTX 4070 : cudaMallocAsync", type: "cuda" });expect((await runs(fg)).body.code).not.toBe("connect-gpu");// A card the name doesn't tell (a data-centre card) is never refused for its name.diff --git a/tests/hosted-tool-runs.test.ts b/tests/hosted-tool-runs.test.tsindex 5597284e..2750665f 100644--- a/tests/hosted-tool-runs.test.ts+++ b/tests/hosted-tool-runs.test.ts@@ -191,7 +191,7 @@ describe("hosted runs on", () => {const steps = [{ request: { feature: "image", modelId: "oss-z-image-turbo", prompt: "a fox" } }];const place = await toolRun.placeOf(auth.accountById(ids.none)!, steps);expect(place.kind).toBe("refuse");- if (place.kind === "refuse") expect(place.refusal.body).toMatchObject({ code: "connect-gpu", error: "Runs on your own GPU", ownSetup: { need: "gpu" } });+ if (place.kind === "refuse") expect(place.refusal.body).toMatchObject({ code: "connect-gpu", error: "Self-hosted", ownSetup: { need: "gpu" } });const before = reserves();const rows = stored("none").length;const r = await toolRun.runAccountTool(json("/api/x", "POST", {}, "none"), auth.accountById(ids.none)!, { tool: "test", files: [], plan: () => steps, start: () => createGenerations(steps[0].request) });@@ -199,7 +199,7 @@ describe("hosted runs on", () => {// Its label, and the answer opens Connect your GPU.if (!r.ok) {expect(r.response.headers.get("x-fuobe-connect-gpu")).toBe("1");- expect((await r.response.json()) as { code: string; error: string }).toMatchObject({ code: "connect-gpu", error: "Runs on your own GPU" });+ expect((await r.response.json()) as { code: string; error: string }).toMatchObject({ code: "connect-gpu", error: "Self-hosted" });}expect(reserves()).toBe(before);expect(stored("none").length).toBe(rows);@@ -512,7 +512,7 @@ describe("hosted runs on", () => {expect(place.kind).toBe("refuse");if (place.kind === "refuse") {expect(place.refusal.body.code).toBe("connect-gpu");- expect(place.refusal.body.error).toMatch(/^Runs on your own GPU · \d+ GB$/);+ expect(place.refusal.body.error).toMatch(/^Self-hosted$/);expect(place.refusal.body.ownSetup).toMatchObject({ need: "gpu" });expect(place.refusal.body.error).not.toBe(OWN_GPU_TOOL_MESSAGE);}diff --git a/tests/hosted-words.test.ts b/tests/hosted-words.test.tsindex 45a5d7e6..7374e6e9 100644--- a/tests/hosted-words.test.ts+++ b/tests/hosted-words.test.ts@@ -54,7 +54,7 @@ const { EngineSwitch, engineTip } = await import("@/components/studio/engine-swiconst { TooltipProvider } = await import("@/components/ui/tooltip");/** Words no visitor reads about runs on this install's GPUs (acceptance check A11). */-const FORBIDDEN = /studio's GPUs|\bworkers?\b|\blanes?\b|\btickets?\b|\bpool\b|\bhosted\b|\bqueue|\bcatalog|Press Retry|Try again later|isn't available here|Not available here|not checked|unverified|ComfyUI/i;+const FORBIDDEN = /studio's GPUs|\bworkers?\b|\blanes?\b|\btickets?\b|\bpool\b|(?<!self-)\bhosted\b|\bqueue|\bcatalog|Press Retry|Try again later|isn't available here|Not available here|not checked|unverified|ComfyUI/i;const NAMED = placeOf("Studio North GPUs");const DEFAULT = placeOf(null);@@ -146,7 +146,7 @@ function chipWords(place: ReturnType<typeof placeOf>): string[] {for (const p of [runPlace({ audience, engine: "open", hosted: true, models: ["Z-Image Turbo"], pool, place, format: String })]) out.push(p.label, p.price, p.title, p.tip, p.send);// A label (what runs on one's own GPU), and a tool for the studio's owner only.for (const audience of ["account", "guest"] as const) {- const labelled = runPlace({ audience, engine: "open", hosted: true, pool: { text: "Runs on your own GPU · 48 GB", refused: true, setup: { need: "gpu", vramGb: 48 } }, place, format: String });+ const labelled = runPlace({ audience, engine: "open", hosted: true, pool: { text: "Self-hosted", refused: true, setup: { need: "gpu", vramGb: 48 } }, place, format: String });const ownerOnly = runPlace({ audience, engine: "cloud", hosted: true, ownerOnly: "Ads Studio", place, format: String });for (const p of [labelled, ownerOnly]) out.push(p.label, p.price, p.title, p.tip, p.send);}diff --git a/tests/own-setup-3d.test.ts b/tests/own-setup-3d.test.tsindex f8e13116..842f7f60 100644--- a/tests/own-setup-3d.test.ts+++ b/tests/own-setup-3d.test.ts@@ -63,8 +63,8 @@ describe("Image to 3D's extra steps: the labels follow the manifest", () => {expect(ownSetupGraphs(id), id).toEqual([GRAPHS[id]]);for (const words of [ownSetupLabel(o!), ownSetupShort(o!), ownSetupDetail(o!)]) expect(words, id).not.toMatch(BANNED);}- expect(ownSetupLabel(ownSetupOnly("image-to-3d:hi3d-refine")!)).toBe("Runs on your own GPU · 24 GB");- expect(ownSetupLabel(ownSetupOnly("image-to-3d:idol-other-sides")!)).toBe("Runs on your own GPU · 8 GB");+ expect(ownSetupLabel(ownSetupOnly("image-to-3d:hi3d-refine")!)).toBe("Self-hosted");+ expect(ownSetupLabel(ownSetupOnly("image-to-3d:idol-other-sides")!)).toBe("Self-hosted");});it("keeps a step's label until its graph is validated, then drops it", async () => {@@ -112,10 +112,10 @@ describe("Image to 3D's extra steps show to everyone", () => {const r = await render(refine, setups);expect(r).toContain("Refine detail · Hi3D 1.0");expect(r).toContain('data-slot="own-setup"');- expect(r).toContain("Runs on your own GPU · 24 GB");+ expect(r).toContain("Self-hosted");const s = await render(sides, setups);expect(s).toContain("Make the other sides from the front (Idol 3D)");- expect(s).toContain("Runs on your own GPU · 8 GB");+ expect(s).toContain("Self-hosted");for (const html of [r, s]) expect(html.replace(/<[^>]+>/g, " ")).not.toMatch(BANNED);}// Once the graphs are validated (the page passes null), the steps show with no label.diff --git a/tests/own-setup-flags.test.ts b/tests/own-setup-flags.test.tsindex a6654ccd..4ee97889 100644--- a/tests/own-setup-flags.test.ts+++ b/tests/own-setup-flags.test.ts@@ -32,7 +32,7 @@ describe("own setup: the marks follow the GPU checks", () => {expect(graphsReady("nano-banana-pro", manifest(true))).toBe(false);const o = ownSetupOnly("cinema:world");expect(o).not.toBeNull();- expect(ownSetupLabel(o!)).toBe("Runs on your own GPU · 24 GB");+ expect(ownSetupLabel(o!)).toBe("Self-hosted");expect(ownSetupLabel(o!)).not.toMatch(BANNED);});diff --git a/tests/own-setup-hw.test.ts b/tests/own-setup-hw.test.tsindex d689c0e0..f2940806 100644--- a/tests/own-setup-hw.test.ts+++ b/tests/own-setup-hw.test.ts@@ -49,8 +49,8 @@ describe("hardware items: what a visitor sees", () => {expect(o!.need, id).toBe("gpu");for (const words of [ownSetupLabel(o!), ownSetupShort(o!), ownSetupDetail(o!)]) expect(words, id).not.toMatch(BANNED);}- expect(ownSetupLabel(ownSetupOnly("regenerate:upscale")!)).toBe("Runs on your own GPU · 48 GB");- expect(ownSetupLabel(ownSetupOnly("oss-kandinsky6:pro")!)).toBe("Runs on your own GPU · 80 GB");+ expect(ownSetupLabel(ownSetupOnly("regenerate:upscale")!)).toBe("Self-hosted");+ expect(ownSetupLabel(ownSetupOnly("oss-kandinsky6:pro")!)).toBe("Self-hosted");// Kandinsky 6.0 itself (Lite) runs as any other open model.expect(ownSetupOnly("oss-kandinsky6")).toBeNull();});@@ -68,7 +68,7 @@ describe("hardware items: what a visitor sees", () => {const src = fs.readFileSync("src/components/cinema/prompt-bar.tsx", "utf8");expect(src).toMatch(/<OwnSetupChip setup="fly-around:exact-orbit"/);const o = ownSetupOnly("fly-around:exact-orbit")!;- expect(ownSetupLabel(o)).toBe("Runs on your own GPU · 48 GB or fal.ai key");+ expect(ownSetupLabel(o)).toBe("Self-hosted");for (const words of [ownSetupLabel(o), ownSetupShort(o), ownSetupDetail(o)]) expect(words).not.toMatch(BANNED);expect(ownSetupStep(o, { kind: "guest" })).toEqual({ kind: "sign-up" });expect(ownSetupStep(o, { kind: "account", gpu: { connected: false }, keys: ["fal"] })).toEqual({ kind: "run" });diff --git a/tests/own-setup-labels.test.ts b/tests/own-setup-labels.test.tsindex 5f658a72..1a502770 100644--- a/tests/own-setup-labels.test.ts+++ b/tests/own-setup-labels.test.ts@@ -64,7 +64,7 @@ describe("a model over the memory of this install's GPUs", () => {const html = rowHtml(REGEN, setup);expect(html).toContain('data-slot="own-setup"');expect(html).toContain(ownSetupLabel(setup));- expect(ownSetupLabel(setup)).toBe("Runs on your own GPU · 48 GB");+ expect(ownSetupLabel(setup)).toBe("Self-hosted");// A model that runs here has no label.expect(rowHtml(H3, modelOwnSetup(undefined, H3))).not.toContain('data-slot="own-setup"');});@@ -95,7 +95,7 @@ describe("a model over the memory of this install's GPUs", () => {expect(seen).toEqual([{ type: "fuobe:connect-gpu", detail: { action: "run", gpuOnly: true, needs: "gpu" } }]);// With the item's label, the card says what it needs under its title.openOwnSetupStep(ownSetupStep(setup, ACCOUNT), ownSetupLabel(setup));- expect(seen[1]?.detail).toMatchObject({ requirement: "Runs on your own GPU · 48 GB" });+ expect(seen[1]?.detail).toMatchObject({ requirement: "Self-hosted" });});it("an app's own tool says the label and sends Run to the setup, never a refusal", () => {@@ -107,7 +107,7 @@ describe("a model over the memory of this install's GPUs", () => {expect(account.refused).toBeUndefined();expect(runPlace({ audience: "guest", engine: "open", hosted: true, pool, format: String }).needs).toBe("signup");const key = { need: "key" as const, provider: "fal" };- expect(runPlace({ audience: "account", engine: "open", hosted: true, pool: checkedPool(refusedCheck(key)), format: String })).toMatchObject({ needs: "key", send: "Use your own fal.ai key" });+ expect(runPlace({ audience: "account", engine: "open", hosted: true, pool: checkedPool(refusedCheck(key)), format: String })).toMatchObject({ needs: "key", send: "Self-hosted · your fal.ai key" });// Any other refusal still turns the button off with its words.const busy = checkedPool({ place: "pool", quote: { allowed: false, text: "Busy right now." } });expect(runPlace({ audience: "account", engine: "open", hosted: true, pool: busy, format: String }).refused).toBe("Busy right now.");@@ -195,7 +195,7 @@ describe("beside a setting's value", () => {expect(controlSetup("oss-kandinsky6", "quality", "pro")).toBe("oss-kandinsky6:pro");expect(controlSetup("oss-kandinsky6", "quality", "lite")).toBeUndefined();expect(controlSetup("oss-minimax-h3", "quality", "pro")).toBeUndefined();- expect(ownSetupLabel(ownSetupOnly("oss-kandinsky6:pro")!)).toBe("Runs on your own GPU · 80 GB");+ expect(ownSetupLabel(ownSetupOnly("oss-kandinsky6:pro")!)).toBe("Self-hosted");expect(requestSetupIds({ feature: "video", modelId: "oss-kandinsky6", op: "t2v", params: { extra: { quality: "pro" } } })).toContain("oss-kandinsky6:pro");expect(requestSetupIds({ feature: "video", modelId: "oss-kandinsky6", op: "t2v", params: { extra: { quality: "lite" } } })).not.toContain("oss-kandinsky6:pro");});@@ -222,7 +222,7 @@ describe("a cloud model a visitor runs on its own key only", () => {expect(setup).toEqual(ownSetupOnly("mureka-extend", "cloud"));expect(setup).not.toBeNull();if (setup) {- expect(ownSetupLabel(setup)).toBe(`Use your own ${setup.provider === "fal" ? "fal.ai" : "Replicate"} key`);+ expect(ownSetupLabel(setup)).toBe(`Self-hosted · your ${setup.provider === "fal" ? "fal.ai" : "Replicate"} key`);expect(ownSetupLabel(setup)).not.toBe(costLabel({ demo: false, cost: 0, gpu: true }, String));}// An open model, or a cloud model any key runs: no key label.diff --git a/tests/own-setup-routes.test.ts b/tests/own-setup-routes.test.tsindex 5c14b2e0..1f4eaa32 100644--- a/tests/own-setup-routes.test.ts+++ b/tests/own-setup-routes.test.ts@@ -84,8 +84,8 @@ describe("the label follows the GPU's validated graphs on the server", () => {}expect(ownSetupsNow(Object.keys(want), m)).toEqual(want);// Their labels say what to use, and wait for a pass of their own in gpu-tested.json (own-setup-flags.test.ts).- expect(ownSetupLabel(ownSetupOnly("video-tools:remove-object-void")!)).toBe("Runs on your own GPU · 40 GB");- expect(ownSetupLabel(ownSetupOnly("video-tools:remove-person")!)).toBe("Runs on your own GPU · 24 GB");+ expect(ownSetupLabel(ownSetupOnly("video-tools:remove-object-void")!)).toBe("Self-hosted");+ expect(ownSetupLabel(ownSetupOnly("video-tools:remove-person")!)).toBe("Self-hosted");});});diff --git a/tests/own-setup.test.ts b/tests/own-setup.test.tsindex dfc43da4..4f3915b9 100644--- a/tests/own-setup.test.ts+++ b/tests/own-setup.test.ts@@ -125,22 +125,22 @@ describe("own setup: the words", () => {expect(text.trim()).toBe(text);}expect(ownSetupLabel(o).length, ownSetupLabel(o)).toBeLessThanOrEqual(44);- expect(ownSetupShort(o).length, ownSetupShort(o)).toBeLessThanOrEqual(18);+ expect(ownSetupShort(o).length, ownSetupShort(o)).toBeLessThanOrEqual(28);}});it("read as the examples", () => {- expect(ownSetupLabel({ need: "gpu", vramGb: 48 })).toBe("Runs on your own GPU · 48 GB");- expect(ownSetupLabel({ need: "gpu", vramGb: 48, files: true })).toBe("Runs on your own GPU · 48 GB");- expect(ownSetupLabel({ need: "gpu", files: true })).toBe("Set up on your computer");- expect(ownSetupLabel({ need: "gpu", vramGb: 48, linux: true })).toBe("Runs on your own Linux GPU · 48 GB");- expect(ownSetupLabel({ need: "gpu", vramGb: 48, orKey: "fal" })).toBe("Runs on your own GPU · 48 GB or fal.ai key");- expect(ownSetupLabel({ need: "key", provider: "fal" })).toBe("Use your own fal.ai key");- expect(ownSetupLabel({ need: "key", provider: "replicate" })).toBe("Use your own Replicate key");- expect(ownSetupShort({ need: "gpu", vramGb: 48 })).toBe("Your GPU · 48 GB");- expect(ownSetupShort({ need: "key", provider: "fal" })).toBe("Your fal.ai key");- expect(ownSetupLabel(ownSetupOnly("oss-h3-regenerate")!)).toBe("Runs on your own GPU · 48 GB");- expect(ownSetupLabel(ownSetupOnly("lyria-3-5")!)).toBe("Use your own fal.ai key");+ expect(ownSetupLabel({ need: "gpu", vramGb: 48 })).toBe("Self-hosted");+ expect(ownSetupLabel({ need: "gpu", vramGb: 48, files: true })).toBe("Self-hosted");+ expect(ownSetupLabel({ need: "gpu", files: true })).toBe("Self-hosted");+ expect(ownSetupLabel({ need: "gpu", vramGb: 48, linux: true })).toBe("Self-hosted");+ expect(ownSetupLabel({ need: "gpu", vramGb: 48, orKey: "fal" })).toBe("Self-hosted");+ expect(ownSetupLabel({ need: "key", provider: "fal" })).toBe("Self-hosted · your fal.ai key");+ expect(ownSetupLabel({ need: "key", provider: "replicate" })).toBe("Self-hosted · your Replicate key");+ expect(ownSetupShort({ need: "gpu", vramGb: 48 })).toBe("Self-hosted");+ expect(ownSetupShort({ need: "key", provider: "fal" })).toBe("Self-hosted · fal.ai key");+ expect(ownSetupLabel(ownSetupOnly("oss-h3-regenerate")!)).toBe("Self-hosted");+ expect(ownSetupLabel(ownSetupOnly("lyria-3-5")!)).toBe("Self-hosted · your fal.ai key");});});@@ -186,8 +186,8 @@ describe("own setup: a press", () => {// answers 422): the label promises no key, and a key-only account's press leads to its GPU.const restore = ownSetupOnly("video-tools:restore")!;expect(restore).toEqual({ need: "gpu", vramGb: 24, files: true });- expect(ownSetupLabel(restore)).toBe("Runs on your own GPU · 24 GB");- expect(ownSetupShort(restore)).toBe("Your GPU · 24 GB");+ expect(ownSetupLabel(restore)).toBe("Self-hosted");+ expect(ownSetupShort(restore)).toBe("Self-hosted");for (const text of [ownSetupLabel(restore), ownSetupShort(restore), ownSetupDetail(restore)]) expect(text).not.toMatch(/key|fal/i);expect(ownSetupStep(restore, keyed)).toEqual({ kind: "connect-gpu", gpuOnly: true });expect(ownSetupStep(restore, bare)).toEqual({ kind: "connect-gpu", gpuOnly: true });diff --git a/tests/pool-limits.test.ts b/tests/pool-limits.test.tsindex eac607ad..f659091f 100644--- a/tests/pool-limits.test.ts+++ b/tests/pool-limits.test.ts@@ -681,7 +681,7 @@ describe("where a run goes", () => {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("connect-gpu");- expect(r.body.error).toMatch(/^Runs on your own GPU · \d+ GB$/);+ expect(r.body.error).toMatch(/^Self-hosted$/);expect(r.headers.get(CONNECT_GPU_HEADER)).toBe("1");expect(poolRuns(a.id)).toBe(0);expect(fake.holds.size).toBe(holds);@@ -773,7 +773,7 @@ describe("a run's price facts", () => {process.env.FUOBE_POOL_MEDIA_INPUTS = "image";const off = await post(filmReq, a.cookie);expect(off.status, JSON.stringify(off.body)).toBe(403);- expect(off.body).toMatchObject({ error: "This file runs on your own GPU" });+ expect(off.body).toMatchObject({ error: "This file runs self-hosted" });process.env.FUOBE_POOL_MEDIA_INPUTS = "image,video";film = await post(filmReq, a.cookie);} finally {@@ -962,7 +962,7 @@ describe("the price check before Run and the run itself", async () => {continue;}expect(run.kind, c.name).toBe("refuse");- const words = c.refused === "3d" ? expect.stringMatching(/^Runs on your own GPU · \d+ GB$/) : c.refused;+ const words = c.refused === "3d" ? expect.stringMatching(/^Self-hosted$/) : c.refused;expect(run.kind === "refuse" && run.refusal.body.error, c.name).toEqual(words);expect(check?.quote, c.name).toMatchObject({ allowed: false, text: words, ownSetup: { need: "gpu" } });}@@ -983,7 +983,7 @@ describe("the price check before Run and the run itself", async () => {const run = await hostedRun.decidePlace(acct, req, undefined);expect(run.kind).toBe("refuse");if (run.kind === "refuse") {- expect(run.refusal.body).toMatchObject({ code: "connect-gpu", error: "This size runs on your own GPU", ownSetup: { need: "gpu" } });+ expect(run.refusal.body).toMatchObject({ code: "connect-gpu", error: "This size runs self-hosted", ownSetup: { need: "gpu" } });expect(run.refusal.headers[CONNECT_GPU_HEADER]).toBe("1");}// Pressed anyway: nothing is held or made.@@ -1013,7 +1013,7 @@ describe("the price check before Run and the run itself", async () => {const run = await hostedRun.decidePlace(acct, { ...r, account: a.id } as never, undefined);return run.kind === "refuse" ? run.refusal.body.error : run.kind;};- expect(await refused(THREE_D)).toMatch(/^Runs on your own GPU · \d+ GB$/);+ expect(await refused(THREE_D)).toMatch(/^Self-hosted$/);// A worker whose CPU slot runs the 3D finish: the model's GLB is checked, made for the web and given its turntable there.db().prepare("UPDATE relay_workers SET cpu_slot_json = ? WHERE id = ?").run(JSON.stringify({ finishes: ["model3d"] }), worker.id);try {@@ -1024,14 +1024,14 @@ describe("the price check before Run and the run itself", async () => {expect(await refused(THREE_D)).toBe(HOSTED_WORDS.notOffered);withBilling({ limits: NO_LIMITS });// A splat or a scene gets no finish there: it stays on a visitor's own setup.- expect(await refused({ ...THREE_D, modelId: "oss-triposplat", op: "splat" })).toMatch(/^Runs on your own GPU · \d+ GB$/);- expect(await refused({ ...THREE_D, modelId: "oss-scene-moge", op: "scene-3d" })).toMatch(/^Runs on your own GPU · \d+ GB$/);+ expect(await refused({ ...THREE_D, modelId: "oss-triposplat", op: "splat" })).toMatch(/^Self-hosted$/);+ expect(await refused({ ...THREE_D, modelId: "oss-scene-moge", op: "scene-3d" })).toMatch(/^Self-hosted$/);} finally {db().prepare("UPDATE relay_workers SET cpu_slot_json = NULL WHERE id = ?").run(worker.id);}// No CPU slot that finishes it any more: refused again, before Run and at the run alike.- expect(await refused(THREE_D)).toMatch(/^Runs on your own GPU · \d+ GB$/);- expect((await hostedRun.poolQuote(acct, req, undefined))?.quote).toMatchObject({ allowed: false, text: expect.stringMatching(/^Runs on your own GPU · \d+ GB$/), ownSetup: { need: "gpu" } });+ expect(await refused(THREE_D)).toMatch(/^Self-hosted$/);+ expect((await hostedRun.poolQuote(acct, req, undefined))?.quote).toMatchObject({ allowed: false, text: expect.stringMatching(/^Self-hosted$/), ownSetup: { need: "gpu" } });});it("while every worker that could run it is built from the catalog before the studio's update, the run is taken and waits in line until one is updated; Run stays on", async () => {@@ -1127,7 +1127,7 @@ describe("the price check before Run and the run itself", async () => {expect(hostedRun.stepsProblem(billing.OPEN_POLICY, chain)).not.toBe(HOSTED_WORDS.rtxCard);// A guest reads the same label as an account (Run opens the sign-up for it), with no Settings named.expect(hostedRun.gateWords("rtxCard", true, placeOf(null))).toBe(HOSTED_GUEST_WORDS.rtxCard);- expect(hostedRun.gateWords("rtxCard", true, placeOf(null))).toBe("Runs on your own RTX GPU");+ expect(hostedRun.gateWords("rtxCard", true, placeOf(null))).toBe("Self-hosted · RTX GPU");expect(hostedRun.gateWords("rtxCard", true, placeOf(null))).not.toMatch(/Settings/);expect(hostedRun.gateWords("rtxCard", false, placeOf(null))).toBe(HOSTED_WORDS.rtxCard);});diff --git a/tests/pool-runtime-files.test.ts b/tests/pool-runtime-files.test.tsindex 04ea256b..79b82757 100644--- a/tests/pool-runtime-files.test.ts+++ b/tests/pool-runtime-files.test.ts@@ -139,16 +139,16 @@ describe("a run that adds files at run time, on this install's GPUs", () => {expect(hosted.poolTakes(endpoint)).toBe(true);expect(hosted.poolHasFiles(endpoint, lookFiles)).toBe(false);const q = await poolQuote(account, soulRun, undefined);- expect(q?.quote).toMatchObject({ allowed: false, code: "not-offered", text: "This style runs on your own GPU", sub: "Connect your GPU to use this style, or pick another one." });+ expect(q?.quote).toMatchObject({ allowed: false, code: "not-offered", text: "This style runs self-hosted", sub: "Connect your GPU to use this style, or pick another one." });expect((q!.quote as { ownSetup?: unknown }).ownSetup).toMatchObject({ need: "gpu" });// The press: never a run that a worker would refuse, never the LoRAs left out; Connect your GPU instead.const d = await decidePlace(account, soulRun, undefined);expect(d.kind).toBe("refuse");const refusal = (d as { refusal: { body: Record<string, unknown> } }).refusal;- expect(refusal.body).toMatchObject({ error: "This style runs on your own GPU", code: "connect-gpu" });+ expect(refusal.body).toMatchObject({ error: "This style runs self-hosted", code: "connect-gpu" });const r = await press(soulRun);expect(r.status).toBe(403);- expect(r.body).toMatchObject({ error: "This style runs on your own GPU", code: "connect-gpu" });+ expect(r.body).toMatchObject({ error: "This style runs self-hosted", code: "connect-gpu" });expect(db().prepare("SELECT COUNT(*) AS n FROM relay_tasks WHERE state = 'waiting'").get()).toEqual({ n: 0 });});diff --git a/tests/result-actions-layout.test.ts b/tests/result-actions-layout.test.tsindex 2684dfec..d78d68bd 100644--- a/tests/result-actions-layout.test.ts+++ b/tests/result-actions-layout.test.ts@@ -19,7 +19,9 @@ const source = (f: string) => fs.readFileSync(path.join(process.cwd(), f), "utf8describe("the own-setup chip in the result panel", () => {it("short=always says only the short words, at every width", () => {- const o = ownSetupOnly("video-tools:restore")!;+ // A key's label has longer words than its short one (a GPU's are the same: "Self-hosted").+ const o = ownSetupOnly("lyria-3-5", "cloud")!;+ expect(ownSetupShort(o)).not.toBe(ownSetupLabel(o));const html = renderToStaticMarkup(createElement(OwnSetupChip, { setup: o, short: "always" }));expect(html).toContain(ownSetupShort(o));expect(html).not.toContain(`>${ownSetupLabel(o)}<`);diff --git a/tests/runnable-here.test.ts b/tests/runnable-here.test.tsindex 8a68b037..bea32958 100644--- a/tests/runnable-here.test.ts+++ b/tests/runnable-here.test.ts@@ -27,7 +27,7 @@ process.env.COMFYUI_URL = comfy.url;const { MODELS } = await import("@/lib/catalog/models");const { groupModels } = await import("@/lib/composer");-const { carryParams, closestHere, hereDefault, hereOf, hereOwnLink, hereReason, hereRunLabel, hereSetup, hereTag, runsHere, splitHere } = await import("@/lib/runnable-here");+const { carryParams, closestHere, HERE_SET_UP, hereDefault, hereOf, hereReason, hereRunLabel, hereSetup, hereTag, runsHere, splitHere } = await import("@/lib/runnable-here");const { ownSetupOnly } = await import("@/lib/own-setup");const byId = (id: string) => MODELS.find((m) => m.id === id)!;@@ -81,24 +81,29 @@ describe("the words", () => {hereTag({ need: "key", provider: "fal" }),hereTag({ need: "gpu", orKey: "fal" }),hereTag({ need: "gpu" }, true),- hereOwnLink("LTX-2.5", { need: "gpu", vramGb: 24 }),- hereOwnLink("LTX-2.5", { need: "key", provider: "fal" }),- hereRunLabel(H3),- hereReason(LTX25, "Fuobe Cloud"),+ hereRunLabel(H3, "Fuobe Cloud"),+ hereReason(LTX25, { need: "gpu", vramGb: 24 }),+ hereReason(LTX25, { need: "key", provider: "fal" }),+ hereReason(LTX25, { need: "gpu", orKey: "fal" }),+ hereReason(LTX25, { need: "gpu" }, true),+ HERE_SET_UP,];it("short and positive: what runs it, never a refusal", () => {expect(phrases).toEqual([- "With your GPU · 24 GB",- "With your fal.ai key",- "With your GPU or fal.ai key",+ "Self-hosted",+ "Self-hosted · your fal.ai key",+ "Self-hosted","Add to a worker",- "Use LTX-2.5 with your own GPU",- "Use LTX-2.5 with your fal.ai key",- "Run free with MiniMax H3",- "LTX-2.5 isn't on Fuobe Cloud yet",+ "Run free on Fuobe Cloud with MiniMax H3",+ "LTX-2.5 runs self-hosted for now — on your own GPU.",+ "LTX-2.5 runs self-hosted for now — with your own fal.ai key.",+ "LTX-2.5 runs self-hosted for now — on your own GPU or with your own key.",+ "LTX-2.5 runs self-hosted for now — add its files to a worker.",+ "Set it up",]);- for (const p of phrases) expect(p).not.toMatch(/can['’]t|cannot|not available|unavailable|unsupported/i);- expect(hereRunLabel(H3, true)).toBe("Run with MiniMax H3");+ // Never a refusal, and no card memory in the main line (the detail's tooltip says it).+ for (const p of phrases) expect(p).not.toMatch(/can['’]t|cannot|not available|unavailable|unsupported|GB/i);+ expect(hereRunLabel(H3, "Fuobe Cloud", true)).toBe("Run with MiniMax H3");});});