# Voice isolation > Voice isolation technology enhances voice cloning by filtering background noise and echo, enabling clear, real-time replication of vocal nuances using deep learning models with Mel-Spectrograms and neural networks like Tacotron 2 and WaveNet for high-fidelity speech synthesis. ## Overview - **Model ID**: `vocal_isolator` - **Category**: voice cloning - **Provider**: modelslab - **Source Type**: Open Source Model - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.ai/generations/a898df5a-3208-4792-978f-c4bc36d9e4c8.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v6/voice/vocal_isolator` - **Method**: POST ### Parameters - **`init_video`** (required): Upload either audio or video for the one you want to remove background noise - Type: file ("audio/mp3,audio/wav,audio/mp4") - Example: Upload audio (Optional) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/voice/vocal_isolator \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "vocal_isolator", "init_video": "https://assets.modelslab.ai/generations/a85db55c-dca2-415c-97a5-51192916e61b.mp3" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/voice/vocal_isolator", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "vocal_isolator", "init_video": "https://assets.modelslab.ai/generations/a85db55c-dca2-415c-97a5-51192916e61b.mp3" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/voice/vocal_isolator", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "vocal_isolator", "init_video": "https://assets.modelslab.ai/generations/a85db55c-dca2-415c-97a5-51192916e61b.mp3" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Integration Options ### CLI Install: `curl -fsSL https://modelslab.sh/install.sh | sh` or `brew install modelslab/tap/modelslab` ```bash modelslab auth login # Authenticate modelslab models search "vocal_isolator" # Find this model modelslab models detail --id vocal_isolator # Get model details modelslab generate image --prompt "..." --model vocal_isolator # Generate with model modelslab config set generation.default_model vocal_isolator # Set as default ``` - Website: https://modelslab.sh - GitHub: https://github.com/ModelsLab/modelslab-cli ### MCP Servers (Model Context Protocol) For Claude Code, Cursor, VS Code, Windsurf, and any MCP-compatible agent. - Generation: `https://modelslab.com/mcp/v7` (API key auth, 23 tools) - Agent Control Plane: `https://modelslab.com/mcp/agents` (Bearer token auth, 10 tools) Claude Code config (`~/.claude/settings.json`): ```json { "mcpServers": { "modelslab-v7": { "url": "https://modelslab.com/mcp/v7", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } } ``` - Documentation: https://docs.modelslab.com/mcp-web-api/overview ### Agent Skills Install skill files directly into AI coding agents: ```bash npx skills add modelslab/skills --all # All skills npx skills add modelslab/skills --skill image-generation # Specific skill npx skills add modelslab/skills --all -a claude-code -a cursor # Target agents ``` - GitHub: https://github.com/ModelsLab/skills - Documentation: https://docs.modelslab.com/agent-skills ### SDKs - Python: `pip install modelslab` - TypeScript: `npm install modelslab` - PHP: `composer require modelslab/modelslab` - Go: `go get github.com/modelslab/modelslab-go` - Dart: `dart pub add modelslab` ## Links - [Model Playground](https://modelslab.com/models/vocal_isolator_audio/vocal_isolator) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)