AddRegistryModelRequest
Example Usage
typescript
import { AddRegistryModelRequest } from "@meetkai/mka1/models/components";
let value: AddRegistryModelRequest = {
id: "<id>",
provider: "<value>",
modelId: "<id>",
apiFormat: "tts",
apiProviderType: "openai",
created: 76302,
auth: {
type: "api-key",
},
capabilities: {
modalities: {
input: [
"image",
],
output: [
"image",
],
},
reasoning: false,
},
};Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
id | string | ✔️ | N/A | |
provider | string | ✔️ | N/A | |
modelId | string | ✔️ | N/A | |
displayName | string | ➖ | N/A | |
baseUrl | string | ➖ | N/A | |
apiFormat | components.AutoEndpoint | ✔️ | N/A | tts |
apiProviderType | components.ApiProviderType | ✔️ | N/A | |
created | number | ✔️ | N/A | |
auth | components.Auth | ✔️ | N/A | |
capabilities | components.Capabilities | ✔️ | N/A | |
contextWindow | number | ➖ | N/A | |
rpm | number | ➖ | N/A | |
rateLimits | components.RateLimits[] | ➖ | N/A | |
defaultParams | components.DefaultParams | ➖ | N/A | |
rerouteRules | components.RerouteRules[] | ➖ | N/A | |
hidden | boolean | ➖ | N/A | |
embeddingLimits | components.EmbeddingLimits | ➖ | N/A | |
healthCheck | components.HealthCheck | ➖ | N/A |