Instructions to use Avdpro/MLX-LivePortrait with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Avdpro/MLX-LivePortrait with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir MLX-LivePortrait Avdpro/MLX-LivePortrait
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download conversion-receipt.json from Avdpro/MLX-LivePortrait: direct link, hf CLI and curl.
- Browser
- Download file 3.17 kB
-
https://huggingface.co/Avdpro/MLX-LivePortrait/resolve/main/conversion-receipt.json
- Command line
-
hf download hf://Avdpro/MLX-LivePortrait/conversion-receipt.json
-
curl -L -o conversion-receipt.json https://huggingface.co/Avdpro/MLX-LivePortrait/resolve/main/conversion-receipt.json
3.17 kB
| { | |
| "outputs": { | |
| "appearance_feature_extractor": { | |
| "bytes": 3377868, | |
| "file": "appearance_feature_extractor.npz", | |
| "sha256": "4eec38855dce659872aa33b684dcb513289d905941a19531e7ff32bf464b4fbd", | |
| "tensor_content_sha256": "df355f27d4a3f6bd4ef74238ed15c985f71652c96811d8f7e55658122e92b2ca", | |
| "tensors": 92 | |
| }, | |
| "motion_extractor": { | |
| "bytes": 112533394, | |
| "file": "motion_extractor.npz", | |
| "sha256": "f761c3441b3833af57603069bb5163b8355e28c0d5a9c64363f5e6d08def2178", | |
| "tensor_content_sha256": "7799f2acef72870c354d8c3069167d3b51ee49f20c7d3bb3cf624eb7e9678ccb", | |
| "tensors": 212 | |
| }, | |
| "spade_generator": { | |
| "bytes": 221503830, | |
| "file": "spade_generator.npz", | |
| "sha256": "a9de6c00bff60ced8985429280a63c561cdf7d3cf8165edbdc0258643613f1b3", | |
| "tensor_content_sha256": "e21587c000eb7f89077cd3fd1273d382361bb571cc5cefde3d4f3806af533095", | |
| "tensors": 146 | |
| }, | |
| "stitching": { | |
| "bytes": 183098, | |
| "file": "stitching.npz", | |
| "sha256": "c947d7dba4905d560bf144fb2ef9aa7dfb6fdab795736909073c8cc49a78501d", | |
| "tensor_content_sha256": "c9d0ea50fa24ed38c521bef0d083c2e3376bde4abfae9b793e5e586199001239", | |
| "tensors": 8 | |
| }, | |
| "stitching_eye": { | |
| "bytes": 581954, | |
| "file": "stitching_eye.npz", | |
| "sha256": "72b5f6b00b43e4963f0ba24e9e58cdcb20a9332ac676480fdef4cf584124a750", | |
| "tensor_content_sha256": "6c3a20b7d935bb4e05a0368cffbfb85af20cc9e51e755281069f13077c2a0648", | |
| "tensors": 12 | |
| }, | |
| "stitching_lip": { | |
| "bytes": 151346, | |
| "file": "stitching_lip.npz", | |
| "sha256": "af27dce745f662f4d7f48185e24bfc4caf33ebceb7e66f14c088f3844e8a53dd", | |
| "tensor_content_sha256": "69429b7958b459f49d67379003cd4426232174850bc37a98b6d0a649ecdd88cc", | |
| "tensors": 8 | |
| }, | |
| "warping_module": { | |
| "bytes": 182175112, | |
| "file": "warping_module.npz", | |
| "sha256": "1e42984161e17391d41eec9b7444318890ff816cd23316e272707153bdf0d27d", | |
| "tensor_content_sha256": "b7b8c883608fda87032125a88af0b6f1cccfd644d932e6dca1cc9d29ffd09063", | |
| "tensors": 84 | |
| } | |
| }, | |
| "schema": "ai2apps.mlx-liveportrait-conversion/v1", | |
| "source": { | |
| "repo_id": "KlingTeam/LivePortrait", | |
| "revision": "82a4fa6735ca58432b6ce39301b4b9ee066dea47" | |
| }, | |
| "sources": { | |
| "liveportrait/base_models/appearance_feature_extractor.pth": { | |
| "bytes": 3387959, | |
| "sha256": "5279bb8654293dbdf327030b397f107237dd9212fb11dd75b83dfb635211ceb5" | |
| }, | |
| "liveportrait/base_models/motion_extractor.pth": { | |
| "bytes": 112545506, | |
| "sha256": "251e6a94ad667a1d0c69526d292677165110ef7f0cf0f6d199f0e414e8aa0ca5" | |
| }, | |
| "liveportrait/base_models/spade_generator.pth": { | |
| "bytes": 221813590, | |
| "sha256": "4780afc7909a9f84e24c01d73b31a555ef651521a1fe3b2429bd04534d992aee" | |
| }, | |
| "liveportrait/base_models/warping_module.pth": { | |
| "bytes": 182180086, | |
| "sha256": "2f61a6f265fe344f14132364859a78bdbbc2068577170693da57fb96d636e282" | |
| }, | |
| "liveportrait/retargeting_models/stitching_retargeting_module.pth": { | |
| "bytes": 2393098, | |
| "sha256": "3652d5a3f95099141a56986aaddec92fadf0a73c87a20fac9a2c07c32b28b611" | |
| } | |
| } | |
| } | |