Skip to content

Feature: Flask Client and Server #266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

Velythyl
Copy link

@Velythyl Velythyl commented May 20, 2025

I found myself wanting to use TRELLIS on a platform with lower compute capabilities. So I added a flask server and client to my fork of the repo.

This way, I can launch the flask server on our institutional cluster, and I can open a tunnel from my machine to the cluster. I can then use the flask client to stream images to the flask server, and obtain GLB files and video renders from it.

This might be useful for people looking to obtain meshes using a command line interface (using POST/GET requests) from weaker hardware.

Note: most of this PR was generated by an LLM, and I just tuned and fixed bugs I found. I don't guarantee this is 100% bug-free, but I found that I can easily generate GLBs using the client, both from single and from multiple images.

@Velythyl
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant