This commit is contained in:
2026-07-01 10:20:51 +08:00
parent ee2867ff1a
commit 9309a7ffdd
4 changed files with 18 additions and 18 deletions
+4 -4
View File
@@ -13,8 +13,8 @@ class VideoEngineCreate(BaseModel):
supported_resolutions: str = Field(default='["480p","720p","1080p"]')
supported_durations: str = Field(default='[4,5,6,7,8,9,10,11,12,13,14,15]')
max_duration: int = Field(default=15)
max_image_count: int = Field(default=5)
max_video_count: int = Field(default=2)
max_image_count: int = Field(default=2)
max_video_count: int = Field(default=0)
generate_url: str = Field(default="", max_length=512)
query_url: str = Field(default="", max_length=512)
is_active: bool = True
@@ -35,8 +35,8 @@ class VideoEnginePublic(BaseModel):
supported_ratios: list[str] = []
supported_resolutions: list[str] = []
supported_durations: list[int] = []
max_image_count: int = 5
max_video_count: int = 2
max_image_count: int = 2
max_video_count: int = 0
class VideoEngineListResponse(BaseModel):