ttsds / openvoice_2
(Updated 4 months, 2 weeks ago)
- Public
- 758 runs
Prediction
ttsds/openvoice_2:795fe9c3fc9d3d4cfac1ca97d8c8d33b522b42068daec53ab3c74f775dd506c8IDvvr8c6x9p9rj40cmqkfvdmamfmStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- text
- With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.
- language
- en
- speaker_reference
- Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%00:00:000Stream Type LIVERemaining Time -00:00:0001x
- 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.
{ "text": "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "language": "en", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run ttsds/openvoice_2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "ttsds/openvoice_2:795fe9c3fc9d3d4cfac1ca97d8c8d33b522b42068daec53ab3c74f775dd506c8", { input: { text: "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", language: "en", speaker_reference: "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run ttsds/openvoice_2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "ttsds/openvoice_2:795fe9c3fc9d3d4cfac1ca97d8c8d33b522b42068daec53ab3c74f775dd506c8", input={ "text": "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "language": "en", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run ttsds/openvoice_2 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": "ttsds/openvoice_2:795fe9c3fc9d3d4cfac1ca97d8c8d33b522b42068daec53ab3c74f775dd506c8", "input": { "text": "With tenure, Suzie\'d have all the more leisure for yachting, but her publications are no good.", "language": "en", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
Video Player is loading.Current Time 00:00:000/Duration 00:00:000Loaded: 0%00:00:000Stream Type LIVERemaining Time -00:00:0001x- 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": "2025-01-31T15:00:22.777377Z", "created_at": "2025-01-31T14:59:22.162000Z", "data_removed": false, "error": null, "id": "vvr8c6x9p9rj40cmqkfvdmamfm", "input": { "text": "With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.", "language": "en", "speaker_reference": "https://replicate.delivery/pbxt/MNFXdPaUPOwYCZjZM4azsymbzE2TCV2WJXfGpeV2DrFWaSq8/example_en.wav" }, "logs": "OpenVoice version: v2\n/root/.pyenv/versions/3.10.16/lib/python3.10/site-packages/torch/hub.py:267: UserWarning: You are about to download and run code from an untrusted repository. In a future release, this won't be allowed. To add the repository to your trusted list, change the command to {calling_fn}(..., trust_repo=False) and a command prompt will appear asking for an explicit confirmation of trust, or load(..., trust_repo=True), which will assume that the prompt is to be answered with 'yes'. You can also use load(..., trust_repo='check') which will only prompt for confirmation if the repo is not already trusted. This will eventually be the default behaviour\nwarnings.warn(\nDownloading: \"https://github.com/snakers4/silero-vad/zipball/master\" to /root/.cache/torch/hub/master.zip\n[(0.0, 3.4)]\nafter vad: dur = 3.4\n> Text split to sentences.\nWith tenure, Suzie'd have all the more leisure for yachting, but her publications are no good.\n> ===========================\n 0%| | 0/1 [00:00<?, ?it/s]\nDownloading pytorch_model.bin: 0%| | 0.00/440M [00:00<?, ?B/s]\u001b[A\nDownloading pytorch_model.bin: 7%|▋ | 31.5M/440M [00:00<00:01, 230MB/s]\u001b[A\nDownloading pytorch_model.bin: 14%|█▍ | 62.9M/440M [00:00<00:01, 240MB/s]\u001b[A\nDownloading pytorch_model.bin: 21%|██▏ | 94.4M/440M [00:00<00:01, 232MB/s]\u001b[A\nDownloading pytorch_model.bin: 29%|██▊ | 126M/440M [00:00<00:01, 231MB/s] \u001b[A\nDownloading pytorch_model.bin: 36%|███▌ | 157M/440M [00:00<00:01, 229MB/s]\u001b[A\nDownloading pytorch_model.bin: 43%|████▎ | 189M/440M [00:00<00:01, 224MB/s]\u001b[A\nDownloading pytorch_model.bin: 50%|████▉ | 220M/440M [00:00<00:00, 228MB/s]\u001b[A\nDownloading pytorch_model.bin: 57%|█████▋ | 252M/440M [00:01<00:00, 231MB/s]\u001b[A\nDownloading pytorch_model.bin: 64%|██████▍ | 283M/440M [00:01<00:00, 226MB/s]\u001b[A\nDownloading pytorch_model.bin: 71%|███████▏ | 315M/440M [00:01<00:00, 227MB/s]\u001b[A\nDownloading pytorch_model.bin: 79%|███████▊ | 346M/440M [00:01<00:00, 230MB/s]\u001b[A\nDownloading pytorch_model.bin: 86%|████████▌ | 377M/440M [00:01<00:00, 232MB/s]\u001b[A\nDownloading pytorch_model.bin: 93%|█████████▎| 409M/440M [00:01<00:00, 231MB/s]\u001b[A\nDownloading pytorch_model.bin: 100%|█████████▉| 440M/440M [00:01<00:00, 228MB/s]\u001b[A\nDownloading pytorch_model.bin: 100%|██████████| 440M/440M [00:01<00:00, 229MB/s]\nSome weights of the model checkpoint at bert-base-uncased were not used when initializing BertForMaskedLM: ['cls.seq_relationship.weight', 'cls.seq_relationship.bias']\n- This IS expected if you are initializing BertForMaskedLM from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).\n- This IS NOT expected if you are initializing BertForMaskedLM from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).\n100%|██████████| 1/1 [00:04<00:00, 4.15s/it]\n100%|██████████| 1/1 [00:04<00:00, 4.15s/it]", "metrics": { "predict_time": 7.362222871, "total_time": 60.615377 }, "output": "https://replicate.delivery/yhqm/NOUUR440FzLsP9LDwx34nlDGNLfZVKYUE8djKofM4poGeSVoA/output.wav", "started_at": "2025-01-31T15:00:15.415154Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/yswh-uc7knqtbixe6bq6trhp2ivw2vc7e33zkt26qpbep2bruwcfavqrq", "get": "https://api.replicate.com/v1/predictions/vvr8c6x9p9rj40cmqkfvdmamfm", "cancel": "https://api.replicate.com/v1/predictions/vvr8c6x9p9rj40cmqkfvdmamfm/cancel" }, "version": "795fe9c3fc9d3d4cfac1ca97d8c8d33b522b42068daec53ab3c74f775dd506c8" }
Generated inOpenVoice version: v2 /root/.pyenv/versions/3.10.16/lib/python3.10/site-packages/torch/hub.py:267: UserWarning: You are about to download and run code from an untrusted repository. In a future release, this won't be allowed. To add the repository to your trusted list, change the command to {calling_fn}(..., trust_repo=False) and a command prompt will appear asking for an explicit confirmation of trust, or load(..., trust_repo=True), which will assume that the prompt is to be answered with 'yes'. You can also use load(..., trust_repo='check') which will only prompt for confirmation if the repo is not already trusted. This will eventually be the default behaviour warnings.warn( Downloading: "https://github.com/snakers4/silero-vad/zipball/master" to /root/.cache/torch/hub/master.zip [(0.0, 3.4)] after vad: dur = 3.4 > Text split to sentences. With tenure, Suzie'd have all the more leisure for yachting, but her publications are no good. > =========================== 0%| | 0/1 [00:00<?, ?it/s] Downloading pytorch_model.bin: 0%| | 0.00/440M [00:00<?, ?B/s] Downloading pytorch_model.bin: 7%|▋ | 31.5M/440M [00:00<00:01, 230MB/s] Downloading pytorch_model.bin: 14%|█▍ | 62.9M/440M [00:00<00:01, 240MB/s] Downloading pytorch_model.bin: 21%|██▏ | 94.4M/440M [00:00<00:01, 232MB/s] Downloading pytorch_model.bin: 29%|██▊ | 126M/440M [00:00<00:01, 231MB/s] Downloading pytorch_model.bin: 36%|███▌ | 157M/440M [00:00<00:01, 229MB/s] Downloading pytorch_model.bin: 43%|████▎ | 189M/440M [00:00<00:01, 224MB/s] Downloading pytorch_model.bin: 50%|████▉ | 220M/440M [00:00<00:00, 228MB/s] Downloading pytorch_model.bin: 57%|█████▋ | 252M/440M [00:01<00:00, 231MB/s] Downloading pytorch_model.bin: 64%|██████▍ | 283M/440M [00:01<00:00, 226MB/s] Downloading pytorch_model.bin: 71%|███████▏ | 315M/440M [00:01<00:00, 227MB/s] Downloading pytorch_model.bin: 79%|███████▊ | 346M/440M [00:01<00:00, 230MB/s] Downloading pytorch_model.bin: 86%|████████▌ | 377M/440M [00:01<00:00, 232MB/s] Downloading pytorch_model.bin: 93%|█████████▎| 409M/440M [00:01<00:00, 231MB/s] Downloading pytorch_model.bin: 100%|█████████▉| 440M/440M [00:01<00:00, 228MB/s] Downloading pytorch_model.bin: 100%|██████████| 440M/440M [00:01<00:00, 229MB/s] Some weights of the model checkpoint at bert-base-uncased were not used when initializing BertForMaskedLM: ['cls.seq_relationship.weight', 'cls.seq_relationship.bias'] - This IS expected if you are initializing BertForMaskedLM from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model). - This IS NOT expected if you are initializing BertForMaskedLM from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model). 100%|██████████| 1/1 [00:04<00:00, 4.15s/it] 100%|██████████| 1/1 [00:04<00:00, 4.15s/it]
Want to make some of these yourself?
Run this model