8000 feat(genai): video model version update by katiemn · Pull Request #13383 · GoogleCloudPlatform/python-docs-samples · GitHub
[go: up one dir, main page]

Skip to content

feat(genai): video model version update #13383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

8000

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
2 changes: 1 addition & 1 deletion genai/video_generation/videogen_with_img.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def generate_videos_from_image(output_gcs_uri: str) -> str:
# output_gcs_uri = "gs://your-bucket/your-prefix"

operation = client.models.generate_videos(
model="veo-2.0-generate-001",
model="veo-3.0-generate-preview",
image=Image(
gcs_uri="gs://cloud-samples-data/generative-ai/image/flowers.png",
mime_type="image/png",
Expand Down
2 changes: 1 addition & 1 deletion genai/video_generation/videogen_with_txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def generate_videos(output_gcs_uri: str) -> str:
# output_gcs_uri = "gs://your-bucket/your-prefix"

operation = client.models.generate_videos(
model="veo-2.0-generate-001",
model="veo-3.0-generate-preview",
prompt="a cat reading a book",
config=GenerateVideosConfig(
aspect_ratio="16:9",
Expand Down
0