3D Printing
News Videos Newsletter Contact us
Home / News / Using Marigold In a Text-to-3D Printing AI Workflow
Join our mailing list

Our newsletter is free & you can unsubscribe any time.

Using Marigold In a Text-to-3D Printing AI Workflow

December 21, 2023

There have been numerous attempts to use AI to create 3D printable models based on a simple text input over the last year, with varying results. One of the more famous examples is from LumaAI, and you may recall this project from OpenAI earlier this year.

In this article we will take a look at another method of AI-powered text-to-3D, this time using a program called “Marigold”, which according to its website, “repurposes Diffusion-Based image generators for monocular depth estimation”. Because generating AI art is one thing, but giving it actual depth, which is needed for 3D printing is an entirely different game altogether. But the creators of Marigold seem to have done just that.

What is Marigold?

Marigold was designed by researchers at ETH Zürich, and its function is to generate depth information from a 2D image. Originating from the Stable Diffusion framework, Marigold utilizes synthetic data for fine-tuning, enabling it to transfer knowledge to unfamiliar data efficiently. This approach has led Marigold to surpass the previously leading method, LeRes, in this field.

Using Marigold In a Text-to-3D Printing AI Workflow
Source data and Marigold depth info overlaid. (Image Credit: Marigold)

The model’s functionality hinges on fine-tuning the U-Net component of the Stable Diffusion setup. The process involves encoding both the image and depth into a latent space using the original Stable Diffusion VAE, followed by optimizing the diffusion objective relative to the depth latent code. A notable aspect is the modification of the U-Net’s first layer to accept concatenated latent codes, enhancing the depth estimation capability.

During inference, Marigold encodes an input image into a latent code, which is then concatenated with a depth latent. This combination is processed through the modified, fine-tuned U-Net. After several denoising iterations, the depth latent is decoded into an image, and its channels are averaged to derive the final depth estimation.

Comparative studies have shown Marigold’s superior performance in both indoor and outdoor settings against other state-of-the-art affine-invariant depth estimators. This is particularly notable as Marigold achieves these results without prior exposure to real depth samples. For a comprehensive understanding of Marigold’s methodologies and benchmarks, the detailed paper provides in-depth (no pun intended) information.

So because Marigold is an image-to-3D solution, it means that you can use AI generated images as the source. And that is exactly what one Redditor has done, as you can see below.

DallE-to-3D

Using the the DallE text-to-image AI found on Bing, Redditor “fredandlunchbox” entered a prompt to generate an image of a plastic picture frame with modern features, hanging on a wall.

DallE outputted the image that you can see below.

DallE concept
DallE concept. (Image Credit: u/fredandlunchbox)

The Redditor used Marigold to create a depth map, before having the depth map rendered in Cinema4D, and then did some extra manual tidying up in Blender and Fusion360. When the model was complete, he exported it as an STL, and printed it. The whole process from DallE text-prompt to final printed object happened in under 24 hours, and you can see the final printed part in the image below.

The final 3D printed version
The final 3D printed version. (Image Credit: u/fredandlunchbox)

The Redditor notes that the process is not automatic, but the creators of Marigold have recently announced an update that “allows the user to produce a watertight STL ready for printing.”

How watertight that is exactly, remains to be seen, but it sounds like something fun to experiment with over the holiday season.

If you would like to experiment with the depth estimation and 3D printing features of Marigold, you can head on over to the web-based GUI over at the program’s Hugging Face space over at this link.

Come and let us know your thoughts on our Facebook, X, and LinkedIn pages, and don’t forget to sign up for our weekly additive manufacturing newsletter to get all the latest stories delivered right to your inbox.

Share:
WhatsApp Twitter Facebook LinkedIn Buffer Reddit E-mail
About the author | Phillip Keane
Phillip is an aerospace engineer from UK. He is a graduate of Coventry University (UK), International Space University (France) and Nanyang Technological University (Singapore), where he studied Advanced Manufacturing at the Singapore Centre for 3D Printing.
Latest posts

3D Printed Telescopes Making Astronomy Affordable

Brian Miche is on a quest to democratize stargazing experiences globally, and 3D printing is key to its success. In the late 1970s,... read more »

News
3D Printed Telescopes Making Astronomy Affordable

Pix Robobus: Transforming Urban Mobility With 3D Printing

Pix Moving has developed the Pix Robobus, an electric vehicle geared towards smart urban mobility. Its modular and customizable design goes beyond traditional... read more »

Automotive
Pix Moving

Researchers 3D Print Smart Skin Sensors

University of Glasgow researchers have made advancements in temperature sensing with the development of innovative 'smart skin' sensors. This breakthrough involves a soft,... read more »

News
Researchers 3D Print Smart Skin Sensors

3D Printed Innovation Merges with Traditional Korean Furniture

Kim Min Hyuk's Saero series redefines traditional Korean furniture, seamlessly blending cultural heritage with modern design principles. Departing from conventional norms, Saero transcends... read more »

News
3D Printed Innovation Merges with Traditional Korean Furniture

MouthPad Unveils Tongue-Operated Touchpad at CES 2024

The MouthPad has made its debut at CES 2024 in Las Vegas, showcasing a unique tongue-operated touchpad capable of turning your tongue into... read more »

Electronics
MouthPad Unveils Tongue-Operated Touchpad at CES 2024

3D Printed Monolithic Detector Achieves Milestone at CERN

The 3DET (3D printed detector) collaboration at CERN, in partnership with ETH Zurich, the School of Management and Engineering Vaud, and the Institute... read more »

News
3D Printed Monolithic Detector Achieves Milestone at CERN

CoreTechnologie AM Software Gets Major Lattice Update

CoreTechnologie GmbH, based in Mömbris, Germany, has unveiled the 1.5 update to its 4D_Additive Manufacturing software. This update has brought notable revisions to... read more »

News
CoreTechnologie AM Software Gets Major Lattice Update

Vivobarefoot Unveils 3D Printed Compostable Sneakers

Shoe brand Vivobarefoot, in collaboration with material science company Balena, has revealed a prototype at the Biofabricate conference — a 3D printed compostable... read more »

Fashion
Vivobarefoot Unveils 3D Printed Compostable Sneakers

UQ Researchers Employ 4D Printing for Soft Robotics

Researchers from the University of Queensland have showcased a novel 4D printing technology, potentially ushering in a new era for soft robotics. Their... read more »

News
UQ Researchers Employ 4D Printing for Soft Robotics

Social

  • Facebook Facebook 3D Printing
  • Linkedin Linkedin 3D Printing
  • Modix BIG Meter Modix BIG Meter
    980 x 1000 x 1000 mm
    from $13,500
    Request a Quote
  • Modix BIG-180X Modix BIG-180X
    1800 x 600 x 600 mm
    from $15,500
    Request a Quote
  • Modix BIG-120X Modix BIG-120X
    1200 x 600 x 660 mm
    from $7,500
    Request a Quote
  • Modix BIG-60 Modix BIG-60
    600 x 600 x 660 mm
    from $4,900
    Request a Quote
  • Modix BIG-120Z Modix BIG-120Z
    600 x 600 x 1200 mm
    from $7,500
    Request a Quote
Join our newsletter

Our newsletter is free & you can unsubscribe any time.

Featured Industries

  • Automotive
  • Aerospace
  • Construction
  • Dental
  • Environmental
  • Electronics
  • Fashion
  • Medical
  • Military
  • Creality K1

    • - Print size: 220 x 220 x 250 mm
    • - fully enclosed
    More details »
    $519.00 Amazon
    Buy Now
  • Bambu Lab X1 Carbon AMS Combo

    • - Print size: 256 x 256 x 256 mm
    • - fully enclosed
    More details »
    $1,499.00 MatterHackers
    Buy Now
  • Anycubic Photon M5S

    • - Print size: 218 x 123 x 200 mm
    • - 19 micron print accuracy
    More details »
    $599.99 Amazon
    Buy Now
  • Best 3D Printers – Buyers Guide

    Best 3D Printers – Buyers Guide

    View Post
  • 3D Printers for Beginners

    3D Printers for Beginners

    View Post

Company Information

  • What is 3D Printing?
  • Contact us
  • Join our mailing list
  • Advertise with us
  • Media Kit
  • Nederland 3D Printing

Blog

  • Latest News
  • Use Cases
  • Reviews
  • 3D Printers
  • 3D Printing Metal

Featured Reviews

  • Anycubic Photon Mono M5s
  • Creality Ender 5 S1
  • The Mole 3D Scanner
  • Flashforge Creator 3 Pro

Featured Industries

  • Automotive
  • Aerospace
  • Construction
  • Dental
  • Environmental
  • Electronics
  • Medical
  • Military
  • Fashion
  • Art
2024 — Strikwerda en Dehue
  • Home
  • Join our mailing list
  • Contact us
Blog
  • Latest News
  • Use Cases
  • Reviews
  • 3D Printers
  • 3D Printing Metal
Featured Industries
  • Automotive
  • Aerospace
  • Construction
  • Dental
  • Environmental
  • Electronics
  • Medical
  • Military
  • Fashion
  • Art
Company Information
  • What is 3D Printing?
  • Contact us
  • Join our mailing list
  • Advertise with us
  • Media Kit
  • Nederland 3D Printing