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
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.jpgsimilarity index 100%rename from public/previews/body-double/clip-demo.jpgrename to public/samples/body-double/clip-demo.jpgdiff --git a/public/previews/body-double/clip-demo.mp4 b/public/samples/body-double/clip-demo.mp4similarity index 100%rename from public/previews/body-double/clip-demo.mp4rename to public/samples/body-double/clip-demo.mp4diff --git a/public/previews/body-double/photo-after.jpg b/public/samples/body-double/photo-after.jpgsimilarity index 100%rename from public/previews/body-double/photo-after.jpgrename to public/samples/body-double/photo-after.jpgdiff --git a/public/previews/body-double/photo-before.jpg b/public/samples/body-double/photo-before.jpgsimilarity index 100%rename from public/previews/body-double/photo-before.jpgrename to public/samples/body-double/photo-before.jpgdiff --git a/public/previews/body-double/sample-dance.mp4 b/public/samples/body-double/sample-dance.mp4similarity index 100%rename from public/previews/body-double/sample-dance.mp4rename to public/samples/body-double/sample-dance.mp4diff --git a/public/previews/body-double/sample-runway.mp4 b/public/samples/body-double/sample-runway.mp4similarity index 100%rename from public/previews/body-double/sample-runway.mp4rename to public/samples/body-double/sample-runway.mp4diff --git a/src/components/body-double/body-double-tool.tsx b/src/components/body-double/body-double-tool.tsxindex 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.tsxindex 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.tsindex 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";