Backend architecture

Sqwibbl Music Web Client

ASP.NET Core .NET 9, SQL Server, SignalR, Album Brain PLM, append-only token ledger, SQL-backed generation queue, and self-hosted GPU workers.

1

Entitlement

Confirm the buyer owns access to the Living Album.

2

Reserve tokens

Serializable SQL transaction appends a negative ledger entry. No mutable balance column.

3

Album Brain

Builds the super-prompt and checks lore/brand guardrails.

4

Queue

API returns HTTP 202 immediately with a job ID. Workers claim jobs async.

5

SignalR

Browser receives running, completed, and failed events without polling.

6

Social

Completed outputs can publish to social.sqwibbl.ai as fan artifacts.