Skip to content

The Liora API

REST + WebSocket. JSON-everything. Available on Studio and Enterprise.

Sub-100ms p95

Edge-deployed across 200+ cities.

Bearer auth

Long-lived API keys per workspace.

Webhooks + WS

Real-time events, signed.

Typed SDKs

TypeScript and Python.

Quickstart

curl -X POST https://api.liora.fm/tracks \
  -H "Authorization: Bearer $AURORA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"neon synthwave anthem, female vocals, 110 BPM","duration":"standard"}'

Endpoints

Authentication

  • POST/auth/magic-linkSend a sign-in link to an email.
  • POST/auth/signupSign up + send a sign-in link.
  • GET/auth/verifyConsume a magic-link token, returns a JWT.
  • POST/auth/signoutClear the session cookie.

Tracks

  • GET/tracksList your tracks (cursor-paginated).
  • GET/tracks/{id}Get a track by ID.
  • POST/tracksCreate + enqueue generation. Costs 1 credit.
  • POST/tracks/{id}/publishSet visibility (public, unlisted, private).
  • DELETE/tracks/{id}Delete a track you own.

Voices

  • GET/voicesBrowse the voice marketplace.
  • GET/voices/{id}Get one voice by ID.

Billing

  • POST/billing/checkoutStart a Stripe Checkout session.
  • POST/billing/portalOpen the Stripe customer portal.

Real-time & webhooks

  • WS/ws/jobsSubscribe to job events (track.queued/generating/ready/failed).
  • POST/webhooks/stripeStripe webhook endpoint (server-to-server).