Skip to content
Home

Base Configuration

Multimodal model requests are sent through the following base address:

https://cloud.seaart.ai/model

{endpoint} is the model invocation identifier exposed by SeaCloud. Use the model ID directly. A complete create-task URL is:

POST {BASE_URL}/v1/queue/{endpoint}

SeaCloud supports the following two authentication methods:

Authorization: Key {apiKey}
Authorization: Bearer {apiKey}

Define common request headers with COMMON_HEADERS:

Terminal window
export BASE_URL="https://cloud.seaart.ai/model"
export API_KEY="YOUR_API_KEY"
COMMON_HEADERS=(
-H "Authorization: Key ${API_KEY}"
-H "Content-Type: application/json"
)