Part of BlackRoad OS — Sovereign Computing for Everyone
lucidia studio is part of the BlackRoad OS ecosystem — a sovereign, distributed operating system built on edge computing, local AI, and mesh networking by BlackRoad OS, Inc.
BlackRoad OS is a sovereign computing platform that runs AI locally on your own hardware. No cloud dependencies. No API keys. No surveillance. Built by BlackRoad OS, Inc., a Delaware C-Corp founded in 2025.
- Local AI — Run LLMs on Raspberry Pi, Hailo-8, and commodity hardware
- Mesh Networking — WireGuard VPN, NATS pub/sub, peer-to-peer communication
- Edge Computing — 52 TOPS of AI acceleration across a Pi fleet
- Self-Hosted Everything — Git, DNS, storage, CI/CD, chat — all sovereign
- Zero Cloud Dependencies — Your data stays on your hardware
| Organization | Focus |
|---|---|
| BlackRoad OS | Core platform and applications |
| BlackRoad OS, Inc. | Corporate and enterprise |
| BlackRoad AI | Artificial intelligence and ML |
| BlackRoad Hardware | Edge hardware and IoT |
| BlackRoad Security | Cybersecurity and auditing |
| BlackRoad Quantum | Quantum computing research |
| BlackRoad Agents | Autonomous AI agents |
| BlackRoad Network | Mesh and distributed networking |
| BlackRoad Education | Learning and tutoring platforms |
| BlackRoad Labs | Research and experiments |
| BlackRoad Cloud | Self-hosted cloud infrastructure |
| BlackRoad Forge | Developer tools and utilities |
- Website: blackroad.io
- Documentation: docs.blackroad.io
- Chat: chat.blackroad.io
- Search: search.blackroad.io
Creative AI tools for artists, designers, and dreamers — built on BlackRoad OS infrastructure.
Lucidia Studio is the creative-AI flagship product of BlackRoad OS, Inc.
It provides a vendor-agnostic AI gateway, OAuth-secured user accounts, and integrated Stripe billing — all traffic routed through your own infrastructure (Tailscale mesh, Cloudflare Workers, or any reverse proxy), never directly to third-party AI providers.
| Feature | Description |
|---|---|
| 🔐 OAuth Login | GitHub & Google sign-in via NextAuth.js |
| 🌐 Custom AI Gateway | Proxies all AI requests through your infra — no direct vendor calls |
| 💳 Stripe Billing | Subscription checkout and webhook handling |
| 🚀 Production-ready | TypeScript, Next.js 14 App Router, deployable to Vercel or self-hosted |
User → Lucidia Studio (Next.js)
├── /api/auth/[...nextauth] → OAuth (GitHub, Google)
├── /api/ai → AI Gateway proxy → Your infra endpoint
└── /api/stripe/ → Stripe checkout & webhooks
Traffic flow for AI requests:
Client → /api/ai (Next.js) → AI_API_BASE_URL (your relay)
Set AI_API_BASE_URL to your Cloudflare Worker, Tailscale node, or local proxy.
The endpoint must speak the OpenAI Chat Completions API format.
git clone https://github.com/BlackRoad-OS/lucidia-studio.git
cd lucidia-studio
npm installcp .env.example .env.local
# Edit .env.local with your real valuesSee .env.example for all required variables.
npm run dev
# Open http://localhost:3000Lucidia Studio uses NextAuth.js for authentication.
- Go to GitHub → Settings → Developer settings → OAuth Apps
- Create a new OAuth App:
- Homepage URL:
https://lucidia.studio - Authorization callback URL:
https://lucidia.studio/api/auth/callback/github
- Homepage URL:
- Copy Client ID and Client Secret into
.env.local
- Go to Google Cloud Console → APIs & Credentials
- Create an OAuth 2.0 Client ID (Web application)
- Authorized redirect URI:
https://lucidia.studio/api/auth/callback/google
- Authorized redirect URI:
- Copy Client ID and Client Secret into
.env.local
All AI requests are proxied through your own infrastructure, not sent directly to OpenAI or Anthropic.
Set AI_API_BASE_URL to any endpoint that speaks the OpenAI-compatible chat completions format:
# .env.local
# Cloudflare Worker relay
AI_API_BASE_URL=https://ai-gateway.example.workers.dev
# Tailscale node
AI_API_BASE_URL=http://100.x.x.x:8080
# Local proxy
AI_API_BASE_URL=http://localhost:8080API usage:
curl -X POST /api/ai \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello"}]}'Requires an active session (OAuth login).
- Go to Stripe Dashboard → Products
- Create a product and copy the Price ID (e.g.
price_xxx) - Set
STRIPE_PRICE_IDin.env.local
- Go to Stripe Dashboard → Developers → Webhooks
- Add endpoint:
https://lucidia.studio/api/stripe/webhook - Select events:
checkout.session.completed,customer.subscription.deleted - Copy the Signing secret to
STRIPE_WEBHOOK_SECRET
curl -X POST /api/stripe/checkout \
-H "Content-Type: application/json" \
-d '{"priceId":"price_xxx"}'
# Returns: { "url": "https://checkout.stripe.com/..." }npm install -g vercel
vercel --prod
# Set environment variables in Vercel Dashboard → Project → Settings → Environment Variablesnpm run build
npm start
# Runs on port 3000 by default| Organization | BlackRoad OS, Inc. |
| CEO | Alexa Amundson |
| Contact | blackroad.systems@gmail.com |
| License | Proprietary — see LICENSE |
Copyright © 2026 BlackRoad OS, Inc. All Rights Reserved.
This software is the proprietary property of BlackRoad OS, Inc. and is not for commercial resale.
See LICENSE for complete terms.