YouTube OAuth setup
To upload videos to YouTube from the app, you need your own YouTube OAuth Client ID. This is a one-time setup.
1. Open Google Cloud Console
Go to console.cloud.google.com.
Sign in with the Google account associated with the YouTube channel you want to upload to.
2. Create a project
Click the project dropdown at the top of the page and choose New Project.
- Project name: AI Music Video Generator
- Organization: leave as default
Click Create. Wait a few seconds for it to be ready, then select it from the project dropdown.

3. Enable the YouTube Data API
- In the left sidebar, go to APIs & Services → Library.
- Search for YouTube Data API v3.
- Click it, then click Enable.
Wait a minute or two for it to activate.
4. Configure the OAuth consent screen
- Go to APIs & Services → OAuth consent screen.
- Choose External user type and click Create.
- Fill in the required fields:
- App name: AI Music Video Generator
- User support email: your email
- Developer contact: your email
- Click Save and Continue.
- On the Scopes page, click Add or Remove Scopes and search for
youtube.upload. Check it and click Update. - Click Save and Continue.
- On the Test users page, click Add Users and add your own email. This is required while the app is in “Testing” status.
- Click Save and Continue, then Back to Dashboard.
5. Create the OAuth Client ID
- Go to APIs & Services → Credentials.
- Click Create Credentials → OAuth 2.0 Client ID.
- Choose Desktop app as the application type.
- Name it (e.g. “MVG Desktop”).
- Click Create.
- Copy the Client ID — it looks like
123456789-xxxxx.apps.googleusercontent.com.

6. Add the Client ID to the app
- Open AI Music Video Generator.
- Go to Settings → Connections → YouTube.
- Paste the Client ID into the Client ID field.
- Click Save.
7. Connect your channel
Click Connect YouTube. See Connecting YouTube for the rest of the flow.
Notes
- Only the Client ID is needed — no secrets. The app uses the PKCE auth flow (a secret-free way to log in).
- YouTube may take a few minutes to fully enable the API after you turn it on.
- You’re limited to 6 uploads per day while the app is in “Testing” mode. To lift this, submit your app for Google review (takes a few days).