dust3r-fastapi / test /README.md
andreagalle
a few explanantions to test the endpoint - without the .zip file to test it
0b12f99

Test Dust3r-server

Here below, detailed instructions are provided on how to test the different endpoints available, as well as a brief description of the expected output along with all the necessary input parameters.

the endpoint /upload_zip

For quick tests, pass the small.zip archive with just a couple images within it, and run the following command. For a more detailed model, pass the medium.zip archive as input, with 6 images.

curl -X POST "https://andreagalle-dust3r-server.hf.space/upload_zip/" -F "file=@./small.zip" -o ./model.glb

This endpoint returns a .glb file, a 3D model produced by Dust3r starting from the .jpg images contained within the .zip archive passed as input.