Loading...
Loading...
Compare original and translation side by side
uv run scripts/generate_audio.py --type tts --text "Hello world" --filename "greeting.mp3" [--voice-id ID] [--api-key KEY]uv 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-keycommand -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 |
| 参数 | 描述 | 默认值 |
|---|---|---|
| 音频类型(必填):tts、sfx、isolate、dub、sts | -- |
| 输出文件名(必填) | -- |
| 文本输入(适用于tts和sfx类型) | -- |
| 音频URL或本地路径(适用于isolate、dub、sts类型) | -- |
| 预设语音(适用于tts和sts类型,例如Maya、Noah、Leslie) | Maya |
| 语言代码(适用于dub类型,例如"es") | -- |
| 输出目录 | 当前工作目录(cwd) |
| Runway API密钥 | 环境变量 |
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"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"