24 lines
996 B
Python
24 lines
996 B
Python
# SPDX-License-Identifier: Apache-2.0
|
|
from dataclasses import dataclass
|
|
|
|
from fastvideo.configs.sample.base import SamplingParam
|
|
|
|
|
|
@dataclass
|
|
class Cosmos25SamplingParamBase(SamplingParam):
|
|
height: int = 704
|
|
width: int = 1280
|
|
num_frames: int = 77
|
|
fps: int = 24
|
|
seed: int = 0
|
|
|
|
guidance_scale: float = 7.0
|
|
negative_prompt: str = (
|
|
"The video captures a series of frames showing ugly scenes, static with no motion, motion blur, "
|
|
"over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, "
|
|
"underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, "
|
|
"low frame rate, artifacting, color banding, unnatural transitions, outdated special effects, fake elements, "
|
|
"unconvincing visuals, poorly edited content, jump cuts, visual noise, and flickering. "
|
|
"Overall, the video is of poor quality.")
|
|
num_inference_steps: int = 35
|