Base Configuration
Base URL
Section titled “Base URL”Multimodal model requests are sent through the following base address:
https://cloud.seaart.ai/modelEndpoint
Section titled “Endpoint”{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}Authentication
Section titled “Authentication”SeaCloud supports the following two authentication methods:
Authorization: Key {apiKey}Authorization: Bearer {apiKey}Define common request headers with COMMON_HEADERS:
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")