General Conventions
Defines the common request, response, and formatting conventions for the platform APIs.
Base URL
OpenAI-compatible APIs typically use:
text
https://api.cloudaikit.com/v1Model invocation interfaces use prefixes such as /v1, /v1beta, /mj, and /suno.
Authentication
Model invocation uses:
http
Authorization: Bearer sk-your-tokenRequest Format
| Item | Convention |
|---|---|
| Encoding | UTF-8 |
| JSON requests | Content-Type: application/json |
| File uploads | Use multipart/form-data as required by the interface |
| Streaming responses | Server-Sent Events or WebSocket, depending on the interface |
| Time | Logs and session fields typically use Unix timestamps |
Null Values and Optional Fields
Unset fields should generally be omitted. Do not pass meaningless empty strings or null. Some upstream services are strict about unknown fields, and the platform may filter or ignore unsupported fields.
