Skip to content

oio/mflux-api

Repository files navigation

simple mflux api

bare-bone web API to the mflux library.

mflux lib is not really updated on the pip repositories, so it's manually linked to the github repository in pyproject.toml.

this is just a simple API wrapper, for a full breakdown of mflux capabilities, check out the mflux github.

install and run

first install the dependencies using uv

uv sync

then run the api

uv run python -m uvicorn main:app --host 0.0.0.0 --port 8000

Note

the first time you run mflux, it will download the model weights and cache them. that's around 30gb of space, so it might take a while.

web frontend

in the /client folder, there is a simple frontend to test the api. just run a web server in the client folder to test it out.

next steps

  • add a simple web frontend to test the api
  • add a queue system (you are position #4 in the queue) etc.
  • add error handling

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors