North Model LabsNorth
Model Labs
ShowcaseResearchAPIPricingEnterpriseSolutionsFAQTeam
Dashboard

Models

  • Atlas Realtime Avatar
  • Showcase
  • Benchmark
  • Compare

Developers

  • Documentation
  • Examples
  • Pricing
  • Dashboard ↗

Solutions

  • Customer support
  • Sales / SDR
  • AI tutors
  • All solutions

Enterprise

  • Enterprise overview
  • Safety & identity
  • Compare
  • Book deployment review ↗
  • eric@northmodellabs.com

Company

  • Team
  • Partnerships
  • FAQ
  • eric@northmodellabs.com

Connect

  • GitHub ↗
  • Discord ↗
  • eric@northmodellabs.com
North Model Labs© 2026 North Model Labs
PrivacyTermseric@northmodellabs.comBook 30 min ↗

Atlas

Avatar API

Public API reference

Getting Started
  • Overview
  • Authentication
  • Run demo-atlas
  • Voice & captions
  • Anime enrollment
  • Enrollment API
Examples
  • Live Examples→
Avatar Endpoints
  • GET /GET
  • POST /v1/generatePOST
Jobs
  • GET /v1/jobsGET
  • GET /v1/jobs/{id}GET
  • GET /v1/jobs/{id}/resultGET
Account & Status
  • GET /v1/meGET
  • GET /v1/statusGET
  • GET /v1/healthGET
TTS Integration (BYOB)
  • How It Works
Organizations
  • POST /v1/organizationsPOST
  • GET /v1/organizationsGET
  • GET /v1/organizations/{id}GET
  • Members
Realtime Avatar
  • How It Works
  • POST /v1/realtime/sessionPOST
  • GET /v1/realtime/session/{id}GET
  • PATCH /v1/realtime/session/{id}PATCH
  • DELETE /v1/realtime/session/{id}DEL
  • SDK Integration
  • React SDK
Webhooks
  • How Webhooks Work
  • Verifying Signatures
Reference
  • Error Codes
  • TTS Examples
  • Rate Limits
  • Limits & Constraints
  • Response Headers
  • Plugin: external LiveKit

Talk to us

eric@northmodellabs.comBook 30 min ↗

ATLAS · PUBLIC API

API documentation

Generate a video from an image and speech audio, or stream your own audio into a realtime avatar. Atlas supplies face rendering; your application supplies speech recognition, conversation, and speech synthesis.

Base URL: https://api.atlasv1.com. Reference checked against the deployed API source on November 24, 2026. Example responses show representative values; capacity and enabled features vary by deployment.

Offline generation code

Runnable Python and Node.js snippets. There is no separate offline example app.

demo-atlas · Realtime example app ↗

Next.js application with voice, captions, and browser session ownership.

Authentication

Send your API key as Authorization: Bearer YOUR_API_KEY. Keep it on your server, never in a browser bundle or NEXT_PUBLIC_ variable. Jobs and sessions are scoped to the creating API key; a different key receives 404 for those resources. Dashboard history aggregates your own keys separately.

Create keys in the dashboard. GET /, /healthz, /livez, /readyz and /v1/health are operational probes; health responses do not guarantee GPU capacity or successful rendering. The customer API does not include the dashboard’s signed internal endpoints.

Run the current demo-atlas app

Clone the complete demo rather than starting with an empty Next.js app. It includes server routes, voice transport, portrait validation, session access cookies and the Apple, TikTok, Teach and Meet interfaces. All four interfaces share the avatar session and voice implementation.

git clone https://github.com/NorthModelLabs/demo-atlas.git
cd demo-atlas
npm ci
# Create .env.local using the settings below.
npm run dev
# Open http://localhost:3000

The checked revision bundles atlas-react 0.2.3 in vendor/; npm ci uses the repository lockfile. Keep that package and its matching demo code together. Source checked November 24, 2026: f9c467a. The repository README contains older ElevenLabs instructions; this guide follows the running code.

# .env.local — server-only settings; never use NEXT_PUBLIC_ for secrets
ATLAS_API_URL=https://api.atlasv1.com
ATLAS_API_KEY=YOUR_ATLAS_API_KEY
OPENAI_API_KEY=YOUR_OPENAI_API_KEY
DEMO_PUBLIC_ORIGIN=http://localhost:3000
DEMO_ACCESS_SECRET=REPLACE_WITH_RANDOM_SECRET_OF_AT_LEAST_32_CHARACTERS

# Generate a secret locally:
# openssl rand -hex 32
ATLAS_API_URL / ATLAS_API_KEYRequired to create Atlas sessions. Use an authorized staging API base and key when testing staging; changing a UI query parameter does not select a staging model.
OPENAI_API_KEYRequired for the current voice conversation path. Without it, /api/config reports voice unavailable; connecting an avatar does not create AI speech by itself.
DEMO_ACCESS_SECRETAt least 32 characters. Missing or short values cause protected creation routes to return 503. Generate a private random value; do not commit .env.local.
DEMO_PUBLIC_ORIGINExact browser origin, including scheme and port. localhost and 127.0.0.1 differ. Production defaults to https://demo.northmodellabs.com; VERCEL_URL is also allowed when configured.
ATLAS_ANIME_DEMO_ENABLEDSet to true only when the deployment supports anime enrollment. Otherwise the demo enrollment routes return 404.
ATLAS_MODEL_VARIANTOptional server-side model header for deployments with access. Leave unset for the normal service path. A recognized name does not guarantee model entitlement or capacity.
ELEVENLABS_API_KEY / LLM_API_KEYLegacy/custom TTS and chat integrations remain in the repo. These keys do not enable its current OpenAI Realtime voice path.

Session management is browser-owned through HttpOnly, SameSite=strict access cookies. Keep creation and later requests in the same browser. Allowed-origin checks help prevent cross-site requests; they are not visitor authentication or a spending limit. The operator’s server API key pays for demo usage. Access implementation.

Voice, audio transport and captions

  1. Upload or select a portrait, then explicitly start a session. The browser posts to its own /api/session proxy; the Atlas key stays on the server.
  2. The React SDK connects to the returned LiveKit room. Map session_id, livekit_url and token into the SDK’s sessionId, livekitUrl and token fields.
  3. The browser negotiates OpenAI Realtime through POST /api/session/[id]/voice with an application/sdp offer. This is a demo server route, not a public Atlas API endpoint. It checks the session is active before creating the voice connection.
  4. Microphone input, assistant audio and transcript events drive the conversation. Route generated speech into the avatar transport. Preserve a persistent audio track for the default RTP path rather than creating and destroying a track for each reply.
  5. Use the user transcription and assistant transcript events for captions. Keep partial and committed text distinct and bind assistant events to their response ID so late events cannot overwrite a newer response. These captions come from the voice connection, not from the avatar video track.
  6. On stop, disconnect voice and the room and DELETE the exact Atlas session. Closing a video element alone does not confirm that server billing has stopped.

Reuse use-realtime-voice.ts, voice-captions.ts and demo.tsx together. The current server configures gpt-realtime-2.1 with coral output voice and gpt-4o-mini-transcribe input transcription; these are demo settings, not Atlas API model parameters. Browser microphone access requires localhost or HTTPS and user permission.

RTP is the default. DEMO_ORDERED_PCM_ENABLED=true requests ordered_pcm_v1 and requires matching server support. The demo checks the admitted transport and attempts to end a mismatched session; do not silently fall back or automatically retry if cleanup is unconfirmed. Tail voice flags are optional release/staging paths, not required setup. Transport admission.

Anime portraits: enroll, wait, then start

The /anime page uses a separate, feature-gated preparation flow. A portrait upload or preview is not proof that a realtime anime asset is ready. The hosted demo accepts PNG, JPEG or WebP portraits up to 4,000,000 bytes, leaving room under the proxy body limit. This is stricter than the direct Atlas API’s 10 MiB limit. Its portrait proxies reject face_url; upload the file.

POST /api/anime/enrollmentBrowser route: upload face multipart data. Proxies to /v1/realtime/anime/enrollments with a content-derived Idempotency-Key. Enrollment can consume the operator’s credits.
GET /api/anime/enrollment/[id]Poll the exact returned handle. The client waits three seconds between polls for up to 30 minutes. Require matching enrollment_id, status=ready and realtime_ready=true. Failed, manual_review and inconsistent responses do not start a session.
POST /api/anime/enrollment/[id]Rechecks readiness server-side, then creates a passthrough session with mouth_mode=anime_realtime and anime_enrollment_id. Grants the same browser-owned session lifecycle used for human portraits.

Start preparation only after the user chooses Start. Cancelling the wait prevents a later session start but does not undo submitted enrollment work. Do not automatically repeat a billable POST after an ambiguous response. The anime feature must be enabled by the deployment; a disabled route returns 404. Client flow · Readiness and session creation.

Demo troubleshooting

503 Demo is not configuredSet a private DEMO_ACCESS_SECRET with at least 32 characters and restart the app.
403 Request origin rejectedMatch DEMO_PUBLIC_ORIGIN to the exact browser URL. Do not disable the origin guard.
403 Resource not available in this browserUse the browser that created the session; check cookies and origin. A copied session ID does not transfer access.
413 portrait rejectionUse one supported portrait under 4 MB for this demo. Do not confuse the proxy limit with the direct API limit.
Voice unavailable / 409 inactive sessionCheck OPENAI_API_KEY, Atlas configuration and active session status. Restart a valid session before retrying voice.
502 voice or transport failureCheck the upstream service and admitted transport. Confirm cleanup of any accepted session before creating another.
No captions / audio feedbackCheck voice connection and transcript events, mic permissions and playback routing. Avoid duplicate local speech playback. Echo cancellation reduces feedback; test with headphones if needed.

The API reference below covers public Atlas endpoints. Routes beginning /api/ in this guide belong to the Next.js example and are not additional endpoints on api.atlasv1.com. Offline generation and third-party TTS examples remain separate supported integration patterns.

GET

/

Public service information and a selected endpoint index. Use this reference for supported contracts; the root index is not a complete route inventory.

POST

/v1/generate

Upload multipart/form-data with audio and image. A new accepted job returns 202 with job_id and status=pending. No text-to-video or built-in TTS step is implied: generate speech with your own provider first.

Field / headerValueContract
audiorequired fileWAV, MP3/MPEG, Ogg, or WebM audio; send the correct audio MIME type.
imagerequired filePNG, JPEG, or WebP. Bytes are inspected, not just the filename.
Combined files50 MiB defaultDeployment-configurable; image also limited to 16,000,000 pixels and 8192 pixels per side. Dashboard upload limit is stricter: 4 MB combined.
Idempotency-Keyoptional header, up to 128 charactersReuse the same value for retries of one logical submission. An existing job returns HTTP 200, status=duplicate, and its original job_id.
X-Callback-URLoptional HTTPS headerPublic HTTPS callback; no credentials, localhost or private addresses. Delivery requires signing configuration; always retain polling fallback.

Normal video output is MP4. Model routing is service-managed. Anime offline rendering is feature-gated and is not a generally available downloadable-video workflow. Credit holds and account limits may reject submissions with 402; do not retry a billable POST blindly after a timeout.

"""Python 3: pip install requests; set ATLAS_API_KEY; supply speech.mp3 and face.jpg."""
import os
import time
import uuid
from pathlib import Path
import requests

BASE = "https://api.atlasv1.com"
HEADERS = {"Authorization": f"Bearer {os.environ['ATLAS_API_KEY']}"}


def checked(response):
    response.raise_for_status()
    return response.json()


def generate(audio_path="speech.mp3", image_path="face.jpg", output_path="output.mp4"):
    # Reuse this key if retrying this exact submission after a network failure.
    submission_key = str(uuid.uuid4())
    print(f"Save this submission key before submitting: {submission_key}")
    with open(audio_path, "rb") as audio, open(image_path, "rb") as image:
        job = checked(requests.post(
            f"{BASE}/v1/generate",
            headers={**HEADERS, "Idempotency-Key": submission_key},
            files={"audio": ("speech.mp3", audio, "audio/mpeg"),
                   "image": ("face.jpg", image, "image/jpeg")},
            timeout=120,
        ))
    job_id = job["job_id"]
    print(f"Job accepted: {job_id}; resume this ID rather than submitting again.")
    deadline = time.monotonic() + 12 * 60
    delay = 3
    while time.monotonic() < deadline:
        response = requests.get(f"{BASE}/v1/jobs/{job_id}", headers=HEADERS, timeout=30)
        if response.status_code == 429 or response.status_code >= 500:
            delay = min(30, delay * 2)
            time.sleep(delay)
            continue
        status = checked(response)
        if status["status"] == "failed":
            raise RuntimeError(status.get("error") or "Generation failed")
        if status["status"] == "completed":
            result = checked(requests.get(f"{BASE}/v1/jobs/{job_id}/result", headers=HEADERS, timeout=30))
            # The signed media URL needs no Atlas Authorization header.
            with requests.get(result["url"], stream=True, timeout=120) as download:
                download.raise_for_status()
                with open(output_path, "wb") as output:
                    for chunk in download.iter_content(1024 * 1024):
                        output.write(chunk)
            return Path(output_path)
        time.sleep(delay)
        delay = min(15, delay + 1)
    raise TimeoutError(f"Stopped polling; resume job {job_id}. Do not submit again.")


if __name__ == "__main__":
    print(generate())
GET

/v1/jobs

Lists jobs owned by the exact authenticated key, newest first. limit defaults to 20 and is clamped to 1–100; offset defaults to zero and cannot be negative. The response has jobs, limit, offset and count. count is the number on this page, not a total count. Continue until a page contains fewer rows than limit. Realtime sessions are not included in this offline job list.

Job fieldMeaning
job_id / type / statusID, job type and lifecycle state.
created_at / completed_atISO timestamps or null.
output_durationOutput duration in seconds, or null.
latency_ms / input_chars / error_codeOptional measurements and sanitized failure code.
GET

/v1/jobs/{id}

Poll the returned job_id. States are pending, processing, completed and failed. Inspect HTTP errors before reading JSON. A failed job is normally HTTP 200 with status=failed and error/error_code; it is not necessarily an HTTP 502 response. Start with a three-second interval, back off on 429/5xx, and stop polling at a bounded deadline without creating another job.

FieldMeaning
queue_position / capacity_statusQueue and processing state.
inputInput sizes and optional text/language metadata.
output.durationSeconds of output, not milliseconds.
output.size_bytes / output.sample_rateOutput size and optional audio sample rate.
timingcreated_at, started_at, completed_at, latency_ms, gpu_time_ms.
cost_centsPresent for a completed job; server-calculated amount.
result_urlProtected API route /v1/jobs/{id}/result, not a video URL.
url / expires_inWhen signing succeeds, a direct signed media URL and validity in seconds. Otherwise request the result endpoint.
GET

/v1/jobs/{id}/result

Returns url, content_type and expires_in for a completed job. Use the signed media URL without an Atlas Authorization header. Its default validity is 24 hours from signing, not a guarantee that stored output is deleted 24 hours after job completion. Use expires_in as the authority; request another signed URL after expiration if output remains available.

HTTPMeaning
200Signed URL returned.
409 not_readyJob is not completed; continue status polling.
404 not_foundUnknown job or another API key’s job.
404 no_outputNo stored output exists for the completed job.
500 url_generation_failedSigning failed; retry this read later, not the original submission.
GET

/v1/me

Returns authenticated, key_prefix, name, tier, requests_used, rate_limit and billing. requests_per_minute can be a number or “unlimited.” Do not interpret requests_used as distinct users or seconds of usage. Polls and status reads also consume request-rate budget.

GET

/v1/status

Authenticated capacity snapshot: status, services.avatar_generation, services.voice_synthesis and models. Services can report available or busy. A snapshot does not reserve capacity. Failures can return 503 temporarily_unavailable.

GET

/v1/health

Public health snapshot with status=operational or degraded. Use /healthz for process liveness and /readyz for configured readiness; health does not promise spare rendering capacity.

Realtime avatar rendering

Create a session, connect LiveKit using the returned token, publish your audio, and subscribe to avatar tracks. Atlas does not perform STT, LLM inference, TTS or captions for you. demo-atlas supplies a separate voice integration. Explicitly DELETE the session when finished; disconnecting a video element alone does not confirm server cleanup.

POST

/v1/realtime/session

Use multipart/form-data with face, or application/json with X-Atlas-Face-Encoding: base64 plus face_base64 and face_content_type. Production rejects caller-supplied face_url, including URL fields in queries. Upload the image bytes.

FieldContract
faceMultipart PNG/JPEG/WebP portrait, maximum 10 MiB; decoded image limits also apply.
face_base64 / face_content_typeJSON alternative: X-Atlas-Face-Encoding: base64 header, raw base64, and image/png, image/jpeg, or image/webp.
modepassthrough is the normal rendering path and default; emotion is a rendering mode, not a conversation engine.
idle_timeoutEmpty-room cleanup interval; default 300 seconds, clamped to 30–3600.
mouth_modeproduction by default. anime_realtime requires enabled enrollment support and an admitted portrait.
anime_enrollment_idReady, key-bound handle required for anime_realtime.
regionDeployment-supported region; omit for default routing.
provider / provider_typeLeave auto; explicit provider overrides can be disabled with 403.
audio_transportRTP default. ordered_pcm_v1 requires explicit matching deployment support; do not silently fall back.
cURL · create a session
curl --fail-with-body https://api.atlasv1.com/v1/realtime/session \
  -H "Authorization: Bearer $ATLAS_API_KEY" \
  -F "face=@face.jpg;type=image/jpeg" \
  -F "mode=passthrough"

Response fields include session_id, status, livekit_url, token, room, mode, mouth_mode, audio_transport, capacity_status and idle_timeout_seconds. status is connecting or warming_up—not a readiness guarantee. Keep the accepted session ID and wait for that session; do not repeatedly create sessions while capacity warms.

POST

/v1/realtime/anime/enrollments

Feature-gated multipart preparation: upload face and send Idempotency-Key containing 8–128 safe characters (letters, digits, dot, underscore, colon or hyphen). This can reserve and charge enrollment credits. An accepted response is HTTP 202 and includes enrollment_id, status, realtime_ready and poll_url, with Location and Retry-After: 3 headers.

GET

/v1/realtime/anime/enrollments/{id}

Poll the exact returned key-bound handle. Require status=ready and realtime_ready=true before creating an anime_realtime session. manual_review or failed is not ready; do not auto-start or repeat a billable enrollment. Request bodies and readiness evidence are validated by the service. See the complete browser flow.

GET

/v1/realtime/session/{id}

Returns session_id, status, lifecycle_status, mouth_mode, room, started_at, ended_at and duration_seconds. A stored active session can still report connecting until avatar video is published. Duration is seconds. The exact creating API key is required.

PATCH

/v1/realtime/session/{id}

For an active session, upload a replacement face using multipart/form-data, or the same JSON base64 upload contract. Arbitrary portrait URLs are rejected. A compatible mouth_mode may accompany the upload; anime bindings cannot be replaced by an unrelated portrait.

cURL · upload a replacement portrait
curl --fail-with-body -X PATCH "https://api.atlasv1.com/v1/realtime/session/$SESSION_ID" \
  -H "Authorization: Bearer $ATLAS_API_KEY" \
  -F "face=@replacement.jpg;type=image/jpeg"

Successful responses include session_id, face_updated, mouth_mode and metadata_pushed. Inactive sessions return 409 session_not_active. A metadata update is not a visual playback guarantee.

DELETE

/v1/realtime/session/{id}

Ends the session and records settlement. Response: session_id, status=ended, duration_seconds, estimated_cost and credits_deducted_cents. Repeating DELETE on an ended session returns 409 already_ended; an unknown or differently owned ID returns 404. Confirm teardown before starting a replacement session.

SDK integration

Use LiveKit clients for raw room transport, or the React hook below. All calls that carry ATLAS_API_KEY run on your server. Protect your own session proxy with authentication, same-origin checks, bounded uploads and browser/session ownership; a forwarding route alone is not a secure application.

React SDK

demo-atlas uses @northmodellabs/atlas-react from its checked-in 0.2.3 package. Follow that repository’s lockfile and current code. The hook’s createSession callback must map Atlas response fields to sessionId, livekitUrl and token. deleteSession must terminate the exact server session.

Response mapping
const response = await fetch("/api/session", { method: "POST", body: form });
const data = await response.json();
if (!response.ok) throw new Error(data.message || data.error || "Session failed");
return { sessionId: data.session_id, livekitUrl: data.livekit_url, token: data.token };

For externally generated speech, set autoEnableMic=false and reuse the demo’s persistent RTP audio pipeline. Captions come from the voice provider’s transcript events, not video. See voice and caption integration.

Webhooks

Pass X-Callback-URL when submitting an offline job. The public HTTPS endpoint receives job.completed or job.failed with job_id, type, status, created_at and completed_at. Completed events can include a protected result_url route and a signed url; failed events include error_code. Delivery depends on configured signing and network reachability; process duplicates idempotently and retain polling fallback.

Verify webhook signatures

Verify X-Atlas-Signature as lowercase HMAC-SHA256 over timestamp + “.” + the exact raw request-body bytes, using your provisioned webhook verification secret. X-Atlas-Timestamp is Unix seconds. The secret is not your API key; request webhook configuration from support. Reject timestamps outside your replay window and deduplicate job events.

Python · raw body verification
import hashlib, hmac, time

def verify(raw_body, signature, timestamp, secret):
    try:
        if abs(time.time() - int(timestamp)) > 300:
            return False
    except (ValueError, TypeError):
        return False
    expected = hmac.new(secret.encode(), timestamp.encode() + b"." + raw_body,
                        hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, signature)

Bring your own TTS

Use any speech provider that produces supported audio. Save its actual audio bytes, then submit them with your portrait to /v1/generate. For realtime, route generated speech through the existing live audio track. Atlas billing does not include third-party voice or LLM costs.

Integration examples

See offline upload, poll and download code, or run demo-atlas for a complete realtime voice application. There is no standalone offline example app repository.

POST

/v1/organizations

Requires a user-linked API key and a JSON name (2–100 characters). Creates an organization with the caller as owner. Demo and environment-only keys cannot create organizations.

GET

/v1/organizations

Returns organizations for the authenticated identity. Organization access is membership-scoped.

GET

/v1/organizations/{id}

Returns organization details and members only after checking membership. Do not infer access from a caller-provided organization ID.

Organization management

RouteScope
POST /v1/organizations/{id}/membersAdd a member; admin/owner authorization required.
DELETE /v1/organizations/{id}/members/{member_id}Remove a member; ownership and role checks apply.
DELETE /v1/organizations/{id}Owner-only organization deletion with audit requirements.
GET /v1/organizations/{id}/access-reportOrganization access report; privileged membership required.
GET /v1/organizations/{id}/data-access-reportAudited data-access report; privileged membership required.

Enterprise identity features are deployment-specific. Do not implement integrations against retired identity-provider routes or assume organization membership grants access to another key’s jobs.

Rate limits and billing

Read the key’s configured rate in GET /v1/me. Status polling, result requests and session lifecycle reads count toward the request budget. Honor 429 and retry_after_seconds or Retry-After when supplied; use bounded backoff. Concurrency, available credits, configured allowances and GPU availability are separate constraints. “Enterprise” does not mean every safety check is disabled.

Standard generation and passthrough rendering are priced at $7 per output/session hour, prorated by the API’s settlement rules; minimum charges and holds may apply. Enterprise terms can differ. Configured metered allowances continue tracking overage; legacy hard-cap allocations and insufficient credits may still stop admission. The dashboard’s metered setting does not itself create postpaid invoices.

Errors

Read both HTTP status and error/error_code. Depending on validation and middleware, details can be top-level or nested under detail. Never use internal error text as an identifier. Sanitized job failures are returned in the status payload.

HTTPTypical meaning
400 / 422Invalid fields, missing files, unsupported mode, or rejected portrait URL.
401 / 403Missing/invalid key or disallowed capability.
402Insufficient available credits or an enforced hour allocation.
404Resource unavailable to this key, unknown ID or disabled feature.
409Job not ready, session ended/inactive, or enrollment/binding conflict.
413 / 415Size/dimension limit or unsupported/corrupt media.
429Request or concurrency budget reached; back off.
500 / 502 / 503Signing, upstream, storage, queue, validation, or capacity failure; preserve accepted resource IDs.

Limits and constraints

ResourceLimit / behavior
Offline upload50 MiB combined default; configured deployments can differ.
Realtime portrait10 MiB; PNG/JPEG/WebP; decoded dimensions bounded.
Dashboard generation proxy4 MB combined image + audio.
demo-atlas portrait proxy4,000,000 bytes per portrait.
Image dimensionsAt most 16,000,000 pixels and 8192 pixels per side for the direct API.
Signed result URLUse expires_in; default 86,400 seconds from signing.
Realtime lifecycleNo universal fixed duration promise; credits, allocation, idle cleanup and service availability apply.
Unique end usersShared API keys are not unique people; historical session counts cannot establish daily active users.
POST

/v1/avatar/session

For an external LiveKit room, send multipart livekit_url, livekit_token and room_name; optionally avatar_image. This launches an avatar worker into your room. Response status is connecting or warming_up, with session_id and capacity_status; external-room responses can include metadata_hint. It does not return status=ok as a rendering-readiness guarantee. Use the same session lifecycle endpoints for cleanup.

Headers and operational behavior

Treat API responses as private and uncached. Retry-After or retry_after_seconds can accompany throttling/warming responses. Never log Authorization values, LiveKit tokens, signed media URLs or private portrait data. Poll accepted jobs/sessions instead of repeatedly creating new resources after a timeout.