You're looking at a specific version of this model. Jump to the model overview.
zsxkib /realistic-voice-cloning:0a9c7c55
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run zsxkib/realistic-voice-cloning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"zsxkib/realistic-voice-cloning:0a9c7c558af4c0f20667c1bd1260ce32a2879944a0b9e44e1398660c077b1550",
{
input: {
protect: 0.33,
rvc_model: "Squidward",
index_rate: 0.5,
song_input: "https://replicate.delivery/pbxt/JsPIizFfRy54Jk5LuXdnrNdV1JHJ6oLmPPdRuIfh3lvpoNai/gangnam.mp3",
reverb_size: 0.15,
pitch_change: "no-change",
rms_mix_rate: 0.25,
filter_radius: 3,
output_format: "mp3",
reverb_damping: 0.7,
reverb_dryness: 0.8,
reverb_wetness: 0.2,
crepe_hop_length: 128,
pitch_change_all: 0,
main_vocals_volume_change: 10,
pitch_detection_algorithm: "rmvpe",
instrumental_volume_change: 0,
backup_vocals_volume_change: 0
}
}
);
console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run zsxkib/realistic-voice-cloning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"zsxkib/realistic-voice-cloning:0a9c7c558af4c0f20667c1bd1260ce32a2879944a0b9e44e1398660c077b1550",
input={
"protect": 0.33,
"rvc_model": "Squidward",
"index_rate": 0.5,
"song_input": "https://replicate.delivery/pbxt/JsPIizFfRy54Jk5LuXdnrNdV1JHJ6oLmPPdRuIfh3lvpoNai/gangnam.mp3",
"reverb_size": 0.15,
"pitch_change": "no-change",
"rms_mix_rate": 0.25,
"filter_radius": 3,
"output_format": "mp3",
"reverb_damping": 0.7,
"reverb_dryness": 0.8,
"reverb_wetness": 0.2,
"crepe_hop_length": 128,
"pitch_change_all": 0,
"main_vocals_volume_change": 10,
"pitch_detection_algorithm": "rmvpe",
"instrumental_volume_change": 0,
"backup_vocals_volume_change": 0
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run zsxkib/realistic-voice-cloning using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"version": "0a9c7c558af4c0f20667c1bd1260ce32a2879944a0b9e44e1398660c077b1550",
"input": {
"protect": 0.33,
"rvc_model": "Squidward",
"index_rate": 0.5,
"song_input": "https://replicate.delivery/pbxt/JsPIizFfRy54Jk5LuXdnrNdV1JHJ6oLmPPdRuIfh3lvpoNai/gangnam.mp3",
"reverb_size": 0.15,
"pitch_change": "no-change",
"rms_mix_rate": 0.25,
"filter_radius": 3,
"output_format": "mp3",
"reverb_damping": 0.7,
"reverb_dryness": 0.8,
"reverb_wetness": 0.2,
"crepe_hop_length": 128,
"pitch_change_all": 0,
"main_vocals_volume_change": 10,
"pitch_detection_algorithm": "rmvpe",
"instrumental_volume_change": 0,
"backup_vocals_volume_change": 0
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/zsxkib/realistic-voice-cloning@sha256:0a9c7c558af4c0f20667c1bd1260ce32a2879944a0b9e44e1398660c077b1550 \
-i 'protect=0.33' \
-i 'rvc_model="Squidward"' \
-i 'index_rate=0.5' \
-i 'song_input="https://replicate.delivery/pbxt/JsPIizFfRy54Jk5LuXdnrNdV1JHJ6oLmPPdRuIfh3lvpoNai/gangnam.mp3"' \
-i 'reverb_size=0.15' \
-i 'pitch_change="no-change"' \
-i 'rms_mix_rate=0.25' \
-i 'filter_radius=3' \
-i 'output_format="mp3"' \
-i 'reverb_damping=0.7' \
-i 'reverb_dryness=0.8' \
-i 'reverb_wetness=0.2' \
-i 'crepe_hop_length=128' \
-i 'pitch_change_all=0' \
-i 'main_vocals_volume_change=10' \
-i 'pitch_detection_algorithm="rmvpe"' \
-i 'instrumental_volume_change=0' \
-i 'backup_vocals_volume_change=0'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/zsxkib/realistic-voice-cloning@sha256:0a9c7c558af4c0f20667c1bd1260ce32a2879944a0b9e44e1398660c077b1550
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "protect": 0.33, "rvc_model": "Squidward", "index_rate": 0.5, "song_input": "https://replicate.delivery/pbxt/JsPIizFfRy54Jk5LuXdnrNdV1JHJ6oLmPPdRuIfh3lvpoNai/gangnam.mp3", "reverb_size": 0.15, "pitch_change": "no-change", "rms_mix_rate": 0.25, "filter_radius": 3, "output_format": "mp3", "reverb_damping": 0.7, "reverb_dryness": 0.8, "reverb_wetness": 0.2, "crepe_hop_length": 128, "pitch_change_all": 0, "main_vocals_volume_change": 10, "pitch_detection_algorithm": "rmvpe", "instrumental_volume_change": 0, "backup_vocals_volume_change": 0 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Add a payment method to run this model.
Each run costs approximately $0.045. Alternatively, try out our featured models for free.
By signing in, you agree to our
terms of service and privacy policy
Output
- Chapters
- descriptions off, selected
- captions settings, opens captions settings dialog
- captions off, selected
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
{
"completed_at": "2023-11-14T16:52:22.833233Z",
"created_at": "2023-11-14T16:52:20.000859Z",
"data_removed": false,
"error": null,
"id": "opfbdorbymurmp2ykemgwe23qa",
"input": {
"protect": 0.33,
"rvc_model": "Squidward",
"index_rate": 0.5,
"song_input": "https://replicate.delivery/pbxt/JsPIizFfRy54Jk5LuXdnrNdV1JHJ6oLmPPdRuIfh3lvpoNai/gangnam.mp3",
"reverb_size": 0.15,
"pitch_change": "no-change",
"rms_mix_rate": 0.25,
"filter_radius": 3,
"output_format": "mp3",
"reverb_damping": 0.7,
"reverb_dryness": 0.8,
"reverb_wetness": 0.2,
"crepe_hop_length": 128,
"pitch_change_all": 0,
"main_vocals_volume_change": 10,
"pitch_detection_algorithm": "rmvpe",
"instrumental_volume_change": 0,
"backup_vocals_volume_change": 0
},
"logs": "[~] Starting AI Cover Generation Pipeline...\n[~] Applying audio effects to Vocals...\n[~] Combining AI Vocals and Instrumentals...\n[~] Removing intermediate audio files...\n[+] Cover generated at /src/song_output/d0386572142/tmp11cudxj_gangnam (Squidward Ver).mp3",
"metrics": {
"predict_time": 2.811273,
"total_time": 2.832374
},
"output": "https://replicate.delivery/pbxt/TqYjsueAmlVePUapV0rf7MCDCDBfAJxhw2aE5euzA6Gw4rCPC/tmp11cudxj_gangnam%20%28Squidward%20Ver%29.mp3",
"started_at": "2023-11-14T16:52:20.021960Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/opfbdorbymurmp2ykemgwe23qa",
"cancel": "https://api.replicate.com/v1/predictions/opfbdorbymurmp2ykemgwe23qa/cancel"
},
"version": "a0076ea13a704d9fa6d02535bc8951d3b141c84dc95d2d3f2f5016eabfcb8d94"
}
[~] Starting AI Cover Generation Pipeline...
[~] Applying audio effects to Vocals...
[~] Combining AI Vocals and Instrumentals...
[~] Removing intermediate audio files...
[+] Cover generated at /src/song_output/d0386572142/tmp11cudxj_gangnam (Squidward Ver).mp3
This example was created by a different version, zsxkib/realistic-voice-cloning:a0076ea1.