Skip to main content

models

📄️ Upload a primary weights file plus N sidecar files as a single coherent artifact bundle. All files are grouped into ONE

Upload a primary weights file plus N sidecar files as a single coherent artifact bundle. All files are grouped into ONE ArtifactPackage row with N+1 ArtifactResource rows. This is required for models that need sidecar files to be co-located at runtime (e.g. piper-vits TTS: model.onnx + tokens.txt + espeak-ng-data). Enforces plan gate (model_versions_monthly). len(extras) MUST equal len(extras_kind); 422 on mismatch.

📄️ Upload pre-converted model artifact files — no server-side conversion. Creates one ArtifactPackage row per file. Use thi

Upload pre-converted model artifact files — no server-side conversion. Creates one ArtifactPackage row per file. Use this path when artifacts are produced locally via `octomil convert`. Enforces plan gate (model_versions_monthly). Note: for coherent multi-file bundles (e.g. ONNX + tokenizer + sidecar) use models.versions.upload_bundle instead, which groups all files into a single ArtifactPackage.