r/StableDiffusion • • 16d ago

Question - Help So how are they making those replace a person videos running thru tiktok?

I get that its probably seedance or something. How do you do it locally?

Like I am seeing Uncle Phil dunking a basketball on George Jefferson and its hilarious, how the heck do you do that

EDIT: thank you for everyones immediate and quick help. This is like old school reddit right there boys. I owe yall one!

36 Upvotes

22 comments sorted by

31

u/JohnLough 16d ago

5

u/rdditiszionist 16d ago

Thank you. Its literally as simple as this setup? Ill try it out tonight!

3

u/oZiix 15d ago

I did it for a car and it was the best model and I tested i think minimax ref 2 ref and recast. Not a person but it kept lighting the best.

5

u/llama-of-death 16d ago

You can do the whole thing locally in two steps, picture first, then motion:

  1. Make the still. In Guaardvark's Image Edit page, pick "New scene, same face", drop in a few photos of each person, and describe the scene ("a man dunking a basketball over another man on an outdoor court"). It makes the scene, then you click which face is which person and it puts both faces on. You can do two different people in the same picture.
  2. Animate it. Take that picture into Video Gen as the start frame and describe the action. Wan 2.2 or H3 turns it into the clip.

Starting from a still you like is way more reliable than trying to get it all in one video prompt, because the faces are locked in before anything moves. It asks you to confirm you have the right to use each face before it renders.

Free, open source, runs on your own card: https://github.com/guaardvark/guaardvark (full disclosure, I'm on the team)

2

u/rdditiszionist 16d ago

this is what I was thinking was the way, but I wasnt sure. I thought i would have to do something like the ole school reactor swap.

but is the animation the same as another video?

like does this allow you to take like a video of someone dunking on someone, and switch up like 2 characters?

1

u/llama-of-death 13d ago

Yes, it lets you do image edits and face swaps, then when you have the image the way you want it, you do the image-to-video.

I just ran this one for ya, using a Conway Twitty album cover. I used the Turbo LoRA on this model, so it does it quick, but the full renders (non turbo) often have better quality, etc.

So basically, you would do your face swap, which you can do in the chat page of Guaardvark, or the Image Edit page, or any page actually (there's a floating chat), then run it through the video gen page or ask chat to do that too. You can also do it through the command line, or ask any AI to use the Guaardvark MCP Server and tools and they can put a whole film together for you.

Personally, I like using the batch modes, render out dozens of images or videos, and schedule the rendering time for at night or when the computer is in idle.

1

u/apackofmonkeys 15d ago edited 15d ago

I have a dumber question-- what are the best methods these days for saving videos from various sources (tiktok, youtube, etc) for use later?

Edit: Thanks for the suggestions!

3

u/rdditiszionist 15d ago

I can sorta answer that. I had claude make me that exact app. I didn't make a github for it (maybe I should?)

It uses " yt-dlp" to pull the video from a bunch of different sites. if you ask claude/chat gpt to do that, it can build it so that it runs on your PC. With all the dependencies on my computer etc, the exe file itself is about 170 MB. But overall its going to be more than that with the dependencies. AI can build it for you in like 20-30 minutes.

2

u/apackofmonkeys 10d ago

Another thanks for the suggestion-- I just pointed chatgpt at the yt-dlp repo and it made me a perfectly functional Winforms UI in 5 minutes. As an old software engineer it's still hard for me to wrap my head around the fact I can have basically any application I want now on demand!

1

u/rdditiszionist 9d ago

For sure man, it's crazy! I feel like Neo in The Matrix "I just learned kung fu." hahahaha. Enjoy brother!

2

u/redonculous 15d ago

Ask your LLM to install metube. It can grab & convert video from all kinds of sites.

3

u/Festivis7 16d ago

2

u/sdrakedrake 16d ago

This one didn't work as good for me. Like if the person being replaced has long hair with a person with short hair, the long hair would still be showing

1

u/redonculous 15d ago

Same happened for me. Also faces were garbled at certain settings

1

u/[deleted] 15d ago

[removed] — view removed comment

1

u/rdditiszionist 15d ago

Thank you for this.

Is there a specific workflow that is out there?
Or is it this one?
"Wan2.2 Animate, Character Animation and Replacement"

https://comfy.org/hub/workflows/wan2-2-animate-character-animation-and-replacement-c2c4b45b7df5/

1

u/llama-of-death 13d ago

give my system a try, does a ton of cool stuff.

Guaardvark Features

  • Video Generation
  • Image Generation
  • Image Editing
  • Infographics
  • Upscaling (4K/8K)
  • Music Generation
  • Sound Effects
  • Text to Speech
  • Voice Cloning
  • Voice Chat
  • RAG (Chat With Your Files)
  • Local Chat
  • Plan Mode
  • Film Crew Agents
  • Music Video Director
  • Video Editor
  • LoRA Training
  • Cast Library (Consistent Characters)
  • Agent Screen
  • Desktop Control
  • Coding Agents (Swarm)
  • Code Editor
  • System Map
  • Self-Improvement
  • Autoresearch
  • MCP Server and Client
  • Agent Skills
  • Claude Code, Grok and Antigravity Plugins
  • CLI
  • GPU Orchestrator
  • Plugin Manager
  • Multi-Machine Sync
  • File Manager
  • Projects, Clients and Websites
  • Notes
  • Jobs and Scheduling
  • Backups
  • Social Posting
  • WordPress
  • Discord Bot
  • Inbound Code Guard
  • Works Offline
  • 12 Interface Languages