rw-generate-audio
द्वारा runwayml
Runway API का उपयोग करके रन करने योग्य स्क्रिप्ट के माध्यम से ऑडियो जनरेट करें। TTS, ध्वनि प्रभाव, आवाज पृथक्करण, डबिंग और आवाज रूपांतरण का समर्थन करता है।
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
runwayml की और Skills
recipe-full-setup
runwayml
रनवे API का पूर्ण सेटअप: संगतता जांचें, API कुंजी कॉन्फ़िगर करें, और जनरेशन एंडपॉइंट्स को एकीकृत करें
official
integrate-character-embed
runwayml
उपयोगकर्ताओं को @runwayml/avatars-react SDK का उपयोग करके React ऐप्स में Runway Character अवतार कॉल्स एम्बेड करने में सहायता करें।
official
integrate-characters
runwayml
उपयोगकर्ताओं को Runway Characters (GWM-1 अवतार) बनाने और अपने ऐप्स में रीयल-टाइम संवाद सत्रों को एकीकृत करने में सहायता करें
official
integrate-documents
runwayml
उपयोगकर्ताओं को डोमेन-विशिष्ट वार्तालापों के लिए Runway Characters में ज्ञानकोष दस्तावेज़ जोड़ने में सहायता करें
official
integrate-image
runwayml
उपयोगकर्ताओं को Runway इमेज जनरेशन API (संदर्भ छवियों के साथ टेक्स्ट-टू-इमेज) को एकीकृत करने में सहायता करें।
official
integrate-uploads
runwayml
उपयोगकर्ताओं को जनरेशन मॉडल में इनपुट के रूप में उपयोग करने के लिए स्थानीय फ़ाइलों को Runway पर अपलोड करने में सहायता करें
official
integrate-video
runwayml
उपयोगकर्ताओं को Runway वीडियो जनरेशन APIs (टेक्स्ट-टू-वीडियो, इमेज-टू-वीडियो, वीडियो-टू-वीडियो) को एकीकृत करने में सहायता करें
official
runway-studio-skills
runwayml
Runway API का उपयोग करके स्टूडियो-गुणवत्ता वाले वीडियो, चित्र और ऑडियो जनरेट करें। सभी कमांड स्टैंडअलोन Python स्क्रिप्ट हैं जो skill रूट डायरेक्टरी से uv run के माध्यम से चलाई जाती हैं।
official