---
title: Python API reference
---

<div class="python-reference">
<a id="fastvideo-api-reference"></a>
<a id="core-api"></a>
<a id="package-reference"></a>
<a id="guides"></a>
<h1>FastVideo API Reference</h1>
<p>FastVideo exposes a small public API for loading pipelines and generating media.
The detailed package reference is generated automatically from the source code.</p>
<h2>Core API</h2>
<ul>
<li><a href="/FastVideo/api/fastvideo#fastvideo.VideoGenerator"><code>fastvideo.VideoGenerator</code></a> loads a pipeline and provides the high-level
  generation interface.</li>
<li><a href="/FastVideo/api/fastvideo#fastvideo.PipelineConfig"><code>fastvideo.PipelineConfig</code></a> describes the components required by a pipeline.</li>
<li><a href="/FastVideo/api/fastvideo#fastvideo.SamplingParam"><code>fastvideo.SamplingParam</code></a> contains generation-time sampling parameters.</li>
</ul>
<h2>Package Reference</h2>
<ul>
<li><a href="/FastVideo/api/fastvideo/api#fastvideo.api">API contracts and sampling</a></li>
<li><a href="/FastVideo/api/fastvideo/configs#fastvideo.configs">Configuration</a></li>
<li><a href="/FastVideo/api/fastvideo/models#fastvideo.models">Models</a></li>
<li><a href="/FastVideo/api/fastvideo/pipelines#fastvideo.pipelines">Pipelines</a></li>
<li><a href="/FastVideo/api/fastvideo/train#fastvideo.train">Training</a></li>
<li><a href="/FastVideo/api/fastvideo/distributed#fastvideo.distributed">Distributed runtime</a></li>
<li><a href="/FastVideo/api/fastvideo/attention#fastvideo.attention">Attention backends</a></li>
<li><a href="/FastVideo/api/fastvideo/layers#fastvideo.layers">Layers</a></li>
<li><a href="/FastVideo/api/fastvideo/entrypoints#fastvideo.entrypoints">Entrypoints</a></li>
</ul>
<h2>Guides</h2>
<ul>
<li><a href="/FastVideo/getting_started/v1_api">V1 API</a></li>
<li><a href="/FastVideo/inference/inference_quick_start">Inference quick start</a></li>
<li><a href="/FastVideo/training/overview">Training overview</a></li>
</ul>
</div>

<h2>Submodules</h2>
<ul>
<li><a href="/FastVideo/api/fastvideo">fastvideo</a></li>
</ul>
