Nuance Live API Developer Guide: JS SDK, Personas & Credits Explained
Independent developer guide to Nuance Live API: server-to-client token auth, @nuancelabs/js-sdk, LiveKit rooms, public personas (sam, sonia, mira), and credit billing.
Last updated: 2026-11-29
Nuance Live is Nuance Labs’ developer platform for embedding full-duplex audiovisual AI personas—powered by the same underlying architecture showcased in Emma—into web and native applications.
If you are evaluating Nuance Live for a SaaS product, prototype, or voice-video agent, this independent guide summarizes the verified integration architecture from Nuance Labs’ developer documentation: how token authentication works, which personas are exposed, how @nuancelabs/js-sdk and LiveKit connect, and how daily credits and concurrency limits behave.
Architecture Overview: Server-to-Client Token Exchange
Nuance Live separates privileged credential management from browser streaming so your frontend never exposes secret API keys:
- Your backend stores the master API key (
nk_...). Never shipnk_...keys in client-side JavaScript or mobile binaries. - Backend mints a short-lived session token (
st_...). When a signed-in user starts a call, your server calls Nuance Live with the chosenpersona_id,system_prompt, and optional expressiveness settings to request a short-lived session token. - Client joins a real-time LiveKit room. Your frontend passes the
st_...token to@nuancelabs/js-sdk(or a native LiveKit SDK), establishing low-latency WebRTC audio/video streaming andnuance_livesession events. - Clean hangup & server cleanup. Ending the call disconnects the room and stops credit consumption; if a browser tab crashes without closing cleanly, your backend can query active sessions and terminate them via API to free concurrency slots.
Available Public Personas (persona_id) vs. Original Emma
A frequent surprise for developers inspecting the docs: the original consumer persona Emma is not listed as a public API persona_id. Instead, Nuance Live exposes dedicated developer personas on docs.nuancelabs.ai/personas:
| persona_id | Default? | Voice Profile Note | Configurable Parameters |
|---|---|---|---|
sam | Yes (default) | Shares a voice profile with Mira |
|
sonia | No | Distinct voice profile |
|
mira | No | Shares a voice profile with Sam |
|
Key Configuration Controls
system_prompt: Sets the persona’s role, domain knowledge, tone, and conversational boundaries before the session starts.expressiveness(0to2, default1): Controls how actively the persona moves its head and face during listening and speaking. Lower values produce a calmer, more restrained look; higher values increase facial animation.- Full-duplex turn-taking: Managed automatically by the underlying Nuplex runtime—developers do not manually wire VAD silence thresholds or barge-in heuristics.
SDKs & Platform Support (Web + Native via LiveKit)
Because Nuance Live sessions run on LiveKit rooms under the hood, you have two clean integration paths:
- Web & React apps (
@nuancelabs/js-sdk): Install@nuancelabs/js-sdkfor browser integration, including React hooks such asuseNuanceConversationto track connection phases, audio/video tracks, and lifecycle events. - Native & cross-platform apps (LiveKit SDKs): Because transport uses standard LiveKit rooms and
nuance_liveevents, native teams can connect using official LiveKit client SDKs for Swift (iOS), Android, Flutter, React Native, Unity, and Rust.
// Conceptual backend -> frontend flow (check docs.nuancelabs.ai for exact endpoints)
// 1. Server route authenticates your user, then exchanges master key (nk_...)
// for a short-lived session token (st_...) configured with persona_id + system_prompt.
// 2. Client connects using @nuancelabs/js-sdk (e.g. useNuanceConversation)
// with the returned st_... token and handles hangup / error cleanup.
Credits, Daily Reset, Concurrency Limits & Pricing Status
Understanding Nuance Live’s credit accounting before building a billing layer prevents surprise overages or stuck rooms:
| Billing / Capacity Rule | Documented Behavior | Engineering Takeaway |
|---|---|---|
| When billing starts | Duration is measured from the started event until the conversation ends | Room initialization or calls that never reach started spend 0 credits |
| Rounding | Each conversation’s duration is rounded up to a whole credit | Avoid rapid connect/disconnect loops; enforce a short cooldown on retries |
| Daily reset | Daily plan credits reset at 00:00 UTC and do not carry over | Any bonus/manual credits are consumed only after daily credits run out |
| Concurrency limit | Exceeding your plan’s simultaneous session cap returns HTTP 409 (concurrency_limit) | Always send a cleanup beacon on pagehide and reap zombie sessions via API |
| Public pricing | No public self-serve price table published on docs during preview/beta | Contact Nuance Labs for production credit volume, SLA, and custom capacity |
Production Checklist Before Shipping a Nuance Live Integration
If you are building a commercial web app on top of Nuance Live (or comparing it against Tavus CVI and LemonSlice), plan for these four operational edges early:
- Graceful
409 concurrency_limitUI. Shared preview capacity can fill up during traffic spikes. Surface a clear busy state with a retry timer instead of a generic crash, and never auto-retry in a tight loop. - Zombie session reaping. Mobile browsers frequently suspend tabs without firing
beforeunload. Pairnavigator.sendBeacononpagehidewith a server-side session timeout that terminates orphaned calls. - Microphone-first permissions. Only invoke
getUserMediaafter an explicit user click, clearly stating whether camera access is enabled or off, and give recovery instructions when browser permissions are blocked. - Atomic user billing. If you resell minutes or credits to end users, deduct balances atomically against actual started sessions and reconcile refunds cleanly.
Frequently Asked Questions
Can I use the original Emma persona through the Nuance Live API?
Public Nuance Live documentation lists sam (default), sonia, and mira as available persona_id values; the original consumer persona Emma is not listed among the public API personas.
How does Nuance Live API authentication work?
Your backend keeps a secret master API key (nk_...) and requests short-lived session tokens (st_...) for each call. The frontend passes only the short-lived st_... token into @nuancelabs/js-sdk or a LiveKit client.
Do unused Nuance Live daily credits roll over?
No. According to Nuance Live’s credits documentation, daily credit allocations reset at UTC midnight and do not carry over to the next day. Bonus credits are used only after daily credits are exhausted.
What happens if my app hits Nuance Live’s concurrency limit?
New session requests fail with HTTP 409 (concurrency_limit). You can query active sessions and terminate abandoned ones via the API so slots recover promptly.
Is Nuance Live API pricing publicly listed?
Not yet. During the preview/beta phase on shared capacity, Nuance Labs does not publish a public self-serve price sheet on its docs site; teams needing custom volume or dedicated capacity need to contact Nuance Labs directly.
More independent resources: Nuplex 1.0 Technical Breakdown · Emma vs. Nora Guide · Restricted Regions & Alternatives · Try Emma on emma-ai.org.