# Music > Real-time voice cloning using deep learning with Mel-spectrograms, Tacotron 2, FastSpeech, and WaveNet delivers high-quality, natural-sounding speech synthesis from minutes of audio. ## Overview - **Model ID**: `music_v1` - **Category**: voice cloning - **Provider**: elevenlabs - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/bec501a8-4124-452e-b795-d7859217a267.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/v7/voice/music-gen` - **Method**: POST ### Parameters - **`prompt`** (required): Prompt for generating audio - Type: textarea - **`model_id`** (required): Model - Type: text ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/voice/music-gen \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "music_v1", "prompt": "Create an intense, fast-paced electronic track for a high-adrenaline video game scene. Use driving synth arpeggios, punchy drums, distorted bass, glitch effects, and aggressive rhythmic textures. The tempo should be fast, 130–150 bpm, with rising tension, quick transitions, and dynamic energy bursts." }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/voice/music-gen", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "music_v1", "prompt": "Create an intense, fast-paced electronic track for a high-adrenaline video game scene. Use driving synth arpeggios, punchy drums, distorted bass, glitch effects, and aggressive rhythmic textures. The tempo should be fast, 130–150 bpm, with rising tension, quick transitions, and dynamic energy bursts." } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/voice/music-gen", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "music_v1", "prompt": "Create an intense, fast-paced electronic track for a high-adrenaline video game scene. Use driving synth arpeggios, punchy drums, distorted bass, glitch effects, and aggressive rhythmic textures. The tempo should be fast, 130–150 bpm, with rising tension, quick transitions, and dynamic energy bursts." }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/music-generation/music_v1) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)