Skip to content
Nuance Labs AI Hub

Setup guide · checked 29 Nov 2026

Set up the Nuance Live API

The docs call the developer interface Nuance Live. It is a preview on shared capacity. Keep the API key on a server, mint a short-lived session token, then join a LiveKit room. This page only uses steps published on 29 Nov 2026.

Quick answer

Your server holds the API key; the page only sees a session token

The docs overview at https://docs.nuancelabs.ai/ says Nuance Live is the API for building a real-time experience around a Nuance AI persona. The persona talks with the user over audio and video, while your page or app exchanges JSON events with the session. Your server holds the secret API key; the page never sees it, only a short-lived session token and, to join the room, the admitted event's token. Keys come from https://platform.nuancelabs.ai. The API host is https://api.nuancelabs.ai. Server calls use an API key that starts with nk_…; page or app calls use a session token that starts with st_….

The overview's published flow is: your server posts to /session-tokens with the API key and receives an st_… token; your app posts to /conversation with that token, joins the LiveKit room, and then exchanges nuance_live events. In a web page, the JavaScript SDK (@nuancelabs/js-sdk) runs the client steps for you; other platforms can use a LiveKit SDK (the connect page lists livekit-client in a browser, plus Swift, Android, Flutter, React Native, Unity or Rust). The persona does not speak first: the user speaks, or the app sends response.create. The API is in preview: routes and events may change before 1.0.

Documented setup order

Do this

  • Create an API key on the platform and keep nk_… on a server only
  • Mint a session token with POST /session-tokens when the person is about to start, not on page load
  • Create the conversation with POST /conversation within 60 seconds; a token starts only one conversation
  • Keep the events request open, join the LiveKit room from the admitted event, and publish the microphone (camera is optional)

Avoid

  • Shipping the API key in a web page or native app binary — the API can refuse this as api_key_in_browser
  • Waiting for response.done to know the persona has finished speaking; the docs say to wait for session.output_audio.done
  • Assuming a start will queue; if no capacity is free, POST /conversation returns 429 capacity_unavailable

Plan and capacity notes

  • Credits are plan-based; daily credits expire at 00:00 UTC, added credits last until spent
  • Live remaining credits, concurrency and hourly starts are on GET /usage, not on a public price table we found
  • A start refused for capacity still counts toward the hourly start limit; the JS SDK may retry and use that budget faster

Published request shapes

# From https://docs.nuancelabs.ai/ (checked 29 Nov 2026)
# API host: https://api.nuancelabs.ai
# Authorization: Bearer <token>

# Server, API key nk_… :
#   POST /session-tokens  ->  session token st_…

# App, session token st_… :
#   POST /conversation    ->  conversation id
#   GET  /conversation/{id}/events?after=0
#   join LiveKit room from the admitted event (livekit_url + token)
#   exchange JSON events on the room's nuance_live topic

Get a key, then follow the published docs

Mint keys on the platform, and treat the public docs as the source of truth while the API is in preview.