Loading...
Loading...
Generate audio using the Runway API via runnable scripts. Supports TTS, sound effects, voice isolation, dubbing, and voice conversion.
npx skill4agent add runwayml/skills rw-generate-audiouv run scripts/generate_audio.py --type tts --text "Hello world" --filename "greeting.mp3" [--voice-id ID] [--api-key KEY]command -v uvRUNWAYML_API_SECRET--api-key| Type | Description | Required Args |
|---|---|---|
| Text to speech | |
| Sound effect generation | |
| Isolate voice from audio | |
| Dub to another language | |
| Voice conversion | |
| Param | Description | Default |
|---|---|---|
| Audio type (required): tts, sfx, isolate, dub, sts | -- |
| Output filename (required) | -- |
| Text input (for tts and sfx) | -- |
| Audio URL or local path (for isolate, dub, sts) | -- |
| Voice preset (for tts and sts, e.g. Maya, Noah, Leslie) | Maya |
| Language code (for dub, e.g. "es") | -- |
| Output directory | cwd |
| Runway API key | env |
uv run scripts/generate_audio.py --type tts --text "Welcome to our product showcase" --filename "voiceover.mp3"uv run scripts/generate_audio.py --type sfx --text "Thunder rolling across a stormy sky" --filename "thunder.mp3"uv run scripts/generate_audio.py --type isolate --audio-url "noisy-recording.mp3" --filename "clean-voice.mp3"uv run scripts/generate_audio.py --type sts --audio-url "recording.mp3" --voice-id Noah --filename "converted.mp3"uv run scripts/generate_audio.py --type dub --audio-url "english-narration.mp3" --target-language es --filename "spanish-dub.mp3"