更改视频尺寸逻辑

This commit is contained in:
puke
2025-11-02 17:14:51 +08:00
parent 8a8139e65c
commit 14a31592e5
2 changed files with 5 additions and 6 deletions

View File

@@ -32,13 +32,13 @@ class VideoGenerateRequest(BaseModel):
max_image_prompt_words: int = Field(60, ge=10, le=200, description="Max image prompt words")
# === Image Parameters ===
image_width: int = Field(1024, ge=512, le=2048, description="Image width")
image_height: int = Field(1024, ge=512, le=2048, description="Image height")
image_width: int = Field(1024, description="Image width")
image_height: int = Field(1024, description="Image height")
image_workflow: Optional[str] = Field(None, description="Custom image workflow")
# === Video Parameters ===
video_width: int = Field(1080, ge=512, le=3840, description="Video width")
video_height: int = Field(1920, ge=512, le=3840, description="Video height")
video_width: int = Field(1080, description="Video width")
video_height: int = Field(1920, description="Video height")
video_fps: int = Field(30, ge=15, le=60, description="Video FPS")
# === Frame Template ===