Body_create_weight_api_v1_weights_post
filestring<binary>required
Weight file (LoRA, safetensors, etc.)
weight_typeWeightType (string)required
Weight/model artifact type
Possible values: [lora, conversation, voice_id]
ai_model_idAi Model Id (integer)required
AI model ID from backend
dataset_id object
Dataset ID if trained on dataset
- integer
- null
integer
external_id object
External provider ID (e.g., ElevenLabs voice ID)
- string
- null
string
metadata object
JSON metadata string
- string
- null
string
Body_create_weight_api_v1_weights_post
{
"file": "string",
"weight_type": "lora",
"ai_model_id": 0,
"dataset_id": 0,
"external_id": "string",
"metadata": "string"
}