# [[LM Studio]] _Created: 2025-07-31_ | #ai | [[030 Artificial Intelligence MOC|Artificial Intelligence]] ## Enabling headless service https://lmstudio.ai/docs/app/api/headless Two steps: 1. First in general settings enable _Local LLM Service (headless)_ 2. Then go to the Developer settings (green terminal icon in the left sidebar) 1. _Enable CORS_ if you want to write local JS apps which accesses the API endpoints 2. Check _Service on Local Network_ if you want to access the API from other machines in your local network 3. Check _Just-in-time Model Loading_ if you want models to be loaded/offloaded automatically.