lollms/lollms/ttv.py
Saifeddine ALOUI 62df82e8e3 text to video
2024-08-28 00:43:44 +02:00

9 lines
347 B
Python

from abc import ABC, abstractmethod
from typing import List, Optional
class LollmsTTV(ABC):
@abstractmethod
def generate_video(self, prompt: str, num_frames: int = 49, fps: int = 8,
num_inference_steps: int = 50, guidance_scale: float = 6.0,
seed: Optional[int] = None) -> str:
pass