3D Printing
News Videos Newsletter Contact us
Home / News / Using Marigold In a Text-to-3D Printing AI Workflow
revopoint

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.
Join our newsletter

Our newsletter is free & you can unsubscribe any time.

Latest posts

3D Printed Metal Molds Poised to Accelerate US Auto Manufacturing

Oak Ridge National Laboratory (ORNL) researchers have demonstrated that 3D-printed metal molds offer significant advantages for producing large composite components for automotive manufacturing.... read more »

Automotive

Auburn-based XO Armor Joins Montgomery TechLab’s Defense Accelerator Program

XO Armor, a company that specializes in on-site 3D printing of custom-fit protective orthotics, has been selected for the first cohort of Montgomery... read more »

News
Auburn-based XO Armor Joins Montgomery TechLab's Defense Accelerator Program

ASTM International Teams with Major Manufacturers to Create Additive Manufacturing Certification

ASTM International's Additive Manufacturing Center of Excellence (AM CoE) has introduced a new manufacturer certification program aimed at improving quality assurance and process... read more »

News
ASTM International Teams with Major Manufacturers to Create Additive Manufacturing Certification

Egypt to Boost Domestic Spare Parts Production with Additive Manufacturing

Egypt's Arab Organization for Industrialization (AOI) hosted a workshop on June 2nd, 2025, to advance the localization of industrial spare parts manufacturing using... read more »

News
Egypt to Boost Domestic Spare Parts Production with Additive Manufacturing

3D Printing Breakthrough Reduces Waste While Enabling Complex Designs

MIT engineers have developed a new 3D printing resin that forms two different types of solids depending on the light used. The material... read more »

Materials
3D Printing Breakthrough Reduces Waste While Enabling Complex Designs

Magnetic 3D Printed Pen Shows Promise for Parkinson’s Diagnosis

Researchers have developed a 3D-printed pen containing magnetic ink that may help identify Parkinson's disease through handwriting analysis. The device captures motion patterns... read more »

News

Deuter Introduces New Mountain Bike Pack with 3D Printed Spine Protection

German pack manufacturer Deuter has launched the Hiline, a new mountain bike hydration pack featuring 3D-printed spine protection technology. The pack is specifically... read more »

News
Deuter Introduces New Mountain Bike Pack with 3D Printed Spine Protection

UltiMaker Launches S6 3D Printer

UltiMaker has announced the release of the S6 3D printer, designed specifically for engineers, manufacturing teams, and maintenance crews. The new printer focuses... read more »

News
UltiMaker Launches S6 3D Printer

Thought3D Launches Magigoo Glide Kit and Supergrip to Improve 3D Print Adhesion

Thought3D just introduced two new products designed to meet evolving needs in additive manufacturing. The Magigoo Glide Kit and Magigoo Supergrip respond to... read more »

News
Thought3D Launches Magigoo Glide Kit and Supergrip to Improve 3D Print Adhesion

3D Printed Electric Motorcycle by DAB Motors Inspired by Akira’s Iconic Bike

DAB Motors and Vita Veloce Team (VVT) have unveiled a custom electric motorcycle featuring 3D printed bodywork inspired by the iconic bike from... read more »

Automotive

Social

  • Facebook Facebook 3D Printing
  • Linkedin Linkedin 3D Printing
Join our newsletter

Our newsletter is free & you can unsubscribe any time.

Featured Industries

  • Automotive
  • Aerospace
  • Construction
  • Dental
  • Environmental
  • Electronics
  • Fashion
  • Medical
  • Military
  • QIDI Plus4

    • - Print size: 305 x 305 x 280 mm
    • - print temperature of 370°C
    More details »
    $799.00 QIDI Store
    Buy Now
  • QIDI Tech Q1 Pro

    • - Print size: 245 x 245 x 245 mm
    • - 600mm/s max speed
    More details »
    $449.00 QIDI Store
    Buy Now
  • QIDI Tech X-Max 3

    • - Print size: 325 x 325 x 315 mm
    • - fully enclosed
    More details »
    $799.00 QIDI Store
    Buy Now
  • Snapmaker Artisan Premium 3-in-1

    • - Print size: 400 x 400 x 400 mm
    • - comes with enclosure
    More details »
    $2,999.00 Snapmaker
    Buy Now

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
2025 — 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