Request (Raw Mode)
POST
http://localhost:11434/api/generate
raw
parameter to disable templating. Also note that raw mode will not return a context.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:11434/api/generate' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "string",
"prompt": "string",
"raw": true,
"stream": true
}'
Response Response Example
{}
Request
Body Params application/json