全部產品
Search
文件中心

AgentBay:進階配置

更新時間:Mar 14, 2026

本文介紹關於無影AgentBay SDK的更多進階配置。

配置SDK Endpoint

無影 AgentBay SDK 預設使用上海Endpoint,如果需要通過其他地區(例如新加坡)進行串連,需要配置不同的端點以獲得更好的網路效能。

支援的Endpoint地區

SDK配置指定要串連到的Endpoint。建議選擇距離使用者最近的網關,以獲得最佳網路效能。

說明

如果計劃切換至新加坡地區,環境變數中AGENTBAY_API_KEY需替換為阿里雲國際站無影AgentBay服務建立的API KEY。若無可用API KEY,登入無影 Agent Bay 控制台建立一個API KEY。

Endpoint地區

端點

上海(預設)

wuyingai.cn-shanghai.aliyuncs.com

新加坡

wuyingai.ap-southeast-1.aliyuncs.com

切換網關地址

Linux/macOS:

export AGENTBAY_ENDPOINT=wuyingai.ap-southeast-1.aliyuncs.com

Windows:

set AGENTBAY_ENDPOINT=wuyingai.ap-southeast-1.aliyuncs.com