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
Marketing: the Original's Standalone shot runs on your GPU only; the cloud lists it greyed and starts on a partner
Claudeb2b20f6b998a
diff --git a/src/components/marketing/marketing-studio.tsx b/src/components/marketing/marketing-studio.tsxindex e59980e1..54f7d54d 100644--- a/src/components/marketing/marketing-studio.tsx+++ b/src/components/marketing/marketing-studio.tsx@@ -12,7 +12,7 @@ import { ResponsivePanel } from "@/components/studio/responsive-panel";import { BrandChip } from "@/components/brand/brand-dialog";import { inputCls } from "@/components/brand/fields";import { withoutOwnGpu } from "@/lib/catalog/engines";-import { FORMATS, formatModels, looksLikeWebsite, MAX_PROMPT, openingAspect, TEMPLATE_INDEX, type FormatId, type MarketingCategory, type MarketingTemplate, type RunEstimate } from "@/lib/catalog/marketing";+import { FORMATS, formatModels, looksLikeWebsite, pickable, MAX_PROMPT, openingAspect, TEMPLATE_INDEX, type FormatId, type MarketingCategory, type MarketingTemplate, type RunEstimate } from "@/lib/catalog/marketing";import { SelfHostNote } from "@/components/self-host-note";import { formatCost } from "@/lib/format";import { useIsOwner, useLikelyVisitor, useModelAccess } from "@/lib/api";@@ -110,7 +110,10 @@ function SettingsPanel({ draft, set, models, engine }: { draft: Draft; set: (p:const access = useModelAccess();// A guest or an account: Marketing Studio runs on a self-hosted Fuobe only, so no model reads "on your GPU".const visitor = useLikelyVisitor();- const choices = keepOffered(formatModels(f, engine, { product: !!draft.product, avatar: !!draft.avatar }), (c) => offered(access, c.id, engine));+ const listed = formatModels(f, engine, { product: !!draft.product, avatar: !!draft.avatar });+ // One listed only to say it runs on your GPU (the Original's Standalone shot in the cloud) is shown, never picked.+ const choices = keepOffered(pickable(listed), (c) => offered(access, c.id, engine));+ const elsewhere = listed.filter((c) => c.unavailable);const model = choices.find((c) => c.id === draft.modelId) ?? choices[0];const summary = [draft.aspectRatio, f.durations && `${draft.duration}s`, draft.batch > 1 && `×${draft.batch}`].filter(Boolean).join(" · ");const seg = (active: boolean) => cn("h-7 rounded-full px-2.5 text-[12px] font-medium text-muted-foreground", active && "bg-background text-foreground shadow-soft");@@ -170,6 +173,12 @@ function SettingsPanel({ draft, set, models, engine }: { draft: Draft; set: (p:<span className="block text-[11px] text-muted-foreground">{visitor ? withoutOwnGpu(c.note ?? models[c.id]?.tagline ?? "") : (c.note ?? models[c.id]?.tagline)}</span></button>))}+ {elsewhere.map((c) => (+ <div key={c.id} aria-disabled="true" className="w-full rounded-lg px-2.5 py-1.5 text-left opacity-60">+ <span className="block text-[13px] font-medium">{models[c.id]?.name ?? c.id}</span>+ <span className="block text-[11px] text-muted-foreground">{c.note}</span>+ </div>+ ))}</div></div></div>@@ -316,7 +325,8 @@ export function MarketingStudio({ models }: { models: Record<string, ModelInfo>engine,format: draft.format,templateId: draft.templateId ?? undefined,- modelId: draft.modelId,+ // A pick that runs on your GPU only (the Original's Standalone shot) isn't sent to the cloud: its default runs.+ modelId: draft.modelId && !formatModels(f, engine, { product: true, avatar: true }).some((c) => c.unavailable && c.id === draft.modelId) ? draft.modelId : undefined,productId: draft.product?.productId,productImages: draft.product && !draft.product.productId ? draft.product.images : undefined,avatar: f.avatar !== "none" ? draft.avatar?.ref : undefined,diff --git a/src/lib/catalog/marketing.ts b/src/lib/catalog/marketing.tsindex 935da2ea..1722332c 100644--- a/src/lib/catalog/marketing.ts+++ b/src/lib/catalog/marketing.ts@@ -940,8 +940,23 @@ export interface ModelChoice {note?: string;/** Its name, where the page has no model facts (Ads Studio's picture picker). */name?: string;+ /** Listed with its note but not picked on this engine, and why: it runs on your GPU only (the owner's 10-30 rule). */+ unavailable?: string;}+/** The choices a run can pick: one listed only to say it runs on your GPU is left out. */+export const pickable = <T extends ModelChoice>(choices: readonly T[]): T[] => choices.filter((c) => !c.unavailable);++/**+ * Why the Original makes no Standalone shot in the cloud. The GPU's recipe cuts the product out with BiRefNet, puts it on+ * white and relights it into the scene with Qwen-Image-Edit 2509 + the White_to_Scene LoRA (product-shot-qwen-edit-2509).+ * fal hosts BiRefNet (fal-ai/birefnet/v2) and 2509 with LoRAs by URL (fal-ai/qwen-image-edit-plus-lora), but nothing+ * hosted puts the cut-out on white (checked 2026-11-01: neither BiRefNet nor Bria's remover takes a background colour, and+ * the LoRA was trained on products on white), so the recipe stays on the GPU and the cloud offers the partners instead.+ */+export const STANDALONE_CLOUD_WHY = "the cut-out on white and the White_to_Scene relight have no hosted copy";+export const STANDALONE_CLOUD_NOTE = `Fuobe Original · runs on your GPU only: ${STANDALONE_CLOUD_WHY}`;+/*** Marketing Studio Image's Original (build plan O10) with Fuobe's template prompts: Qwen-Image 2.1 on the user's GPU* (its edit with up to 4 references, its text-to-image without a product photo; a Standalone product shot relit by the@@ -980,8 +995,15 @@ export function formatModels(format: FormatDef, engine: Engine, has: { product:}switch (format.id) {case "product-standalone":- // The GPU's Standalone recipe (cut out, on white, relit by a LoRA) has no hosted copy: the cloud says so.- return [{ ...original, note: `${original.note} · the cut-out and relight run on your GPU only` }, { id: "bria-product-shot", note: "Keeps the product pixel-exact" }, { id: "nano-banana-pro" }, { id: "gpt-image-2-5" }, { id: "product-photography", note: "One-tap studio shot" }];+ // The GPU's Standalone recipe (cut out, on white, relit by a LoRA) has no hosted copy: the Original is listed last,+ // can't be picked in the cloud, and says it runs on your GPU (no other model makes its shot under its name).+ return [+ { id: "bria-product-shot", note: "Keeps the product pixel-exact" },+ { id: "nano-banana-pro" },+ { id: "gpt-image-2-5" },+ { id: "product-photography", note: "One-tap studio shot" },+ { ...original, note: STANDALONE_CLOUD_NOTE, unavailable: STANDALONE_CLOUD_WHY },+ ];case "product-with-model":return [original, { id: "nano-banana-pro", note: "Product + person references" }, { id: "gpt-image-2-5" }];case "ads":diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.tsindex 66629fa0..5c5fb498 100644--- a/src/lib/catalog/models.ts+++ b/src/lib/catalog/models.ts@@ -2093,8 +2093,9 @@ const originals: ModelDef[] = [// Qwen-Image 2.1's edit graph reads up to four pictures and keeps the first one's shape. Neither of its graphs takes a// negative prompt, so the open half has none (the hosted half keeps it).engineOptions: { open: { maxImages: 4, negativePrompt: false } },- // The Standalone recipe's graph has no hosted copy: it stays the GPU's, the cloud makes the shot as an ordinary edit.- engineNote: "A Standalone shot from one product photo is cut out and relit into the scene on your GPU only (Qwen-Image-Edit 2509 + the White_to_Scene LoRA); the cloud makes it as a hosted Qwen-Image-Edit 2511 edit",+ // The Standalone recipe's graph has no hosted copy (nothing hosted puts the cut-out on white): it stays the GPU's, and+ // in the cloud Marketing's Standalone format lists the Original as running on your GPU only (marketing.ts).+ engineNote: "A Standalone shot from one product photo runs on your GPU only (cut out with BiRefNet, put on white, relit into the scene by Qwen-Image-Edit 2509 + the White_to_Scene LoRA); in the cloud, Marketing's Standalone format offers the partner models instead",},{...original({diff --git a/src/server/marketing.ts b/src/server/marketing.tsindex c457930f..904f68af 100644--- a/src/server/marketing.ts+++ b/src/server/marketing.ts@@ -24,6 +24,7 @@ import {multiplierResolution,OPEN_SOUND_JOIN,overlayLayout,+ pickable,multiplierText,settingById,shotPlan,@@ -303,7 +304,11 @@ export function planMarketing(input: MarketingInput, ctx: PlanContext): RunPlan}}// Models switched off in Settings → Models & licences aren't picked while another choice is on.- const choices = keepOffered(formatModels(f, input.engine, { product: hasProduct, avatar: !!input.avatar }), (c) => isOffered(c.id, input.engine));+ const listed = formatModels(f, input.engine, { product: hasProduct, avatar: !!input.avatar });+ // A choice listed only to say it runs on your GPU (the Original's Standalone shot in the cloud) is refused in its words.+ const elsewhere = listed.find((c) => c.unavailable && c.id === input.modelId);+ if (elsewhere) throw new PlanError(`${need(elsewhere.id).name} makes ${f.name} shots on your GPU only (${elsewhere.unavailable}): switch to your GPU, or pick another model`);+ const choices = keepOffered(pickable(listed), (c) => isOffered(c.id, input.engine));const name = tpl?.name ?? f.name;const title = [name, product?.name ?? brand?.name].filter(Boolean).join(" · ");const meta: MarketingRunMeta = { format: f.id, templateId: tpl?.id, productId: product?.id ?? null, brandId: brand?.id ?? null };diff --git a/tests/e2e/marketing-originals.mjs b/tests/e2e/marketing-originals.mjsindex aeb1c271..20189303 100644--- a/tests/e2e/marketing-originals.mjs+++ b/tests/e2e/marketing-originals.mjs@@ -75,7 +75,13 @@ try {await panel.getByText("Fuobe Marketing Image").first().waitFor();const models = (await panel.innerText()).split("\n");const first = models.findIndex((l) => /Fuobe Marketing Image|GPT Image|Nano Banana|Bria|Ideogram|Recraft|Product Photography/.test(l));- check(`${engine}: Marketing Studio's first model is Fuobe Marketing Image`, models[first] === "Fuobe Marketing Image", models[first]);+ // The page opens on Standalone: in the cloud its recipe runs on your GPU only, so the Original is listed last, greyed,+ // with that line, and a partner is the first pick (the owner's 10-30 rule).+ if (engine === "open") check("open: Marketing Studio's first model is Fuobe Marketing Image", models[first] === "Fuobe Marketing Image", models[first]);+ else {+ check("cloud: Standalone's first model is a partner, not the Original", models[first] !== "Fuobe Marketing Image", models[first]);+ check("cloud: Standalone lists the Original as running on your GPU only", models.includes("Fuobe Original · runs on your GPU only: the cut-out on white and the White_to_Scene relight have no hosted copy") && (await panel.locator('[aria-disabled="true"]').count()) === 1);+ }check(`${engine}: partner models ${engine === "cloud" ? "stay" : "aren't"} in the menu`, engine === "cloud" ? models.some((l) => /GPT Image 2\.5/.test(l)) : !models.some((l) => /GPT Image/.test(l)));await page.keyboard.press("Escape");diff --git a/tests/marketing-api.test.ts b/tests/marketing-api.test.tsindex 5be6cccd..a8940b4c 100644--- a/tests/marketing-api.test.ts+++ b/tests/marketing-api.test.ts@@ -293,10 +293,11 @@ describe("brand kits", () => {expect(mk.planMarketing({ engine: "cloud", format: "poster", templateId: "po-swiss-grid", prompt: "Autumn launch", modelId: "ideogram-3" }, { ...ctx, product: null }).steps[0].request.modelId).toBe("fuobe-marketing-image");expect(mk.planMarketing({ engine: "open", format: "poster", prompt: "Autumn" }, { ...ctx, product: null }).steps[0].request).toMatchObject({ modelId: "fuobe-marketing-image", op: "t2i" });- // A Standalone product shot: the Original by default; on the user's GPU one product photo is cut out and relit- // (product-shot-qwen-edit-2509); Bria Product Shot stays a cloud choice.+ // A Standalone product shot: on the user's GPU the Original cuts one product photo out and relights it+ // (product-shot-qwen-edit-2509); that recipe has no hosted copy, so the cloud starts on Bria Product Shot and the+ // Original is listed there as running on your GPU only (the owner's 10-30 rule).const shot = mk.planMarketing({ engine: "cloud", format: "product-standalone", templateId: "ps-ice-bath" }, ctx);- expect(shot.steps[0].request).toMatchObject({ modelId: "fuobe-marketing-image", op: "edit" });+ expect(shot.steps[0].request).toMatchObject({ modelId: "bria-product-shot", op: "edit" });expect(shot.steps[0].request.params?.extra).toBeUndefined();const openShot = mk.planMarketing({ engine: "open", format: "product-standalone", templateId: "ps-ice-bath" }, ctx);expect(openShot.steps[0].request).toMatchObject({ modelId: "fuobe-marketing-image", op: "edit", params: { extra: { productShot: true } } });diff --git a/tests/originals-marketing.test.ts b/tests/originals-marketing.test.tsindex d30f17e5..be1c4215 100644--- a/tests/originals-marketing.test.ts+++ b/tests/originals-marketing.test.ts@@ -16,7 +16,7 @@ const { onEngine, enginesOf } = await import("@/lib/catalog/engines");const { planGeneration } = await import("@/lib/catalog/plan");const { loraEndpointFor, loraFields, routeLoraField } = await import("@/lib/catalog/loras");const { LORA_LIBRARY } = await import("@/lib/catalog/lora-library.generated");-const { AD_VISUAL_MODELS, adVisualModel, formatModels, FORMATS, MARKETING_IMAGE_MODEL, wordsOnTop } = await import("@/lib/catalog/marketing");+const { AD_VISUAL_MODELS, adVisualModel, formatModels, FORMATS, MARKETING_IMAGE_MODEL, pickable, STANDALONE_CLOUD_NOTE, wordsOnTop } = await import("@/lib/catalog/marketing");const { FASHION_MODELS, PHOTODUMP_MODELS, TRYON_MODEL } = await import("@/lib/catalog/packs");const { CAST_LOOK } = await import("@/lib/catalog/soul-cards");const { setSetting } = await import("@/server/settings");@@ -69,12 +69,20 @@ describe("Fuobe Marketing Image", () => {it("is the first model of every image format and of Ads Studio's pictures, partners after it", () => {for (const f of Object.values(FORMATS).filter((x) => x.pipeline === "image")) {for (const engine of ["cloud", "open"] as const) {+ // Except the cloud's Standalone shot, whose recipe runs on your GPU only (below).+ if (f.id === "product-standalone" && engine === "cloud") continue;for (const product of [true, false]) expect(formatModels(f, engine, { product, avatar: false })[0].id, `${f.id}/${engine}`).toBe(MARKETING_IMAGE_MODEL);}}expect(formatModels(FORMATS.ads, "cloud", { product: true, avatar: false }).map((c) => c.id)).toContain("gpt-image-2-5");- // The Standalone recipe's graph has no hosted copy: the cloud's line says it stays on the GPU (the owner's 10-30 rule).- expect(formatModels(FORMATS["product-standalone"], "cloud", { product: true, avatar: false })[0].note).toBe("Fuobe Original · Qwen-Image-Edit 2511, hosted · the cut-out and relight run on your GPU only");+ // The Standalone recipe has no hosted copy (nothing hosted puts the cut-out on white): in the cloud the Original is+ // listed last, can't be picked and says it runs on your GPU; no other model makes its shot under its name (10-30 rule).+ const standalone = formatModels(FORMATS["product-standalone"], "cloud", { product: true, avatar: false });+ expect(standalone.at(-1)).toEqual({ id: MARKETING_IMAGE_MODEL, note: STANDALONE_CLOUD_NOTE, unavailable: expect.stringMatching(/no hosted copy/) });+ expect(STANDALONE_CLOUD_NOTE).toBe("Fuobe Original · runs on your GPU only: the cut-out on white and the White_to_Scene relight have no hosted copy");+ expect(pickable(standalone).map((c) => c.id)).toEqual(["bria-product-shot", "nano-banana-pro", "gpt-image-2-5", "product-photography"]);+ expect(pickable(formatModels(FORMATS["product-standalone"], "open", { product: true, avatar: false })).map((c) => c.id)).toEqual([MARKETING_IMAGE_MODEL]);+ expect(getModel(MARKETING_IMAGE_MODEL)?.engineNote).toMatch(/runs on your GPU only .*White_to_Scene.*offers the partner models instead/);expect(formatModels(FORMATS["product-standalone"], "open", { product: true, avatar: false })[0].note).toBe("Fuobe Original · Qwen-Image 2.1 on your GPU");expect(AD_VISUAL_MODELS.cloud.map((c) => c.id)).toEqual([MARKETING_IMAGE_MODEL, "nano-banana-pro", "gpt-image-2-5"]);expect(adVisualModel("open", "nano-banana-pro")).toBe(MARKETING_IMAGE_MODEL);@@ -235,6 +243,16 @@ describe("Marketing Studio runs Fuobe Marketing Image on the studio's engine", (}});+ it("a cloud Standalone shot starts on a partner model, and asking for the Original there is refused in plain words", () => {+ const cloud = planMarketing({ engine: "cloud", format: "product-standalone", templateId: "ps-ice-bath" }, { product: PRODUCT });+ expect(cloud.steps[0].request.modelId).toBe("bria-product-shot");+ expect(() => planMarketing({ engine: "cloud", format: "product-standalone", templateId: "ps-ice-bath", modelId: MARKETING_IMAGE_MODEL }, { product: PRODUCT })).toThrow(+ "Fuobe Marketing Image makes Standalone shots on your GPU only (the cut-out on white and the White_to_Scene relight have no hosted copy): switch to your GPU, or pick another model",+ );+ // On your GPU it is the Original's recipe, as before.+ expect(planMarketing({ engine: "open", format: "product-standalone", templateId: "ps-ice-bath", modelId: MARKETING_IMAGE_MODEL }, { product: PRODUCT }).steps[0].request.modelId).toBe(MARKETING_IMAGE_MODEL);+ });+it("pins every step of a plan that names no engine to the run's engine (estimates, launches, Run again, Assist)", () => {const base = planMarketing({ engine: "open", format: "poster", prompt: "Autumn" }, { product: null });const bare = { ...base.steps[0].request };