Navigation

Vertex AI Image Generator Setup

Fix permission denied errors in 3 simple steps

Step 1: Enable Vertex AI API
  1. Go to Google Cloud Console
  2. Select project:
    Loading...
  3. Navigate to APIs & Services → Library
  4. Search for "Vertex AI API"
  5. Click Enable
Step 2: Grant Service Account Permissions

⚠️ Could not load service account info

Check that GOOGLE_CLOUD_CREDENTIALS is properly configured.

Grant permissions via Console:

  1. Click the button below to open IAM Console
  2. Click Grant Access
  3. Paste the service account email shown above
  4. Add role:
    Vertex AI User
  5. Add role:
    Storage Object Admin
    (for image uploads)
  6. Click Save
Step 3: Verify Cloud Storage Bucket

Ensure the bucket

snappy-english-media
exists:

  1. Go to Cloud Storage → Buckets
  2. Check if "snappy-english-media" exists
  3. If not, create it with Standard storage class
  4. Location: us-central1 (same as Vertex AI)

After Setup

Permissions may take 1-2 minutes to propagate. Then return to the AI Image Generator and try again.