The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
site: the API page leads with the desktop app's local API
purplee0f190c65cb8
diff --git a/docs/index.html b/docs/index.htmlindex 4b81b9cb..823273cc 100644--- a/docs/index.html+++ b/docs/index.html@@ -253,7 +253,7 @@</article><article class="lu-cloud-card"><h3>Uncensored AI API</h3>- <p>An OpenAI-compatible endpoint at https://lu-labs.ai/api/inference/v1. Keys begin with lu_, up to five stay active, and every call spends credits.</p>+ <p>The desktop app serves an OpenAI-compatible API for your local models on port 8129, free. For hosted models the endpoint is https://lu-labs.ai/api/inference/v1, with lu_ keys that spend credits.</p><a href="/uncensored-ai-api/">Read the API page</a></article></div>diff --git a/docs/llms-full.txt b/docs/llms-full.txtindex d9203ea4..19228ae4 100644--- a/docs/llms-full.txt+++ b/docs/llms-full.txt@@ -6,7 +6,7 @@ https://locallyuncensored.com/cloud-facts.jsonUncensored AI chat online: 47 chat models, all of them in every plan and every pack, and no moderation layer from us on text. https://locallyuncensored.com/uncensored-ai-chat-online/Uncensored AI image generator online: uncensored models from 1,000 credits per image, only after the account switches its own content policy setting. https://locallyuncensored.com/uncensored-ai-image-generator-online/Uncensored AI video generator online: image-to-video only, clips are five seconds, the input image is not included. https://locallyuncensored.com/uncensored-ai-video-generator-online/-Uncensored AI API: OpenAI-compatible Chat Completions at https://lu-labs.ai/api/inference/v1, keys start with lu_ and always spend credits. https://locallyuncensored.com/uncensored-ai-api/+Uncensored AI API: the desktop app serves an OpenAI-compatible API for every local model at http://127.0.0.1:8129/v1 (token required, Settings, Voice & Remote, Local API); the hosted endpoint is https://lu-labs.ai/api/inference/v1, keys start with lu_ and always spend credits. https://locallyuncensored.com/uncensored-ai-api/Venice AI alternatives: Venice Pro is 18 USD per month with 100 credits (read 2026-09-22); our credit packs start at 15 EUR and need no subscription. https://locallyuncensored.com/vs/venice/https://lu-labs.ai/product-facts<!-- LU-CLOUD-FACTS:END -->diff --git a/docs/llms.txt b/docs/llms.txtindex 6a573563..f9f6e5af 100644--- a/docs/llms.txt+++ b/docs/llms.txt@@ -6,7 +6,7 @@ https://locallyuncensored.com/cloud-facts.jsonUncensored AI chat online: 47 chat models, all of them in every plan and every pack, and no moderation layer from us on text. https://locallyuncensored.com/uncensored-ai-chat-online/Uncensored AI image generator online: uncensored models from 1,000 credits per image, only after the account switches its own content policy setting. https://locallyuncensored.com/uncensored-ai-image-generator-online/Uncensored AI video generator online: image-to-video only, clips are five seconds, the input image is not included. https://locallyuncensored.com/uncensored-ai-video-generator-online/-Uncensored AI API: OpenAI-compatible Chat Completions at https://lu-labs.ai/api/inference/v1, keys start with lu_ and always spend credits. https://locallyuncensored.com/uncensored-ai-api/+Uncensored AI API: the desktop app serves an OpenAI-compatible API for every local model at http://127.0.0.1:8129/v1 (token required, Settings, Voice & Remote, Local API); the hosted endpoint is https://lu-labs.ai/api/inference/v1, keys start with lu_ and always spend credits. https://locallyuncensored.com/uncensored-ai-api/Venice AI alternatives: Venice Pro is 18 USD per month with 100 credits (read 2026-09-22); our credit packs start at 15 EUR and need no subscription. https://locallyuncensored.com/vs/venice/https://lu-labs.ai/product-facts<!-- LU-CLOUD-FACTS:END -->@@ -202,7 +202,7 @@ Locally Uncensored is a free, open-source (AGPL-3.0) local AI studio for the des- Uncensored AI chat online, no filter on text (landing page): https://locallyuncensored.com/uncensored-ai-chat-online/- Uncensored AI image generator online (seven uncensored models from 1,000 credits per image, content policy setting on the account): https://locallyuncensored.com/uncensored-ai-image-generator-online/- Uncensored AI video generator online (fourteen uncensored models, image-to-video only, five-second clips): https://locallyuncensored.com/uncensored-ai-video-generator-online/-- Uncensored AI API (OpenAI-compatible, base URL https://lu-labs.ai/api/inference/v1, keys spend credits): https://locallyuncensored.com/uncensored-ai-api/+- Uncensored AI API (local: http://127.0.0.1:8129/v1 in the desktop app, free; hosted: https://lu-labs.ai/api/inference/v1, keys spend credits): https://locallyuncensored.com/uncensored-ai-api/- Locally Uncensored vs Open WebUI / LM Studio / Jan / GPT4All / Msty / SillyTavern / KoboldCpp: https://locallyuncensored.com/blog/## Comparisonsdiff --git a/docs/uncensored-ai-api/index.html b/docs/uncensored-ai-api/index.htmlindex f23cf24e..09f7037f 100644--- a/docs/uncensored-ai-api/index.html+++ b/docs/uncensored-ai-api/index.html@@ -3,18 +3,18 @@<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">-<title>Uncensored AI API, OpenAI compatible endpoint</title>-<meta name="description" content="Uncensored AI API in the OpenAI chat completions shape: 47 hosted text models, no moderation layer from us on text, credits from 15 EUR with no subscription.">+<title>Uncensored AI API: local on your machine, or hosted</title>+<meta name="description" content="An OpenAI compatible API for every model on your own machine, built into the free desktop app, plus a hosted endpoint for 47 chat models that runs on credits."><meta name="keywords" content="uncensored ai api, uncensored llm api, openai compatible uncensored api, kimi k3 api, qwen 3.8 api, abliterated model api, sillytavern api uncensored">-<meta property="og:title" content="Uncensored AI API, OpenAI compatible endpoint">-<meta property="og:description" content="47 hosted text models behind one OpenAI compatible base URL. No moderation layer from us on text, credits from 15 EUR, no subscription needed.">+<meta property="og:title" content="Uncensored AI API: local on your machine, or hosted">+<meta property="og:description" content="An OpenAI compatible API for every model on your own machine, built into the free desktop app, plus a hosted endpoint for 47 chat models that runs on credits."><meta property="og:image" content="https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/social-preview.png"><meta property="og:url" content="https://locallyuncensored.com/uncensored-ai-api/"><meta property="og:type" content="website"><meta property="og:site_name" content="Locally Uncensored"><meta name="twitter:card" content="summary_large_image">-<meta name="twitter:title" content="Uncensored AI API, OpenAI compatible endpoint">-<meta name="twitter:description" content="47 hosted text models behind one OpenAI compatible base URL, no moderation layer from us on text, credits from 15 EUR with no subscription.">+<meta name="twitter:title" content="Uncensored AI API: local on your machine, or hosted">+<meta name="twitter:description" content="An OpenAI compatible API for every model on your own machine, built into the free desktop app, plus a hosted endpoint for 47 chat models that runs on credits."><meta name="twitter:image" content="https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/social-preview.png"><link rel="canonical" href="https://locallyuncensored.com/uncensored-ai-api/"><meta name="robots" content="index, follow">@@ -65,17 +65,35 @@<div class="post-meta"><span class="post-tag">Cloud</span>- <span>Checked September 22, 2026</span>+ <span>Checked October 14, 2026</span></div><article>- <h1>Uncensored AI API with an OpenAI compatible endpoint</h1>+ <h1>Uncensored AI API: local on your machine, or hosted</h1>- <p>The LU Labs inference API speaks the OpenAI chat completions shape, so any OpenAI SDK or client works once you change the base URL to <code>https://lu-labs.ai/api/inference/v1</code> and pass an <code>lu_</code> key. One key reaches all 47 hosted chat models, and we add no moderation layer of our own on text. Credits start at 15 EUR with no subscription.</p>+ <p>There are two APIs, and the first one costs nothing. The <a href="/">Locally Uncensored</a> desktop app for Windows, Linux and Mac carries its own OpenAI compatible server for every model on your machine, so your code talks to your local models and nothing leaves the building. The second is the hosted endpoint at <a href="https://lu-labs.ai/" target="_blank" rel="noopener">LU Labs</a>, for the models a single card cannot hold, which runs on credits. Both speak the OpenAI chat completions shape, so any OpenAI SDK or client works once the base URL is changed. <a href="/uncensored-ai/">What uncensored AI means</a> on each route is set out on its own page.</p>- <p>We build <a href="/">Locally Uncensored</a>, the open source AI studio that runs models on your own machine. The hosted side at <a href="https://lu-labs.ai/" target="_blank" rel="noopener">LU Labs</a> exists for the models a single card cannot hold, and this page is about reaching it from your own code instead of from the chat window. <a href="/uncensored-ai/">What uncensored AI means</a> on each route is set out on its own page.</p>+ <h2>The local API in the desktop app</h2>- <h2>Endpoint and authentication</h2>+ <p>In the app, open Settings, Voice & Remote, Local API, generate a token and switch the API on. It listens on <code>http://127.0.0.1:8129/v1</code> and puts one address in front of every backend on the machine: the LU Engine that ships with the app, Ollama and LM Studio. <code>GET /v1/models</code> lists every model that is running, and <code>POST /v1/chat/completions</code>, <code>/v1/completions</code> and <code>/v1/embeddings</code> answer. The app is free and AGPL-3.0, and it runs whatever model you install, including abliterated builds.</p>++ <p>Every request carries the token, also on 127.0.0.1, as <code>Authorization: Bearer</code> or <code>x-api-key</code>. Out of the box only your own computer can reach it; one switch opens it to your LAN. Browser pages cannot read it until you name their origin in the same settings. A model id has the form <code>lane/model</code>, for example <code>ollama/llama3.1:8b</code>, and the bare id works when only one backend holds it. <code>GET /lu/v1/docs</code> describes all of it on your own machine.</p>++<pre><code>curl http://127.0.0.1:8129/v1/chat/completions \+ -H "Authorization: Bearer $LU_LOCAL_TOKEN" \+ -H "Content-Type: application/json" \+ -d '{+ "model": "ollama/llama3.1:8b",+ "messages": [{"role": "user", "content": "Write the opening of a noir scene."}]+ }'</code></pre>++ <p>The background on abliterated weights and what they actually change is in <a href="/blog/abliterated-models-guide.html">the abliterated models guide</a>, and the offline setup route is in <a href="/blog/run-uncensored-ai-locally.html">how to run uncensored AI locally</a>.</p>++ <h2>The hosted API</h2>++ <p>The LU Labs inference API lives at <code>https://lu-labs.ai/api/inference/v1</code> and takes an <code>lu_</code> key. One key reaches all 47 hosted chat models, and we add no moderation layer of our own on text. Credits start at 15 EUR with no subscription.</p>++ <h3>Endpoint and authentication</h3><p>The base URL is <code>https://lu-labs.ai/api/inference/v1</code>. Two routes live under it: <code>POST /chat/completions</code> answers, and <code>GET /models</code> returns the catalogue. Both take the key as a Bearer token in the <code>Authorization</code> header.</p>@@ -186,11 +204,9 @@ for await (const chunk of stream) {<p>The catalogue is curated, so you cannot point a key at a checkpoint of your own. What a request may contain is decided server side and stays decided there: material involving minors is refused on every request without exception, photographs of real identifiable people need that person's consent, and the Terms of Service apply to API traffic exactly as they do in the app.</p>- <h2>Fully local instead</h2>-- <p>If a hosted request is the wrong shape for your work, the desktop app for Windows, Linux and Mac is free and AGPL-3.0, and it runs whatever model you install on your own hardware, including abliterated builds. It also carries its own OpenAI compatible server: Settings, Voice & Remote, Local API starts one on port 8129 for every model on the machine, guarded by a token every request must carry, with a switch that decides whether the rest of your LAN may reach it. That is the same client integration story as above with nothing leaving the building.</p>+ <h2>More ways in</h2>- <p>The background on abliterated weights and what they actually change is in <a href="/blog/abliterated-models-guide.html">the abliterated models guide</a>, and the offline setup route is in <a href="/blog/run-uncensored-ai-locally.html">how to run uncensored AI locally</a>. If you want the browser chat window rather than an endpoint, that is <a href="/uncensored-ai-chat-online/">uncensored AI chat online</a>. For how the hosted side compares with another provider, see <a href="/vs/venice/">LU Labs against Venice</a>. <a href="/uncensored-ai/">What uncensored AI means, local and online</a> covers the word itself on both sides.</p>+ <p>If you want the browser chat window rather than an endpoint, that is <a href="/uncensored-ai-chat-online/">uncensored AI chat online</a>. For how the hosted side compares with another provider, see <a href="/vs/venice/">LU Labs against Venice</a>. <a href="/uncensored-ai/">What uncensored AI means, local and online</a> covers the word itself on both sides.</p><h2>FAQ</h2>