r/StableDiffusion • • Sep 24 '26

Workflow Included From a Single Image to Gaussian Splats (another tutorial)

u/Many-Ad-6225 recently posed a great little tutorial on how to use video models to create Gaussian splats. I wanted to investigate this a little more (and also play with it in VR). Here is another tutorial, all done on 12GB VRAM.

Image Edit: You may pick an input image where the subject is standing close to a wall, and rendering a full 360° orbit would collide with geometry. In these cases, you can solve the issue with image edit (I used Qwen Image 2.1) and a prompt like "Change the background to a scene on a red carpet with palm trees in the background.".

Image edit: https://imgur.com/a/30MiUVJ

Image resolution: Even if you don't render the video at a high resolution, it's still worth having the input image at a decent resolution and in a common aspect ratio (e.g., 1440 x 1920). We'll get to that later, but spoiler: When training the spats, that one center image can be of higher resolution than the video frames.

Video generation: This is the tricky part. I used the Minimax H3 default FL2VA workflow (first-last frame to video) in ComfyUI. Make sure the input image is set to the first AND the last frame. Even on my 12GB card, I could render at 768 x 1024, at 20 steps, no lightning LoRA. But it also took like 35 minutes. You can use a lower resolution, and/or the 8 step lightning LoRA. But it degrades the quality.

No video upscaling!: I will say that video upscaling (e.g., using the excellent SeedVR 2.5) sounds like a good idea on paper. But SeedVR is incredibly slow, and you are better served by putting the time in higher quality video generation. Convince me otherwise.

Video prompt: The character remains completely frozen in place, perfectly still like a statue. The camera smoothly orbits 360 degrees around the character in one continuous shot at a constant speed. No character movement, no pose change, no cuts, no eye movement. (thanks u/Many-Ad-6225).

Extract frames: I used ffmpeg -i video.mp4 frame_%04d.png to extract frames from the input video. Because the video often contains many duplicated frames at the start and the end, make sure you delete a decent amount of images in the initial 5° arc. Then replace frame_0001.png with your high resolution input image. I cannot confirm the effectiveness of using only a single high-res image, because training the splats still has to match against the lower resolution frames, but it feels right.

Camera pose reconstruction: Training the splats requires a camera pose for each input image. Normally, you have to know the focal length of the input image, but COLMAP seems pretty forgiving when it comes to that. Create a COLMAP project, extract features (select SIMPLE_PINHOLE camera model), match features (use Exhaustive matching), then start the reconstruction. Then export the model into a model/ directory.

COLMAP SfM scene: https://imgur.com/a/sAe2Ulz

Create the splats: Splat training is the process of finding splat parameters from the images with their reconstructed camera poses. I used Brush for this. Brush is written in Rust, thus relatively painless to run (use rustup). For this to work, you may have to move the frames into the model directory. For example, load the frames in COLMAP from frames/ directory, export the COLMAP model into model/, then move frames/ into model/. (Maybe there's an easier way to do this.)

Reconstruction in Brush: https://imgur.com/a/itPKNZu

Quality check: The video generation with Minimax M3 is usually pretty decent. However, it only renders something reasonably looking, not necessarily something geometrically consistent. So what can happen is you get background colors bleeding into the subject, or have weird artifacts around the subject. If it's unacceptable, go back to video generation, pick a new seed, try again. Either way, don't expect miracles.

Quality issues: https://imgur.com/a/hURppP2

Crop the spats: The splat training reconstructs all kinds of garbage, specifically because the scene that MiniMax invented is not geometrically consistent. I used SuperSplat to edit the scene and deleted everything except the subject in the center. Even if you use their editor hosted at https://superspl.at/editor, everything stays local in your browser (your spats are not uploaded). Use "Import" to load the PLY. When done, use "Export" to export the cleaned PLY.

Cropped splat: https://imgur.com/a/wfeRwsX

Create masks (bonus): Brush supports using image masks, and masks are somewhat easy to create (e.g., with SAM3). I have tried providing masks to Brush in an attempt to improve reconstruction quality, but I cannot say the approach works well. The artifacts are still there, perhaps even more pronounced. But the resulting file size is ~50% smaller, which is great. In any case, I provide a Python script and ComfyUI API workflow to convert every input image into a mask. Splat then consumes the COLAMP model directory with frames/ and masks/, which looks something like this:

model/
├── frames/
│   ├── frame_0001.png
│   ├── frame_0023.png
│   ├── frame_0024.png
│   └── ...
├── masks/
│   ├── frame_0001.png
│   ├── frame_0023.png
│   ├── frame_0024.png
│   └── ...
├── cameras.bin
├── frames.bin
├── images.bin
├── points3D.bin
├── project.ini
└── rigs.bin

I hope this helps and have fun splatting.

715 Upvotes

76 comments sorted by

35

u/akatash23 Sep 24 '26 edited Sep 24 '26 • Bravo

I will post a few more resources here. All resources in Google Drive folder: https://drive.google.com/drive/folders/1lXwf3o5CGd3sh962M9NidZq_TGwzjEUO?usp=drive_link

36

u/akatash23 Sep 24 '26

This is the video that Minimax gave me.

17

u/akatash23 Sep 24 '26

The image editing to remove the wall behind the subject, which is in the way of the orbit camera motion.

8

u/akatash23 Sep 24 '26

The input image.

2

u/JohnnyFIFEaLive Sep 24 '26

I’ll check your Resourses, but I’ve spent a day on trying this and the splats don’t come out nearly as great as the video does. I was easily able to generate 360 video with the character looking perfect. Once we try to take these through and make a splat from them using brush and a few other tools. It’s just not as good. There are slight subtle inconsistencies and movement that are captured in the generation from mini Max. this almost looks like the video being panned more so than it does the splat. The splat shows a lot of different things much different with orbs and small artifacts that can’t be easily removed. Perhaps you could post some evidence .ply we can examine?

2

u/akatash23 Sep 24 '26

The splats are in the Drive link. The splat is certainly also not anywhere near perfect. Actually try using a textured background, it can help remove artifacts hanging from the subject. If your bg is a single color, it is harder for the spalt training to distinguish bg and fg.

1

u/mattcoady Sep 25 '26

I was trying something similar to this last week but I had an issue with the subjects staying still. Their eyes would often follow the camera or they'd blink or move their foot a little bit no matter how much reinforcement I'd put into the prompt.

1

u/Sgsrules2 Sep 24 '26

Why don't you just completely remove the background with something like rembg or using sam3? Wouldn't a black background provide better results?

5

u/Astral-Lemmons Sep 24 '26

colmap suggests having some sort of basic background as it helps the camera matching.

2

u/trim072 Sep 24 '26

No it woldn't, background gives features for camera matching. You will get better results if you mask images for splatting.

1

u/Kqyxzoj Sep 25 '26

Background should help with alignment.

10

u/enndeeee Sep 24 '26

I am currently working on a nodepack for this:
https://huggingface.co/Viggle/Meridian

This looks very promising and should improve our results by a lot since the Loras are specializd to freezing the szene and hopefully prevent most morphing during the camera movement.

1

u/akatash23 Sep 24 '26

Yeah. A video model LoRA that keeps the geometry consistent would be a game changer.

3

u/dtdisapointingresult Sep 24 '26

Cool, you'll post it here when you're done?

!RemindMe 2 weeks

1

u/RemindMeBot Sep 24 '26 edited Sep 30 '26

I will be messaging you in 14 days on 2026-10-08 21:51:25 UTC to remind you of this link

2 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


InfoCustomYour RemindersFeedback

1

u/enndeeee Sep 25 '26

Meridian solves this Topic flawlessly. Currently optimizing and preparing a release package. :)

3

u/enndeeee Sep 25 '26

The Quality Jump from Meridian is insane! No more morphing during the camera path.

1

u/rhalferty Sep 24 '26

Do you have a discord server or something? Would love to keep track of you progress and hear about your projects. Learning about this Gaussian Splats is new to me but it's my next 'Learn how to use' project. Saw your other post, so will start there.

1

u/enndeeee Sep 24 '26

I don't really have a Discord Server since I only tinker around with the newest 3DGS/4DGS projects released by scientists worldwide. :)

But if you are interested in 3DGS in general, I can recomment the Lichtfeld Discord Server. They also discuss the newest techs there and are very deep into the topic.

https://discordapp.com/channels/1293599119989805087/1293601431990964225

4

u/Feroc Sep 24 '26

Thanks, that sounds like a fun thing to try this weekend. Just one noob question:

and a prompt like "Change the background to a scene on a red carpet with palm trees in the background.".

Is having some kind of background better to get the tracking of the position or would simply removing the background work, too?

1

u/akatash23 Sep 24 '26 edited Sep 24 '26

Removing the background works too! Feature matching on the subject is usually sufficient. I believe there is a benefit to a textured background though. The splat learning will not confuse background and foreground (as often) and you get less bg artifacts glowing around/sticking to the model.

2

u/NineThreeTilNow Sep 24 '26

Heh... If you don't mind the possible censorship... You can feed the image to the Hunyuan 3D model and just get a high poly output.

It's free if you login to their site. You'll need to translate Chinese -> English last I did it and sign up with an email.

That lets you use whatever their most advanced Image to 3D model is. It also has a multi image input.

Otherwise you're going to have to go Splat -> 3D mesh in the end. Unless you specifically want a Splat?

Splat to 3D is really nice when I have like... 50 images of something. I can get really precise geometry on relatively small objects. It's a lot of work to take all the images and maintain the lighting needed though. I know you're doing purely synthetic which is why I suggested what I said.

2

u/akatash23 Sep 24 '26

If rendering is the goal then splats are great. It captures view dependent colors, which meshes cannot.

1

u/NineThreeTilNow Sep 24 '26

It captures view dependent colors, which meshes cannot.

If you generate the UVs, etc. They can. That's uh... Exactly what the software I described does.

1

u/dtdisapointingresult Sep 24 '26

Can you share the exact website? Getting a lot of results, don't want to sign up for something unrelated.

2

u/NineThreeTilNow Sep 24 '26

Can you share the exact website?

3d.hunyuan.tencent.com

That's what my bookmark says at least.

1

u/Blue_boy_ Sep 27 '26

is there any local alternative to this?

1

u/NineThreeTilNow Sep 28 '26

is there any local alternative to this?

The old hunyuan 3d model is open source. They stopped releasing it after v2 or something.

31

u/mobani Sep 24 '26

This kind of makes me wish somebody would invent a "splatfussion" model, where instead of difussion, it creates splats from a prompt or input picture.

11

u/Emperorof_Antarctica Sep 24 '26

closed source but I think that is pretty much what that world labs project is doing

5

u/Radyschen Sep 24 '26

4d splats would be even better, you could have total control over the camera for regular videos or make it vr by just showing it from two cameras. Probably hella computationally heavy though

2

u/Strange-Drummer-9917 Sep 24 '26

4

u/mobani Sep 24 '26

What I am thinking of is more like a model that can do text to a lifelike detailed splat. Think of Krea 2, but for gausian splats. Then once we have that, then we can do propper image to splat. This is a good begining, but not exactly what i hoped for. Too little details. I want something that can work natively in generating splats from a latent model.

2

u/durden111111 Sep 24 '26

this already exists locally as Triposplat

3

u/mobani Sep 24 '26

Cool, but not quite what I had in mind. Seems it just converts the 2D into splats and not really generating the fine details that you would expect.

1

u/dtdisapointingresult Sep 24 '26 edited Sep 24 '26

Just tried that in their space and it's super impressive what it does in such a short amount of gen time.

It's too bad it only takes a single reference image, because the back of the person was bad. A tool like this with the ability to give it multiple reference images would've been complete.

But I guess that's what this thread is about.

EDIT: the above was written for a comic character, but when I tried a real person, the front looked like horror. (both completely normal images)

1

u/_SickBastard_ Sep 24 '26

If I recall there was some evidence that Minimax H3 had some internal representation of the pose and 3d space. I wonder how difficult it would be to train another head that produces pose and depth maps. If nothing else it should make training the splats faster.

15

u/ben_nobot Sep 24 '26

Damn we gonna be able to VR walk around in scenes from our favorite movies

14

u/Brancaleo Sep 24 '26

Thats insanely good

8

u/IndividualManager849 Sep 24 '26

Nice writeup, thanks for the effort op

7

u/enndeeee Sep 24 '26

Looks like we had the same idea.

If you want to work together, lets connect via Discord! :)

https://www.reddit.com/r/GaussianSplatting/comments/1wk0kh2/1_click_picture_to_3d_gaussian_splat_workflow/

0

u/Had78 Sep 24 '26

I've saved yours to try later as well lol

Imma try this one too

1

u/Great_Signal7474 Sep 24 '26

was the ~50% smaller file size for the masked version compared against the unmasked splat before or after the SuperSplat crop? the mask mostly removes background, which is what the crop deletes anyway, so a pre-crop comparison could just be counting the crop's work early rather than anything masking saved

1

u/akatash23 Sep 24 '26

The 50% smaller size is after the cleanup. The splat files are in the Drive link. Masking needs to be investigated more ..

1

u/Spawndli Sep 26 '26

Why does the orbit need to be 360 degrees perfect, shouldn't it be from all angles at different zooms as long as the subject remains still, Gaussian plating normally accounts for that and it makes it better ? Or am i missing something?

1

u/akatash23 Sep 26 '26

The more angles the better. But they have to be all geometrically consistent. If you find a way to generate them, let me know

1

u/Spawndli Sep 27 '26

Ok yeah i see its technical thing , not a decision, the only work flow i saw that could do it is from another thread where they use camera control nodes from same start point, kind of like multiple drones flying around the subject, with wan. But weather the subject would actually stay still another topic I guess, need to find it.

1

u/akatash23 Sep 27 '26

The drones flying thing with the 360 panos? That doesn't work at all for reconstructing a central object/subject. It's targeted at larger scenes. It generates multiple videos and nothing guarantees they are consistent.

14

u/SharePuzzleheaded844 Sep 24 '26

1

u/MikePounce Sep 24 '26

I really don't get it in this instance. Do you fap to 3D models?

2

u/lawanda123 Sep 24 '26

Im guessing VR

1

u/SDSunDiego Sep 26 '26

Virtamate...

1

u/_SickBastard_ Sep 24 '26 edited Sep 24 '26

They put her in VR and looked at her from up close in the privacy of their own room. 

And of course this can be done with other pictures. And the editing can make other changes.

Or it might just be a click bait picture to get more upvotes on their post. You can do the same with a car or whatever.

1

u/MikePounce Sep 24 '26

Have you ever looked at a gaussian splat from up close? It's a blurry mess. Especially for the angles that were not captured (if people were thinking of looking up her skirt or down her chest). GS only look good at a distance, the moment you get close the illusion breaks.

1

u/_SickBastard_ Sep 24 '26

Yeah I wonder why people are doing splats instead of regular photogrammetry, so at least the voids get filled in. But I haven't tried splats in VR. 

VR games with more interesting models are interesting enough and they don't have to be super detailed. 

Plus this is a start. I could imagine adding another video where minimax zooms on certain parts to add resolution there and cover the up skirt areas.

And of course this is a SFW image for the sub. There's no reason you couldn't make her dress see through with an image edit model first.

2

u/Sarke1 Sep 24 '26

So that's not her real butt though, right?

7

u/Glittering_Tie_3110 Sep 24 '26

It's just like the real Zendaya, expresionless and static while the camera does all the job.

4

u/dtdisapointingresult Sep 24 '26

You can't say that here, it's like heresy for broccolihead zoomers.

Seriously, she's the worst actress whose name I (unfortunately) know by heart.

1

u/smflx Sep 24 '26

Wow, and many thanks!!

1

u/avocadorancher Sep 24 '26

Have you tried on someone with lots of tattoos? Interested if it can handle that

1

u/aitonft Sep 25 '26

The gap between a convincing orbit video and a clean splat is the useful part of this write-up. Good to see the artifacts and the masking trade-off included alongside the result.

1

u/VrFrog Sep 25 '26

Cool stuff but you don't have to extract frames. Just put an output image node instead of a video output node. No compression this way

1

u/King_Taken1 Sep 25 '26

I worked on this exact project for a client back in June 2025. That time, the client was looking for a comfyui developer but she liked the video that came straight out of veo-3 and then i had to upscale it using topaz to 4k. She also hired another developer who was using some software to convert my 4k videos into gaussian splats. With just a single 4k 360 video, the quality was great of the splat, but she presented more requirements.
1-Need 4k 60fps full body
2-Need multiple Angles ( low for nose and jaws structure and high for facial symmetry while keeping the character consistent.
3-Same rotational speed and same camera distance from the subject in all 3 videos

I tried many models and workflows but it was not easy that way so,
I backed out since veo-3 could only do 8 seconds at that time and was pretty restrictive with certain clothing and faces. Splats work well with some form of texture in clothing. And yes she was pretty angry that she could not get what she wanted for just $20. Amazing!

i think companies have been trying this for 2 years now and i am sure, they will come up with this model pretty soon. ( Multiple Images to Realistic Splat )

1

u/Pawderr Sep 26 '26

Did you pass all images into colmap?

1

u/darlens13 Sep 27 '26

I’m currently working in something similar. Now I wanna take it to the next step and do video to 4D world

1

u/Lofi_Joe Sep 28 '26

Can it do buildings?

1

u/obraiadev Oct 11 '26

I am building a web application to streamline this process; it processes the orbital video from the cameras and handles brush-based training via the web:

https://orbit.gausify.com/

0

u/Ireallydonedidit Sep 24 '26

Great work. You should try the 4D splat thing that came out recently

3

u/Sgsrules2 Sep 24 '26

And that would be?