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.

Body Double on Home and in Fuobe FX

Adarsh602be0b736ed
diff --git a/public/previews/fx/body-double/after.1440.avif b/public/previews/fx/body-double/after.1440.avif
new file mode 100644
index 00000000..d94e0fcb
Binary files /dev/null and b/public/previews/fx/body-double/after.1440.avif differ
diff --git a/public/previews/fx/body-double/after.1440.webp b/public/previews/fx/body-double/after.1440.webp
new file mode 100644
index 00000000..70fd90d2
Binary files /dev/null and b/public/previews/fx/body-double/after.1440.webp differ
diff --git a/public/previews/fx/body-double/after.480.avif b/public/previews/fx/body-double/after.480.avif
new file mode 100644
index 00000000..e8a3ca4a
Binary files /dev/null and b/public/previews/fx/body-double/after.480.avif differ
diff --git a/public/previews/fx/body-double/after.480.webp b/public/previews/fx/body-double/after.480.webp
new file mode 100644
index 00000000..2daa8ee7
Binary files /dev/null and b/public/previews/fx/body-double/after.480.webp differ
diff --git a/public/previews/fx/body-double/after.960.avif b/public/previews/fx/body-double/after.960.avif
new file mode 100644
index 00000000..7065df3d
Binary files /dev/null and b/public/previews/fx/body-double/after.960.avif differ
diff --git a/public/previews/fx/body-double/after.960.webp b/public/previews/fx/body-double/after.960.webp
new file mode 100644
index 00000000..77de6ae6
Binary files /dev/null and b/public/previews/fx/body-double/after.960.webp differ
diff --git a/public/previews/fx/body-double/before.1440.avif b/public/previews/fx/body-double/before.1440.avif
new file mode 100644
index 00000000..18721a35
Binary files /dev/null and b/public/previews/fx/body-double/before.1440.avif differ
diff --git a/public/previews/fx/body-double/before.1440.webp b/public/previews/fx/body-double/before.1440.webp
new file mode 100644
index 00000000..efe4a787
Binary files /dev/null and b/public/previews/fx/body-double/before.1440.webp differ
diff --git a/public/previews/fx/body-double/before.480.avif b/public/previews/fx/body-double/before.480.avif
new file mode 100644
index 00000000..aa2a3393
Binary files /dev/null and b/public/previews/fx/body-double/before.480.avif differ
diff --git a/public/previews/fx/body-double/before.480.webp b/public/previews/fx/body-double/before.480.webp
new file mode 100644
index 00000000..09a81d59
Binary files /dev/null and b/public/previews/fx/body-double/before.480.webp differ
diff --git a/public/previews/fx/body-double/before.960.avif b/public/previews/fx/body-double/before.960.avif
new file mode 100644
index 00000000..e7789b35
Binary files /dev/null and b/public/previews/fx/body-double/before.960.avif differ
diff --git a/public/previews/fx/body-double/before.960.webp b/public/previews/fx/body-double/before.960.webp
new file mode 100644
index 00000000..46504697
Binary files /dev/null and b/public/previews/fx/body-double/before.960.webp differ
diff --git a/public/samples/body-double/looks/clay.jpg b/public/samples/body-double/looks/clay.jpg
new file mode 100644
index 00000000..36a6ecf5
Binary files /dev/null and b/public/samples/body-double/looks/clay.jpg differ
diff --git a/public/samples/body-double/looks/ghost.jpg b/public/samples/body-double/looks/ghost.jpg
new file mode 100644
index 00000000..180a19e1
Binary files /dev/null and b/public/samples/body-double/looks/ghost.jpg differ
diff --git a/public/samples/body-double/looks/holo.jpg b/public/samples/body-double/looks/holo.jpg
new file mode 100644
index 00000000..b9ce758b
Binary files /dev/null and b/public/samples/body-double/looks/holo.jpg differ
diff --git a/public/samples/body-double/looks/skeleton.jpg b/public/samples/body-double/looks/skeleton.jpg
new file mode 100644
index 00000000..5d0393e2
Binary files /dev/null and b/public/samples/body-double/looks/skeleton.jpg differ
diff --git a/public/samples/body-double/looks/thermal.jpg b/public/samples/body-double/looks/thermal.jpg
new file mode 100644
index 00000000..ca03f261
Binary files /dev/null and b/public/samples/body-double/looks/thermal.jpg differ
diff --git a/public/samples/body-double/looks/xray.jpg b/public/samples/body-double/looks/xray.jpg
new file mode 100644
index 00000000..91be0823
Binary files /dev/null and b/public/samples/body-double/looks/xray.jpg differ
diff --git a/src/app/(studio)/page.tsx b/src/app/(studio)/page.tsx
index a581ec43..c8eb1b82 100644
--- a/src/app/(studio)/page.tsx
+++ b/src/app/(studio)/page.tsx
@@ -1,6 +1,7 @@
import {
AppsSection,
AssistSection,
+ BodyDoubleSection,
EffectsSection,
HomeFooter,
LiveEditSection,
@@ -49,6 +50,8 @@ export default async function Page() {
>
{/* Live edit is the highlight: its own section comes first, right under the first screen and the composer. */}
<LiveEditSection />
+ {/* Body Double: everyone in a shot as their double, and Live from the camera. */}
+ <BodyDoubleSection />
{/* Camera motions, then Effects. */}
<MotionsSection facts={home.facts} motions={home.motions} />
<EffectsSection facts={home.facts} effects={home.effects} />
diff --git a/src/components/home/body-double-showcase.tsx b/src/components/home/body-double-showcase.tsx
new file mode 100644
index 00000000..822959e2
--- /dev/null
+++ b/src/components/home/body-double-showcase.tsx
@@ -0,0 +1,65 @@
+"use client";
+
+import { useState } from "react";
+import { BODY_DOUBLE_DEMOS, BODY_LOOKS, type BodyLookId } from "@/lib/catalog/body-double";
+import { cn } from "@/lib/utils";
+
+type Shown = "motion" | BodyLookId;
+
+/**
+ * Home's Body Double picture: a dance and its motion capture, playing; each look's chip shows four models on a rooftop
+ * as their doubles in that look, over their whole outline. Real results, no requests beyond the files.
+ */
+export function BodyDoubleShowcase({ className }: { className?: string }) {
+ const [shown, setShown] = useState<Shown>("motion");
+ const chips: { value: Shown; label: string }[] = [{ value: "motion", label: "Motion capture" }, ...BODY_LOOKS.map((l) => ({ value: l.value, label: l.label }))];
+ return (
+ <div className={cn("space-y-3", className)}>
+ <div className="relative aspect-[4/3] overflow-hidden rounded-2xl bg-media shadow-strong">
+ <video
+ src={BODY_DOUBLE_DEMOS.clip.video}
+ poster={BODY_DOUBLE_DEMOS.clip.poster}
+ autoPlay
+ muted
+ loop
+ playsInline
+ preload="metadata"
+ aria-label="A dance beside its Holo body double, with its 3D pose"
+ className={cn("absolute inset-0 size-full object-cover transition-opacity duration-300", shown === "motion" ? "opacity-100" : "opacity-0")}
+ />
+ {BODY_LOOKS.map((l) => (
+ // eslint-disable-next-line @next/next/no-img-element
+ <img
+ key={l.value}
+ src={`/samples/body-double/looks/${l.value}.jpg`}
+ alt={`Four models on a rooftop as their ${l.label} body doubles`}
+ loading="lazy"
+ decoding="async"
+ className={cn("absolute inset-0 size-full object-cover transition-opacity duration-300", shown === l.value ? "opacity-100" : "opacity-0")}
+ />
+ ))}
+ <span className="pointer-events-none absolute top-3 left-3 rounded-full bg-black/55 px-2.5 py-1 text-[11px] font-medium text-white backdrop-blur">
+ {shown === "motion" ? "Motion capture" : BODY_LOOKS.find((l) => l.value === shown)?.label}
+ </span>
+ </div>
+ <div className="flex flex-wrap gap-1.5" role="radiogroup" aria-label="Show Body Double">
+ {chips.map((c) => (
+ <button
+ key={c.value}
+ type="button"
+ role="radio"
+ aria-checked={shown === c.value}
+ onClick={() => setShown(c.value)}
+ onPointerEnter={(e) => e.pointerType === "mouse" && setShown(c.value)}
+ className={cn(
+ "h-8 rounded-full border px-3 text-[13px] outline-none transition focus-visible:ring-2 focus-visible:ring-ring",
+ shown === c.value ? "border-foreground bg-foreground text-background" : "bg-background text-muted-foreground hover:text-foreground",
+ )}
+ >
+ {c.label}
+ </button>
+ ))}
+ </div>
+ </div>
+ );
+}
diff --git a/src/components/home/home-sections.tsx b/src/components/home/home-sections.tsx
index 13b22333..693bf7c5 100644
--- a/src/components/home/home-sections.tsx
+++ b/src/components/home/home-sections.tsx
@@ -1,8 +1,9 @@
import Link from "next/link";
import { Fragment } from "react";
-import { ArrowRight, AudioLines, Box, CalendarClock, ImageIcon, ListChecks, Plug, ScanEye, Sparkles, TextCursorInput, Undo2, Video, Zap, type LucideIcon } from "lucide-react";
+import { ArrowRight, AudioLines, Box, CalendarClock, Camera, Film, ImageIcon, ListChecks, Plug, ScanEye, Sparkles, TextCursorInput, Undo2, Users, Video, Zap, type LucideIcon } from "lucide-react";
import { GitHubMark } from "@/components/github-mark";
import { BeforeAfter } from "@/components/home/before-after";
+import { BodyDoubleShowcase } from "@/components/home/body-double-showcase";
import { FxCard } from "@/components/fx/fx-card";
import {
AssistAction,
@@ -27,7 +28,7 @@ import { PresetCard } from "@/components/preset-gallery";
import { ASSIST_SUGGESTIONS } from "@/lib/assist";
import { WORKFLOWS_ON_GITHUB } from "@/lib/comfy-install";
import { FUOBE_REPO } from "@/lib/connections";
-import { HOME_LIVE, presetHref, type HomeShowcase } from "@/lib/home-showcase";
+import { HOME_BODY_DOUBLE, HOME_LIVE, presetHref, type HomeShowcase } from "@/lib/home-showcase";
import { area } from "@/lib/nav-areas";
import { studioCount } from "@/lib/nav-model";
import { staggered, type AutoPlay } from "@/lib/preview-playback";
@@ -294,6 +295,40 @@ export function LiveEditSection() {
);
}
+/** Body Double: its picture on the right (Live edit's is on the left), the looks to try under it. */
+export function BodyDoubleSection() {
+ const points: [LucideIcon, string][] = [
+ [Users, "Everyone in a photo, clothes and hair included"],
+ [Film, "Motion capture from a clip, as an animated 3D file"],
+ [Camera, "Live from your camera, in the browser"],
+ ];
+ return (
+ <section aria-labelledby="home-body-double" data-reveal className={cn(SECTION, "[--cv:860px] sm:[--cv:980px] md:[--cv:940px] lg:[--cv:540px] xl:[--cv:570px]")}>
+ <div className="grid grid-cols-1 items-center gap-6 lg:grid-cols-12 lg:gap-10">
+ <div className="min-w-0 lg:order-1 lg:col-span-5">
+ <span className="inline-flex items-center gap-1.5 rounded-full bg-highlight px-2 py-0.5 text-[11px] font-semibold text-highlight-foreground">New · Body Double</span>
+ <h2 id="home-body-double" className={cn(H2, "mt-3")}>
+ {HOME_BODY_DOUBLE.title}
+ </h2>
+ <p className={LINE}>{HOME_BODY_DOUBLE.line}</p>
+ <ul className="mt-4 space-y-2 text-[14px]">
+ {points.map(([Icon, t]) => (
+ <li key={t} className="flex items-center gap-2.5">
+ <Icon className="size-4 shrink-0 text-primary" />
+ {t}
+ </li>
+ ))}
+ </ul>
+ <IntentLink href={HOME_BODY_DOUBLE.href} className="group mt-6 inline-flex h-10 items-center gap-2 rounded-full bg-primary px-5 text-[14px] font-medium text-primary-foreground transition hover:opacity-90">
+ Open Body Double <ArrowRight className="size-4 transition-transform duration-150 group-hover:translate-x-0.5" />
+ </IntentLink>
+ </div>
+ <BodyDoubleShowcase className="w-full lg:order-2 lg:col-span-7" />
+ </div>
+ </section>
+ );
+}
+
/** Heights of the Audio card's bars (0–1): a waveform drawn once, not a recording. */
const WAVE = [
0.3, 0.45, 0.7, 0.5, 0.85, 1, 0.75, 0.55, 0.4, 0.6, 0.9, 0.7, 0.45, 0.3, 0.5, 0.8, 0.95, 0.65, 0.4, 0.55, 0.75, 0.5, 0.35, 0.6, 0.8, 0.55, 0.35, 0.25,
diff --git a/src/lib/fx-pairs.generated.ts b/src/lib/fx-pairs.generated.ts
index 99050fcc..f50eec9d 100644
--- a/src/lib/fx-pairs.generated.ts
+++ b/src/lib/fx-pairs.generated.ts
@@ -22,6 +22,11 @@ export interface FxPair {
export const fxPairSrc = (id: string, file: string): string | undefined => (FX_PAIRS[id] ? `/previews/fx/${id}/${file}?v=${FX_PAIRS[id].v}` : undefined);
export const FX_PAIRS: Record<string, FxPair> = {
+ "body-double": {
+ "v": "ff6b1f8f",
+ "kind": "pair",
+ "hd": true
+ },
"character-swap": {
"v": "c02eceb8",
"kind": "pair",
diff --git a/src/lib/fx-tools.ts b/src/lib/fx-tools.ts
index 956e6eb8..ed2ee28a 100644
--- a/src/lib/fx-tools.ts
+++ b/src/lib/fx-tools.ts
@@ -40,6 +40,8 @@ export const FX_COVERS: Readonly<Record<string, string>> = {
[gj("restyle")]: "effect-layer-mixed-media",
[gj("finish")]: "effect-film-colors",
"upscale-fps": "motion-slow-motion",
+ // Body Double (an app with a navigation entry): its own cover, a card here.
+ "body-double": "app-body-double",
};
/**
@@ -167,9 +169,9 @@ export const FX_SECTIONS: readonly FxSection[] = [
id: "camera",
title: "Camera & 3D",
chip: "Camera & 3D",
- line: "New angles, camera moves, 3D from a photo and effects for any shot.",
+ line: "A 3D body for every person, new angles, camera moves, 3D from a photo and effects for any shot.",
icon: "Rotate3d",
- items: ["any-angle", "image-to-3d", "image-to-3d-splat", "cinema", "cinema-blockout", "motions", "effects", "video-tools-evolution", "app-fuobe-angles", "app-zoom-out", "app-shots"],
+ items: ["body-double", "any-angle", "image-to-3d", "image-to-3d-splat", "cinema", "cinema-blockout", "motions", "effects", "video-tools-evolution", "app-fuobe-angles", "app-zoom-out", "app-shots"],
},
];
diff --git a/src/lib/home-showcase.ts b/src/lib/home-showcase.ts
index 3bc71823..1fa94523 100644
--- a/src/lib/home-showcase.ts
+++ b/src/lib/home-showcase.ts
@@ -179,6 +179,12 @@ export const HOME_LIVE = {
line: "Type a change and watch the picture follow, then keep adding to the words. Nothing blurs, however many changes you make.",
};
+export const HOME_BODY_DOUBLE = {
+ href: "/apps/app-body-double?from=home",
+ title: "A 3D body double for everyone in the shot",
+ line: "Every person in a photo or a clip becomes their double, clothes and hair included, with a full 3D body you can animate. Or go live with your camera, right in the browser.",
+};
+
/** Assist's starter skills, as its empty chat lists them first (assist-view.tsx). */
export const HOME_SKILLS = ["product-photoshoot", "ugc-video", "thumbnail-generation", "faceless-video", "short-film", "localization"];
diff --git a/src/lib/nav-model.ts b/src/lib/nav-model.ts
index 7ef509da..efdc393d 100644
--- a/src/lib/nav-model.ts
+++ b/src/lib/nav-model.ts
@@ -334,6 +334,7 @@ const SUB_TOOLS: NavEntry[] = [
{ id: "ads-multiplier", href: "/ads/multiplier", label: "Ad Multiplier", what: "One ad in many versions", kind: "tool", goals: [], keywords: "variations versions sizes multiply ads studio", icon: "Target", parent: "marketing" },
{ id: "chat-skills", href: "/chat/skills", label: "Skills", what: "Reusable recipes", kind: "tool", goals: [], keywords: "skill recipe playbook automation assist", icon: "MessagesSquare", parent: "chat" },
// An app with a page of its own that Create lists: a tool of Apps, so the bar marks Apps on its page.
+ { id: "body-double", href: "/apps/app-body-double", label: "Body Double", what: "A 3D body for every person", kind: "tool", goals: ["people", "film"], keywords: "body pose 3d mocap motion capture skeleton mesh webcam live camera dance", icon: "PersonStanding", parent: "apps" },
{ id: "any-angle", href: "/apps/app-any-angle", label: "Any Angle", what: "See it from any angle", kind: "tool", goals: [], keywords: "angle rotate turn view camera viewpoint orbit 3d", cover: "app-any-angle", icon: "Rotate3d", parent: "apps" },
];
diff --git a/src/lib/preset-featured.ts b/src/lib/preset-featured.ts
index e1528203..4c0cdec8 100644
--- a/src/lib/preset-featured.ts
+++ b/src/lib/preset-featured.ts
@@ -11,13 +11,13 @@ const ORDER: Record<"app" | "motion" | "effect", string[]> = {
app: [
`
app-behind-the-scenes app-relight app-macroshot-product app-color-grading app-age-shift app-makeup-studio
- app-angles app-shots app-match-lighting app-match-colors app-product-shot app-bullet-time-scene
+ app-body-double app-angles app-shots app-match-lighting app-match-colors app-product-shot app-bullet-time-scene
app-bullet-time-splash app-chameleon app-outfit-swap app-tap-to-recolor app-steal-the-look app-outfit-shot app-sketch-to-real
app-video-face-swap app-video-background-remover app-watermark-remover app-clean-up-voice app-breakdown
`,
`
app-hairstyle-try-on app-fuobe-angles app-any-angle app-product-placement app-link-to-video-ad app-style-snap app-steam-it app-urban-cuts
- app-signboard app-j-poster app-giallo-horror app-face-swap app-head-swap app-body-double app-character-swap app-headshot-generator
+ app-signboard app-j-poster app-giallo-horror app-face-swap app-head-swap app-character-swap app-headshot-generator
app-skin-enhancer app-zooms app-what-s-next app-packshot app-billboard-ad app-macro-scene app-asmr-promo
app-ai-stylist app-colorize app-bring-to-life app-dance app-clipcut app-sticker-match-cut app-latex app-sand-worm
app-storm-creature app-renaissance app-3d-rotation app-ghoulgao app-object-remover