speech_to_speech
Transform speech in an audio file to a different target voice, with optional background noise removal.
Instructions
Voice changer: transform speech in an audio file to a target voice.
Args: audio_file_path: path to the source audio file. voice_id: target voice id (defaults to the configured default voice). model_id: STS model id (default "eleven_multilingual_sts_v2"). output_format: audio output format. remove_background_noise: strip background noise before conversion. output_filename: optional output file name.
Returns the absolute path of the converted audio file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | No | ||
| voice_id | No | ||
| output_format | No | mp3_44100_128 | |
| audio_file_path | Yes | ||
| output_filename | No | ||
| remove_background_noise | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |