Setting up Google Vertex AI

Follow this guide to generate the API Key required to power StoryDirector's AI features.

Est. time: 5-7 minutes

What you'll need

1

Create a Project

Everything in Google Cloud lives inside a "Project". Let's create one for testing.

Click the project dropdown in the top-left (it might say "My First Project").

Top Navigation Bar
Select a project

Click New Project. Name it StoryDirector-Test and click Create.

2

Enable Billing

Note: Google requires an active billing account to use AI models, even if you are using free trial credits.

Enabling billing instantly unlocks higher rate limits (removes the "5 requests/min" cap).

Which situation matches yours?

1.

In the left sidebar menu (☰), click Billing.

2.

Click Link a billing account or Manage billing accounts.

3.

Follow the prompts to add your payment method. Once finished, ensure it says "Billing account linked" for your StoryDirector-Test project.

3

Enable AI APIs

Important: You must enable BOTH APIs below to avoid the "API disabled" error.

A. Enable "Vertex AI API"

  1. Search for Vertex AI API.
  2. Select it and click the blue ENABLE button.

B. Enable "Gemini API"

  1. Search for Gemini API.
  2. Look for the one labeled Marketplace Product (usually the first result).
    Do NOT click results labeled "Documentation".
  3. Click the blue ENABLE button.
Gemini API
Gemini API Product
Build with latest models...
Generative Language... Docs
4

Get your API Key

Wrong Screen Alert!

If you see a screen asking "Which API are you using?" or "User data vs Application data", you are in the wrong place.

Click here to fix this >

Navigate to Credentials:

Menu (☰) APIs & Services Credentials

1. Click + CREATE CREDENTIALS at the top.

2. Select API key.

CREATE CREDENTIALS
API key
OAuth client ID
Service account
Help me choose
Click this!

Success!

A popup will show your key (starts with AIza...). Copy this key immediately.

You're ready to connect!

Head back to the StoryDirector app and paste your new key into the settings.