{"by":"olokobayusuf","descendants":102,"id":37695530,"kids":[37701993,37696090,37696086,37696933,37698310,37698953,37696386,37696141,37703570,37700057,37696936,37719128,37696591,37702805,37698041,37696349,37702592,37696995,37696887,37697292,37696538,37700810,37696748,37696085,37697858,37698824,37696405,37697095,37697132,37698339,37696997,37700814,37698212,37696047],"score":360,"text":"Hey all,<p>You&#x27;ve probably seen projects that add objects to an image from a style or text prompt, like InteriorAI (levelsio) and Adobe Firefly. The prevalent issue with these diffusion-based inpainting approaches is that they don&#x27;t yet have great conditioning on lighting, perspective, and structure. You&#x27;ll often get incorrect or generic shadows; warped-looking objects; and distorted backgrounds.<p>What is Fill 3D?\nFill 3D is an exploration on doing generative fill in 3D to render ultra-realistic results that harmonize with the background image, using industry-standard path tracing, akin to compositing in Hollywood movies.<p>How does it work?\n1. Deproject: First, deproject an image to a 3D shell using both geometric and photometric cues from the input image.\n2. Place: Draw rectangles and describe what you want in them, akin to Photoshop&#x27;s Generative Fill feature.\n3. Render: Use good ol&#x27; path tracing to render ultra-realistic results.<p>Why Fill 3D?\n+ The results are insanely realistic (see video in the github repo, or on the website).\n+ Fast enough: Currently, generations take 40-80 seconds. Diffusion takes ~10seconds, so we&#x27;re slower, but for the level of realism, it&#x27;s pretty good.\n+ Potential applications: I&#x27;m thinking of virtual staging in real estate media, what do you think?<p>Check it out at <a href=\"https:&#x2F;&#x2F;fill3d.ai\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;fill3d.ai</a>\n+ There&#x27;s API access! :D\n+ Right now, you need an image of an empty room. Will loosen this restriction over time.<p>Fill 3D is built on Function (<a href=\"https:&#x2F;&#x2F;fxn.ai\" rel=\"nofollow noreferrer\">https:&#x2F;&#x2F;fxn.ai</a>). With Function, I can run the Python functions that do the steps above on powerful GPUs with only code (no Dockerfile, YAML, k8s, etc), and invoke them from just about anywhere. I&#x27;m the founder of fxn.<p>Tell me what you think!!<p>PS: This is my first Show HN, so please be nice :)","time":1695933690,"title":"Show HN: Generative Fill with AI and 3D","type":"story","url":"https://github.com/fill3d/fill"}