Generated from:
Create a POST request to Ollama local API to generate a completion with llama4 model
URL
http://localhost:11434/v1/chat/completions
Headers
| Content-Type | application/json |
|---|
Body
{"prompt": "What are the benefits of using AI in daily tasks?", "max_tokens": 100, "temperature": 0.7}This request was generated from:
Create a POST request to Ollama local API to generate a completion with llama4 model
Generate your own →Type any API. Get a production-ready request. No login required.