跳过至正文
POST
/
api
/
push
curl https://:11434/api/push -d '{
  "model": "my-username/my-model"
}'
{
  "status": "success"
}

主体 (Body)

application/json
model
string
必填

要发布的模型名称

insecure
boolean

允许通过不安全连接进行发布

stream
boolean
默认:true

流式传输进度更新

响应

推送状态更新。

status
string

当前状态消息