Files
hao-ai-lab-FastVideo/fastvideo/api/matrixgame2.py
Kaiqin Kongandmergify[bot] 773d44b875 [misc] Rename MatrixGame to MatrixGame2 (#1357)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2026-05-17 22:57:03 -07:00

16 lines
378 B
Python

# SPDX-License-Identifier: Apache-2.0
from dataclasses import dataclass
from fastvideo.api.sampling_param import SamplingParam
@dataclass
class MatrixGame2SamplingParam(SamplingParam):
height: int = 352
width: int = 640
num_frames: int = 57
fps: int = 25
guidance_scale: float = 1.0
num_inference_steps: int = 3
negative_prompt: str | None = None