Skip to content
Back to skills

Local Inference

ASecurity

"Guides LTX-Video local CLI and Python inference workflows,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
developmentpythongoshellbashapibackenddocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill local-inference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Local Inference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Local Inference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-local-inference-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-local-inference-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: local-inference
description: "Guides LTX-Video local CLI and Python inference workflows,
  conditioning media, prompt handling, and safe command construction."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# LTX-Video local inference

Use this sub-skill when a task asks to run or reason about LTX-Video generation through the repository CLI `inference.py` or the Python API `infer(InferenceConfig)`.

## Route here for

- Building an `inference.py` command for text-to-video, image-to-video, video extension, video-to-video, or multiple conditioning items.
- Translating a user request into `InferenceConfig` fields for `infer(config)`.
- Diagnosing `conditioning_media_paths`, `conditioning_start_frames`, `conditioning_strengths`, `input_media_path`, `offload_to_cpu`, output-path, padding, or prompt-enhancement behavior.
- Checking whether a proposed command is safe before a heavy run that may download checkpoints or prompt-enhancer models.

## Before running generation

1. Choose or inspect the YAML pipeline config with [model-configs](../model-configs/SKILL.md). This sub-skill can pass a config path, but it does not own model-family or YAML-field selection.
2. Confirm runtime readiness: Python package imports, `[inference]` extras for media I/O, a practical CUDA/MPS/CPU backend, and Hugging Face cache/network expectations.
3. Use the bundled command builder before shelling out:

   ```bash
   python scripts/build_inference_command.py \
     --prompt "A precise cinematic prompt" \
     --pipeline-config PATH/TO/ltxv-13b-0.9.8-distilled.yaml \
     --height 704 --width 1216 --num-frames 121 \
     --output-path outputs/ltx-run
   ```

   The script validates static argument rules and prints a shell-safe `python inference.py ...` command. It never imports LTX-Video, runs inference, or downloads models.
4. Treat full generation as expensive: checkpoint, text-encoder, spatial-upscaler, and prompt-enhancer downloads may occur when paths in the config are not local.

## Main workflows

- For CLI and Python recipes, see [references/workflows.md](references/workflows.md).
- For verified `InferenceConfig` fields and key function behavior, see [references/api-reference.md](references/api-reference.md).
- For failure modes and repairs, see [references/troubleshooting.md](references/troubleshooting.md).

## Boundary routing

- YAML/model selection, FP8-vs-bfloat16 config choice, base-vs-multi-scale config details, and config editing route to [model-configs](../model-configs/SKILL.md).
- Direct `LTXVideoPipeline`, `LTXMultiScalePipeline`, scheduler, VAE, transformer, latent, or prompt-enhancer internals route to [pipeline-components](../pipeline-components/SKILL.md).
- Training, ComfyUI workflow editing, Diffusers documentation, LTX-2, and external control/trainer repositories are non-goals for this local CLI/API workflow.

Files in this skill

  • SKILL.md2.8 KB
  • references/api-reference.md6.9 KB
  • references/troubleshooting.md7.4 KB
  • references/workflows.md12.1 KB
  • scripts/build_inference_command.py17.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.