Video Diffusion Support (Experimental)
Video Diffusion Support (Experimental)
Video Diffusion Support (Experimental)
For general TensorRT-LLM features and configuration, see the Reference Guide.
Dynamo supports video generation using diffusion models through the --modality video_diffusion flag and
image generation through --modality image_diffusion flag.
visual_gen module is part of TensorRT-LLM (tensorrt_llm._torch.visual_gen). Install TensorRT-LLM following the official instructions.ModelType.Videos or ModelType.Images support. Ensure you’re using a compatible version.h264_nvenc) and libvpx_vp9 for WebM, and points imageio at it via IMAGEIO_FFMPEG_EXE=/usr/local/bin/ffmpeg — the GPL-encumbered ffmpeg binary normally shipped inside the imageio-ffmpeg PyPI wheel is not installed. If you’re running outside the container, install the Python wrapper without the bundled binary and point it at your own ffmpeg:
The pipeline type is auto-detected from the model’s model_index.json — no --model-type flag is needed.
Video generation uses the /v1/videos endpoint:
Image generation uses the /v1/images/generations endpoint: