International service
Set up Google (OpenRouter) in StoryWeave
StoryWeave reaches Google's Gemini speech models through OpenRouter. You don't need a Google Cloud project or a Google AI Studio key: you need an OpenRouter account and one OpenRouter API key.
- Applies to
- International service
- In StoryWeave
- Google (OpenRouter)
- Credential
- One OpenRouter API key, shared with the other OpenRouter entry. Billing goes to your OpenRouter credits.
What this key lets you use in StoryWeave
- Text to speech with Gemini Flash TTS and Gemini Flash Lite TTS voices
- Transcription with Gemini Transcribe (with timing) and Chirp 3 (text only)
- Not offered through this entry: Google voice cloning, voice design and voice changing
Features also depend on what this service currently offers and on your provider account. Access to each model is confirmed on first use.
Before you start
- A computer with a web browser (the OpenRouter console is easier there).
- A payment method OpenRouter accepts, to add credits.
- StoryWeave on your iPhone, with the International service region.
Sign up and sign in
Step 1: Create or sign in to your OpenRouter account
Open openrouter.ai on a computer and choose Sign up (or Sign in if you already have an account).
You need only one OpenRouter account for both Google and ByteDance Seed in StoryWeave.
Turn on the service and billing
Step 2: Add credits
OpenRouter works from prepaid credits. Open Settings → Credits, add credits and wait for them to appear in your balance.
OpenRouter lists the payment methods it accepts and its purchase fee on that page and in its FAQ. Without credits, paid models return an “insufficient credits” error.
StoryWeave never adds or charges OpenRouter credits for you. Usage from StoryWeave appears in your OpenRouter Activity page.
OpenRouter Credits ↗ (opens the provider's site)
Account → Credits → Add credits. The balance in this account is hidden. Provider console screenshot
Create the API key
Step 3: Open Keys and click New key
Open the API keys page. It is under your workspace: Workspace → Keys (the Settings → API Keys link below goes straight there). Click New key.
OpenRouter API Keys ↗ (opens the provider's site)
Workspace → Keys → New key. Existing keys in this account are hidden. Provider console screenshot Step 4: Fill in Create API key
Name: something you will recognise, such as “StoryWeave iPhone”. Expiration and Credit limit are both required. Expiration ranges from 1 hour to 1 year, or No expiration. Credit limit offers preset amounts, Custom amount or No limit; OpenRouter recommends a limit on every key.
Click Create, then copy the key right away and keep it safe until you paste it into StoryWeave. OpenRouter keys start with sk-or-v1-.
When the key expires or reaches its limit, StoryWeave's Google and Seed entries stop working until you raise the limit or save a new key.
Use an OpenRouter key here. A Google AI Studio key, a Gemini API key or a Volcengine (Doubao) key will not work for these entries.
Name, Expiration and Credit limit are required. Provider console screenshot
Save the key in StoryWeave
Step 5: Open the provider in StoryWeave
On your iPhone, open StoryWeave and go to Settings → AI Providers → Google (OpenRouter).
Check that "Service region" in Settings says International. If it shows a different region, follow that region's guide instead.
Settings → AI Providers. The service region is shown under the list. StoryWeave app screenshot Step 6: Paste the key and verify it
Tap Set Up API Key, read the first screen and tap Next.
Paste the key into the field and tap Next. StoryWeave checks it with the provider straight away.
The key is stored only in this iPhone's Keychain. It is never put in projects, backups or this website.
Step 2 of 3: paste the key. The field hides what you type. StoryWeave app screenshot
Check that it works
Step 7: Look for “Your key works”
A green “Your key works” message means the provider accepted the key. Tap Done. Settings now shows Key saved for this provider.
This check only proves the key is accepted. Whether each model is switched on, and whether your balance covers it, is confirmed on your first generation.
Step 8: Run a short first test
Generate a sentence or two with the provider. If it fails, the message tells you whether the key, a model's access, your balance or the region is the problem; see the FAQ below.
Common questions
Can I use my Google AI Studio or Gemini API key?
No. StoryWeave sends Google requests through OpenRouter, so only an OpenRouter key works here.
Do I need separate keys for Google and ByteDance Seed?
No. Both entries use the same OpenRouter key. Save it once in either entry and the other shows Key saved too. Changing or removing it in one entry changes it for both.
What do 401, 402 and 403 errors mean?
401: the key is wrong, deleted, disabled or expired; copy it again or create a new one. 402: your OpenRouter balance is too low; add credits. 403: the request was refused, for example because this key's own credit limit is used up; raise the limit on the key's page.
StoryWeave says the key works, but generation fails. Why?
Saving a key only proves the provider recognises it. The model may not be switched on for your account, the balance or plan may not cover it, or the key may be limited to other services. Check the provider console, then try again.
Does my page language decide which guide I need?
No. Follow the guide for the service region shown in StoryWeave → Settings → Service region. Reading in Chinese does not make you a Mainland China user, and the reverse.
Does StoryWeave charge for using my key?
StoryWeave adds no fee to work done with your own key. The provider bills your account at its own prices.
Cost and key safety
- Model prices are listed on each model's OpenRouter page and are charged to your OpenRouter credits.
- Treat the key like a password. Anyone who has it can spend your balance. Never post it in chats, screenshots or support tickets; StoryWeave will never ask you for it.
- If a key may have leaked, delete or disable it in the provider console, create a new one and save the new one in StoryWeave.
- Prices, free allowances and plan requirements are set by the provider and change over time. Check the provider's own pricing page before large jobs.
Official references
- OpenRouter Quickstart ↗
- OpenRouter Authentication ↗
- OpenRouter FAQ (credits, payments, keys) ↗
- OpenRouter API errors ↗