Documentation Index
Fetch the complete documentation index at: https://fal.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
๐ Try this Example
View the complete source code on GitHub. Steps to run:- Install fal:
- Authenticate (if not already done):
- Clone the demos repo and install dependencies:
- Run the trainer:
Deploy to fal
To host the trainer as an API:How it works
- Downloads WAN weights from Hugging Face and a pinned training repo.
- Prepares a dataset from your ZIP file (images and/or short videos).
- Runs LoRA training with DeepSpeed and returns the adapter weights.
Input format
Yourtraining_data_url should point to a ZIP containing:
- Images or videos (
.png,.jpg,.jpeg,.gif,.mp4) - Optional caption files (
my_clip.txtnext tomy_clip.mp4)
auto_scale_input=true, videos are fit to 81 frames at 16 fps for WAN training.