Create Custom Model
Create a new custom speech recognition model.
Endpoint
POST /api/v3/custom_models
Request Type
type CreateCustomModelPayload = {
name: string;
language_id: number;
organization_id: number;
};
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Model display name |
language_id | number | Yes | Language identifier |
organization_id | number | Yes | Organization identifier |
Response Type
type CreateCustomModelResponse = {
result:
| { id: number; name: string; type: number }
| Array<{ id: number; name: string; type: number }>;
count?: number;
total_results?: number;
};
Wrapped in:
type BaseResponse<T> = {
// Response wrapper structure
};
Notes
- Models are created for a specific organization
- Language is specified by ID, not language code
- The response may contain a single model or an array of models
- Model type is indicated by numeric identifier
Related Endpoints
- List Models - List all your custom models
- Get Model - Retrieve model details
- Update Model - Update name/description
- Delete Model - Delete model
- Upload Training Data - Add training data
- Train Model - Start training
See Also
- Custom Models Overview - Complete guide
- Data Models - Schema reference
- Supported Languages - All supported languages
Need help? Contact support@scriptix.io or visit our documentation.