How-to · 3D printing
AI Image to STL and Text to STL: From Prompt to Printable File
How to go from an image or text prompt to an STL or 3MF file you can slice: input rules, export format, scale, wall checks and when to use CAD instead.
Getting from a prompt to a printed object takes six steps, and the generator is only the second: choose an input that suits printing, generate, export as STL or 3MF, fix scale, check the geometry, then slice. Most failures come from the input and the scale, not the model. This page is the file workflow. To choose a generator in the first place, see the best image-to-3D tools; this page assumes you have one.
What suits printing and what does not
Generators work best for standalone objects with a solid footprint: figurines, toys, props, planters. They are poor at parts with exact dimensions or moving fits. Meshy’s own guide uses a twelve-gear gearbox as its example of something that looks right and will not work, and recommends CAD for it. That is a vendor admitting a limit, and it matches the nature of the technology: nothing in a prompt guarantees a millimeter.
Prompt and image rules that appear in Meshy’s guide, which are sensible for any tool:
- Ask for a solid base so the object stands on its own.
- Avoid thin or fragile parts such as antennae, swords and capes, which break when printed.
- Name a style and a use, and add size if it matters.
- Start simple, then add one detail at a time.
For image input, the rules in preparing images for image-to-3D apply, and prompt wording is covered in writing prompts for AI 3D generators. One further print-specific rule: a single object on a plain background, with the full silhouette visible. A single view gives the generator nothing behind the object, so check the back, and thin parts it invents are the likeliest to break (our reasoning, not a measured result).
Step by step
- Pick the input. One object, solid base, no floating pieces. If it is a real person or pet, read photo to figurine first.
- Generate at the quality that keeps the print tools. Meshy’s guide says a model generated at Ultra 4K is locked out of its print-prep tools (Auto Split, Multi-Color Print, Add Base, one-click send to slicer); it advises Ultra 2K if you plan to use them. Check your tool for a similar rule.
- Export the right format. STL is the universal option, but it holds only triangles. The Library of Congress description says it has no standard color or texture and does not specify units. If you need color, export 3MF; see multi-color and 3MF. If a tool offers both, the 3MF core specification defaults to millimeters, which removes one source of scale error.
- Set the real-world size. STL does not specify units (Library of Congress), and the sources we read do not say how each slicer interprets them, so read the bounding box in your slicer after import. Meshy’s guide says its auto-size estimates real-world size and lets you set the longest side before you slice. A 100 mm figure and a 100 m figure can be the same file.
- Check the geometry. Open the model in your slicer and look for warnings, then work down the print-readiness checklist. A mesh being closed does not make it printable. Wall thickness against your nozzle matters: at a 0.4 mm nozzle Prusa’s knowledge base puts one perimeter at about 0.45 mm and two at about 0.9 mm, and says walls thinner than one perimeter do not print. If the slicer flags errors, go to fixing AI models for the slicer.
- Slice. Meshy’s guide suggests 0.2 mm layers and 15 to 20 percent infill, with supports on if there are overhangs, flattest face down. Those are one vendor’s starting defaults; use your printer’s profiles.
Text to STL specifically
True text-to-3D generation produces whatever the model imagines from the words, so wording matters and results vary run to run. If what you actually want is lettering or a sign, extrusion tools are more predictable. Meshy’s guide lists its own free 3D Text Generator (font, depth, bevel, STL export in the browser), MakerWorld’s MakerLab for raised letters, and a separate 3D Font Generator for ready-made styles such as bubble, chrome or Minecraft-style text, and recommends its generative text-to-3D for stylized or sculpted lettering. The same post says Meshy’s older Text to 3D form is being retired on October 31, 2026 in favor of its 3D Agent chat; since that date has passed, check its current interface before following a tutorial.
Which tools document what
- Meshy: exports STL and 3MF; the API price list includes Repair Printability, Auto Split and Multi-Color Print, 10 credits each. Free-plan downloads are restricted to untextured Meshy 6 Lite models per its help center.
- Sloyd: its homepage advertises manifold STL or OBJ export with a stable base fitted. Its Terms limit 3D printing to personal use; see licensing.
- Others: see the generator picks for printing for what each documents.
What an end-to-end print looks like
3DWithUs, a site that labels its Meshy article Sponsored and uses commission affiliate links, reports printing a dog figurine (“Teddy”) at 100 mm, in four colors, in about four hours on a Snapmaker U1, with a pebble-style base, and changing the supports to Organic and the top surface to Concentric. It also reports needing several versions of a VW Beetle miniature to get the steering wheel right, and tilting it 25 degrees in Orca, which the author says reduced supports. That is one tool, three subjects, no failure rate, so it shows the route works, not how often. Nothing on this page comes from a print we ran.
What goes wrong
- Thin features snap or never slice. Thicken in the generator prompt or in a mesh tool.
- Scale is wrong. Read the bounding box before slicing.
- Floating or disconnected pieces print as separate blobs; check the number of shells.
- Hidden sides are invented. A single image gives the model nothing to go on behind the object, so check the back before printing.
- Texture and color are ignored in STL.
Next, confirm readiness with the print-readiness checks, then return to 3D printing.