See the VisualGen doc for feature details.
| Path | Purpose |
|---|---|
quickstart_example.py |
Minimal VisualGen API example |
models/ |
Per-model example scripts |
configs/ |
Shared VisualGenArgs YAMLs (used by --visual_gen_args and trtllm-serve) |
serve/ |
trtllm-serve usage, benchmarking, and clients |
# Defaults
python quickstart_example.py
python models/wan_t2v.py
# With engine config (quant, parallelism, etc.)
python models/wan_t2v.py --visual_gen_args configs/wan2.2-t2v-fp4-1gpu.yamlInstall deps from the repo root: pip install -r requirements-dev.txt.
Output: .png for image models; .mp4 for video models when FFmpeg is installed (otherwise .avi).