Skip to main content
POST
/
api
/
create
curl http://localhost:11434/api/create -d '{
"from": "gemma3",
"model": "alpaca",
"system": "You are Alpaca, a helpful AI assistant. You only answer with Emojis."
}'
{
  "status": "success"
}

Body

application/json
model
string
required

Name for the model to create

from
string

Existing model to create from

template
string

Prompt template to use for the model

license

License string or list of licenses for the model

system
string

System prompt to embed in the model

parameters
object

Key-value parameters for the model

messages
object[]

Message history to use for the model

quantize
string

Quantization level to apply (e.g. q4_K_M, q8_0)

stream
boolean
default:true

Stream status updates

Response

Stream of create status updates

status
string

Current status message