Skip to content

About

Try out Zoom AI Services with an Express server & React playground

Resources

Contributing

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

Zoom AI Services Quickstart

A Node.js/Express + React playground for the Zoom AI Services APIs. Test Scribe (speech-to-text), Translator, TTS, Interpreter, Summarizer, Speech Summarization, Voice Agent, Clinical Notes, and Decisions through a web UI backed by an Express/tRPC server that handles JWT authentication and all API communication. screenshot of the playground

Railway Render
Deploy on Railway Deploy to Render

Products

Product Modes Description
Scribe Fast Upload, record, or link (public URL) audio/video, get a transcript immediately
Scribe Live Stream your microphone and see transcripts in real time over a WebSocket, with optional Captions (partial results)
Scribe Batch Transcribe a single S3 file, an S3 prefix, or a manifest of S3 URIs / public URLs
Translator Fast Translate up to 4,000 characters between 29 supported locales, including all 24 EU languages, with optional source auto-detection
Translator Batch Translate .txt files stored in S3
TTS Fast Stream synthesized US English speech from up to 4,000 Unicode code points — ten voices, speed and volume controls, live playback, cancellation, and completed WAV downloads
Interpreter Live Translate microphone audio into text and speech across nine catalog languages, with optional source transcripts and target-specific voices; language-pair access depends on your account
Summarizer Fast Summarize a transcript (up to 96 KB) — recap, action items, summary, or full summary
Summarizer Batch Summarize transcripts stored in S3
Speech Summarization Summarize Upload a recording (up to 50 MB / 2 hours) and stream its transcript and Markdown summary — automatic, predefined, or custom template, speaker/timestamp citations, sentiment removal, diarization, and profanity filter
Voice Agent Live Talk to a voice agent through your microphone — ten voices, barge-in, context phrases, response token limits, tool choice, and function calling (a get_current_time demo tool)
Clinical Notes Generate / Jobs Generate a SOAP, General Medicine, or General Behavioral Health note from an upload or recording URL, synchronously or as a job
Decisions Decide Evaluate predicate, choice, and score questions against shared text and an optional image, with the canonical zoom-decisions model, its Standard alias, or Pro

All Scribe modes share these options: model selection (automatic, Zoom Scribe English, Scribe API 3B Pro High-Accuracy, ten-language multilingual, or Whisper for broader language coverage), automatic language detection, custom vocabulary (inline phrases or a Vocabulary Asset ID), speaker diarization, profanity filtering, and Text Polishing (en-US). Fast and Batch also support stereo channel separation, word timestamps, segmentation, and once-only detection; Live supports continuous detection. Candidate languages can restrict detection. Polishing requires en-US with detection off.

Architecture

playground/          Vite + React + tRPC client (port 5173)
    ├── /trpc                     ──▶  Express + tRPC server (port 4000)
    │                                      ├── Zoom AI Services API
    │                                      └── AWS S3 (for batch jobs)
    ├── /api/speech-summarization ──▶  Upload + Server-Sent Events passthrough (same server)
    ├── /api/tts                  ──▶  Raw 44.1 kHz PCM audio stream (same server)
    ├── /live/scribe              ──▶  WebSocket relay ──▶ Zoom Scribe Live
    ├── /live/interpreter         ──▶  WebSocket relay ──▶ Zoom Interpreter
    └── /live/voice-agent         ──▶  WebSocket relay ──▶ Zoom Voice Agent

The playground proxies /trpc, /api, and /live/* to the Express server. All Zoom calls happen server-side; the browser never touches Zoom credentials. For the WebSocket APIs (Scribe Live, Interpreter, and Voice Agent) the browser can't set the Authorization header, so the server relays audio and events in both directions, injecting a fresh JWT.

Interpreter uses 16 kHz mono PCM in Base64 JSON events. Finish input flushes microphone audio, sends session.close once, and continues receiving text and speech until session.closed confirms completion. Use headphones to avoid feeding translated speech back into the microphone. Each target language has its own two voices; the playground lists only the valid ones.

Prerequisites

  • Zoom Build Platform credentials
  • Node.js 24+
  • For batch jobs: an AWS account with an S3 bucket and IAM credentials

Setup

git clone https://github.com/zoom/ai-services-quickstart.git
cd ai-services-quickstart
npm install
cp .env.example .env

Edit .env:

Variable Required Description
ZOOM_API_KEY Yes Zoom Build Platform API key
ZOOM_API_SECRET Yes Zoom Build Platform API secret
PORT No Server port (default: 4000)

For batch jobs, you can supply AWS credentials in the UI or set these server-side defaults:

Variable Description
AWS_ACCESS_KEY_ID IAM access key — forwarded to Zoom to read/write your S3 bucket
AWS_SECRET_ACCESS_KEY IAM secret key
AWS_SESSION_TOKEN Session token (if using temporary credentials)

Use scripts/generate-sts-creds.sh to generate temporary STS credentials and write them to .env (requires the AWS CLI and Python 3; defaults to a one-hour session):

./scripts/generate-sts-creds.sh <AWS_ACCESS_KEY_ID> <AWS_SECRET_ACCESS_KEY>

Running

# Terminal 1 — API server
npm start

# Terminal 2 — Playground UI
cd playground && npm install && npm run dev

Open http://localhost:5173.

The Vite development proxy targets port 4000. If you change the backend PORT, also update the /trpc, /api, and /live targets in playground/vite.config.ts. Restart the API server after changing .env.

To build and run both parts on one origin without Docker, run these commands from the repository root:

npm ci
npm ci --prefix playground
npm run build
npm run build --prefix playground
npm run start:compiled

Open http://localhost:4000 (or your configured PORT). Run the server from the repository root so it can find playground/dist. npm start builds the backend only; the single-origin UI requires a separate playground build.

Docker

Build and run the server and playground as a single image:

docker build -t ai-services-quickstart .
docker run --rm --env-file .env -p 4000:4000 ai-services-quickstart

Open http://localhost:4000. The image builds the playground and serves it from the same server as /trpc, /api streaming routes, the webhook endpoints, and the Scribe, Interpreter, and Voice Agent WebSocket relays. The .env file is excluded from the image; --env-file supplies credentials at runtime. If you change PORT in .env, update the container port mapping to match.

Webhooks

The server receives Zoom batch job notifications at POST /webhooks/<product> — e.g. /webhooks/scribe, /webhooks/translator, /webhooks/summarizer. Webhooks require a publicly reachable HTTPS URL — use cloudflared for local development:

cloudflared tunnel --url http://localhost:4000

Append the product's webhook path to the printed tunnel URL before entering it in the Webhook URL field, for example https://your-tunnel.example/webhooks/scribe. Use /webhooks/translator or /webhooks/summarizer for those products. On a deployed service, use its public HTTPS origin with the same path; no tunnel is needed. Set WEBHOOK_SECRET in .env (or the host's environment) to the same secret submitted with the job — the server uses it to verify the x-zm-signature and x-zm-request-timestamp headers. Received notifications are logged; use Refresh/Status in the UI to retrieve job updates.

Resources

About

Try out Zoom AI Services with an Express server & React playground

Resources

Contributing

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages