Skip to content

Commit 67639ae

Browse files
zhaojiaqi286jinhaiyang
andauthored
feat: support video off_peak param (#31)
Co-authored-by: jinhaiyang <[email protected]>
1 parent ab6128d commit 67639ae

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "zai-sdk"
3-
version = "0.0.3.3"
3+
version = "0.0.3.4"
44
description = "A SDK library for accessing big model apis from Z.ai"
55
authors = ["Z.ai"]
66
readme = "README.md"

src/zai/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
__title__ = 'Z.ai'
2-
__version__ = '0.0.3.3'
2+
__version__ = '0.0.3.4'

src/zai/api_resource/videos/videos.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def generations(
4242
fps: int = None,
4343
style: str = None,
4444
aspect_ratio: str = None,
45+
off_peak: bool = None,
4546
movement_amplitude: str = None,
4647
sensitive_word_check: Optional[SensitiveWordCheckRequest] | NotGiven = NOT_GIVEN,
4748
request_id: str = None,
@@ -88,6 +89,7 @@ def generations(
8889
'fps': fps,
8990
'style': style,
9091
'aspect_ratio': aspect_ratio,
92+
'off_peak': off_peak,
9193
'movement_amplitude': movement_amplitude,
9294
'sensitive_word_check': sensitive_word_check,
9395
'request_id': request_id,

0 commit comments

Comments
 (0)