Load a model
POST
http://localhost:11434/api/generate
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:11434/api/generate' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{
"model": "llama3.2",
"created_at": "2023-12-18T19:52:07.071755Z",
"response": "",
"done": true
}
Request
Body Params application/json
Responses
Modified at 2025-03-27 10:07:59