Async video generation with webhooks in Node.js
Build async video generation in Node.js: queue jobs, verify signed webhooks, poll as a fallback and copy finished MP4s before their links expire.
Engineering notes for integrating an AI avatar video API: async webhooks, HMAC signatures, captions from word timings, your own audio and scale.
Build async video generation in Node.js: queue jobs, verify signed webhooks, poll as a fallback and copy finished MP4s before their links expire.
Generate WebVTT and SRT captions from word timestamps for avatar videos: grouping words into cues, timing rules, escaping and burning captions into MP4.
Use your own ElevenLabs audio with an avatar API: generate speech with timestamps, upload it, render the video and keep word timings for captions. Node.js code.
Integrate a video API with Claude Code or Cursor: give the agent the right context, set project rules, and review the webhook and auth code it writes.
An architecture for personalized video at scale: job queues, webhooks, polling fallback, storage and token budgeting for 100,000 avatar videos a month.
Verify HMAC webhook signatures correctly in Node.js and Python: raw bodies, constant-time compares and replay windows, with tested code you can copy.