Skip to content

Commit 6b75105

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

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

zhipuai/api_resource/videos/videos.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def generations(
3333
prompt: str,
3434
*,
3535
image_url: str = None,
36-
prompt_opt_model: str = None,
3736
request_id: str = None,
3837
extra_headers: Headers | None = None,
3938
extra_body: Body | None = None,
@@ -47,7 +46,6 @@ def generations(
4746
"model": model,
4847
"prompt": prompt,
4948
"image_url": image_url,
50-
"prompt_opt_model": prompt_opt_model,
5149
"request_id": request_id,
5250
}
5351
)

zhipuai/types/video/video_create_params.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,5 @@ class VideoCreateParams(TypedDict, total=False):
1616
"""支持 URL 或者 Base64、传入 image 奖进行图生视频
1717
* 图片格式:
1818
* 图片大小:"""
19-
prompt_opt_model: str
20-
"""调用指定模型进行对 prompt 优化,推荐使用 GLM-4-Air 和 GLM-4-Flash。如未指定,则直接使用原始 prompt。"""
2119
request_id: str
2220
"""由用户端传参,需保证唯一性;用于区分每次请求的唯一标识,用户端不传时平台会默认生成。"""

zhipuai/types/video/video_object.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class VideoObject(BaseModel):
2525
task_status: str
2626
"""处理状态,PROCESSING(处理中),SUCCESS(成功),FAIL(失败)
2727
注:处理中状态需通过查询获取结果"""
28-
optimized_prompt: str
29-
"""如进行bpo,返回优化后的prompt"""
3028

3129
request_id: str
3230
"""用户在客户端请求时提交的任务编号或者平台生成的任务编号"""

0 commit comments

Comments
 (0)