# Content to audio

> Content to audio is an open-source agent skill for design and media. Generates a two-speaker podcast episode with Bedrock scripts and Polly voices. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/aws-samples/amazon-ai-samples/tree/main/text-to-speech/skills/content-to-audio
- **Repository:** https://github.com/aws-samples/amazon-ai-samples
- **GitHub stars:** 469
- **License:** MIT-0
- **Skill name:** content-to-audio
- **Collection:** https://github.com/aws-samples/amazon-ai-samples
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media), [audio generation](https://ai-powered.com/categories/audio-generation)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through the two AWS sample projects that turn a topic into a two-host audio episode. A two-speaker podcast generator writes a host and co-host script with Amazon Bedrock, voices each turn with Amazon Polly, and joins the segments into a single MP3. A second, experimental studio adds web research, claim extraction, a Bedrock Knowledge Base and a fact-check report, with a browser interface and run history.

The skill tells the agent which sample fits a request, covers prerequisites such as Bedrock model access, Polly region settings and AWS credentials, and sets safety gates around billing and provisioning. Provisioning and teardown of the studio's AWS resources require explicit confirmation, and teardown starts as a dry run.

Users need Python 3.10 or newer, AWS credentials and Bedrock model access in their account. The guidance also includes patterns for building similar multi-speaker narration workflows, such as structured script output and per-turn synthesis.

## When your agent uses it

> Set up, run, customize, debug, and clean up the content-to-audio samples in text-to-speech/use-cases/content-to-audio — a two-speaker podcast generator (Amazon Bedrock writes a host/co-host script, Amazon Polly voices each speaker, output joined into one MP3) and the experimental Grounded Podcast Studio (web research, claim extraction, Bedrock Knowledge Base, fact-check report, browser UI, DynamoDB/S3/AgentCore resources). Use when asked to generate a podcast or multi-voice audio from a topic or document, pick between these samples, change models/voices/styles, troubleshoot Bedrock access or Polly voice errors, or build a similar multi-speaker narration workflow.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/aws-samples/amazon-ai-samples/tree/HEAD/text-to-speech/skills/content-to-audio)
- [License: MIT-0](https://github.com/aws-samples/amazon-ai-samples/tree/HEAD/text-to-speech/skills/content-to-audio)

## Features

- **Two-speaker podcast generator:** Covers the local sample that scripts a host and co-host dialogue and voices it with Polly.
- **Grounded podcast studio:** Describes the experimental sample with web research, claim extraction and a fact-check report.
- **Voice and style changes:** Explains how conversational and newscaster styles map to Polly engines and voices.
- **Resource provisioning gates:** Requires confirmation before creating studio AWS resources and dry-runs teardown first.
- **Troubleshooting guidance:** Lists common issues such as Bedrock access denials, Polly voice errors and uvicorn interpreter mismatches.
- **Narration workflow patterns:** Outlines how to build a similar multi-speaker audio pipeline with structured output and per-turn synthesis.

## Good for

- Generate a podcast episode from a topic or document
- Switch the podcast hosts to different Polly voices
- Change the Bedrock model or speaking style for an episode
- Debug a Bedrock AccessDeniedException in the podcast tool
- Set up the grounded podcast studio in my AWS account
- Build a multi-speaker narration pipeline from my own script

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/content-to-audio` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-samples/amazon-ai-samples.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/content-to-audio &&
cp -R "$tmp/text-to-speech/skills/content-to-audio" ~/.claude/skills/content-to-audio &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/content-to-audio` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/content-to-audio` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-samples/amazon-ai-samples.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/content-to-audio &&
cp -R "$tmp/text-to-speech/skills/content-to-audio" ~/.agents/skills/content-to-audio &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/content-to-audio` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/content-to-audio` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-samples/amazon-ai-samples.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/content-to-audio &&
cp -R "$tmp/text-to-speech/skills/content-to-audio" ~/.cursor/skills/content-to-audio &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/content-to-audio` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/aws-samples/amazon-ai-samples.git --path text-to-speech/skills/content-to-audio
```

Or copy the folder to `~/.gemini/skills/content-to-audio` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/content-to-audio`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-samples/amazon-ai-samples.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/content-to-audio &&
cp -R "$tmp/text-to-speech/skills/content-to-audio" ~/.copilot/skills/content-to-audio &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/content-to-audio` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/aws-samples/amazon-ai-samples.git
```

Then copy `amazon-ai-samples/text-to-speech/skills/content-to-audio` into your agent's skills folder as `content-to-audio`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need before Content to audio runs?

Python 3.10 or newer, AWS credentials from the default chain or a named profile, and Bedrock model access for the inference profiles the sample uses.

### Does the studio create AWS resources?

Yes. Its setup creates IAM roles, a DynamoDB table, S3 buckets, an S3 Vectors index, a Bedrock Knowledge Base and an AgentCore Gateway, and the skill requires confirmation before running it.

### Does the fact-check report change the script?

No. The studio's fact-check report is informational only and does not revise or block unsupported claims before synthesis.

### Which sample should I start with?

The two-speaker-podcast sample, unless the user specifically needs source grounding, since it only calls Bedrock and Polly.

### How do I install Content to audio in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/content-to-audio to use it in all your projects, or to .claude/skills/content-to-audio in one project.

### Does Content to audio run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Content to audio?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Content to audio?

The closest alternatives to Content to audio are Polly avatar, Cascading voice agent, Dialogue audio, Reachy voice assistant and Live speech translator.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Polly avatar](https://ai-powered.com/skills/polly-avatar): Polly avatar is an open-source agent skill for cloud and infrastructure.
- [Cascading voice agent](https://ai-powered.com/skills/cascading-voice-agent): Cascading voice agent is an open-source agent skill for design and media.
- [Dialogue audio](https://ai-powered.com/skills/dialogue-audio): Dialogue audio is an open-source agent skill for design and media.
- [Reachy voice assistant](https://ai-powered.com/skills/reachy-voice-assistant): Reachy voice assistant is an open-source agent skill for design and media.
- [Live speech translator](https://ai-powered.com/skills/live-speech-translator): Live speech translator is an open-source agent skill for design and media.
- [Podcast generation](https://ai-powered.com/skills/podcast-generation): Podcast generation is an open-source agent skill for design and media.
- [Text agent to strands voice agent](https://ai-powered.com/skills/text-agent-to-strands-voice-agent): Text agent to strands voice agent is an open-source agent skill for design and media.
- [Speech](https://ai-powered.com/skills/speech): Speech is a free agent skill for design and media.

---
Source: https://ai-powered.com/skills/content-to-audio
