Skip to content
Back to skills

Inference

ASecurity

Guides FastVideo typed Python and config-first CLI generation, model inputs, outputs, offload, attention backends, quantization, and compilation.

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythonbashapibackendperformance

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Inference?

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

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

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: inference
description: "Guides FastVideo typed Python and config-first CLI generation, model inputs, outputs, offload, attention backends, quantization, and compilation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Inference

Use for text-to-video, image-to-video, video-to-video, image, and supported
audio generation. Start with a registered model ID and a backend-compatible
configuration.

## Preferred typed path

```python
from fastvideo import VideoGenerator

generator = VideoGenerator.from_pretrained(
    "Wan-AI/Wan2.1-T2V-1.3B-Diffusers", num_gpus=1
)
result = generator.generate({
    "prompt": "A fox running through snow",
    "sampling": {"num_frames": 81, "height": 480, "width": 832, "seed": 42},
    "output": {"output_path": "outputs/", "save_video": True},
})
```

For a reusable file, use `VideoGenerator.from_file()` or the CLI. Read [API
reference](references/api-reference.md), [workflows](references/workflows.md),
and [optimizations](references/optimizations.md) before changing advanced
settings. Run [typed helper](scripts/generate_typed.py) only after choosing a
model and accepting remote-weight execution.

## CLI

```bash
fastvideo generate --config run.yaml
fastvideo generate --config run.yaml --request.sampling.seed 7
```

The config must be nested; flat flags are not the current contract. Input images,
video paths, prompt files, control tensors, refinement inputs, and output modes
belong in `request.inputs`, `request.sampling`, and `request.output`.

## Performance and safety

Fix prompt, seed, dimensions, steps, and model before comparing backends. Warm
up once before measuring `torch.compile`. Use offload or multi-GPU only when the
selected model supports it. Attention and low-bit paths can alter numerics;
validate quality on the target configuration rather than assuming equivalence.

See [inference troubleshooting](references/troubleshooting.md) for shape,
backend, memory, output, and deprecated-API failures. Serving is a separate
route: [serving](../serving/SKILL.md).

Files in this skill

  • SKILL.md2 KB
  • references/api-reference.md2.2 KB
  • references/optimizations.md1.7 KB
  • references/troubleshooting.md1.8 KB
  • references/workflows.md1.7 KB
  • scripts/generate_typed.py1.7 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.