Skip to content

🎥 Make videos programmatically with React

Docs: Remove model lifecycle note from video matting overview

Jonny Burgeraf76d72b43c8
diff --git a/packages/docs/docs/video-matting/index.mdx b/packages/docs/docs/video-matting/index.mdx
index 688d4c7088..eb15eae894 100644
--- a/packages/docs/docs/video-matting/index.mdx
+++ b/packages/docs/docs/video-matting/index.mdx
@@ -39,10 +39,6 @@ export const matteVideo = async (file: File) => {
};
```
-[`separateVideoLayers()`](/docs/video-matting/separate-video-layers) loads the downloaded model automatically. Use [`loadVideoMattingModel()`](/docs/video-matting/load-video-matting-model) with `await using` when you want to initialize it before processing and release it when the scope ends. Call [`disposeVideoMattingModel()`](/docs/video-matting/dispose-video-matting-model) when you want to release a model loaded automatically.
-
-`await using layers` removes the temporary output files when `matteVideo()` returns; the blobs remain usable.
-
## Model hosting
We noticed that hosting the models on R2 leads to faster downloading than through Hugging Face directly.