Skip to content
ldb0071Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Image to 3D Mesh

Transform any 2D image into a textured 3D model using Hugging Face Spaces (TRELLIS & TripoSR).

Setup

npm install
npm run dev

Usage

  1. Upload an image (JPEG, PNG, or WebP, up to 10MB)
  2. Choose a model (TRELLIS or TripoSR)
  3. Optionally add your Hugging Face token to avoid rate limits
  4. Click Convert to 3D
  5. View the mesh and download as GLB or OBJ

Tech Stack

  • React 18 + Vite + TypeScript
  • Tailwind CSS v4
  • Framer Motion
  • @gradio/client (Hugging Face Spaces API)
  • React Three Fiber + Drei (3D viewer)

Models

  • TRELLIS (JeffreyXiang/TRELLIS) – 1.2B params, high quality
  • TripoSR (stabilityai/TripoSR) – Fast single-image reconstruction

If TRELLIS fails, the app automatically falls back to TripoSR.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages