v9

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-07-21123457.5 KB

Create a model

post/api/create

Request body

modelstring required

Name for the model to create

fromstring

Existing model to create from

templatestring

Prompt template to use for the model

rendererstring

Name of the renderer for the model

parserstring

Name of the parser for the model

systemstring

System prompt to embed in the model

parametersobject

Key-value parameters for the model

quantizestring

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

streamboolean

Stream status updates

Response

Stream of create status updates

statusstring

Current status message