Skip to content

itsP33t/3d-model-generator

Repository files navigation

Web based 3D model generator

preview

This is simple web app that allows you to generate 3D models from text prompt or image. It uses Google Nano Banana pro to generate the base image that you need to approve or deny and then creates this 3D model using the microsoft/TRELLIS model (hosted on fal.ai)

Features

  • model preview before generation - you can tweak the image generated by nano banana before the 3d model is generated
  • 3D model viewer - you can see the model immidiately after generation
  • Completely open source

How does it work

how does it work I'm not exactly an artist, sorry for that 😆

How to start using it

Do not deploy publicly. This app lacks authentication. Public access will allow anyone to generate 3D models at your expense.

expecting you already have this repo cloned locally

  • rename the .env.example file to .env and fill in the values

Using Yarn

install the dependencies

yarn install

start the development server

yarn dev

Using NPM

install the dependencies

npm install

start the development server

npm run dev

open http://localhost:3000 with your browser to see the app.

License

🛡️ License & Commercial Use

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).

What does this mean for you?

  • Freedom to Use: You can run, study, and modify this software for any purpose.
  • Share Alike: If you distribute this software (or a modified version of it), you must provide the full source code under the same GPL-3.0 license.
  • No "Lazy" Reselling: While the GPL doesn't strictly forbid selling software, it requires you to provide the source code to whoever you sell it to. This means you cannot take this project, change nothing, and sell it as a "closed-source" proprietary product.

We believe in open collaboration. If you find value in this code, contribute back!

Click here to read the full license text

About

Prompt to fully working 3D object using Nano Banana and Trellis

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors