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: its examples live with the other samples

Adarsha8f1b1cf88a4
diff --git a/public/previews/body-double/clip-demo.jpg b/public/samples/body-double/clip-demo.jpg
similarity index 100%
rename from public/previews/body-double/clip-demo.jpg
rename to public/samples/body-double/clip-demo.jpg
diff --git a/public/previews/body-double/clip-demo.mp4 b/public/samples/body-double/clip-demo.mp4
similarity index 100%
rename from public/previews/body-double/clip-demo.mp4
rename to public/samples/body-double/clip-demo.mp4
diff --git a/public/previews/body-double/photo-after.jpg b/public/samples/body-double/photo-after.jpg
similarity index 100%
rename from public/previews/body-double/photo-after.jpg
rename to public/samples/body-double/photo-after.jpg
diff --git a/public/previews/body-double/photo-before.jpg b/public/samples/body-double/photo-before.jpg
similarity index 100%
rename from public/previews/body-double/photo-before.jpg
rename to public/samples/body-double/photo-before.jpg
diff --git a/public/previews/body-double/sample-dance.mp4 b/public/samples/body-double/sample-dance.mp4
similarity index 100%
rename from public/previews/body-double/sample-dance.mp4
rename to public/samples/body-double/sample-dance.mp4
diff --git a/public/previews/body-double/sample-runway.mp4 b/public/samples/body-double/sample-runway.mp4
similarity index 100%
rename from public/previews/body-double/sample-runway.mp4
rename to public/samples/body-double/sample-runway.mp4
diff --git a/src/components/body-double/body-double-tool.tsx b/src/components/body-double/body-double-tool.tsx
index 2449c857..ffc249fb 100644
--- a/src/components/body-double/body-double-tool.tsx
+++ b/src/components/body-double/body-double-tool.tsx
@@ -25,8 +25,8 @@ import { LiveView } from "./live-view";
type Mode = "live" | "photo" | "clip";
const SUBTITLE = "A 3D body for every person: live from your camera, from a photo, or from a clip as motion capture you can animate with.";
const EXAMPLES: Record<"photo" | "clip", { src: string; name: string; label: string }> = {
- photo: { src: "/previews/body-double/photo-before.jpg", name: "body-double-example.jpg", label: "Try it on this photo" },
- clip: { src: "/previews/body-double/sample-dance.mp4", name: "body-double-example.mp4", label: "Try it on this dance" },
+ photo: { src: "/samples/body-double/photo-before.jpg", name: "body-double-example.jpg", label: "Try it on this photo" },
+ clip: { src: "/samples/body-double/sample-dance.mp4", name: "body-double-example.mp4", label: "Try it on this dance" },
};
function AddMedia({ mode, onPick }: { mode: "photo" | "clip"; onPick: (v: SlotValue) => void }) {
diff --git a/src/components/body-double/live-view.tsx b/src/components/body-double/live-view.tsx
index 3782c56f..7eea1552 100644
--- a/src/components/body-double/live-view.tsx
+++ b/src/components/body-double/live-view.tsx
@@ -13,8 +13,8 @@ import { cn } from "@/lib/utils";
/** A clip anyone can try Live on before turning on their camera. */
export const LIVE_SAMPLES = [
- { src: "/previews/body-double/sample-dance.mp4", label: "Gallery dance" },
- { src: "/previews/body-double/sample-runway.mp4", label: "Runway walk" },
+ { src: "/samples/body-double/sample-dance.mp4", label: "Gallery dance" },
+ { src: "/samples/body-double/sample-runway.mp4", label: "Runway walk" },
] as const;
diff --git a/src/lib/catalog/body-double.ts b/src/lib/catalog/body-double.ts
index b41c60a3..00c6b84c 100644
--- a/src/lib/catalog/body-double.ts
+++ b/src/lib/catalog/body-double.ts
@@ -20,9 +20,9 @@ export const BODY_DOUBLE = {
/** Finished examples shown on the app's page: a group photo before and after, and a motion capture (also Live's opening). */
export const BODY_DOUBLE_DEMOS = {
- photo: { before: "/previews/body-double/photo-before.jpg", after: "/previews/body-double/photo-after.jpg" },
- clip: { video: "/previews/body-double/clip-demo.mp4", poster: "/previews/body-double/clip-demo.jpg" },
- live: { video: "/previews/body-double/clip-demo.mp4", poster: "/previews/body-double/clip-demo.jpg" },
+ photo: { before: "/samples/body-double/photo-before.jpg", after: "/samples/body-double/photo-after.jpg" },
+ clip: { video: "/samples/body-double/clip-demo.mp4", poster: "/samples/body-double/clip-demo.jpg" },
+ live: { video: "/samples/body-double/clip-demo.mp4", poster: "/samples/body-double/clip-demo.jpg" },
} as const;
export type BodyLookId = "holo" | "clay" | "thermal" | "ghost" | "xray" | "skeleton";