Spark
Animation and 3D

3D model generation: from image to mesh

Topic 4210 min read + 1.5 hours for the taskRevised November 23, 2026

A year ago “make a 3D model” meant hiring a modeler or spending a week learning Blender. Now five images of an object from different sides turn into a textured mesh in a couple of minutes. For a designer that opens up a rotating product on a landing page, an AR preview of packaging, assets for a Spline scene. But the generator doesn’t know what it’s doing: it guesses the back side, bakes shadows into the color and hands you a mesh that needs cleaning. This topic is about preparing the input, picking a tool, checking the result and getting it ready for the web.

Tools

Tool What it does Output What to know
Meshy text and image to 3D, texturing, remesh, auto-rig with an animation library GLB, FBX, OBJ, USDZ, STL, BLEND free plan: models are public, CC BY 4.0 license; remesh and privacy on paid plans; triangle topology
Tripo image to 3D, rig, UV unwrap; quad topology announced for fall 2026 GLB, FBX, OBJ no commercial rights on the free plan; check the terms before a project
Rodin (Hyper3D) up to 5 input images, high-quality geometry, part-by-part editing, simplification GLB, FBX, OBJ, USDZ, STL strongest on detailed objects; also available from Blender MCP
Hunyuan3D (Tencent) open weights, runs locally or in ComfyUI mesh with PBR version 2.1 needs about 29 GB of VRAM for shape plus texture; the license doesn’t apply in the EU, the UK and South Korea
TRELLIS.2 (Microsoft) open model under MIT, PBR GLB GLB needs an NVIDIA GPU with 24 GB or more; the cleanest license for commercial work
Spline 3D for the web in the browser, generation, official MCP public link, embed, code for React and Three.js for hero sections and interactive pieces on a site; MCP calls are capped by a daily quota

Version names change every couple of months, so don’t anchor on them. Anchor on three questions: who owns the result on your plan, what topology and textures it outputs, and what format you can download it in.

Preparing the input: half the result

The generator fills in whatever it can’t see. The less it guesses, the better the mesh.

  • 1–5 images from different angles. Front, side, three-quarter, top. One angle gets you an invented back.
  • A clean neutral background, even soft light. Hard shadows get baked into the texture.
  • The whole object, large in frame. No hands, stands or cropped edges.
  • One object per image. A set of three things gets glued into one.

If you don’t have photos, an image model makes the references. Ask Nano Banana or GPT Image to draw the object from five angles on a grey background with identical light: it’s the “Characters and style” topic, just for an object. A consistent series of images as input gives a noticeably better mesh than one pretty picture.

Five images of the same matte green mug in a row on a light grey background, labeled front, left, back, top, 3/4. The mug has one handle, the proportions and color match, and the “top” view shows a tilted mug rather than a view straight from above.
A reference sheet from one prompt, third attempt. In the first, the mug grew a second handle in the 3/4 view; in the second, the handle in the “left” view pointed at the camera. Here there’s one handle and it’s in place everywhere, but the model still reads “top” as a tilt rather than a view from above. Check every angle and the number of parts before you feed the sheet in. · Nano Banana Pro
Prompt
Technical reference sheet of ONE ceramic mug with exactly one handle, matte sage-green glaze, no text or logos on the mug. Five separate views of the identical mug in one row on a uniform light-grey studio background, soft even light, no hard shadows: 1) front view with the handle on the right, 2) left side view with the handle pointing away from the camera, 3) back view, 4) view straight down from above showing the circular rim and the handle as a small loop, 5) three-quarter view. Each mug has one handle only, the same proportions and details in every view, nothing else in the frame. Small captions under each view: front, left, back, top, 3/4

You can also build the same sheet the other way round: not images for a generator, but a model in code from the images. The agent got this sheet, a drawing in millimeters and a material description, wrote a Blender script and rendered the same five angles. Here there’s one handle in every view, and “top” really is from above: the model isn’t guessing, it’s building to dimensions. This path works for simple objects made of primitives; for a complex shape you still need a generator or a modeler.

Five renders of one 3D model of a matte green mug on a light grey background, labeled front, left, back, top, 3/4. There is one handle, and the “top” view shows the round rim and the handle as a short loop on the side.
The same mug, but the mesh is built by a script: the body by revolving the wall profile, the handle as a 17×5 mm ribbon swept along an oval that partly sinks into the wall, rendered in Cycles with a shadow catcher. The handle dimensions were taken from the reference sheet row by row, and the reference outline was laid over the render until the difference dropped under a millimeter. The five cameras sit at the same angles as on the reference sheet, so the views can be compared one to one. · Claude Code + Blender 4.3, bpy script, Cycles
Prompt
Build a mug in Blender from the reference sheet refs/mug-5-views.webp: height 95 mm, diameter 82 mm with a slight taper toward the foot, wall 4 mm, bottom 5 mm, one handle on the right in the front view. The handle is a 17×5 mm ribbon with rounded edges along an oval: oval center 11.5 mm from the wall at a height of 47 mm, semi-axes 20.5×31.5 mm, the ribbon thickens slightly at the wall. Matte sage-green glaze, soft studio light, the floor catches only the shadow. Render the same five angles (front, left, back, top, 3/4) at 900×900 into imgs/topics/mug/, assemble a labeled sheet like the reference, and lay the reference outline over the front view to check the shape

This mug matched the reference on the eighth attempt, and three takeaways from those attempts carry over to any model built in code.

  • The agent can’t compare by eye. It called the first versions of the handle “similar” even though the shape was different. The match came once comparison became measurement: a script slices the reference and the render into 5 mm rows and prints the reach, the gap and the thickness in millimeters.
  • Overlay the outline. A table of numbers doesn’t show the character of a shape. A red reference outline over the render showed in a second that the handle wasn’t a D with straight bars but an oval with part of it hidden inside the wall.
  • A number may have no effect. The ribbon wouldn’t get thinner no matter how much the thickness was reduced: there was a bug with the rounding in the profile. If changing a parameter doesn’t change the measurement, look for the bug in the code instead of turning the parameter further.

This is the actual model, not an image: rotate it and look from angles that aren’t on the sheet. Nothing underneath or inside is “made up,” because the geometry was built to dimensions, not guessed from photos.

A GLB of the same mug, 120 KB after gltf-transform with quantization. Rotate with a mouse or a finger; the scroll wheel zooms. · Blender 4.3 → GLB, gltf-transform, model-viewer

What to check in the result

The preview in the generator’s interface flatters the model: the angle and lighting are chosen for you. Go through the checklist before you download:

  • Back and bottom. Rotate the model. Wherever there was no reference, you’ll find mush and invented details.
  • Proportions. Compare the silhouette to the reference from three angles. Generators love to inflate and squash.
  • Mesh. Turn on the wireframe view. Noise, holes, fused parts and a million triangles on a mug are a reason to regenerate or clean up.
  • Textures. Shadows and highlights baked into the base color will give themselves away in another scene. Some services offer re-texturing without light.
  • Scale. The model arrives in arbitrary units. Set the real size before export, or in AR the mug will be the size of a house.

If two of the five checks fail, it’s cheaper to change the input and regenerate than to fix it. It’s the same rule as with video in the “Video generation and editing with AI” topic: fix the source, not the result.

Cleanup: remesh, UV unwrap, scale

The raw model gets finished either by the service itself (Meshy and Rodin have remesh and simplification) or by an agent in Blender (the “An agent in Blender” topic). The tasks are standard, and the agent knows them:

Open model.glb. Remesh to 20,000 faces while preserving the shape, rebuild the UV unwrap with no overlaps, set the real size to 120 mm in height, origin at the base. Re-bake the base color from the original model onto the new unwrap. Render four angles before and after onto one sheet and save it to reviews/

For a rotating product on a website, that’s enough. For animation with deformation you need quad retopology: that’s manual work or Tripo in quad mode, and an auto-remesh won’t save you. Generators’ auto-rigs are fine for a simple humanoid waving a hand, and not fine for a brand character with facial expressions.

Export for the web and AR

The web forgives little. The rules:

  • GLB format. One file with geometry and textures, understood by Three.js, model-viewer, Spline and agents.
  • Compression. Draco or Meshopt for geometry, textures in WebP or KTX2. The gltf-transform utility does it in one command, and the agent knows it. Target for a hero model: under 5 MB, ideally 2.
  • Texture size. 2048 for the main object, 1024 for everything else. You don’t need 4K on the web.
  • AR on iPhone. USDZ next to the GLB; model-viewer hooks it up via ios-src.
  • Showing it on the page. For a simple viewer with rotation and AR, model-viewer is enough. For a hero scene with interaction, Spline: you build it in the browser, the agent drives it through MCP, and you export an embed or code. For full control, Three.js or React Three Fiber in code through an agent (the “Vibe coding: art and tools” topic). References for scenes like these, with code, are collected in the 3D section of the Codrops Creative Hub (the “3D with AI” topic).
Prepare model.glb for the web: Draco for geometry, textures in WebP no larger than 2048, remove unused materials. Target under 3 MB. Build a page with model-viewer: rotation, auto-rotate, an AR button with USDZ. Show the file size before and after

Licenses and prices

This is where it’s easy to make a mistake that costs more than the generation. Free plans almost always mean public models and, at best, a license that requires attribution. Tripo’s terms for the free plan are contradictory; for a commercial project, assume you have no rights. Open models are cleaner: TRELLIS.2 is under MIT, but you need a GPU with 24 GB or more, or a cloud rental. Hunyuan3D excludes the EU and the UK from its license. Generator subscriptions cost about $20 a month for private models and hundreds of credits. For one project with a dozen models that’s cheaper than any stock site. These are the same three billing models as in the “Plans and limits” topic.

Before generating, check the stock sites: Poly Haven gives everything away under CC0, and on Sketchfab each model has its own license. A ready-made mug from a stock site will be cleaner than a generated one.

Prompt examples

Where to pasteNano Banana or GPT Image, preparing references
The object in this photo: draw it from five angles on the same light grey background in soft studio light with no hard shadows: front, left, back, top, three-quarter. Don’t change the proportions or details, one object per image
Where to pasteMeshy, Tripo or Rodin, the prompt field when generating from images
A ceramic mug with a handle, matte glaze, no text or logos, real proportions from the references, a clean surface with no baked-in shadows

With generators the prompt is secondary; the images matter most. Use text to pin down the material and what must not be there.

Where to pasteClaude Code, Codex CLI or Gemini CLI with Blender
Open reviews/ and compare the model’s contact sheet with the references in refs/. List the differences in proportions and details by angle. What can be fixed in Blender in one step, and what needs regenerating
Where to pasteClaude Code with Spline MCP connected
Build a scene for a hero section: the model model.glb on a neutral background, soft light from the upper left, slow rotation, reaction to the cursor. Publish it and give me the embed code
Mini-task

Take the blueprint brief and references from the “3D with AI” topic. If you have fewer than five references, fill in the missing angles with an image model. Generate a model in one of the services and go through the five-check list, writing down the result of each. Clean up the model, compress it under 5 MB and open it on a page with model-viewer. Rotate it from four sides: if the back isn’t embarrassing, the model is ready for a landing page.

Time: 1–1.5 hours
Done when: one model is generated from your own references, checked from four angles, cleaned up, and opens on a web page as a GLB under 5 MB

Sources

  1. Meshy Pricingmeshy.ai

    Free plan under CC BY 4.0 with public models; privacy and remesh on paid plans

  2. Meshy API Changelogdocs.meshy.ai

    Model versions and export formats

  3. How to use Tripo models commerciallytripo3d.ai

    Commercial rights at Tripo depend on the plan

  4. Hyper3D Rodinhyper3d.ai

    Generation from several images with PBR and a UV unwrap

  5. Hunyuan3D 2.1github.com

    Open weights, runs locally; the license doesn’t apply in the EU, the UK and South Korea

  6. TRELLIS.2github.com

    Open model under MIT, PBR GLB, needs a GPU with 24 GB or more

  7. Spline MCP Serverdocs.spline.design

    The agent builds and publishes Spline web scenes

  8. glTF Transformgltf-transform.dev

    GLB compression: Draco, Meshopt, textures in KTX2 and WebP

Found a mistake or an outdated fact? Write to hey@iskra.guide