cd /news/generative-ai/how-to-build-an-ai-workflow-that-gen… · home topics generative-ai article
[ARTICLE · art-19537] src=mindstudio.ai pub= topic=generative-ai verified=true sentiment=↑ positive

How to Build an AI Workflow That Generates 3D Product Models from Images

Leonardo AI's image-to-3D feature now enables users to generate rotatable 3D product models from a single photograph in under a minute, eliminating the need for specialized software and manual 3D modeling. The technology, which uses depth estimation and mesh reconstruction to create GLB files, allows e-commerce teams and game developers to produce 360-degree product views and rapid asset prototypes at scale.

read15 min publishedJun 2, 2026

Leonardo AI's image-to-3D feature lets you create rotatable product models from a single image. Here's how to use it for e-commerce and game assets.

From Flat Photos to Rotatable Models: What’s Actually Possible #

Creating 3D product models used to require a 3D artist, specialized software, and hours of manual work. A realistic product render might take days and cost hundreds of dollars per asset. Now, AI can generate a rotatable 3D model from a single product photo in under a minute.

This matters for e-commerce teams trying to offer 360° product views, for game developers who need rapid asset prototyping, and for anyone who wants to visualize a product without a full production pipeline. Building an AI workflow around image-to-3D generation makes this repeatable and scalable — not a one-off experiment.

This guide walks through how image-to-3D AI actually works, which tools do it well (including Leonardo AI’s built-in feature), how to set up the workflow step by step, and how to automate the whole process so it runs without manual intervention.

How Image-to-3D AI Works #

Before building anything, it helps to understand what the model is actually doing — because it directly affects what inputs produce good results.

Image-to-3D AI uses a combination of techniques. The most common approach today involves:

Depth estimation— inferring how far different parts of the image are from the camera based on shading, perspective, and learned patterns** Multi-view synthesis**— generating multiple hypothetical angles of the object from the single source image** Mesh reconstruction**— converting those synthesized views into a 3D mesh (typically a GLB or OBJ file)

Everyone else built a construction worker.

We built the contractor.

One file at a time.

UI, API, database, deploy.

Some newer models, like those based on the TripoSR architecture, can do this in under a second. Others use diffusion-based approaches that take longer but produce richer surface detail.

The key limitation is occlusion — parts of the object the camera can’t see. If your product photo shows the front of a sneaker, the AI has to guess what the sole and back look like. It does this by drawing on patterns from training data, which is why results vary. A simple geometric product (like a mug or a bottle) will reconstruct better than something complex (like a chair with intricate legs).

What the Output Actually Looks Like

Most image-to-3D tools output a GLB file, which is the standard binary format for 3D models with embedded textures. This file can be:

  • Opened in Blender or any major 3D software for editing
  • Dropped into a product page using a WebGL viewer (like <model-viewer>

) - Imported into Unity or Unreal Engine for game use

  • Converted to other formats (USDZ for AR on iOS, FBX for game engines)

The texture quality is often decent for distant or medium views. Close-up inspection usually reveals AI “guessing” on the back faces. For most e-commerce use cases — a spinning product preview — this is entirely acceptable.

Tools That Handle Image-to-3D Generation #

Several platforms now offer this capability. Here’s an honest breakdown of the main options:

Leonardo AI (Image to 3D)

Leonardo AI’s image-to-3D feature takes a single image and outputs a textured GLB model. It’s accessible through their web interface and API, which makes it easy to integrate into a larger workflow. The feature works best with product photos that have clean backgrounds.

Output quality is strong for simple shapes. The textures tend to be consistent with the source image, and the model is generally ready for use in a web viewer without post-processing.

Meshy AI

Meshy is purpose-built for 3D asset generation and has become a popular choice for game studios and developers. It supports both text-to-3D and image-to-3D generation, with output options including GLB, FBX, OBJ, and USDZ. Meshy also has a mesh refinement step that improves surface quality after the initial generation.

Tripo3D

Tripo3D (developed by VAST AI) is fast — it can produce a model in a few seconds — and tends to handle complex objects better than some competitors. It’s particularly popular for rapid prototyping of game assets.

Luma AI (Genie)

Luma’s Genie model produces high-quality outputs but is slower than the others. The texture detail is often the best of the group. Luma also offers video-to-3D (using their NeRF-based approach), which is a separate and more powerful technique for capturing real objects.

CSM AI (Common Sense Machines)

CSM offers an image-to-3D pipeline that’s optimized for downstream editing. It produces clean, low-poly meshes that are easier to work with in 3D software, rather than the dense meshes some other tools produce.

For a standard e-commerce workflow, Leonardo AI and Meshy are the most practical starting points — both have APIs, reasonable pricing, and consistent output quality.

Prerequisites Before You Build #

Before setting up the workflow, make sure you have:

Source images ready— product photos on white or neutral backgrounds, well-lit, ideally shot from a front-facing or slight 3/4 angle** An account on your chosen 3D generation platform**— Leonardo AI, Meshy, or similar** A destination for output files**— Google Drive, S3 bucket, or a product catalog system** A basic understanding of file types**— you’ll be working with GLB files primarily

#

Plans first. Then code.

Remy writes the spec, manages the build, and ships the app.

If your existing product photos have cluttered backgrounds, run them through a background removal step first. Most AI image-to-3D tools perform significantly better with isolated subjects. Tools like Remove.bg or the background removal feature built into many AI platforms handle this automatically.

Step-by-Step: Building the Image-to-3D Workflow #

Here’s how to build the workflow from scratch. This covers the manual version first, then the automated version.

Step 1: Prepare and Audit Your Input Images

The output quality of any image-to-3D model is bounded by the quality of the input. Before feeding images into the pipeline:

Remove backgrounds if they’re not already clean. A product on white or transparent background gives the model the clearest signal.Check resolution. Aim for at least 512×512 pixels. Higher resolution (1024×1024 or above) produces better texture detail.Verify lighting. Flat, even lighting works better than dramatic shadows, which can confuse depth estimation.Pick the best angle. A front-facing or slight 3/4 view gives the model the most information to work with.

If you’re processing a catalog with hundreds of images, build an automated background removal step into the workflow before the 3D generation step. This is a good place to use an AI image processing tool that can batch-process images.

Step 2: Run Image-to-3D Generation

Using Leonardo AI:

  • Log into Leonardo AI and navigate to the 3D Generation section
  • Upload your prepared product image
  • Select your output settings — most use cases are fine with the default mesh density
  • Click Generate and wait (typically 30–90 seconds)
  • Download the GLB file

Using the Meshy API (for automation):

Meshy’s REST API accepts an image URL and returns a task ID. You poll the API until the task is complete, then download the result. The basic flow:

POST /v2/image-to-3d

with your image URL and target formatGET /v2/image-to-3d/{task_id}

to check status- When status: succeeded

, download themodel_urls.glb

file

Both Leonardo AI and Meshy have documented APIs that follow this pattern. The specifics differ, but the logic is the same.

Step 3: Review and Validate the Output

Before publishing or using the 3D model, do a quick quality check:

  • Open the GLB in a viewer (Babylon.js Sandbox, Sketchfab, or Blender) and rotate it 360°
  • Check that the front-facing textures look accurate to the product
  • Look for obvious artifacts on the back or bottom faces
  • Verify that the mesh isn’t missing large sections

For e-commerce, the front and top faces matter most. Users rotating a product online typically care about seeing the product from natural viewing angles, not inspecting the bottom.

If the output has issues, try regenerating with a slightly different source image. Changing the angle by 10–15 degrees, adjusting exposure, or using a higher-resolution image often produces better results.

Step 4: Post-Process the Model (Optional)

For many use cases, the raw output is ready to use. But if you need higher quality:

Mesh simplification— Use Blender’s Decimate modifier to reduce polygon count without losing visible detail. This speeds up in web viewers.Texture baking— If you’re importing into a game engine, baking the AI-generated textures into a proper PBR material set gives better lighting response.Fill missing geometry— For products where the back face matters, you can manually model simple back geometry in Blender and merge it with the AI output.

For most e-commerce applications, skip this step entirely. The raw GLB works in web viewers and the time saved isn’t worth the post-processing unless you have specific quality requirements.

Step 5: Deploy the 3D Model

For e-commerce product pages:

Google’s <model-viewer>

web component is the easiest way to embed a rotating 3D product on a page. It handles AR on iOS (via USDZ) and Android (via GLB), and requires zero backend setup.

<model-viewer
  src="your-product.glb"
  ar
  auto-rotate
  camera-controls
  style="width: 400px; height: 400px;">
</model-viewer>

For game assets:

Import the GLB into Unity via the GLTF importer (Unity Package Manager) or into Unreal Engine via the Interchange Plugin. From there, you can assign proper PBR materials and rig the mesh as needed.

For product catalogs:

Upload GLB files to your storage (S3, Google Cloud Storage) and store the URL in your product database. Serve it from a CDN to keep load times fast.

Automating the Workflow at Scale #

Running this process manually works for a handful of products. For a catalog of hundreds or thousands of SKUs, you need an automated pipeline.

A complete automated image-to-3D workflow looks like this:

Trigger— New product image uploaded to Google Drive, Dropbox, or an e-commerce platform** Background removal**— Automatically strip the background if needed** Image-to-3D generation**— Call the Leonardo AI or Meshy API with the processed image** Status polling**— Wait for the generation task to complete** Output storage**— Save the GLB to a designated folder or S3 bucket** Catalog update**— Write the 3D model URL back to the product database or CMS** Notification**— Alert the team (via Slack or email) when new models are ready for review

This is where a platform like MindStudio becomes genuinely useful.

Building This Workflow in MindStudio #

MindStudio is a no-code platform for building AI workflows and agents. Its AI Media Workbench includes direct access to image generation and processing tools — without needing separate API accounts for each service.

For an image-to-3D pipeline, you can build the entire multi-step workflow visually:

  • Set up a webhook trigger that fires when a new image is added to your product folder - Add a background removal step using one of MindStudio’s built-in media tools - Call the image-to-3D API(Leonardo AI, Meshy, or Tripo3D) as a workflow step - Store the output GLB to Google Drive or S3 using a pre-built integration
  • Update your product catalog in Airtable, Notion, or Shopify automatically
  • Send a Slack notification with a preview link when the model is ready

MindStudio has 1,000+ integrations with business tools, so connecting to your existing stack — whether that’s Shopify, WooCommerce, or a custom product database — doesn’t require custom code.

The benefit of wrapping this in an automated workflow is repeatability. Every new product image goes through the same steps, in the same order, without anyone manually managing the process. For e-commerce teams launching seasonal collections or constantly updating inventory, this turns a manual bottleneck into a background process.

You can try MindStudio free at mindstudio.ai.

Use Cases: Where This Workflow Delivers the Most Value #

E-Commerce Product Pages

360° product views increase conversion rates. Shoppers who interact with a 3D product model understand what they’re buying better, which reduces returns. For categories like furniture, footwear, electronics, and apparel accessories, this is particularly valuable.

The workflow makes it viable for mid-sized catalogs where hiring 3D artists isn’t economical. A 3D artist might charge $50–$200 per product model. Running 500 products through an AI workflow costs a fraction of that.

Game Asset Prototyping

Game developers often need to quickly prototype how an asset will look in-engine before committing to full production. Using image-to-3D, a 2D concept or reference photo can become a rough 3D mockup in under a minute.

This doesn’t replace professional 3D modeling — the output mesh isn’t production-ready for most AAA titles. But for indie games, mobile games, or early-stage prototyping, it’s a practical shortcut. You can validate proportions, scale, and basic look in the game engine before spending time on a polished asset.

AR Try-Before-You-Buy Experiences

Retailers using AR for try-before-you-buy (furniture placement, sneaker try-on, eyewear) need 3D models of their products. Most small and mid-sized retailers don’t have these. An AI workflow that converts existing product photography into AR-ready GLB/USDZ files removes the primary barrier to AR adoption.

Virtual Showrooms and Configurators

Product configurators (choose your color, finish, material) typically require a 3D model for each variant. Instead of modeling each variant by hand, brands can generate base models from photos of each physical variant and combine them.

Common Mistakes and How to Avoid Them #

Using Low-Quality Input Images

The single biggest factor in output quality is input quality. A 300px thumbnail will produce a worse model than a 1024px product photo. If your product catalog has inconsistent image quality, normalize it before running the pipeline.

Skipping Background Removal

A cluttered background confuses the model. It can’t easily distinguish the product from the background, leading to artifacts or incorrect geometry. Always run background removal first.

Expecting Photorealistic Back Faces

The back of the generated model is always a guess. If your use case requires users to inspect the back of the product closely, the AI output will need manual cleanup. Set realistic expectations upfront — image-to-3D is not a substitute for photogrammetry with a product sitting on a rotating rig.

Ignoring File Size

AI-generated 3D models can be large files. A typical GLB output might be 2–10MB without optimization. For web use, run the file through a GLTF optimizer (like gltf-pipeline

or Draco compression) to reduce file size before embedding on product pages.

Treating Every Output as Final

Build a review step into your workflow. Not every generated model will be usable, and publishing a badly reconstructed 3D model to a product page is worse than having no 3D model at all. A quick human review step before publishing catches problems before they go live.

Frequently Asked Questions #

What types of products work best with image-to-3D AI?

Products with simple, geometric shapes and clear surfaces work best: bottles, mugs, shoes, bags, electronics, and small appliances. Products with thin or complex geometry — eyeglass frames, bicycle spokes, wire furniture — tend to produce worse results because the AI has trouble reconstructing fine structural details from a single view.

How accurate is the 3D model compared to the real product?

The front-facing geometry and textures are usually quite accurate to the source image. The back, bottom, and occluded areas are approximated based on the model’s training data. For most e-commerce applications where users want a general sense of the product, this accuracy is sufficient. For manufacturing or engineering purposes, it is not.

Do I need any 3D modeling experience to use this workflow?

No. The workflow described here doesn’t require 3D modeling skills. You need to be able to identify a good-quality output from a bad one, which is a visual judgment anyone can make. The optional post-processing steps (Blender editing, texture baking) require 3D skills, but they’re not part of the core workflow.

How long does it take to generate a 3D model from an image?

Most current tools take between 30 seconds and 5 minutes per model, depending on the platform and the complexity of the output settings. Tripo3D is among the fastest at a few seconds for basic output. Luma AI’s higher-quality outputs can take several minutes. For batch processing, most platforms allow multiple simultaneous jobs, so throughput is often higher than the per-model time suggests.

What file format does image-to-3D AI output?

GLB (binary GLTF) is the most common output format. Most platforms also support OBJ (without embedded textures), and some support USDZ (for iOS AR), FBX (for game engines), and STL (for 3D printing, though texture information is lost). GLB is the most practical format for web deployment and is widely supported across 3D tools and viewers.

Can I use the generated 3D models commercially?

This depends on the platform’s terms of service. Leonardo AI’s commercial licensing allows use of generated assets for commercial purposes, but verify current terms before launching a product. Meshy similarly allows commercial use on paid plans. Read the ToS of whichever platform you use — the rules vary and can change.

Key Takeaways #

  • Image-to-3D AI generates rotatable GLB models from single product photos in under a minute, making 3D product visualization viable for mid-sized e-commerce catalogs.
  • Clean, well-lit product images on neutral backgrounds produce significantly better results than raw catalog photography.
  • The best current tools for this use case are Leonardo AI (accessible, good API), Meshy (strong quality and output format options), and Tripo3D (fastest generation time).
  • Automating the full pipeline — from image upload to model deployment — removes manual bottlenecks and makes the process repeatable at scale.
  • MindStudio lets you build this multi-step workflow visually, connecting background removal, 3D generation, file storage, and catalog updates without writing custom API integration code.
  • Always include a human review step before publishing AI-generated 3D models to live product pages.

If you’re ready to build a workflow like this, MindStudio is a practical starting point — you can connect the tools described in this guide and have an automated pipeline running in an afternoon.

── more in #generative-ai 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-build-an-ai-w…] indexed:0 read:15min 2026-06-02 ·