--- title: FastFrames-L Live emoji: 🎞️ colorFrom: yellow colorTo: gray sdk: gradio sdk_version: "6.30.0" python_version: "3.12" app_file: app.py pinned: false license: other license_name: apple-amlr license_link: https://huggingface.co/apple/FastFrames-L/blob/main/LICENSE startup_duration_timeout: 1h short_description: Real-time text-to-video with FastFrames-L (14B) models: - apple/FastFrames-L - Wan-AI/Wan2.1-T2V-14B --- Real-time, prompt-reactive text-to-video with [apple/FastFrames-L](https://huggingface.co/apple/FastFrames-L). Press Go live and keep editing the prompt; the stream follows it. - One held ZeroGPU session per user streams 1 s segments; prompt edits reach it through a per-session file. - A prompt edit (debounced) regenerates the scene from frame 0 with the same seed, so the new prompt is followed exactly and the shot stays comparable. - An idle prompt keeps streaming past 5 s with a sink + rolling KV window (keys re-rotated so RoPE positions stay in 0..20) and gets a fresh scene every 20 s (adjustable) to stop long-rollout drift. - Inference code is the official [ml-fastframes](https://github.com/apple-aiml-research/ml-fastframes) package (commit `6044a56`), vendored unchanged in `fastframes/`. `ff_aoti.py` runs each block's per-frame forward as two graphs with FP8 GEMMs (`torch._scaled_mm`), AOT-compiled with aokit when a matching artifact is available (`FF_AOTI_REPO`); `FP8=0` / `FF_AOTI=0` turn either off. See `LICENSE` and `ACKNOWLEDGEMENTS`.