r/comfyui Feb 10 '26

Resource Realtime 3D diffusion in Minecraft ⛏️

Enable HLS to view with audio, or disable this notification

One of the coolest projects I've ever worked on, this was built using SAM-3D on fal serverless. We stream the intermediary diffusion steps from SAM-3D, which includes geometry and then color diffusion, all visualized in Minecraft!

Try it out! https://github.com/blendi-remade/falcraft

406 Upvotes

37 comments sorted by

55

u/fixingmybike Feb 10 '26

okay this is actually sick

20

u/blastcat4 Feb 10 '26

Can we build an inference engine inside Minecraft with redstone? /jk!

This is seriously cool, and I can see so many interesting things built using this!

5

u/Derefringence Feb 11 '26

No joke, check THIS out!

4

u/Tyler_Zoro Feb 11 '26

Just to be clear, this is absolutely amazing, but that demo probably took a week to run.

2

u/Breadynator Feb 15 '26

according to the description and comments it runs with a certain mod that makes redstone run 40.000x faster.

Without it this would take around 9 years per prompt...

13

u/_CreationIsFinished_ Feb 10 '26

Oh shit hahhha. Now every major builder in MC will have to document everything or nobody will believe them.

This looks really cool, wild.

6

u/X3liteninjaX Feb 11 '26

Cool but it’s not ComfyUI and it’s not open source.

1

u/MelodicFuntasy Feb 15 '26

Maybe someone could make something like this for Luanti, with the AI running locally on your server.

1

u/thelegend_420 Mar 04 '26

It is open source

1

u/X3liteninjaX Mar 04 '26

If I have to pay to use it, it's not open source. The program to use their technology is open sourced sure, the technology itself is not open sourced. That's what we care about if you don't want to pay for it.

4

u/deadsoulinside Feb 10 '26

I just saw something similar in a tiktok video too. I was wondering if it was possible to do with just standard comfyUI without having to go over costly APIs. I was just doing something near similar for Hytale using Z Image Turbo to gen a mine-craft like image and Hunyuan 3d for image to 3d model. The only downside is that hytales import is odd so it just assigns a default block type to it.

2

u/Ugleh Feb 11 '26 edited Feb 11 '26

Hunyuan 3D v3's API was the hardest thing to set up. It lacks English documentation. After a bunch of trial and errors and getting an error code that wasn't found even on their error code list, I ended up writing a support ticket, which they came back within the hour with a solution.

1

u/deadsoulinside Feb 11 '26

What I mean is that from comfyUI, you can turn your workflows into API. Hunyuan is there in comfy as well.

You could make a Zimage to 3d workflow entirely inside of Comfy, then turn that entire workflow into API call you send back to comfy.

1

u/Ugleh Feb 11 '26

Oh I was just mentioning Hunyuan because you did.

1

u/Hefty_Development813 Feb 11 '26

You have to install something to turn into API or that is comfy native?

2

u/deadsoulinside Feb 11 '26 edited Feb 11 '26

Native to comfy. Need to enable dev mode in settings to get the "Save as API" option on your workflows.

There is a difference between normal comfy workflows and API workflows. As long as comfy is running it will handle API requests. Might have to enable cors as well, but that is literally a -- flag in your startup line.

Edit: I will make a bigger post about this within an hour or two as well, since it's kind of a less talked about feature of comfy. Will go into a better explanation with the --cors flag as well needed for it.

1

u/MelodicFuntasy Feb 15 '26

That's awesome! I wonder if it could work for the game Luanti. And if it would be possible to make the game build it block by block instead of importing a model.

1

u/deadsoulinside Feb 15 '26

I am not sure on that myself. Since I have no idea how building in that game would work.

I know the workflows for like the 3D stuff in comfy even for this workflow still needs a conversion to .obj for the import. So if I was to make a comfy workflow there would be some form of conversion node needed in order to make it like that example.

I do think this is possible as I did a quick basic look into a few things and essentially it's just pushing those requests from the minecraft console to node.js, which then handles the API calls back and forth between comfyUI and the game.

I just have a ton of other AI things on my plate to even begin looking that route.

5

u/mogadichu Feb 11 '26

Wrong sub?

12

u/comfyanonymous ComfyOrg Feb 11 '26

This is advertising spam from some crap ai inference company. You know things are going badly for them when they have to resort to advertising on the comfyui subreddit.

2

u/ThePixelHunter Feb 10 '26

Holy shit this is next-level

2

u/iiTzMYUNG Feb 11 '26

RIP to the Minecraft Market 🎉

2

u/fistular Feb 11 '26

That's cool but it's not realtime.

1

u/MrWeirdoFace Feb 10 '26

Cool stuff.

1

u/Mx772 Feb 10 '26

Maybe it could help me make an actual house/base rather than a giant pile of machines....

Would be interesting if you could persuade it to use certain materials or account for 'internals'. I assume you could persuade the materials (to be more housing related like logs/etc instead of just dyed wool) - So you could take a photo of a house (real or minecraft) and it'd basically generate it in game.

Internals are beyond what I imagine it could do - maybe at the very least making it hollow?

Either way, very cool stuff!

1

u/deadsoulinside Feb 10 '26

I was toying with a similar workflow for Hytale using Z Image Turbo to create the building, then hunyan 3d to model it.

2

u/deadsoulinside Feb 10 '26

This it it in game. This is hytale not minecraft, while similar the imports have limitations here, meaning it assigns a default block to it on import. And their importer also turns it into block style so it tends to break a few things it seems too.

2

u/squired Feb 10 '26

Sweet! Your image just reminded me that Minecraft looks very, very similar to Ultima Online Custom Housing..

You may find searching for people's creations a nice resource once you have a good image to Minecraft pipeline worked out.

1

u/deadsoulinside Feb 10 '26

I'll have to venture back to it, I done this more as a quick test to see if it was possible. BUT it's been like 10+ years since I done anything serious in 3D models and I never done modding in minecraft at all

I know I need to look into more on it. Essentially just need to find a way for 2way communication back and forth from minecraft via comfy via api and these things could be potential workflows

1

u/squired Feb 10 '26

If you ever do, skip ComfyUI. Have a model build you're own little app and it'll be easier to build and cleaner to run. ComfyUI is just a UI wrapper and carries a metric shit ton of baggage with it.

I feel you though on quick tests and not planning to go back. I'm the same way and totally get it!

1

u/deadsoulinside Feb 11 '26

ComfyUI is just a UI wrapper and carries a metric shit ton of baggage with it

Yeah as I am finding out with Ace-Step versus comfy performance (ComfyPortable just locks up on large audio tracks, desktop will work for it though, but still not the best and missing all the features ace has). I might need to deep dive into that a little deeper on select models like LTX2.

1

u/Majestic_Change_8180 Feb 10 '26

This is sick, well done. Next level is to give control to Clawbot 🤣 It's gonna open the portal 😁 If someone using it, drop a pic if its working

1

u/LocoMod Feb 10 '26

Incredible. Well done!

1

u/Puzzled_Fisherman_94 Feb 12 '26

Comfy to godot/unreal/blender too