speech_to_speech
Convert audio files to different voices while preserving speech content. Supports MP3 and WAV formats up to 50MB, with options for voice similarity and background noise removal.
Instructions
[AllVoiceLab Tool] Convert audio to another voice while preserving speech content.
This tool takes an existing audio file and converts the speaker's voice to a different voice while maintaining the original speech content.
Args:
audio_file_path: Path to the source audio file. Only MP3 and WAV formats are supported. Maximum file size: 50MB.
voice_id: Voice ID to use for the conversion. Required. Must be a valid voice ID from the available voices (use get_voices tool to retrieve).
similarity: Voice similarity factor, range [0, 1], where 0 is least similar and 1 is most similar to the original voice characteristics. Default value is 1.
remove_background_noise: Whether to remove background noise from the source audio before conversion. Default is False.
output_dir: Output directory for the generated audio file. Default is user's desktop.
Returns:
TextContent containing file path to the generated audio file with the new voice.
Limitations:
- Only MP3 and WAV formats are supported
- Maximum file size: 50MB
- File must exist and be accessible
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_file_path | Yes | ||
| voice_id | Yes | ||
| similarity | No | ||
| remove_background_noise | No | ||
| output_dir | No |