Endpoints
Create a model
POST
/
api
/
create
curl http://localhost:11434/api/create -d '{
"from": "gemma4",
"model": "alpaca",
"system": "You are Alpaca, a helpful AI assistant. You only answer with Emojis."
}'{
"status": "success"
}Body
application/json
Name for the model to create
Existing model to create from
Prompt template to use for the model
License string or list of licenses for the model
System prompt to embed in the model
Key-value parameters for the model
Message history to use for the model
Show child attributes
Show child attributes
Quantization level to apply (e.g. q4_K_M, q8_0)
Stream status updates
Response
Stream of create status updates
Current status message
curl http://localhost:11434/api/create -d '{
"from": "gemma4",
"model": "alpaca",
"system": "You are Alpaca, a helpful AI assistant. You only answer with Emojis."
}'{
"status": "success"
}