Settings & Configuration
Open Settings from the sidebar gear icon. Settings are organized into scopes, each a row of tabs at /settings/<scope>/<tab>. Which scopes and tabs you see depends on who you are (signed in or guest, tenant role, plan, enabled features) and which edition you run (hosted web app, desktop, mobile, or self-hosted core).
The old single-page Settings (/settings?section=...) is now a redirect shim. Old deep links are forwarded to the matching scoped page or standalone page below.
Settings Scopes
| Scope | Who sees it | Tabs |
|---|---|---|
| Account | Signed-in users | Profile, Security, My workspaces, My invitations, My provider keys, Notifications |
| Workspace | Everyone except guests | Overview, Organization, Plan & Billing, Usage & Allowance, Allocations, People, Projects, AI Providers & Models, Workspace Keys, Storage backends, Security & Policy, Plugins, Integrations, Audit log |
| Project | Everyone | Overview, Access & Guests, Allowance, Models & Providers, Plugins, Content model, Danger zone |
| App | Everyone | Appearance, Notifications, Desktop sync, Engines & GPU, Cache & RAG, Backup, MCP |
| Platform | Platform admins only | SaaS Admin |
Notes:
- Account, billing, team, SSO, storage-backend, audit and SaaS Admin tabs are owned by the accounts app and are embedded in Settings. StudioBrain does not edit identity, billing, team or SSO data inside the main app. See Billing & Plans.
- Workspace Keys appears only when the
tenant_byokfeature is enabled. My provider keys (Account) appears only withuser_byok. Security & Policy (SSO) is Enterprise-only, and People and Security & Policy are hidden for personal workspaces. - The hosted web app does not show the Engines & GPU, Cache & RAG (App scope), Backup and MCP tabs. Engines and RAG are available as standalone pages (below). Self-hosted core hides the wallet tabs (Organization, Plan & Billing, Usage, Allocations). Mobile hides Desktop sync.
- Some App tabs (Desktop sync, Backup, MCP) are catalog entries; a tab shows content only on an edition that registers a panel for it.
Standalone settings pages
| Page | Purpose |
|---|---|
/settings/engines | Hardware capability and provider catalog (Engines) |
/settings/rag | Embedding model and vector index management (RAG) |
/settings/rules | Rules (Rules) |
/settings/templates | Template Manager (Templates) |
/settings/entity-types | Read-only entity type schemas |
/settings/production-status | Production status tracks |
/settings/health | System health |
Appearance (App scope)
Settings > App > Appearance combines theme and display settings.
Display
| Setting | Default | Range | Description |
|---|---|---|---|
| Grid Density | Normal | Comfortable / Normal / Compact | Spacing between cards and list items. |
| Minimum Card Width | 280px | 200-400px | Minimum width for entity cards. |
| Maximum Columns | 8 | 3-12 | Hard limit on columns. |
| Adaptive Grid | On | — | Adjust columns to screen width. |
| UI Scale | 1.0x | 0.75x-2.0x | Global scaling multiplier. |
| Text Scale | Base | xs / sm / base / lg / xl / 2xl | Text size multiplier. |
| Minimum Text Size | 12px | 10-20px | Floor for the smallest text. |
Theme
| Setting | Default | Options | Description |
|---|---|---|---|
| Theme Mode | Light | Light / Dark / System | “System” follows your OS preference. |
| Font Size | Medium | Small / Medium / Large | Base font size. |
| Font Family | Inter | Inter, SF Pro, Segoe UI, Roboto, Open Sans, JetBrains Mono, Fira Code | Primary interface font. |
| Custom CSS | (empty) | — | Raw CSS applied after the theme. |
Every color is controlled through 12 semantic surfaces, each with 7 properties (background, text, secondary text, border, hover, active, shadow), editable separately for light and dark mode.
| Surface | Purpose |
|---|---|
| Base | Main page background and content areas |
| Elevated | Cards, panels, sidebars |
| Overlay | Modals, dropdowns, tooltips |
| Primary | Primary brand actions |
| Secondary | Secondary actions |
| Accent | Highlights and special emphasis |
| Success | Positive states |
| Warning | Caution states |
| Error | Error and destructive states |
| Info | Informational states |
| Navigation | Sidebar, top nav, breadcrumbs |
| Input | Text fields, selects, textareas |
See Theme Customization for the developer reference.
Notifications (App scope)
The App > Notifications panel configures outbound webhooks (Discord and Slack). Paste the incoming-webhook URL from the channel’s settings. Account-level notification preferences are under Account > Notifications.
AI Providers and Models
Which provider runs a request
- Your own API key (BYOK) when one is stored for the provider: billed by the provider, no BrainBits consumed.
- Managed AI (StudioBrain’s hosted service): metered in BrainBits.
- On-device models (desktop and mobile): free and unlimited.
See Billing & Plans for BrainBits details.
Workspace > AI Providers & Models
Tenant catalog and model routing for the workspace: custom models, routing defaults, routing lanes and per-tenant overrides. Owners and admins can change it; members get a read-only view. API keys are not entered here (see below). The tab also holds the on-device asset analysis preference, which is stored per browser, not per tenant.
Keys
| Key type | Where | Notes |
|---|---|---|
| Personal provider keys | Account > My provider keys | Requires the user_byok feature. Managed in the accounts app. |
| Workspace (tenant-shared) keys | Workspace > Workspace Keys | Requires the tenant_byok feature and a tenant admin or owner role. Keys are stored encrypted per tenant and are write-only: they are never shown again after saving. |
Project > Models & Providers
Per-project model allowlist and the policy for newly available models (Allow all, Ask, Deny).
Desktop: local model gateway
The desktop app launches a bundled model-manager gateway as a sidecar. It serves local models through an OpenAI-compatible API on 127.0.0.1:7077, separate from the embedded sb-server on port 7070 (the entity and content API). The local AI URL/port setting defaults to http://localhost and 7077. When no local model is loaded, the desktop app falls back to your configured cloud keys.
Dev builds without a bundled gateway can run a locally built studiobrain-model-manager; if it is missing, the app reports the gateway as not running.
Generation defaults
Stored defaults for AI generation (overridable per request in the AI Workshop):
| Setting | Default |
|---|---|
| Default Service | Local |
| Max Tokens | 4096 |
| Temperature | 0.7 |
| Streaming | On |
| Service Priority | local, claude, gpt, grok, google, ollama |
| Requests Per Minute | 60 (rate limit on) |
| Generation / Request / Quick-test / Local-test timeouts | 600 / 350 / 30 / 180 seconds |
| Entity chat | Provider openai, model gpt-4o, 8192 max tokens, 120 s timeout |
| Image generation | Default provider openai_dalle |
| Video generation | Default provider openai_sora, 8 s, 720p, 16:9 |
| Ollama | Off; http://localhost:11434, model llama2 |
| Content moderation | OpenAI low, Google BLOCK_NONE, Grok none, global override on |
Vision and image analysis defaults
| Setting | Default |
|---|---|
| Primary tagging model | auto (secondary: none; combine results off) |
| Confidence threshold / max tags | 0.7 / 20 |
| Primary caption model | blip2 (long captions on, short off) |
| Deep analysis model | qwen3_vl, with entity context on and up to 5 context images |
| OCR / color extraction / batch processing | On / On / On |
ComfyUI
Desktop and self-hosted StudioBrain run workflows against the ComfyUI endpoint configured on their server. In the hosted web app, Indie and higher workspaces can run workflows on ComfyUI Cloud using their own key. A workspace admin can add the ComfyUI Cloud key under Settings > Workspace > Workspace Keys. ComfyUI bills the workspace directly for these runs.
Choosing the ComfyUI endpoint
On desktop and self-hosted StudioBrain, the ComfyUI endpoint card is a server-side admin setting (GET / PUT /api/comfyui/endpoint), so it applies to every run and to teammates. Options:
- Local ComfyUI — this machine or your private network.
- Remote URL — a self-hosted ComfyUI on a public http(s) address. Private, loopback and link-local addresses are refused here; choose Local for those.
- ComfyUI Cloud (your own API key) — the key is write-only and stored encrypted; it is never shown again. A server may offer only some of these.
With nothing saved, the server uses the COMFYUI_URL environment variable, then http://127.0.0.1:8188.
Environment variables (desktop / self-hosted sb-server):
COMFYUI_URL— fallback ComfyUI URL when no endpoint is saved in Settings.COMFYUI_WORKFLOWS_DIR(default<content folder>/comfyui_workflows) — where workflow JSON files are read from.
Workflows and outputs
Workflow JSON files exported from ComfyUI with Save (API Format) are scanned for editable inputs (text prompts, seeds, numbers, LoadImage reference images). Only API-format exports can be queued; a UI-format export is listed as not runnable. Desktop and self-hosted clients can receive live node progress over the ComfyUI WebSocket. The hosted web app polls ComfyUI Cloud jobs for progress. Save stores every output as a project asset, which enters the project change feed and syncs to teammates. A save that stores nothing is reported as an error.
Engines
Settings > Engines (/settings/engines) is most useful on desktop and self-hosted installs with local GPU hardware.
Hardware capability panel
Real-time data from the backend /health/deep endpoint, with a Refresh hardware button:
| Metric | Description |
|---|---|
| GPU devices | Detected GPU(s). |
| VRAM | Total and free VRAM in GB. |
| CPU | Logical core count and usage. |
| System memory | Total and used RAM. |
Conditional warnings: critical when total VRAM is under 2 GB; warning when total VRAM is under 4 GB, free VRAM is under 1 GB, CPU usage exceeds 90%, or system memory usage exceeds 90%; info when no GPU is detected. With none of these, a green “No hardware warnings detected” message shows.
Providers
The Providers catalog lists the inference providers and their credentials. The Routing and Guardrails sections are placeholders: they currently show descriptive text, not controls.
RAG and Embeddings
Settings > RAG (/settings/rag) and Settings > App > Cache & RAG manage the project’s search index.
- The embedding model is a project-wide setting. Switching models permanently deletes the project’s existing vectors and rebuilds the index; the picker asks you to confirm.
- The fleet embedder is EmbeddingGemma 2 on every surface, so hosted, desktop and mobile share one vector space. On hosted StudioBrain it runs on Workers AI.
- The RAG page shows index statistics (documents, chunks, entity types, last index time) and editable configuration (vector DB type, chunk size and overlap, auto-index changes, indexed file types).
- Actions: Full Reindex and Test RAG Search (enter a query and view matching results).
On desktop, local hybrid search combines BM25 full-text search and vector search, and works offline.
Rules Settings
Rules control validation and AI generation behavior for each entity type, and are managed at /settings/rules. For the rule file format, see Template Authoring.
Rule Markdown linting
The Rule Editor lints a rule’s Markdown body as you type: inconsistent heading levels, trailing whitespace, multiple consecutive blank lines, missing end-of-file newline, lines over 80 characters (warning only), and fenced code blocks without a language. Linting is advisory; you can save with warnings.
Template Settings
The Template Manager (/settings/templates) lists every discovered entity type, including custom types, and lets you view and edit its YAML frontmatter schema, Markdown body template and AI generation instructions, and Reload from Disk after external edits. Each template shows a health status (valid frontmatter, body present, generation instructions present). Custom entity types get browse, list, card and detail views automatically from their templates.
See Template Authoring.
Production Status Settings
| Track | Stages |
|---|---|
| General | Concept, Draft, In Progress, Review, Approved, Final, Published, Live |
| Game (UEFN) | None, Concept, Modeling, Rigging, Texturing, Testing, Approved, Live |
| TV / Showrunner | None, Concept, Script, Pre-Production, Production, Post-Production, Review, Archived |
Entity Types Settings
A read-only reference of each entity type’s schema: fields, types, defaults, and how they appear in forms and lists.
Plugins
Install plugins per project from Project > Plugins; Workspace > Plugins shows the union of the installs across the workspace’s projects. For plugin development, see Plugin Development. For using plugins, see Using Plugins.
Project and Workspace Administration
| Tab | What it does |
|---|---|
| Workspace > Projects | List and create projects, and read or update tenant limits. |
| Workspace > Allocations | Per-project storage allocation. This is a budget, not usage. |
| Workspace > Usage & Allowance | Allowance and consumption. |
| Project > Access & Guests | Project access, invitations, guest BYOK policy and BrainBits allocation. |
| Project > Allowance | The project’s storage allocation. |
| Project > Danger zone | Archive or delete the project. |
Self-hosted and Desktop Notes
- The embedded
sb-serverdefaults to port 7070 on desktop. A standalonesb-serverbinds0.0.0.0:8201by default. - The legacy Service Control panel is not functional in current builds:
GET /api/services/statusreports onlysb-server, and log endpoints return no lines. Use the desktop installer or your service manager to manage processes. - Settings are stored per user on the server (signed-in) or in browser storage (desktop and unauthenticated). Settings can be exported and imported as JSON, and tier restrictions are enforced server-side.
Next Steps
- Getting Started — Overview of the application
- Managing Entities — Templates, rules, and entity editing
- AI Workshop — Use AI providers for content generation
- Using Plugins — Plugin installation and configuration
- Billing & Plans — Plan details (paid billing is not available yet)
- Theme Customization — Developer reference for the surface token system