Mainland China service
Set up Qwen (Mainland China) in StoryWeave
Qwen speech in StoryWeave's Mainland China service uses Alibaba Cloud Bailian (Model Studio, China site) in the Beijing region. Keys from the international Singapore region do not work here.
- Applies to
- Mainland China service
- In StoryWeave
- Alibaba Cloud Model Studio
- Credential
- One Bailian API key created in the Beijing region.
What this key lets you use in StoryWeave
- Text to speech with Qwen voices
- Transcription of recordings and audio files
- Voice cloning and voice design
- AI Audio Creation
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 (provider consoles are easier to use there).
- An Alibaba Cloud China account (aliyun.com).
- StoryWeave on your iPhone, with the Mainland China service region.
Sign up and sign in
Step 1: Sign in to Alibaba Cloud and open Bailian
Sign in to your Alibaba Cloud China account and open the Bailian console. If it asks you to complete identity verification, activate the service or accept terms, follow those prompts.
Create the API key
Step 2: Create an API key in the Beijing region
Open API管理 → API Key and make sure the region selector at the top right shows 华北2(北京). In the 按量付费 (pay-as-you-go) section click 创建API-KEY.
In the dialog: 归属业务空间 (workspace) is 默认业务空间 (default); 描述 (description) is optional; 权限 (permissions): 全部 (All) is recommended. Click 确定 (OK).
Only a super administrator or workspace administrator can create keys. If the button is unavailable, ask one of them.
API管理 → API Key. The notice on the page confirms a new key is shown only once. Provider console screenshot Step 3: Copy the key immediately
New keys are shown in full only once, when created. Copy it now. StoryWeave already knows the endpoint, so you only need the key.
Copy the key before closing the dialog.
Permissions and extra setup
Step 4: If you chose custom permissions
An IP allow-list blocks StoryWeave, because requests come from StoryWeave's servers. A model limit must include the Qwen speech models you plan to use. If in doubt, choose 全部 (All).
The create dialog: workspace, optional description, and permissions (全部 or 自定义). 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 → Alibaba Cloud Model Studio.
Check that "Service region" in Settings says Mainland China. 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 a key from the international (Singapore) edition?
No. Keys only work in the region where they were created. In the Mainland China service, use a Beijing-region Bailian key.
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
- Bailian bills the Alibaba Cloud account that owns the key. Free quotas, if any, and prices are shown in the Bailian console and pricing pages.
- Don't put long-lived keys into apps or web pages you build yourself.
- 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.