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

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

QuesTek Partners with Niobium Producer to Develop High-Temperature 3D Printing Alloy

QuesTek Innovations has partnered with a global niobium producer to develop a high-temperature alloy designed for additive manufacturing. The project targets aerospace and... read more »

3D Printing Metal
QuesTek Partners with Niobium Producer to Develop High-Temperature 3D Printing Alloy

Autodesk Research and Additive Tectonics Develop 3D Printed Floor System with Alternative Materials

Autodesk Research has partnered with Additive Tectonics to develop a new approach to concrete floor construction using 3D printing technology. The collaboration combines... read more »

Construction

NREL Acquires Large-Scale Metal 3D Printer to Advance Marine Energy Research

The National Renewable Energy Laboratory (NREL) has installed a new laser-powered metal 3D printer at its Flatirons Campus to support marine energy device... read more »

3D Printing Metal
NREL Acquires Large-Scale Metal 3D Printer to Advance Marine Energy Research

Apple Adopts 3D Printing for Titanium USB-C Ports in New iPhone Air

Apple’s latest smartphone release marks a quiet but notable step in consumer electronics manufacturing: the company has confirmed that its new iPhone Air... read more »

3D Printing Metal
Apple Iphone 17 air

GKN Aerospace Expands Connecticut Facility for 3D Printed Engine Components

GKN Aerospace announced the expansion of its Newington, Connecticut facility to include a new production line for additively manufactured Fan Case Mount Ring... read more »

Aerospace
GKN Aerospace Expands Connecticut Facility for 3D Printed Engine Components

UltiMaker Launches Secure 3D Printing Line for Defense Applications

UltiMaker has introduced its Secure Line of 3D printing products specifically designed for defense and high-security environments. The initial lineup includes the UltiMaker... read more »

News
UltiMaker Launches Secure 3D Printing Line for Defense Applications

Digital Manufacturing Centre Delivers 90kg 3D Printed Military Vehicle Component

The Digital Manufacturing Centre (DMC) has completed production of its largest additive manufacturing metal component to date - a 90kg suspension and differential... read more »

3D Printing Metal
Digital Manufacturing Centre Delivers 90kg 3D Printed Military Vehicle Component

Designer Creates Modular Sneakers with 3D Printed Soles and Climbing Rope Laces

Daniyar Uderbekov, a designer based in Kazakhstan, has developed UDRB, a pair of modular sneakers designed to address environmental concerns in the footwear... read more »

Fashion

Nestlé Expands 3D Printing Operations for Manufacturing Parts Across UK Sites

Nestlé has implemented standardized 3D printing processes across its UK manufacturing facilities over the past year. The company uses a team of three... read more »

News
Nestlé Expands 3D Printing Operations for Manufacturing Parts Across UK Sites

Cornell Researchers Develop 3D Printing Method for Enhanced Superconductors

Cornell University researchers have developed a one-step 3D printing method that produces superconductors with improved properties. The research, published August 19 in Nature... read more »

News
Cornell Researchers Develop 3D Printing Method for Enhanced Superconductors

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 Tech Q1 Pro

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

    • - Print size: 305 x 305 x 280 mm
    • - print temperature of 370°C
    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
  • QIDI Tech X-Max 3

    • - Print size: 325 x 325 x 315 mm
    • - fully enclosed
    More details »
    $799.00 QIDI Store
    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