# Rw Generate Audio

> Generate audio using the Runway API via runnable scripts. Supports TTS, sound effects, voice isolation, dubbing, and voice conversion.

- **Type:** Skill
- **Install:** `agentstack add skill-runwayml-skills-rw-generate-audio`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [runwayml](https://agentstack.voostack.com/s/runwayml)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [runwayml](https://github.com/runwayml)
- **Source:** https://github.com/runwayml/skills/tree/main/skills/rw-generate-audio

## Install

```sh
agentstack add skill-runwayml-skills-rw-generate-audio
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Generate Audio

Generate audio directly using the Runway API. Supports text-to-speech, sound effects, voice isolation, dubbing, and speech-to-speech voice conversion.

**IMPORTANT:** Run scripts from the user's working directory so output files are saved where the user expects.

## Usage

```bash
uv run scripts/generate_audio.py --type tts --text "Hello world" --filename "greeting.mp3" [--voice-id ID] [--api-key KEY]
```

## Preflight

1. `command -v uv` must succeed
2. `RUNWAYML_API_SECRET` must be set, or pass `--api-key`

## Audio Types

| Type | Description | Required Args |
|------|-------------|---------------|
| `tts` | Text to speech | `--text` |
| `sfx` | Sound effect generation | `--text` |
| `isolate` | Isolate voice from audio | `--audio-url` |
| `dub` | Dub to another language | `--audio-url`, `--target-language` |
| `sts` | Voice conversion | `--audio-url` |

## Parameters

| Param | Description | Default |
|-------|-------------|---------|
| `--type` | Audio type (required): tts, sfx, isolate, dub, sts | -- |
| `--filename` | Output filename (required) | -- |
| `--text` | Text input (for tts and sfx) | -- |
| `--audio-url` | Audio URL or local path (for isolate, dub, sts) | -- |
| `--voice-id` | Voice preset (for tts and sts, e.g. Maya, Noah, Leslie) | Maya |
| `--target-language` | Language code (for dub, e.g. "es") | -- |
| `--output-dir` | Output directory | cwd |
| `--api-key` | Runway API key | env `RUNWAYML_API_SECRET` |

## Examples

**Text-to-speech:**
```bash
uv run scripts/generate_audio.py --type tts --text "Welcome to our product showcase" --filename "voiceover.mp3"
```

**Sound effect:**
```bash
uv run scripts/generate_audio.py --type sfx --text "Thunder rolling across a stormy sky" --filename "thunder.mp3"
```

**Voice isolation:**
```bash
uv run scripts/generate_audio.py --type isolate --audio-url "noisy-recording.mp3" --filename "clean-voice.mp3"
```

**Speech-to-speech (voice conversion):**
```bash
uv run scripts/generate_audio.py --type sts --audio-url "recording.mp3" --voice-id Noah --filename "converted.mp3"
```

**Dubbing:**
```bash
uv run scripts/generate_audio.py --type dub --audio-url "english-narration.mp3" --target-language es --filename "spanish-dub.mp3"
```

## Output

- The script downloads the result and saves it to the specified path
- Script outputs the full path to the saved file

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [runwayml](https://github.com/runwayml)
- **Source:** [runwayml/skills](https://github.com/runwayml/skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-runwayml-skills-rw-generate-audio
- Seller: https://agentstack.voostack.com/s/runwayml
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
