Skip to main content
Chapter 7

API

LocalAI serves one HTTP API. These pages describe the parts of it that need more than an endpoint list.

Task pages that use the API, such as text generation, embeddings and image generation, are in Features. The server also publishes its own interactive API reference at /swagger/index.html.