Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1013b37

Browse filesBrowse files
authored
feat: video model version update (GoogleCloudPlatform#13383)
1 parent a019a79 commit 1013b37
Copy full SHA for 1013b37

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎genai/video_generation/videogen_with_img.py

Copy file name to clipboardExpand all lines: genai/video_generation/videogen_with_img.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def generate_videos_from_image(output_gcs_uri: str) -> str:
2525
# output_gcs_uri = "gs://your-bucket/your-prefix"
2626

2727
operation = client.models.generate_videos(
28-
model="veo-2.0-generate-001",
28+
model="veo-3.0-generate-preview",
2929
image=Image(
3030
gcs_uri="gs://cloud-samples-data/generative-ai/image/flowers.png",
3131
mime_type="image/png",

‎genai/video_generation/videogen_with_txt.py

Copy file name to clipboardExpand all lines: genai/video_generation/videogen_with_txt.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def generate_videos(output_gcs_uri: str) -> str:
2525
# output_gcs_uri = "gs://your-bucket/your-prefix"
2626

2727
operation = client.models.generate_videos(
28-
model="veo-2.0-generate-001",
28+
model="veo-3.0-generate-preview",
2929
prompt="a cat reading a book",
3030
config=GenerateVideosConfig(
3131
aspect_ratio="16:9",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.