Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

fix api docs

Jeffrey Morganb9fb988112b0
diff --git a/README.md b/README.md
index ada91150c..2a3d92beb 100644
--- a/README.md
+++ b/README.md
@@ -90,5 +90,7 @@ Finally, run a model!
Complete a prompt
```
-curl -X POST http://localhost:8080/completion -H 'Content-Type: application/json' -d '{"model": "/path/to/model", "prompt": "Once upon a time", "stream": true}'
+curl --unix-socket ~/.ollama/ollama.sock http://localhost/api/generate \
+ -X POST \
+ -d '{"model": "/path/to/model", "prompt": "Once upon a time", "stream": true}'
```