Skip to content

Commit d995827

Browse files
committed
增加提示词
1 parent 6b88bfb commit d995827

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

zhipuai/api_resource/videos/videos.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ def generations(
3131
self,
3232
model: str,
3333
prompt: str,
34-
image_url: str,
3534
*,
35+
image_url: str = None,
36+
prompt_opt_model: str = None,
3637
request_id: str = None,
3738
extra_headers: Headers | None = None,
3839
extra_body: Body | None = None,
@@ -46,6 +47,7 @@ def generations(
4647
"model": model,
4748
"prompt": prompt,
4849
"image_url": image_url,
50+
"prompt_opt_model": prompt_opt_model,
4951
"request_id": request_id,
5052
}
5153
)

0 commit comments

Comments
 (0)