rw-generate-audio
por runwayml
Generar audio usando la API de Runway mediante scripts ejecutables. Soporta TTS, efectos de sonido, aislamiento de voz, doblaje y conversión de voz.
npx skills add https://github.com/runwayml/skills --skill rw-generate-audioGenerate 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
uv run scripts/generate_audio.py --type tts --text "Hello world" --filename "greeting.mp3" [--voice-id ID] [--api-key KEY]
Preflight
command -v uvmust succeedRUNWAYML_API_SECRETmust 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:
uv run scripts/generate_audio.py --type tts --text "Welcome to our product showcase" --filename "voiceover.mp3"
Sound effect:
uv run scripts/generate_audio.py --type sfx --text "Thunder rolling across a stormy sky" --filename "thunder.mp3"
Voice isolation:
uv run scripts/generate_audio.py --type isolate --audio-url "noisy-recording.mp3" --filename "clean-voice.mp3"
Speech-to-speech (voice conversion):
uv run scripts/generate_audio.py --type sts --audio-url "recording.mp3" --voice-id Noah --filename "converted.mp3"
Dubbing:
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
Más skills de runwayml
recipe-full-setup
runwayml
Configuración completa de la API de Runway: verificar compatibilidad, configurar clave de API e integrar endpoints de generación
official
integrate-character-embed
runwayml
Ayuda a los usuarios a integrar llamadas de avatares de Runway Character en aplicaciones React usando el SDK @runwayml/avatars-react
official
integrate-characters
runwayml
Ayuda a los usuarios a crear Runway Characters (avatares GWM-1) e integrar sesiones conversacionales en tiempo real en sus aplicaciones.
official
integrate-documents
runwayml
Ayuda a los usuarios a agregar documentos de la base de conocimiento a Runway Characters para conversaciones específicas de dominio.
official
integrate-image
runwayml
Ayuda a los usuarios a integrar las APIs de generación de imágenes de Runway (texto a imagen con imágenes de referencia)
official
integrate-uploads
runwayml
Ayuda a los usuarios a subir archivos locales a Runway para usarlos como entradas en los modelos de generación.
official
integrate-video
runwayml
Ayuda a los usuarios a integrar las APIs de generación de video de Runway (texto a video, imagen a video, video a video).
official
runway-studio-skills
runwayml
Genera videos, imágenes y audio de calidad de estudio utilizando la API de Runway. Todos los comandos son scripts independientes de Python ejecutados mediante uv run desde el directorio raíz de la skill.
official