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.

N7-6: the dialog says when it can't price a run; research notes on H3 Max's reference cap

Clauded86017301e83
diff --git a/docs/research/new-models-7.json b/docs/research/new-models-7.json
index 99c78849..429c0e02 100644
--- a/docs/research/new-models-7.json
+++ b/docs/research/new-models-7.json
@@ -3225,7 +3225,7 @@
"§3.9",
"§3.10"
],
- "brief": "Goal. WorldCast's promise is \"one photo plus a few angles -> the camera flies around the character, and the back and sides look right\". Fuobe can give most of that today with routes it already has: one click on a cast sheet or a saved character makes a 360° turnaround of the same person, on both engines. N7-9 later swaps the open engine for WorldCast itself behind the same buttons. Research: new-models-7.md §3.7 recipes (B) and (C), §3.10 row 2.\n\nWhere it lands (exact spots).\n- The Character Sheet page result (`src/app/(studio)/character-sheet/page.tsx`; `src/components/fashion/character-sheet.tsx`, the \"Front, three-quarter, profile and back views\" result near L320) and Cinema's Soul Cast results: a \"Turnaround video\" button.\n- A character's Elements page (`src/app/(studio)/elements/[id]/page.tsx`): \"Fly around this character\" (pick the hero photo and, once N7-5 lands, a path preset; otherwise Orbit 360°).\n\nViews. One function `viewAzimuth(side)` with tests: front 0°, right 90°, back 180°, left 270°, using the subject's own left and right like Image to 3D's side picker (`src/lib/av/model3d.ts` L81-88). Order the views front -> right -> back -> left -> front. Write down WorldCast's convention for N7-9 (its left_side sits near 267° with `left_sign` -1).\n\nOpen engine.\n- Frames mode's existing chain (`createKeyframeFilm`, `src/server/chains.ts` L197; `FRAMES_MODELS.open` = `oss-wan22-14b`, `src/lib/catalog/keyframes.ts` L58) with the views at t 0 / 0.25 / 0.5 / 0.75 / 1.0 and a fixed orbit prompt (\"The camera orbits 360 degrees around the person at a constant height; the person stands naturally\").\n- Missing views come from the Angles app's open route (`src/lib/catalog/apps.ts` L265-302) at horizontal 90 / 180 / 270.\n- Optional: the pinned MiniMax H3 ref2va route with the sheet as <Picture> references and an orbit prompt (territory-restricted licence; information only).\n\nCloud engine.\n- Three or more views: `minimax-h3-max` op `ref2v` (`minimax/h3-max/reference-to-video`, already in the catalog at `cloud-models.generated.ts` L6244) with the views as Image 1..n and an orbit prompt: 5 s at 768P with up to four square references is $0.40.\n- Or FLUX 3 Max keyframes-to-video (`flux-3-max`, Frames mode's cloud model) with the views as keyframes spread over the duration: $0.0425/s on the promo until 2026-11-07, then $0.17/s at 720p.\n- Missing angles: `qwen-multiple-angles` ($0.035 per megapixel).\n- Only a hero photo: H3 Max camera-controls with Orbit 360° when N7-5's route exists; otherwise ref2v with one image.\n\nConsent. \"Fly around this character\" on a real person follows Soul ID's consent line (`SOUL_ID_COPY`, `src/lib/catalog/training.ts`); WorldCast's own ethics statement warns about impersonation.\n\nTests: `viewAzimuth` and the ordering; the plan per engine and per view count (1-5 views, with and without fills); prices; the ref2v payload (`reference_image_urls` <= 12, the prompt names Image N); the keyframe-film request for the open engine.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the button on the Character Sheet result, on Soul Cast results and on an element's page; the price or GPU line; progress; the result in the feed.\n\nWhat can't be verified here: GPU runs and paid calls; how well identity holds around the back. Add an eval suite (`scripts/eval/cases`) with ArcFace similarity of sampled frames to the sheet's views, so a GPU / key run can pick the default route."
+ "brief": "Goal. WorldCast's promise is \"one photo plus a few angles -> the camera flies around the character, and the back and sides look right\". Fuobe can give most of that today with routes it already has: one click on a cast sheet or a saved character makes a 360° turnaround of the same person, on both engines. N7-9 later swaps the open engine for WorldCast itself behind the same buttons. Research: new-models-7.md §3.7 recipes (B) and (C), §3.10 row 2.\n\nWhere it lands (exact spots).\n- The Character Sheet page result (`src/app/(studio)/character-sheet/page.tsx`; `src/components/fashion/character-sheet.tsx`, the \"Front, three-quarter, profile and back views\" result near L320) and Cinema's Soul Cast results: a \"Turnaround video\" button.\n- A character's Elements page (`src/app/(studio)/elements/[id]/page.tsx`): \"Fly around this character\" (pick the hero photo and, once N7-5 lands, a path preset; otherwise Orbit 360°).\n\nViews. One function `viewAzimuth(side)` with tests: front 0°, right 90°, back 180°, left 270°, using the subject's own left and right like Image to 3D's side picker (`src/lib/av/model3d.ts` L81-88). Order the views front -> right -> back -> left -> front. Write down WorldCast's convention for N7-9 (its left_side sits near 267° with `left_sign` -1).\n\nOpen engine.\n- Frames mode's existing chain (`createKeyframeFilm`, `src/server/chains.ts` L197; `FRAMES_MODELS.open` = `oss-wan22-14b`, `src/lib/catalog/keyframes.ts` L58) with the views at t 0 / 0.25 / 0.5 / 0.75 / 1.0 and a fixed orbit prompt (\"The camera orbits 360 degrees around the person at a constant height; the person stands naturally\").\n- Missing views come from the Angles app's open route (`src/lib/catalog/apps.ts` L265-302) at horizontal 90 / 180 / 270.\n- Optional: the pinned MiniMax H3 ref2va route with the sheet as <Picture> references and an orbit prompt (territory-restricted licence; information only).\n\nCloud engine.\n- Three or more views: `minimax-h3-max` op `ref2v` (`minimax/h3-max/reference-to-video`, already in the catalog at `cloud-models.generated.ts` L6244) with the views as Image 1..n and an orbit prompt: 5 s at 768P with up to four square references is $0.40.\n- Or FLUX 3 Max keyframes-to-video (`flux-3-max`, Frames mode's cloud model) with the views as keyframes spread over the duration: $0.0425/s on the promo until 2026-11-07, then $0.17/s at 720p.\n- Missing angles: `qwen-multiple-angles` ($0.035 per megapixel).\n- Only a hero photo: H3 Max camera-controls with Orbit 360° when N7-5's route exists; otherwise ref2v with one image.\n\nConsent. \"Fly around this character\" on a real person follows Soul ID's consent line (`SOUL_ID_COPY`, `src/lib/catalog/training.ts`); WorldCast's own ethics statement warns about impersonation.\n\nTests: `viewAzimuth` and the ordering; the plan per engine and per view count (1-5 views, with and without fills); prices; the ref2v payload (`reference_image_urls` <= 9, fal's schema; 12 files in all with videos and audio; the prompt names Image N); the keyframe-film request for the open engine.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the button on the Character Sheet result, on Soul Cast results and on an element's page; the price or GPU line; progress; the result in the feed.\n\nWhat can't be verified here: GPU runs and paid calls; how well identity holds around the back. Add an eval suite (`scripts/eval/cases`) with ArcFace similarity of sampled frames to the sheet's views, so a GPU / key run can pick the default route."
},
{
"key": "n7-7-exact-orbits",
diff --git a/docs/research/new-models-7.md b/docs/research/new-models-7.md
index 43b5d8be..9193b793 100644
--- a/docs/research/new-models-7.md
+++ b/docs/research/new-models-7.md
@@ -933,7 +933,7 @@ Cloud engine.
Consent. "Fly around this character" on a real person follows Soul ID's consent line (`SOUL_ID_COPY`, `src/lib/catalog/training.ts`); WorldCast's own ethics statement warns about impersonation.
-Tests: `viewAzimuth` and the ordering; the plan per engine and per view count (1-5 views, with and without fills); prices; the ref2v payload (`reference_image_urls` <= 12, the prompt names Image N); the keyframe-film request for the open engine.
+Tests: `viewAzimuth` and the ordering; the plan per engine and per view count (1-5 views, with and without fills); prices; the ref2v payload (`reference_image_urls` <= 9, fal's schema; 12 files in all with videos and audio; the prompt names Image N); the keyframe-film request for the open engine.
Browser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the button on the Character Sheet result, on Soul Cast results and on an element's page; the price or GPU line; progress; the result in the feed.
@@ -1000,7 +1000,7 @@ Fuobe prepares the case (permissive models only; the paper's Depth Pro and VGGT-
- Depth: MoGe 2 (MIT, the 3D scene's `oss-scene-moge`) or Depth Anything 3 metric-large (Apache-2.0, Comfy-Org/Depth-Anything-3 @ 8265be07).
- Masks: core `SAM3_Detect` with the pinned `sam3.1_multiplex_fp16`.
- Path: `framePoses` from N7-5's library; `render.mp4` / `render_mask.mp4` from N7-5's recorder (mask 0 = covered, 255 = hole).
-- Anchors: the element's or sheet's views with azimuths in WorldCast's convention (front 0°, right_side about 90°, back about 180°, left_side about 270°, `left_sign` -1); anchor poses on a ring at the subject distance (a guess), or leave `anchors_aligned_camera_info.json` out (the code then skips anchor Plücker rays; quality impact unknown).
+- Anchors: the element's or sheet's views with azimuths in WorldCast's convention (front 0°, right_side about 90°, back about 180°, left_side about 270°, `left_sign` -1; N7-6 converts Fuobe's sides once, in `worldcastAnchor`, `src/lib/catalog/turnaround.ts`); anchor poses on a ring at the subject distance (a guess), or leave `anchors_aligned_camera_info.json` out (the code then skips anchor Plücker rays; quality impact unknown).
- The `no_padding_black/` crops are not documented: read them from `demo_case/` and `diffsynth/pipelines/worldcast_pipeline.py` L842-869 before building.
Fuobe side.
diff --git a/src/components/turnaround/turnaround-dialog.tsx b/src/components/turnaround/turnaround-dialog.tsx
index 73064d43..8de9d51f 100644
--- a/src/components/turnaround/turnaround-dialog.tsx
+++ b/src/components/turnaround/turnaround-dialog.tsx
@@ -342,15 +342,25 @@ function TurnaroundForm({ pictures, name, realPerson: realDefault = false, eleme
</ul>
)}
<div className="flex flex-wrap items-center justify-end gap-x-3 gap-y-2 border-t pt-3">
- {p?.blocker && (
- <p role="status" className="mr-auto flex min-w-0 items-center gap-1.5 text-[12.5px] text-destructive">
- <AlertTriangle className="size-3.5 shrink-0" aria-hidden /> {p.blocker}
+ {preview.isError && !preview.isFetching ? (
+ // The plan couldn't be priced (the server didn't answer): say so, and let it be asked again.
+ <p role="status" className="mr-auto flex min-w-0 flex-wrap items-center gap-1.5 text-[12.5px] text-destructive">
+ <AlertTriangle className="size-3.5 shrink-0" aria-hidden /> Couldn&apos;t price it: {(preview.error as Error).message}
+ <Button variant="link" size="sm" className="h-auto p-0" onClick={() => void preview.refetch()}>
+ Try again
+ </Button>
</p>
+ ) : (
+ p?.blocker && (
+ <p role="status" className="mr-auto flex min-w-0 items-center gap-1.5 text-[12.5px] text-destructive">
+ <AlertTriangle className="size-3.5 shrink-0" aria-hidden /> {p.blocker}
+ </p>
+ )
)}
<span className="font-mono text-[12px] whitespace-nowrap text-muted-foreground" aria-live="polite">
{preview.isFetching && !p ? "Pricing…" : price}
</span>
- <Button onClick={() => make.mutate(body)} disabled={!p || !!p.blocker || make.isPending || preview.isFetching}>
+ <Button onClick={() => make.mutate(body)} disabled={!p || !!p.blocker || preview.isError || make.isPending || preview.isFetching}>
{make.isPending ? <Loader2 className="animate-spin" /> : <Rotate3d />} {flyAround ? "Fly around" : "Make turnaround"}
</Button>
</div>