feat: support video off_peak param (#31)

Co-authored-by: jinhaiyang <haiyang.jin@aminer.cn>
This commit is contained in:
zhaojiaqi286 2025-09-01 15:54:13 +08:00 committed by GitHub
parent ab6128d584
commit 67639ae83e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "zai-sdk"
version = "0.0.3.3"
version = "0.0.3.4"
description = "A SDK library for accessing big model apis from Z.ai"
authors = ["Z.ai"]
readme = "README.md"

View file

@ -1,2 +1,2 @@
__title__ = 'Z.ai'
__version__ = '0.0.3.3'
__version__ = '0.0.3.4'

View file

@ -42,6 +42,7 @@ class Videos(BaseAPI):
fps: int = None,
style: str = None,
aspect_ratio: str = None,
off_peak: bool = None,
movement_amplitude: str = None,
sensitive_word_check: Optional[SensitiveWordCheckRequest] | NotGiven = NOT_GIVEN,
request_id: str = None,
@ -88,6 +89,7 @@ class Videos(BaseAPI):
'fps': fps,
'style': style,
'aspect_ratio': aspect_ratio,
'off_peak': off_peak,
'movement_amplitude': movement_amplitude,
'sensitive_word_check': sensitive_word_check,
'request_id': request_id,