AI Cloud Architect

Building real-time conversational podcasts with Amazon Nova 2 Sonic

AWSHow-to by Madhavi Evana, Dexter Doyle, Jeremiah Flom and Kalindi Vijesh ParekhAWS Artificial Intelligence Blog

This post walks through building an automated podcast generator that creates engaging conversations between two AI hosts on any topic, demonstrating the streaming capabilities of Nova Sonic, stage-aware content filtering, and real-time audio generation.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Shows how to build a two-host AI podcast generator on Nova 2 Sonic, using streaming speech output, stage-aware filtering of speculative audio, and per-turn streams.

Who it is for

Developers building voice-first AI audio apps on Amazon Bedrock who want a streaming speech-to-speech example.

Key points

  • Requires an AWS account with Bedrock access to Nova 2 Sonic, Python 3.8 or later, and Flask with AsyncIO.
  • Audio input is 16kHz PCM and output is 24kHz PCM.
  • Filters keep only FINAL-stage audio, removing SPECULATIVE content and duplicates.
  • The demo uses PyAudio, which the post says lacks echo cancellation; it recommends Web Audio or WebRTC for production.

Timeline

  1. What it explainsAnnouncing Amazon Nova 2 Sonic for real-time conversational AI · AWS · AnnouncementAlso published by AWS News Blog
  2. This postBuilding real-time conversational podcasts with Amazon Nova 2 Sonic

Go deeper