Download this guide as Markdown (for your AI agent)

Version 1 (2026-10-15): the same steps as this page, with every download’s link and checksum. sha256 218ec3d1b7dd021e2a5d3820a9f70508b2b5d44935b07c9aa69a3f1e7ef08e8a, also in the manifest.

What you need

  • The Rebuild a shot setup: ComfyUI v0.39.0, with its models and the three extras (Set up ComfyUI). A 16 GB GPU with 32 GB of system RAM and a pagefile of about 32 GB or more. Close Chrome, OBS, games and other heavy apps while it generates.
  • An image model for the design pictures, or for the picture of the new place (FLUX.2, Krea 2 Turbo or Qwen Image 2.1).
  • The episode’s subtitles, if anyone in the shot speaks.
  1. List and cutGo to step
  2. PicturesGo to step
  3. The linesGo to step
  4. Mark itGo to step
  5. RunGo to step
  6. FinishGo to step
  7. CheckGo to step

1. List and cut the shots

As in Capture and mark your shot:

  • Only the shots with the thing you’re changing, picked by eye. Split at every cut.
  • Keep shots with on-screen text original (credits, captions, signs burned into the picture), or start your segment after the credits. A full redraw rewrites the text as garbled names.
  • Parts within a cut, up to about 7–8 seconds each (tested), at the episode’s exact frames, with the sound. Part length didn’t matter between 0.8 and 7.5 s in our tests (17 shots on two shows): failures were 1.6–4.7 s long, and the four longest shots (5.1–7.5 s) all came out right on the first try. The shot type is what matters.
  • Size: 1024 × 576 (16:9) or 1024 × 768 (4:3).

2. Make the pictures

  • The new creature or effect: a main picture plus two more views of the same design, cut out on grey (as in Rebuild a shot).
  • Face crops: required for a new place (4.1), and optional for a new creature.
    • New creature: the actors aren’t greyed, so their faces come from the reference video. To hold them better, use the 6-picture version (step 5) and give each actor a face crop as Pictures 4–6. That’s how the confirmed creature segment was made: 3 creature views + 3 explorer face crops.
    • New place (4.1): give each visible actor a face crop (face, or face and upper body) from a close still of the episode, as Pictures 2–3. In our 9-shot build, the actors vanished in 5 shots that had no face crops and only a generic “the people in <Video 1>” line.

4.1 A new place

  • Picture 1: the new place as it would sit behind the actors, at this shot’s own framing. First make an empty picture of the new place from a description, with no people, from the shot’s camera angle and height (“a 1920s train dining car, seen from a seated eye line, no people”). Then, for each shot, crop it soft and close to what’s behind the actors in that shot: a soft, out-of-focus close crop, not a wide establishing view. A wide view pulls the shot wide, and the actors shrink or vanish. Don’t edit a still of your own shot (in our test that added more invented people), and crop any letterbox bars (black bands) off the picture.
  • The mask (step 4): the background output of the people masks workflow, with one word per actor. The old place is greyed in the reference only; the actors stay visible there, so they keep who they are.
  • Step through background.mp4: no part of any actor may be grey. In fast shots the people masks can miss part of a person (5 of 20 shots in one test), and the greyed part of the actor is then redrawn. If it misses someone, add their word (a more exact one), or keep that shot original.
  • Name every visible actor and give each a face crop (required). Picture 1 is the empty place; Pictures 2–3 are the actors’ face crops (face, or face and upper body). In the prompt, one line per actor: “<Subject 2> is {who, by clothing and action} shown in <Picture 2>, exactly as in the source.” Don’t use a general “the people in <Video 1>” line: with it, and no crops, the actors vanished in 5 of 9 shots.
  • Control end (in step 5, the Control (strength 1.5, end 0.5; …) node): 0.6 for medium shots and for shots where a person fills much of the frame; 0.25 for close-ups and two-shots. At 0.5 the shot’s depth rebuilt the old set in a medium shot.
  • In the prompt, add: “shallow depth of field: the people sharp and solid, the place soft”. Keep the face and body crops from this shot’s own frame, and the framing lines.
  • When one person fills much of the frame, add a line that the background behind them is now {THE NEW PLACE}, and use the soft close plate and control end 0.6. This worked on 1 of 2 such shots in our tests; the other changed the background but left the foreground person out at the start. Keep the original only if two tries fail.
  • Results: with the soft close plate, control end 0.6 and the depth line, 3 of 3 failed one-person medium shots were fixed on one show (all 9 of its shots changed), and 1 of 3 on another, plus a foreground two-shot (5 of its 8 shots changed; 3 kept original). One-person medium shots in front of a large new background are the known limit. Part length and render size don’t change it (tested).
  • In the prompt: “The grey area is the new place: {THE NEW PLACE}. Exactly these people appear, nobody else.”
  • Ask for the light you want in the picture and the prompt; in our tests the actors keep their original light direction.
  • Check every shot, by eye, for missing actors (required). In the 9-shot segment, actors still vanished in 3 shots even with naming and face crops; the same setup worked on other shots, so it depends on the seed. The flicker check doesn’t show someone missing. Re-run any shot where an actor is gone. Re-run with a new seed. For a medium shot, use the soft close plate and control end 0.6 (above). (0.35 was tried on one show and didn’t stop the vanishing.)
  • Check every person is there from the first frame. The model can leave a person out for the first second and add them later, especially a foreground person seen from behind. Step through the opening frames, not only the middle. If someone pops in: A “from the very first frame” line doesn’t help here: in our test it brought the old place back, or left the person tiny. Re-roll once; if they’re still missing at the start, keep the original shot. (The same start-of-shot slip as the vanish row in When it doesn’t work, and as the outfit that starts old in Swap a person.)
  • Check every shot for added people. In our wide test only a couple of pole-like shapes appeared at the edge.
  • A close-up can keep a little of the old background (in our test, a soft green). Re-run it with a new seed.
  • Everything else is as below, with the new place in place of the creature.

3. Get the lines (if the actors speak)

  • The words come from the subtitles, and the timing from your part’s own sound (how), as in Swap a person. No subtitle file? Download an SRT for your episode. They’re easy to find for almost every show.

4. Mark what you’re replacing (for the grey reference)

The workflow greys this out in the reference video only, so the model doesn’t copy the old design. The result is still a full new generation: nothing is pasted back onto your shot.

  • A creature or effect: the mask workflow (seamless-effects-mask.16gb.json). Download the mask workflow
    • In What to mark, its word (dinosaur); Grow 12. If one word misses a part, use the two- or four-word version (seamless-effects-mask-2words.json, -4words.json) and add the second word in What to mark 2 (sauropod as well as dinosaur). Fill every ‘What to mark’ slot: repeat your first word in any slot you don’t need. A blank slot adds the whole nearest person to the mask. 2 words 4 words
    • Keep its Mask video (white = replace).
  • A new place (4.1): the people masks workflow for your number of people (seamless-people-masks-2.json …). 1 person 2 people 3 people up to 6 people
    • One word per actor. Fill every word slot: if you have fewer words than slots, repeat your first word in the spare slots. A blank slot marks the whole person.
    • Keep background.mp4 (white = regenerate): everything except the actors.
  • Step through the mask: what you’re replacing is white on every frame where it shows, and no actor is white.
  • Grey only clean, solid shapes. If the mask breaks into small scattered pieces (a color mask catching a fading glow, say), the model draws those grey patches as pale shapes: in one test they showed on an actor’s chest. Drop tiny fragments, and end the mask on the frames where the element is gone. With that, a second try had no pale patches, rims or flicker.

5. Run the workflow

Download the workflow (16:9) 4:3
seamless-upgrade-effects-fullframe-actors-blank-reference.16gb.json · …16gb-4x3.json

With room for actors’ face crops (3+ actors, or a creature + actors): 6-picture version (16:9) 6 pictures, 4:3
seamless-upgrade-effects-fullframe-actors-blank-reference-6pics.16gb.json · …-6pics.16gb-4x3.json. It adds Picture 4/5/6: face crop of an actor who stays (or Picture 2 again).

What to set
NodeSet it to
Source shot (padded to the length grid)Your part. The workflow pads the grey reference to the model’s 5 + 17k grid itself and generates at least 124 frames, or the whole padded reference if that is longer, so no frame of your part is lost
Mask video of the element to replace (white = grey it out in the reference; same length as the source shot)The mask from step 4
Picture 1: main cut-out on grey, Picture 2, Picture 3New creature: the design views (load Picture 1 again if you have only one). New place (4.1): Picture 1 = the empty place; Pictures 2–3 = face crops of the first two actors
Picture 4–6: face crop of an actor who stays (6-picture version)One face crop per actor. With a creature, all the actors go here; for 4.1, the third to fifth actors. Load Picture 2 again in any unused slot
Prompt, size and lengthThe template below; 1024 × 576 or 1024 × 768. The length is set by the workflow from your part: leave it. A part longer than 124 frames now generates at its full length and needs more GPU memory; on a 16 GB card only a 74-frame part has been GPU-tested
Seed (new number per take)A new number per take
  • Leave the rest: 8 steps with the Turbo v4 LoRA, control strength 1.5, control end 0.5, reference size match. For a new place (4.1), set the control end in the Control (strength 1.5, end 0.5; …) node to 0.6 for medium shots and shots where a person fills much of the frame, and to 0.25 for close-ups and two-shots.
  • Inside the graph: the masked area becomes flat grey (“Reference with the element greyed out”) in both the reference video and the control’s source, and the depth of your shot still carries the motion.
  • In our test: on a shot of people with an old CG creature, the creature came out modern; the people stayed themselves and in front of it, with no outline or seam.

Replace every {…} before you run: ComfyUI drops the braces when it queues the prompt, so a leftover placeholder goes in as plain words.

Prompt: the blank-reference file’s template. It starts with “In the source video the element to replace is hidden under a flat grey shape; the new element stands and moves exactly where that shape is.” Then one line per actor who stays:

  • “<Subject 3> is {who, by clothing and action} shown in <Picture 4>, exactly as in <Video 1>: same face, hair, clothes and movements” (one line per actor, each tied to their own picture number, e.g. “<Subject 3> is the man in a hat shown in <Picture 4>, exactly as in <Video 1>”);
  • their lines in <d>[English]…</d> with their timing, if they speak;
  • the new element, its look only from the pictures;
  • “Nobody is added.” Never write “no people”.

Prompt rules from a 12-shot real-episode test (5 of 12 were right at once; the per-shot scene lines and the framing fix were confirmed in a second try):

  • Write the scene line per shot, with only what’s in that shot. One line for the whole sequence (“a rocky forest hillside, a gorge and open blue sky”) put hills, trees and a gorge into shots that showed only sky.
  • Say how many: “exactly one {CREATURE}”. Otherwise a second one can appear. Even with it, one shot in our test still got a second creature: keep the original for that shot.
  • Energy effects: say how long they last (“one short bolt, a fraction of a second”). Without it, a beam was held for about 9 frames; with it, about 6 (the original’s was 2). It helps, but doesn’t get all the way to the original’s length.
  • Describe the framing of each shot: “close-up; the man fills the left of the frame; the creature passes behind him”. In our test a fast close-up became a wide shot, and in a low-angle shot the creature took over the foreground and the actor shrank. The tested fix: a framing line plus control end 0.8, which kept the close-up and the low-angle shot with the actor in front.

Run it: about 6 minutes per 124-frame part at 1024 × 768 on a 16 GB card, with 3 or 6 pictures. Uses almost all of 32 GB RAM. Close other apps (game launchers, browsers) before you run it, or ComfyUI can be killed partway through. Split long shots into parts of about 124 frames; very long parts can run out of memory on a 32 GB machine.

6. Finish

The finish workflow (seamless-finish.json): your shot’s frame count, the episode’s rate, the Start still’s size, and the original sound back (Finish and conform). Download the finish workflow

7. Check

  • Look at every face in the result. The automatic check compares with your source, and can pass a recast face that moves the same way.
  • Faces, by eye: step through it next to your source. Every actor is still themselves; nobody added, missing or turned into a look-alike. Small figures far away are the ones that disappear. For a new place, check every shot for missing actors: the flicker check doesn’t show someone who’s gone.
  • The new element: it follows the original’s path and timing, and doesn’t look like the old design.
  • The mask covers the thing on every frame of the shot. Where it finds nothing on some frames, those frames keep the old one in the reference, and it pops from old to new mid-shot (in an outfit test, the sleeves stayed old). Step through the mask before you run.
  • Lips: if they speak, the mouth moves with the words at normal speed.
  • The flicker check (how): red on faces or scenery is a problem.

When it doesn’t work

What you see and how to fix it
You seeFix
The new element switches from old to new mid-shotThe mask found nothing on some frames: step through it; every frame must cover the thing you’re replacing
Garbled names or text on screenA full redraw rewrites burned-in text: keep shots with credits or captions original, or start after the credits
Pale patches where the grey was (on an actor, or the set)The grey mask was broken into small pieces, or carried on after the element had gone: grey only clean, solid shapes; drop tiny fragments; end the mask when the element is gone
A beam or bolt lasts too longSay its duration in the prompt (“one short bolt”). It shortens it (9 → 6 frames in our test), but it can stay longer than the original
The new creature looks like the old oneThe mask missed it on some frames: step through the mask, add a word or raise its Grow, and run again
Hills, trees or a gorge appear in a shot that showed only skyThe scene line came from another shot: write it per shot, with only what’s in that shot
A second creature appearsAdd “exactly one {CREATURE}” to the prompt
The framing changed (a close-up became a wide shot; the creature took over the foreground)Describe the shot’s framing in the prompt (“close-up; the man fills the left of the frame…”), and raise the control end to 0.8
The old place comes back (4.1)Check the mask is background.mp4. Control end 0.6 for a medium shot (with the soft close plate as Picture 1), 0.25 for a close-up or two-shot
An actor vanished in one shot (4.1), with naming and face crops in placeRe-run that shot with a new seed. For a medium shot, use the soft close plate and control end 0.6
The actors disappear or turn into small distant figures (4.1)Name each actor in the prompt, one line each, and add their face crop as a picture. A general “the people in the shot” line isn’t enough at control end 0.25
Part of an actor is redrawn or missing (4.1)The people mask missed that part, so the background mask greyed it: step through background.mp4, add a more exact word, or keep the shot original
A person is missing for the first second, then pops in (4.1), often a foreground person seen from behindThe model left them out at the start: step through the opening frames of every shot, not only the middle. A “from the very first frame” line doesn’t help here: in our test it brought the old place back, or left the person tiny. Re-roll once; if they’re still missing at the start, keep the original shot. The same start-of-shot slip as the outfit that starts old (Swap a person)
A person vanishes, shrinks or is see-through in a one-person medium shot (4.1)One-person medium shots in front of a large new background are the known limit. Part length and render size don’t change it (tested). Check each shot, re-roll once or twice, then keep the original. In our tests one person was half see-through for the first half, and in another shot the person never appeared. Make sure Picture 1 is the soft close crop and the control end is 0.6
The background barely changes (4.1), with one person filling most of the frameAdd a line that the background behind them is now {THE NEW PLACE}; use the soft close plate and control end 0.6 (it worked on 1 of 2 such shots; the other left the foreground person out at the start). Keep the original only if two tries fail
Extra people in the new place (4.1)Add “Exactly these people appear, nobody else” to the prompt; a new seed
A see-through double, or a look-alike, of the actor (medium or close shot)Make sure the actor isn’t greyed: the reference video must still show them. The double was seen only without a reference video
A face drifted to a look-alikeCheck the actor isn’t white in the mask; add a face crop as an extra picture
An actor is missing, often a small figure far awayName each person as a subject; never write “no people”; check they aren’t white in the mask
Someone who isn’t in the shot appearsA new seed; describe the empty place fully
The lips don’t follow the wordsThe lines and their timing in the prompt, with the sound copied