Upload a custom model
Changed onUpload custom model weights to the namespace.
Requirements:
- Organization must be on Enterprise tier
Supported Model Formats:
- safetensors: SafeTensors format (recommended for transformers)
- onnx: ONNX Runtime format
- pytorch: PyTorch state_dict or TorchScript
- huggingface: HuggingFace model directory
Base Images (auto-selected based on format):
- mixpeek/serve-gpu:latest: For safetensors, pytorch, huggingface (includes torch, transformers)
- mixpeek/serve-minimal:latest: For ONNX (includes onnxruntime only)
Important: Models run in fixed base images. You cannot install additional pip packages. All required frameworks (torch, transformers, onnxruntime) are pre-installed.
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/namespaces/{namespace_id}/models
- Auth: HTTP bearer
Path parameters
Request body multipart/form-data
Response
Successful Response
Changes
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- info