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
Fuobe Reshoot: open to everyone, with two examples
Adarshdeea6f05f237
diff --git a/public/examples/genjutsu-reshoot/1/in-clip.384.webp b/public/examples/genjutsu-reshoot/1/in-clip.384.webpnew file mode 100644index 00000000..8d5bcd71Binary files /dev/null and b/public/examples/genjutsu-reshoot/1/in-clip.384.webp differdiff --git a/public/examples/genjutsu-reshoot/1/in-clip.jpg b/public/examples/genjutsu-reshoot/1/in-clip.jpgnew file mode 100644index 00000000..b77d3103Binary files /dev/null and b/public/examples/genjutsu-reshoot/1/in-clip.jpg differdiff --git a/public/examples/genjutsu-reshoot/1/show.mp4 b/public/examples/genjutsu-reshoot/1/show.mp4new file mode 100644index 00000000..7dcd2030Binary files /dev/null and b/public/examples/genjutsu-reshoot/1/show.mp4 differdiff --git a/public/examples/genjutsu-reshoot/1/show.peak.webp b/public/examples/genjutsu-reshoot/1/show.peak.webpnew file mode 100644index 00000000..eac74eb2Binary files /dev/null and b/public/examples/genjutsu-reshoot/1/show.peak.webp differdiff --git a/public/examples/genjutsu-reshoot/1/show.poster.webp b/public/examples/genjutsu-reshoot/1/show.poster.webpnew file mode 100644index 00000000..d62b706bBinary files /dev/null and b/public/examples/genjutsu-reshoot/1/show.poster.webp differdiff --git a/public/examples/genjutsu-reshoot/2/in-clip.384.webp b/public/examples/genjutsu-reshoot/2/in-clip.384.webpnew file mode 100644index 00000000..8d5bcd71Binary files /dev/null and b/public/examples/genjutsu-reshoot/2/in-clip.384.webp differdiff --git a/public/examples/genjutsu-reshoot/2/in-clip.jpg b/public/examples/genjutsu-reshoot/2/in-clip.jpgnew file mode 100644index 00000000..b77d3103Binary files /dev/null and b/public/examples/genjutsu-reshoot/2/in-clip.jpg differdiff --git a/public/examples/genjutsu-reshoot/2/in-photo1.384.webp b/public/examples/genjutsu-reshoot/2/in-photo1.384.webpnew file mode 100644index 00000000..99e4434eBinary files /dev/null and b/public/examples/genjutsu-reshoot/2/in-photo1.384.webp differdiff --git a/public/examples/genjutsu-reshoot/2/in-photo1.jpg b/public/examples/genjutsu-reshoot/2/in-photo1.jpgnew file mode 100644index 00000000..7e57ddecBinary files /dev/null and b/public/examples/genjutsu-reshoot/2/in-photo1.jpg differdiff --git a/public/examples/genjutsu-reshoot/2/show.mp4 b/public/examples/genjutsu-reshoot/2/show.mp4new file mode 100644index 00000000..91a7b0b0Binary files /dev/null and b/public/examples/genjutsu-reshoot/2/show.mp4 differdiff --git a/public/examples/genjutsu-reshoot/2/show.peak.webp b/public/examples/genjutsu-reshoot/2/show.peak.webpnew file mode 100644index 00000000..fc0d83eaBinary files /dev/null and b/public/examples/genjutsu-reshoot/2/show.peak.webp differdiff --git a/public/examples/genjutsu-reshoot/2/show.poster.webp b/public/examples/genjutsu-reshoot/2/show.poster.webpnew file mode 100644index 00000000..c5306f7cBinary files /dev/null and b/public/examples/genjutsu-reshoot/2/show.poster.webp differdiff --git a/src/lib/examples/catalog.ts b/src/lib/examples/catalog.tsindex f6b0987c..8c892df5 100644--- a/src/lib/examples/catalog.ts+++ b/src/lib/examples/catalog.ts@@ -291,7 +291,7 @@ function genjutsuLoad(row: PlanRow): GenjutsuExampleLoad {if (problem) fail(row, problem);const r = g.recipe;const maker = getMaker(r.model, r.engine)!;- const needs = requestFeatures({ mode: r.mode, maker, character: r.character, object: r.object, picture: r.picture ? { ...r.picture, stage: "frame" } : undefined, finish: r.finish });+ const needs = requestFeatures({ mode: r.mode, maker, character: r.character, object: r.object, picture: r.picture ? { ...r.picture, stage: "frame" } : undefined, finish: r.finish, reshoot: r.reshoot });if (!row.output.endsWith(".mp4")) fail(row, "a Genjutsu example shows a clip (clip-show)");return { via: "genjutsu", layout: g.layout, went: g.went, recipe: r, needs };}diff --git a/src/lib/examples/media.generated.ts b/src/lib/examples/media.generated.tsindex 41a40df7..b1518142 100644--- a/src/lib/examples/media.generated.ts+++ b/src/lib/examples/media.generated.ts@@ -6470,6 +6470,115 @@ export const EXAMPLE_MEDIA: Record<string, ExampleMediaFile> = {"w": 1024,"h": 768},+ "/examples/genjutsu-reshoot/1/in-clip.384.webp": {+ "role": "show",+ "type": "image/webp",+ "bytes": 18012,+ "sha256": "8604ec0a95d5e019e1f65835263ac0e92c27413f656ba05dd6bc2327d8aa8bd7",+ "v": "8604ec0a",+ "w": 384,+ "h": 288+ },+ "/examples/genjutsu-reshoot/1/in-clip.jpg": {+ "role": "in",+ "type": "image/jpeg",+ "bytes": 132806,+ "sha256": "d08ffaa23e3f76ad08682a427025cf914d535ce59699ebbee23118c7441a6686",+ "v": "d08ffaa2",+ "w": 1280,+ "h": 960,+ "thumb": "/examples/genjutsu-reshoot/1/in-clip.384.webp?v=8604ec0a"+ },+ "/examples/genjutsu-reshoot/1/show.mp4": {+ "role": "show",+ "type": "video/mp4",+ "bytes": 960843,+ "sha256": "a6f0b88569d633a16e385f82e53d0e0dfd830ffe5af790232736b742e57093cf",+ "v": "a6f0b885",+ "poster": "/examples/genjutsu-reshoot/1/show.poster.webp?v=cd082153"+ },+ "/examples/genjutsu-reshoot/1/show.peak.webp": {+ "role": "show",+ "type": "image/webp",+ "bytes": 23842,+ "sha256": "b6fbffa0921286027bfac9854527467c7186568266e64329b4cad823087e9596",+ "v": "b6fbffa0",+ "w": 512,+ "h": 384+ },+ "/examples/genjutsu-reshoot/1/show.poster.webp": {+ "role": "show",+ "type": "image/webp",+ "bytes": 68638,+ "sha256": "cd0821533f3b6b693ff8173ceef974cd210e4795563565f052f23ff00a844fe3",+ "v": "cd082153",+ "w": 1024,+ "h": 768+ },+ "/examples/genjutsu-reshoot/2/in-clip.384.webp": {+ "role": "show",+ "type": "image/webp",+ "bytes": 18012,+ "sha256": "8604ec0a95d5e019e1f65835263ac0e92c27413f656ba05dd6bc2327d8aa8bd7",+ "v": "8604ec0a",+ "w": 384,+ "h": 288+ },+ "/examples/genjutsu-reshoot/2/in-clip.jpg": {+ "role": "in",+ "type": "image/jpeg",+ "bytes": 132806,+ "sha256": "d08ffaa23e3f76ad08682a427025cf914d535ce59699ebbee23118c7441a6686",+ "v": "d08ffaa2",+ "w": 1280,+ "h": 960,+ "thumb": "/examples/genjutsu-reshoot/2/in-clip.384.webp?v=8604ec0a"+ },+ "/examples/genjutsu-reshoot/2/in-photo1.384.webp": {+ "role": "show",+ "type": "image/webp",+ "bytes": 4630,+ "sha256": "0e4e11354054a9fe0f2572ed1bccbad3138eb705691b8337d1e6506d5fffae00",+ "v": "0e4e1135",+ "w": 384,+ "h": 288+ },+ "/examples/genjutsu-reshoot/2/in-photo1.jpg": {+ "role": "in",+ "type": "image/jpeg",+ "bytes": 86652,+ "sha256": "74978427a3e7df850988212762d80a25f76391f2728b1d0299f77964ebafc215",+ "v": "74978427",+ "w": 1280,+ "h": 960,+ "thumb": "/examples/genjutsu-reshoot/2/in-photo1.384.webp?v=0e4e1135"+ },+ "/examples/genjutsu-reshoot/2/show.mp4": {+ "role": "show",+ "type": "video/mp4",+ "bytes": 729498,+ "sha256": "7c55195180874b86dc17ff74da489297e276a45ba28375625d6465c35c4c81c7",+ "v": "7c551951",+ "poster": "/examples/genjutsu-reshoot/2/show.poster.webp?v=d094e4fe"+ },+ "/examples/genjutsu-reshoot/2/show.peak.webp": {+ "role": "show",+ "type": "image/webp",+ "bytes": 24296,+ "sha256": "56582c0261b02474c57473421dbcd10d3e1959fde0cc996b1352284cefc159a3",+ "v": "56582c02",+ "w": 512,+ "h": 384+ },+ "/examples/genjutsu-reshoot/2/show.poster.webp": {+ "role": "show",+ "type": "image/webp",+ "bytes": 61356,+ "sha256": "d094e4fe6b8d1bd67342a97e39e6e108c1982de778e118cd6d6f47939d2d37df",+ "v": "d094e4fe",+ "w": 1024,+ "h": 768+ },"/examples/genjutsu-swap/1/in-clip.384.webp": {"role": "show","type": "image/webp",diff --git a/src/lib/examples/plan.json b/src/lib/examples/plan.jsonindex b7ec74ce..ac409281 100644--- a/src/lib/examples/plan.json+++ b/src/lib/examples/plan.json@@ -4785,6 +4785,74 @@"from": 0}},+ {+ "id": "genjutsu-reshoot.1",+ "surface": "tool:genjutsu/reshoot",+ "rank": 1,+ "caption": "The same walk in fresh snow",+ "words": "A blue-hour walk through Paris, reshot in fresh snow. Her steps, the camera move and the sound stay as filmed.",+ "load": "genjutsu",+ "genjutsu": {+ "layout": "wipe",+ "went": "A 5 s clip and a few words",+ "recipe": {+ "mode": "reshoot",+ "engine": "open",+ "model": "oss-h3-reshoot",+ "quality": "720p",+ "seed": 7,+ "length": 5.166,+ "originalSound": "everything",+ "reshoot": {+ "choice": "edit",+ "words": "fresh snow is falling, and the street, the awnings and the cobblestones are dusted white with it"+ }+ }+ },+ "inputs": {+ "clip": "/examples/genjutsu-reshoot/1/in-clip.jpg"+ },+ "output": "/examples/genjutsu-reshoot/1/show.mp4",+ "rest": {+ "src": "/examples/genjutsu-reshoot/1/show.peak.webp",+ "at": 4.008,+ "from": 0+ }+ },+ {+ "id": "genjutsu-reshoot.2",+ "surface": "tool:genjutsu/reshoot",+ "rank": 2,+ "caption": "A new lead for the same walk",+ "words": "One photo, and someone new takes the blue-hour walk through Paris. Her steps, the camera move, the street and the sound stay as filmed.",+ "load": "genjutsu",+ "genjutsu": {+ "layout": "inset",+ "went": "A 5 s clip and a photo",+ "recipe": {+ "mode": "reshoot",+ "engine": "open",+ "model": "oss-h3-reshoot",+ "quality": "720p",+ "seed": 7,+ "length": 5.166,+ "originalSound": "everything",+ "reshoot": {+ "choice": "swap"+ }+ }+ },+ "inputs": {+ "clip": "/examples/genjutsu-reshoot/2/in-clip.jpg",+ "photo1": "/examples/genjutsu-reshoot/2/in-photo1.jpg"+ },+ "output": "/examples/genjutsu-reshoot/2/show.mp4",+ "rest": {+ "src": "/examples/genjutsu-reshoot/2/show.peak.webp",+ "at": 4.008,+ "from": 0+ }+ },{"id": "genjutsu-motion.1","surface": "tool:genjutsu/motion",diff --git a/tests/e2e/genjutsu-examples.mjs b/tests/e2e/genjutsu-examples.mjsindex 8e4d1688..764a45d4 100644--- a/tests/e2e/genjutsu-examples.mjs+++ b/tests/e2e/genjutsu-examples.mjs@@ -30,11 +30,11 @@ const check = (label, ok, extra = "") => {if (!ok) failures.push(label);};-const MODES = { motion: "Motion transfer", character: "Character swap", swap: "Object swap", restyle: "Restyle", insert: "Insert", picture: "From picture", finish: "Finish" };+const MODES = { motion: "Motion transfer", character: "Character swap", swap: "Object swap", restyle: "Restyle", insert: "Insert", picture: "From picture", finish: "Finish", reshoot: "Fuobe Reshoot" };// The examples in src/lib/examples/plan.json (load "genjutsu") and the features each needs open (requestFeatures).const readJson = (p) => JSON.parse(fs.readFileSync(path.join(root, p), "utf8"));-const NEEDS = { "genjutsu-character.1": ["group-swap"], "genjutsu-finish.1": ["finish-colours"] };-const FEATURE_WORKFLOWS = { "group-swap": ["video-group-swap-h3"], "finish-colours": ["video-fix-colours"] };+const NEEDS = { "genjutsu-character.1": ["group-swap"], "genjutsu-finish.1": ["finish-colours"], "genjutsu-reshoot.1": ["reshoot-edit"], "genjutsu-reshoot.2": ["reshoot-swap"] };+const FEATURE_WORKFLOWS = { "group-swap": ["video-group-swap-h3"], "finish-colours": ["video-fix-colours"], "reshoot-edit": ["video-reshoot-edit-h3"], "reshoot-swap": ["video-reshoot-swap-h3"] };const validated = new Set(readJson("workflows/comfyui/manifest.json").workflows.filter((w) => w.validated === true).map((w) => w.id));const passed = readJson("workflows/comfyui/gpu-tested.json").features ?? {};const live = (k) => passed[k]?.passed === true && FEATURE_WORKFLOWS[k].every((id) => validated.has(id));diff --git a/tests/e2e/genjutsu-openjutsu.mjs b/tests/e2e/genjutsu-openjutsu.mjsindex 46625011..8b317c35 100644--- a/tests/e2e/genjutsu-openjutsu.mjs+++ b/tests/e2e/genjutsu-openjutsu.mjs@@ -26,10 +26,10 @@ const EXISTING = ["Motion transfer", "Character swap", "Object swap", "Restyle",const readJson = (p) => JSON.parse(fs.readFileSync(path.join(root, p), "utf8"));const validated = new Set(readJson("workflows/comfyui/manifest.json").workflows.filter((w) => w.validated === true).map((w) => w.id));const passed = readJson("workflows/comfyui/gpu-tested.json").features ?? {};-const FEATURE_WORKFLOWS = { picture: ["image-from-picture-prepare", "video-scene-describe", "video-from-picture-solar"], "finish-faces": ["video-fix-faces-h3"], "finish-colours": ["video-fix-colours"] };+const FEATURE_WORKFLOWS = { picture: ["image-from-picture-prepare", "video-scene-describe", "video-from-picture-solar"], "finish-faces": ["video-fix-faces-h3"], "finish-colours": ["video-fix-colours"], "reshoot-swap": ["video-reshoot-swap-h3"], "reshoot-edit": ["video-reshoot-edit-h3"] };const live = (k) => passed[k]?.passed === true && FEATURE_WORKFLOWS[k].every((id) => validated.has(id));-const OPEN_MODES = { picture: live("picture"), finish: live("finish-faces") || live("finish-colours") };-const GUEST_TABS = [...EXISTING, ...(OPEN_MODES.picture ? ["From picture"] : []), ...(OPEN_MODES.finish ? ["Finish"] : [])];+const OPEN_MODES = { picture: live("picture"), finish: live("finish-faces") || live("finish-colours"), reshoot: live("reshoot-swap") || live("reshoot-edit") };+const GUEST_TABS = [...EXISTING, ...(OPEN_MODES.picture ? ["From picture"] : []), ...(OPEN_MODES.finish ? ["Finish"] : []), ...(OPEN_MODES.reshoot ? ["Fuobe Reshoot"] : [])];async function upload(file, type, name) {const form = new FormData();@@ -69,7 +69,7 @@ try {check(`${width}: no "Only you" for a guest`, !(await page.evaluate(() => document.body.innerText.includes("Only you"))));check(`${width}: /genjutsu fits the screen`, (await sideways()) <= 0);await shot("guest-genjutsu");- for (const [m, label] of [["picture", "From picture"], ["finish", "Finish"]]) {+ for (const [m, label] of [["picture", "From picture"], ["finish", "Finish"], ["reshoot", "Fuobe Reshoot"]]) {await open(`/genjutsu?mode=${m}`);const want = OPEN_MODES[m] ? label : "Motion transfer";check(`${width}: ?mode=${m} lands on ${want} for a guest`, (await selected()) === want, String(await selected()));diff --git a/tests/fixtures/genjutsu-examples/genjutsu-reshoot.1.json b/tests/fixtures/genjutsu-examples/genjutsu-reshoot.1.jsonnew file mode 100644index 00000000..6b10fdb4--- /dev/null+++ b/tests/fixtures/genjutsu-examples/genjutsu-reshoot.1.json@@ -0,0 +1,29 @@+{+ "id": "genjutsu-reshoot.1",+ "note": "The request body of the run that made this example (file addresses replaced by neutral ones).",+ "body": {+ "engine": "open",+ "mode": "reshoot",+ "modelId": "oss-h3-reshoot",+ "quality": "720p",+ "source": {+ "url": "/api/files/example-clip.mp4",+ "name": "clip.mp4",+ "duration": 5.166,+ "fps": 24,+ "width": 1280,+ "height": 960,+ "hasAudio": true+ },+ "range": {+ "start": 0,+ "end": 5.166+ },+ "seed": 7,+ "references": [],+ "reshoot": {+ "choice": "edit",+ "words": "fresh snow is falling, and the street, the awnings and the cobblestones are dusted white with it"+ }+ }+}diff --git a/tests/fixtures/genjutsu-examples/genjutsu-reshoot.2.json b/tests/fixtures/genjutsu-examples/genjutsu-reshoot.2.jsonnew file mode 100644index 00000000..7843b5e2--- /dev/null+++ b/tests/fixtures/genjutsu-examples/genjutsu-reshoot.2.json@@ -0,0 +1,30 @@+{+ "id": "genjutsu-reshoot.2",+ "note": "The request body of the run that made this example (file addresses replaced by neutral ones).",+ "body": {+ "engine": "open",+ "mode": "reshoot",+ "modelId": "oss-h3-reshoot",+ "quality": "720p",+ "source": {+ "url": "/api/files/example-clip.mp4",+ "name": "clip.mp4",+ "duration": 5.166,+ "fps": 24,+ "width": 1280,+ "height": 960,+ "hasAudio": true+ },+ "range": {+ "start": 0,+ "end": 5.166+ },+ "seed": 7,+ "references": [+ "/api/files/example-photo1.jpg"+ ],+ "reshoot": {+ "choice": "swap"+ }+ }+}diff --git a/tests/genjutsu-examples.test.ts b/tests/genjutsu-examples.test.tsindex 85148e75..fa0538cc 100644--- a/tests/genjutsu-examples.test.ts+++ b/tests/genjutsu-examples.test.ts@@ -47,6 +47,7 @@ interface Body {character?: GenjutsuPlanInput["character"];object?: GenjutsuPlanInput["object"];finish?: GenjutsuPlanInput["finish"];+ reshoot?: GenjutsuPlanInput["reshoot"];originalSound?: GenjutsuPlanInput["originalSound"];}@@ -67,6 +68,7 @@ const planOf = (b: Body) =>...(b.character && { character: b.character }),...(b.object && { object: b.object }),...(b.finish && { finish: b.finish }),+ ...(b.reshoot && { reshoot: b.reshoot }),...(b.originalSound && { originalSound: b.originalSound }),});@@ -87,6 +89,7 @@ function remake(recipe: GenjutsuRecipe, own: { character?: Record<string, unknow...((recipe.character || own?.character) && { character: { ...recipe.character, ...own?.character } }),...(recipe.object && { object: recipe.object }),...(recipe.finish && { finish: recipe.finish }),+ ...(recipe.reshoot && { reshoot: recipe.reshoot }),...(recipe.originalSound && recipe.originalSound !== "everything" && { originalSound: recipe.originalSound }),};}diff --git a/tests/genjutsu-live.test.ts b/tests/genjutsu-live.test.tsindex ffa7e574..063ca3e3 100644--- a/tests/genjutsu-live.test.ts+++ b/tests/genjutsu-live.test.ts@@ -46,8 +46,8 @@ describe("Genjutsu's live gate", () => {it("the committed record opens only the features that passed, and the page passes the gate to the studio", () => {const record = JSON.parse(fs.readFileSync(path.join(ROOT, "workflows/comfyui/gpu-tested.json"), "utf8")) as { features: Record<string, { passed: boolean }> };- expect(Object.keys(record.features).sort()).toEqual(["clean-voice-first", "finish-colours", "group-swap", "group-swap-one-by-one", "original-sound", "picture-h3-renderer"]);- expect(Object.entries(genjutsuLive()).filter(([, on]) => on).map(([k]) => k).sort()).toEqual(["finish-colours", "group-swap", "group-swap-one-by-one", "picture-h3-renderer"]);+ expect(Object.keys(record.features).sort()).toEqual(["body-double-clip", "body-double-photo", "clean-voice-first", "finish-colours", "group-swap", "group-swap-one-by-one", "original-sound", "picture-h3-renderer", "reshoot-edit", "reshoot-swap"]);+ expect(Object.entries(genjutsuLive()).filter(([, on]) => on).map(([k]) => k).sort()).toEqual(["finish-colours", "group-swap", "group-swap-one-by-one", "picture-h3-renderer", "reshoot-edit", "reshoot-swap"]);const page = fs.readFileSync(path.join(ROOT, "src/app/(studio)/genjutsu/page.tsx"), "utf8");expect(page).toContain("const live = genjutsuLive();");// The page's mode examples are only the ones open to everyone (the owner's come from an owner-only route).diff --git a/workflows/comfyui/gpu-tested.json b/workflows/comfyui/gpu-tested.jsonindex 60d6ed65..ffb18784 100644--- a/workflows/comfyui/gpu-tested.json+++ b/workflows/comfyui/gpu-tested.json@@ -7,6 +7,8 @@"original-sound": { "passed": true, "date": "2026-11-05" },"group-swap-one-by-one": { "passed": true, "date": "2026-11-05" },"body-double-photo": { "passed": true, "date": "2026-11-08" },- "body-double-clip": { "passed": true, "date": "2026-11-08" }+ "body-double-clip": { "passed": true, "date": "2026-11-08" },+ "reshoot-edit": { "passed": true, "date": "2026-11-08" },+ "reshoot-swap": { "passed": true, "date": "2026-11-08" }}}