openfal
openfal is a MIT-licensed local inference server that runs image and video diffusion models (Qwen-Image-2.1, Wan 2.2, MiniMax H3) on your own Windows, Linux, or macOS host with a fal-compatible HTTP/queue API, Python SDK, Studio UI, hardware detection, and one-CLI model downloads.
About openfal
openfal
openfal is a self-hosted local inference server for image and video generation. It exposes fal-compatible route names, a /queue API with SSE status streaming, and a fal_client-style Python SDK (openfal.subscribe, run, submit, upload_file). A single CLI handles hardware detection (openfal detect), model setup (openfal autosetup, openfal download), serving (openfal serve, with a Studio UI and OpenAPI docs at /docs), and cleanup. It is positioned between hosted APIs like fal.ai and node-graph tools like ComfyUI, offering fixed, verified endpoints rather than custom node-graph composability. The server binds to 127.0.0.1 by default; LAN access requires --host 0.0.0.0 with an API key. Requires Python 3.10+ and a PyTorch build matching the compute device. The page states it is an independent project not affiliated with fal.ai, and that it covers supported local models only, not full hosted fal.ai catalog or moderation parity. Benchmarks on an RTX 5090 are published comparing it with ComfyUI and vLLM-Omni.
Key features
- fal-compatible route names and /queue/* submission with SSE status streaming
- Python SDK with openfal.subscribe, run, submit, and upload_file
- Built-in Studio UI and OpenAPI docs at /docs
- Hardware detection via openfal detect
- One-CLI model setup with autosetup tiers and targeted downloads, including --runtime-assets-only repair
- Model readiness and installed route inspection via GET /v1/endpoints and GET /v1/models/status
- Text-to-image and reference-guided image editing with Qwen-Image-2.1-Turbo
- Text-to-video, image-to-video, character animation, and character replacement with Wan 2.2
- Text/image-to-video with audio, reference-conditioned video, and image generation with MiniMax H3 models
- Optional --host and --api-key flags for LAN access
- Direct synchronous HTTP POSTs or queued requests
Best suited for
- Developers who want local fal-style endpoints for self-hosted app integration
- Running simple local image and video generation without node-graph workflows
- Teams wanting model files kept on their own server host and accessible over a network
- Users who want a single CLI for detection, setup, and serving
Pricing
Not stated on the website
Discussion
Used openfal? Share what worked and what didn’t.
No comments yet. Start the conversation.