获取我的 Vertex AI API 访问凭证
获取Vertex AI凭据的分步指南。
1
创建Google Cloud账户
访问Google Cloud控制台。如果没有账户,请创建一个。
2
启用Vertex AI API
APIs & Services → Library → "Vertex AI API" → "Enable"。
3
创建服务账户
IAM & Admin → Service Accounts → Create。角色选择"Vertex AI User"。
4
下载JSON文件
Service Account页面 → Keys → Add Key → JSON。
5
配置Project ID
在Google Cloud控制台顶部记录Project ID。
6
选择区域
欧洲:europe-west1。美国:us-central1。
7
在AviaCoder中配置
设置 → API连接 → Google Vertex AI → 上传JSON文件。
提示:建议从europe-west1和gemini-2.5-pro开始,缓存效果更好。