[diffusion] feat: support resolution check for video model (#14881)

Co-authored-by: Brain97 <Brain97@users.noreply.github.com>
Co-authored-by: Mick <mickjagger19@icloud.com>
This commit is contained in:
blahblah
2025-12-14 17:50:13 +08:00
committed by GitHub
co-authored by Brain97 Mick
parent 5c75907e62
commit 19c16748ce
11 changed files with 469 additions and 377 deletions
@@ -39,7 +39,7 @@ class VideoResponse(BaseModel):
status: str = "queued"
progress: int = 0
created_at: int = Field(default_factory=lambda: int(time.time()))
size: str = "720x1280"
size: str = ""
seconds: str = "4"
quality: str = "standard"
remixed_from_video_id: Optional[str] = None
@@ -53,7 +53,7 @@ class VideoGenerationsRequest(BaseModel):
input_reference: Optional[str] = None
model: Optional[str] = None
seconds: Optional[int] = 4
size: Optional[str] = "720x1280"
size: Optional[str] = ""
fps: Optional[int] = None
num_frames: Optional[int] = None
seed: Optional[int] = 1024