Skip to main content
Glama

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

NameRequiredDescriptionDefault
audio_file_pathYes
voice_idYes
similarityNo
remove_background_noiseNo
output_dirNo

Input Schema (JSON Schema)

{ "properties": { "audio_file_path": { "title": "Audio File Path", "type": "string" }, "output_dir": { "default": null, "title": "Output Dir", "type": "string" }, "remove_background_noise": { "default": false, "title": "Remove Background Noise", "type": "boolean" }, "similarity": { "default": 1, "title": "Similarity", "type": "number" }, "voice_id": { "title": "Voice Id", "type": "string" } }, "required": [ "audio_file_path", "voice_id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/allvoicelab/AllVoiceLab-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server