Instructions to use vidfom/Ltx-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use vidfom/Ltx-3 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf vidfom/Ltx-3:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf vidfom/Ltx-3:UD-Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf vidfom/Ltx-3:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf vidfom/Ltx-3:UD-Q4_K_XL
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf vidfom/Ltx-3:UD-Q4_K_XL # Run inference directly in the terminal: ./llama-cli -hf vidfom/Ltx-3:UD-Q4_K_XL
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf vidfom/Ltx-3:UD-Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama-cli -hf vidfom/Ltx-3:UD-Q4_K_XL
Use Docker
docker model run hf.co/vidfom/Ltx-3:UD-Q4_K_XL
- LM Studio
- Jan
- Ollama
How to use vidfom/Ltx-3 with Ollama:
ollama run hf.co/vidfom/Ltx-3:UD-Q4_K_XL
- Unsloth Desktop
- Docker Model Runner
How to use vidfom/Ltx-3 with Docker Model Runner:
docker model run hf.co/vidfom/Ltx-3:UD-Q4_K_XL
- Lemonade
How to use vidfom/Ltx-3 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull vidfom/Ltx-3:UD-Q4_K_XL
Run and chat with the model
lemonade run user.Ltx-3-UD-Q4_K_XL
List all available models
lemonade list
- Atomic Chat
Download ComfyUI/custom_nodes/ComfyUI_LayerStyle/workflow/image_hub_example.json from vidfom/Ltx-3: direct link, hf CLI and curl.
- Browser
- Download file 6.5 kB
-
https://huggingface.co/vidfom/Ltx-3/resolve/main/ComfyUI/custom_nodes/ComfyUI_LayerStyle/workflow/image_hub_example.json
- Command line
-
hf download hf://vidfom/Ltx-3/ComfyUI/custom_nodes/ComfyUI_LayerStyle/workflow/image_hub_example.json
-
curl -L -o image_hub_example.json https://huggingface.co/vidfom/Ltx-3/resolve/main/ComfyUI/custom_nodes/ComfyUI_LayerStyle/workflow/image_hub_example.json
6.5 kB
| { | |
| "last_node_id": 13, | |
| "last_link_id": 47, | |
| "nodes": [ | |
| { | |
| "id": 12, | |
| "type": "LoadImage", | |
| "pos": [ | |
| 390, | |
| 570 | |
| ], | |
| "size": { | |
| "0": 315, | |
| "1": 314 | |
| }, | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 39 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "MASK", | |
| "type": "MASK", | |
| "links": [], | |
| "shape": 3, | |
| "slot_index": 1 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "LoadImage" | |
| }, | |
| "widgets_values": [ | |
| "1024x640_cat.png", | |
| "image" | |
| ] | |
| }, | |
| { | |
| "id": 2, | |
| "type": "PreviewImage", | |
| "pos": [ | |
| 1640, | |
| 510 | |
| ], | |
| "size": [ | |
| 445.1518020629883, | |
| 307.4849090576172 | |
| ], | |
| "flags": {}, | |
| "order": 5, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 32 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "PreviewImage" | |
| } | |
| }, | |
| { | |
| "id": 6, | |
| "type": "LoadImage", | |
| "pos": [ | |
| 390, | |
| 930 | |
| ], | |
| "size": { | |
| "0": 315, | |
| "1": 314 | |
| }, | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 44, | |
| 47 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "MASK", | |
| "type": "MASK", | |
| "links": [], | |
| "shape": 3, | |
| "slot_index": 1 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "LoadImage" | |
| }, | |
| "widgets_values": [ | |
| "1344x768_hair (3).png", | |
| "image" | |
| ] | |
| }, | |
| { | |
| "id": 13, | |
| "type": "LayerColor: HSV", | |
| "pos": [ | |
| 830, | |
| 720 | |
| ], | |
| "size": { | |
| "0": 315, | |
| "1": 106 | |
| }, | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "image", | |
| "type": "IMAGE", | |
| "link": 44 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "image", | |
| "type": "IMAGE", | |
| "links": [ | |
| 45 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "LayerColor: HSV" | |
| }, | |
| "widgets_values": [ | |
| 0, | |
| -82, | |
| -10 | |
| ] | |
| }, | |
| { | |
| "id": 10, | |
| "type": "LayerUtility: ImageHub", | |
| "pos": [ | |
| 1220, | |
| 520 | |
| ], | |
| "size": { | |
| "0": 315, | |
| "1": 422 | |
| }, | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "input1_image", | |
| "type": "IMAGE", | |
| "link": 31 | |
| }, | |
| { | |
| "name": "input1_mask", | |
| "type": "MASK", | |
| "link": null | |
| }, | |
| { | |
| "name": "input2_image", | |
| "type": "IMAGE", | |
| "link": 39 | |
| }, | |
| { | |
| "name": "input2_mask", | |
| "type": "MASK", | |
| "link": null | |
| }, | |
| { | |
| "name": "input3_image", | |
| "type": "IMAGE", | |
| "link": null | |
| }, | |
| { | |
| "name": "input3_mask", | |
| "type": "MASK", | |
| "link": null | |
| }, | |
| { | |
| "name": "input4_image", | |
| "type": "IMAGE", | |
| "link": null | |
| }, | |
| { | |
| "name": "input4_mask", | |
| "type": "MASK", | |
| "link": null | |
| }, | |
| { | |
| "name": "input5_image", | |
| "type": "IMAGE", | |
| "link": null | |
| }, | |
| { | |
| "name": "input5_mask", | |
| "type": "MASK", | |
| "link": null | |
| }, | |
| { | |
| "name": "input6_image", | |
| "type": "IMAGE", | |
| "link": 45 | |
| }, | |
| { | |
| "name": "input6_mask", | |
| "type": "MASK", | |
| "link": null | |
| }, | |
| { | |
| "name": "input7_image", | |
| "type": "IMAGE", | |
| "link": null | |
| }, | |
| { | |
| "name": "input7_mask", | |
| "type": "MASK", | |
| "link": null | |
| }, | |
| { | |
| "name": "input8_image", | |
| "type": "IMAGE", | |
| "link": null | |
| }, | |
| { | |
| "name": "input8_mask", | |
| "type": "MASK", | |
| "link": null | |
| }, | |
| { | |
| "name": "input9_image", | |
| "type": "IMAGE", | |
| "link": 47 | |
| }, | |
| { | |
| "name": "input9_mask", | |
| "type": "MASK", | |
| "link": null | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "image", | |
| "type": "IMAGE", | |
| "links": [ | |
| 32 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "mask", | |
| "type": "MASK", | |
| "links": [], | |
| "shape": 3, | |
| "slot_index": 1 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "LayerUtility: ImageHub" | |
| }, | |
| "widgets_values": [ | |
| 6, | |
| false | |
| ] | |
| }, | |
| { | |
| "id": 4, | |
| "type": "LoadImage", | |
| "pos": [ | |
| 400, | |
| 200 | |
| ], | |
| "size": { | |
| "0": 315, | |
| "1": 314 | |
| }, | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 31 | |
| ], | |
| "shape": 3, | |
| "slot_index": 0 | |
| }, | |
| { | |
| "name": "MASK", | |
| "type": "MASK", | |
| "links": [], | |
| "shape": 3, | |
| "slot_index": 1 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "LoadImage" | |
| }, | |
| "widgets_values": [ | |
| "1024x1024_girl_face.png", | |
| "image" | |
| ] | |
| } | |
| ], | |
| "links": [ | |
| [ | |
| 31, | |
| 4, | |
| 0, | |
| 10, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 32, | |
| 10, | |
| 0, | |
| 2, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 39, | |
| 12, | |
| 0, | |
| 10, | |
| 2, | |
| "IMAGE" | |
| ], | |
| [ | |
| 44, | |
| 6, | |
| 0, | |
| 13, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 45, | |
| 13, | |
| 0, | |
| 10, | |
| 10, | |
| "IMAGE" | |
| ], | |
| [ | |
| 47, | |
| 6, | |
| 0, | |
| 10, | |
| 16, | |
| "IMAGE" | |
| ] | |
| ], | |
| "groups": [], | |
| "config": {}, | |
| "extra": {}, | |
| "version": 0.4 | |
| } |