Skip to content

Latest commit

 

History

History
76 lines (47 loc) · 1.78 KB

File metadata and controls

76 lines (47 loc) · 1.78 KB

GenMedia Creative Studio: Veo 2 module Tutorial

Welcome!

If you're seeing this, you've cloned the correct repository, and you should be in the experiments/veo-app directory! Let's get started.

First step: auth to your Google Cloud Project

Type this command in the shell, substituting your project name

gcloud config set project <walkthrough-project-name/>
export PROJECT_ID=$(gcloud config get project)

Second steps: Project prerequisites

Firestore

For the defaults, a Firestore database should be set up.

To check your Firestore databases (we're looking for a Standard database named "(default)"):

gcloud firestore databases list

If you don't have the default one, create one:

gcloud firestore databases create --database="(default)" --location=nam5

Google Cloud Storage bucket

For the defaults, you should have a bucket named -assets, and you can check by doing this:

gcloud storage ls gs://<walkthrough-project-name/>-assets

If you have one, great! If not, create one:

gcloud storage buckets create -l us-central1 gs://<walkthrough-project-name/>-assets

Notre

uv

uv is a fast Python package manager. Since this app is written in Python, we'll use this to install prerequisites.

# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh

Third step: Start the app

Use uv to sync the prerequisites, activate the Python virtual environment, and start the app!

uv sync
source .venv/bin/activate
uv run main.py
#mesop main.py

If you get an error that / is not found, navigate to /home