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.

No Higgsfield (O7): Reuse says when Cinema Studio's Director settings were left out

Claude6ef81f167eb4
diff --git a/README.md b/README.md
index dd2156a5..1f1b7f96 100644
--- a/README.md
+++ b/README.md
@@ -112,7 +112,7 @@ Uploads up to 200 MB work with sign-in on. Inputs given as URLs are fetched only
- **Scheduled tasks (PR #12)** run only while Fuobe runs; a run missed while it was off happens once after the next start. A sweep every 30 s starts at boot, and every Fuobe server on the same database runs due tasks, so a dev server on your real data folder runs, and spends on, your schedules too. A task asks first by default; one that runs on its own counts Fuobe's generation jobs against its cap, not Claude's tokens. Connectors are offered in every Claude chat, the ones you already have included; a scheduled task uses them only when you tick "Let runs use my connectors".
- **New defaults in Cinema, Genjutsu and Soul ID (PR #12).** Cinema's video default is Fuobe Cinema on both engines, so a cloud take costs LTX-2.3's price per megapixel of video on fal (about $0.18 for 5 s at 720p), and stills default to Fuobe Soul Cinema. Cinema Studio 4.0, Soul 2.0 and Higgsfield's Soul Cinema leave Cinema's menus, and a saved pick falls back to the Original. Genjutsu's modes (all but Insert) default to the Fuobe Originals instead of Higgsfield's Genjutsu; old setup codes open the replacing Original (without a Higgsfield look), and Katana's Genjutsu motion option takes 1 reference instead of Higgsfield's 8. In the cloud, Fuobe Cinema and the Genjutsu Originals need a fal key. Soul ID no longer trains on Higgsfield: a Higgsfield training still queued or running fails with a note to retrain for Fuobe Soul. fal's Z-Image training is now 2,000 steps for about $1.70 (it was 1,000 for $0.85), elements hold up to 80 photos (was 20), and Photodump, Fashion and trained moodboards run on Fuobe Soul.
- **Scripts that call the API (PR #12):** training a character needs `consent: true` (`POST /api/elements/[id]/trainings` takes `{target, consent}`), `/lora` takes `family` instead of `modelId` and `/training-kit` a `family`; `POST /api/genjutsu` takes mode `character`, and look kind `soul` replaces `higgsfield`; Cinema's `GET /api/cinema/projects/[id]` returns `context` as `{cloudAllowed, civitai}` (no `higgsfield`); `GET /api/models` lists only models that are on, and `POST /api/generations` answers 422, naming the switch, for one that is off.
-- **Higgsfield is no longer called (O7).** The saved Higgsfield key is deleted, and **Preferred provider** goes back to Auto if it was Higgsfield. Reuse, saved Canvas boards and Cinema projects, Genjutsu setup codes, Katana jobs, Assist plans, retries and API, CLI or MCP calls that name Soul, Soul 2.0, Soul Cinema, Cinema Studio 4.0 or a Genjutsu model run on the Fuobe Original that replaced it, on your engine (Marketing Studio Image runs on GPT Image 2.5, Ads Studio and the AI Influencer app on Nano Banana Pro, until their Originals land), and the API's notes say so. Cinema Studio's Director settings become words in the prompt, and its reference takes run on Seedance 2.5. Seedance 2.5's video edit and LTX 2.5's start/end-frame clip only ran there: they now run on Kling O3 and Fuobe Cinema. Past results stay in the Library under the name they ran as. A job still running there when you upgrade fails with a note to run it again, and an Ads Studio batch made there is remade the Fuobe way on retry.
+- **Higgsfield is no longer called (O7).** The saved Higgsfield key is deleted, and **Preferred provider** goes back to Auto if it was Higgsfield. Reuse, saved Canvas boards and Cinema projects, Genjutsu setup codes, Katana jobs, Assist plans, retries and API, CLI or MCP calls that name Soul, Soul 2.0, Soul Cinema, Cinema Studio 4.0 or a Genjutsu model run on the Fuobe Original that replaced it, on your engine (Marketing Studio Image runs on GPT Image 2.5, Ads Studio and the AI Influencer app on Nano Banana Pro, until their Originals land), and the API's notes say so. In an API, CLI or MCP call and a retry, Cinema Studio's Director settings become words in the prompt (Reuse leaves them out and says so), and its reference takes run on Seedance 2.5. Seedance 2.5's video edit and LTX 2.5's start/end-frame clip only ran there: they now run on Kling O3 and Fuobe Cinema. Past results stay in the Library under the name they ran as. A job still running there when you upgrade fails with a note to run it again, and an Ads Studio batch made there is remade the Fuobe way on retry.
- **LoRAs on the open engine:** set the **LoRA folder** in Settings → LoRAs, plus a civitai key for 72 of the 114 library LoRAs. Fuobe writes the files itself, so the folder must be one the Fuobe machine can write to (ComfyUI on the same PC, or its `models/loras` shared); otherwise place the files by hand, as you must for the two gated Hugging Face LoRAs. With no folder set, a run that needs a LoRA ComfyUI doesn't have stops and says what to do. A LoRA sent to a workflow with no model loader to attach it to now fails the run instead of being dropped silently. Since PR #10 the presets use many more LoRAs on the open engine: 84 files (was 43), 36 of them from civitai (was none). Without the civitai key, a motion, an effect or one of six Cinema Studio moves (Handheld, POV, Robot Arm, Snorricam, Tracking and Side Tracking) that needs a civitai file ComfyUI doesn't have stops before the job; Fuobe Soul leaves those LoRAs out and says so.
- **Cloud runs with LoRAs:** when a model runs on both fal and Replicate, Fuobe picks the one that can take every LoRA and the clip length asked, even over **Preferred provider**. LoRAs a run can't take are left out with a warning.
- **Password-less installs reached by a domain name** (a reverse proxy, a tunnel, a Tailscale name) get 403 since round 3. Set a password, or add the name to `FUOBE_ALLOWED_ORIGINS`.
diff --git a/src/lib/catalog/replaced.ts b/src/lib/catalog/replaced.ts
index d73dec17..3a3115c7 100644
--- a/src/lib/catalog/replaced.ts
+++ b/src/lib/catalog/replaced.ts
@@ -42,7 +42,7 @@ export interface Replacement {
ops?: Partial<Record<Operation, OpReplacement>>;
/** The operation a stored request with images or clips and no op ran as (the retired model read them that way). */
withReferences?: Operation;
- /** Its request carried Cinema Studio's own Director fields (genre, era, lens…): they become prompt words. */
+ /** Its request carried Cinema Studio's own Director fields (genre, era, lens…): they become prompt words, and the note says what became of them. */
director?: true;
}
@@ -54,13 +54,13 @@ export const REPLACED_BY: Readonly<Record<string, Replacement>> = {
"cinema-studio-4": {
id: "fuobe-cinema",
was: "Cinema Studio 4.0 (Higgsfield)",
- note: "Cinema Studio's clips now run on Fuobe Cinema, with the Director settings written into the prompt",
+ note: "Cinema Studio's clips now run on Fuobe Cinema",
original: true,
director: true,
// It had no start-frame route: images were references (cast, location). Fuobe Cinema takes none yet, so a reference
// take runs where the Cinema studio sends one (cinema.ts clipModel): Seedance 2.5, a partner model on fal.
withReferences: "ref2v",
- ops: { ref2v: { id: "seedance-2-5", note: "Cinema Studio's reference takes now run on Seedance 2.5 (Fuobe Cinema takes no references yet), with the Director settings written into the prompt" } },
+ ops: { ref2v: { id: "seedance-2-5", note: "Cinema Studio's reference takes now run on Seedance 2.5 (Fuobe Cinema takes no references yet)" } },
},
"genjutsu-motion-transfer": { id: "fuobe-genjutsu-motion", was: "Genjutsu Motion Transfer (Higgsfield)", note: "Motion transfer now runs on Fuobe Genjutsu (Wan Animate)", original: true },
"genjutsu-lite-motion-transfer": { id: "fuobe-genjutsu-motion-lite", was: "Genjutsu Lite Motion Transfer (Higgsfield)", note: "Motion transfer Lite now runs on Fuobe Genjutsu Lite", original: true },
@@ -161,6 +161,7 @@ export function migrateRequest<T extends StoredRequest>(req: T, opts: MigrateOpt
const extra = { ...(req.params?.extra ?? {}) };
const look = typeof extra.style_id === "string" ? lookCard(extra.style_id) : undefined;
let prompt = req.prompt;
+ let note = to.note;
if (r.director) {
const fields: Record<string, string> = {};
for (const k of DIRECTOR_FIELDS) {
@@ -169,6 +170,8 @@ export function migrateRequest<T extends StoredRequest>(req: T, opts: MigrateOpt
}
const words = Object.keys(fields).length && opts.directorWords ? opts.directorWords(fields).trim() : "";
if (words) prompt = sentence(prompt, words);
+ // The browser has no words to write (Reuse): the settings are left out, and the toast says so.
+ if (Object.keys(fields).length) note += words ? ", with the Director settings written into the prompt" : "; its Director settings (genre, era, lens, light…) were left out: pick them again in Cinema Studio";
}
for (const k of RETIRED_EXTRA) delete extra[k];
const params = req.params ? { ...req.params, ...(req.params.extra && { extra }) } : undefined;
@@ -181,5 +184,5 @@ export function migrateRequest<T extends StoredRequest>(req: T, opts: MigrateOpt
...(look && { presetId: look.id }),
...(prompt !== req.prompt && { prompt }),
} as T;
- return { request, note: to.note };
+ return { request, note };
}
diff --git a/tests/no-higgsfield.test.ts b/tests/no-higgsfield.test.ts
index 5d1a3f21..113ef489 100644
--- a/tests/no-higgsfield.test.ts
+++ b/tests/no-higgsfield.test.ts
@@ -358,8 +358,12 @@ describe("operations the replacements do elsewhere", () => {
expect(server.prompt).toMatch(/^A chase through the market\. /);
for (const words of [/noir/i, /1980s/i, /35mm/i, /anamorphic/i, /silhouette/i, /calm/i, /dolly/i, /neon/i]) expect(server.prompt).toMatch(words);
expect(directorFieldWords({ genre: "not-a-genre" })).toBe("");
- // The browser has no Director words to write: the fields go, the prompt stays the user's.
- expect(migrateRequest(old).request).toEqual({ modelId: "fuobe-cinema", prompt: "A chase through the market.", params: { duration: 8, extra: { seed: 3 } } });
+ expect(currentRequest(old as never).note).toBe("Cinema Studio's clips now run on Fuobe Cinema, with the Director settings written into the prompt");
+ // The browser has no Director words to write: the fields go, the prompt stays the user's, and the note says so.
+ const browser = migrateRequest(old);
+ expect(browser.request).toEqual({ modelId: "fuobe-cinema", prompt: "A chase through the market.", params: { duration: 8, extra: { seed: 3 } } });
+ expect(browser.note).toMatch(/Director settings .* were left out/);
+ expect(migrateRequest({ modelId: "cinema-studio-4", prompt: "x" }).note).toBe("Cinema Studio's clips now run on Fuobe Cinema");
// And the cloud half's payload carries none of them.
const p = previewGeneration({ feature: "video", ...old } as never);
expect(p.model.id).toBe("fuobe-cinema");