This repository is an experimental side project to determine the feasibility of running Blender in headless mode, without a graphical user interface (GUI), while still being able to render images and run simulations.
- Open the project via the Poetry shell:
poetry shell
- Install the project dependencies:
poetry install
- Run the example server:
uvicorn headless_blender.server:app --reload
- Test the health check:
curl http://localhost:8000/health
- Import the API specs into Hoppscotch and use the API accordingly
- Build the Docker image:
docker build -t headless-blender .
- Run the Docker container:
docker run -p 8000:8000 headless-blender
- Test the health check:
curl http://localhost:8000/health
- Import the API specs into Hoppscotch and use the API accordingly