Lake AI Service
Region | region id | Base URL |
|---|---|---|
North China 2 (Beijing) | cn-beijing | https://operator.las.cn-beijing.volces.com |
East China 2 (Shanghai) | cn-shanghai | https://operator.las.cn-shanghai.volces.com |
South China 1 (Guangzhou) | cn-guangzhou | https://operator.las.cn-guangzhou.volces.com |
Supports API Key authentication.
API Key has been created. For details, see API key management.
API Key signature authentication requires adding the Authorization header to the HTTP request header as follows:
Authorization: Bearer <ARK_API_KEY>
curl https://operator.las.ap-southeast-1.volces.com/api/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $ARK_API_KEY" \ -d $'{ "messages": [ { "content": "You are a helpful assistant.", "role": "system" }, { "content": "hello", "role": "user" } ], "model": "doubao-1-5-pro-32k-250115", "stream": true }'