The openfal contributors released a self-hosted server for apps that need image or video generation. It exposes fixed routes for Qwen-Image-2.1, Wan 2.2 and MiniMax H3. An app can submit a video job, follow its progress and fetch the result without building a ComfyUI graph for each workflow.
- Setup: Install with Python 3.10 or later and a PyTorch build for the machine. Run
openfal detect, then preview model downloads withopenfal autosetup --dry-run. The smallest documented image bundle is about 16.1 GB on disk.openfal serve --port 8008opens the API and browser interface on localhost. - Interface: Use HTTP or the project’s Python SDK. Queued calls return a request ID and can stream status updates. Check
/v1/endpointsfor the routes your app can use. The queue lives in memory and resets on restart. - Cost: The server code is free under the MIT license. You supply the hardware and storage, and each model keeps its own license.
Caveat: fal-style routes cover a fixed catalog, and hosted safety features do not carry over. Hardware matters, too: in the project’s 64 GB M4 Max run, Wan 2.2 video jobs took roughly 58 to 105 minutes.