typetext
{
"audio_name": "andrew_huberman",
"youtube_url": "https://www.youtube.com/watch?v=4b6bwcWK6GE"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_T20**********************************
This is your API token. Keep it to yourself.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run zsxkib/create-rvc-dataset using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"zsxkib/create-rvc-dataset:f6593d27ca2570319dc9cbdfda6b81011819e541e9ee1333eda63edc5884445d",
{
input: {
audio_name: "andrew_huberman",
youtube_url: "https://www.youtube.com/watch?v=4b6bwcWK6GE"
}
}
);
// 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.
pip install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_T20**********************************
This is your API token. Keep it to yourself.
import replicate
Run zsxkib/create-rvc-dataset using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"zsxkib/create-rvc-dataset:f6593d27ca2570319dc9cbdfda6b81011819e541e9ee1333eda63edc5884445d",
input={
"audio_name": "andrew_huberman",
"youtube_url": "https://www.youtube.com/watch?v=4b6bwcWK6GE"
}
)
# To access the file URL:
print(output.url())
#=> "http://example.com"
# To write the file to disk:
with open("my-image.png", "wb") as file:
file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_T20**********************************
This is your API token. Keep it to yourself.
Run zsxkib/create-rvc-dataset 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": "zsxkib/create-rvc-dataset:f6593d27ca2570319dc9cbdfda6b81011819e541e9ee1333eda63edc5884445d",
"input": {
"audio_name": "andrew_huberman",
"youtube_url": "https://www.youtube.com/watch?v=4b6bwcWK6GE"
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "34265zbb6kf7shmu3vuskz44oi",
"model": "zsxkib/create-rvc-dataset",
"version": "f6593d27ca2570319dc9cbdfda6b81011819e541e9ee1333eda63edc5884445d",
"input": {
"audio_name": "andrew_huberman",
"youtube_url": "https://www.youtube.com/watch?v=4b6bwcWK6GE"
},
"logs": "[youtube] Extracting URL: https://www.youtube.com/watch?v=4b6bwcWK6GE\n[youtube] 4b6bwcWK6GE: Downloading webpage\n[youtube] 4b6bwcWK6GE: Downloading ios player API JSON\n[youtube] 4b6bwcWK6GE: Downloading android player API JSON\n[youtube] 4b6bwcWK6GE: Downloading m3u8 information\n[info] 4b6bwcWK6GE: Downloading 1 format(s): 251\n[download] Destination: youtubeaudio/andrew_huberman\n[download] 0.0% of 3.74MiB at Unknown B/s ETA Unknown\n[download] 0.1% of 3.74MiB at 1.82MiB/s ETA 00:02\n[download] 0.2% of 3.74MiB at 2.77MiB/s ETA 00:01\n[download] 0.4% of 3.74MiB at 4.12MiB/s ETA 00:00\n[download] 0.8% of 3.74MiB at 3.27MiB/s ETA 00:01\n[download] 1.6% of 3.74MiB at 3.82MiB/s ETA 00:00\n[download] 3.3% of 3.74MiB at 4.15MiB/s ETA 00:00\n[download] 6.7% of 3.74MiB at 6.05MiB/s ETA 00:00\n[download] 13.3% of 3.74MiB at 9.41MiB/s ETA 00:00\n[download] 26.7% of 3.74MiB at 13.75MiB/s ETA 00:00\n[download] 53.4% of 3.74MiB at 25.34MiB/s ETA 00:00\n[download] 100.0% of 3.74MiB at 38.68MiB/s ETA 00:00\n[download] 100% of 3.74MiB in 00:00:00 at 17.54MiB/s\n[ExtractAudio] Destination: youtubeaudio/andrew_huberman.wav\nDeleting original file youtubeaudio/andrew_huberman (pass -k to keep)\nDownloading: \"https://dl.fbaipublicfiles.com/demucs/hybrid_transformer/955717e8-8726e21a.th\" to /root/.cache/torch/hub/checkpoints/955717e8-8726e21a.th\n 0%| | 0.00/80.2M [00:00<?, ?B/s]\n 8%|▊ | 6.13M/80.2M [00:00<00:01, 64.3MB/s]\n 22%|██▏ | 17.8M/80.2M [00:00<00:00, 98.4MB/s]\n 40%|████ | 32.4M/80.2M [00:00<00:00, 123MB/s] \n 60%|██████ | 48.2M/80.2M [00:00<00:00, 140MB/s]\n 77%|███████▋ | 61.6M/80.2M [00:00<00:00, 140MB/s]\n 95%|█████████▌| 76.6M/80.2M [00:00<00:00, 146MB/s]\n100%|██████████| 80.2M/80.2M [00:00<00:00, 135MB/s]\n 0%| | 0.0/263.25 [00:00<?, ?seconds/s]\n 2%|█▌ | 5.85/263.25 [00:07<05:31, 1.29s/seconds]\n 4%|███▏ | 11.7/263.25 [00:07<02:18, 1.81seconds/s]\n 7%|███▊ | 17.549999999999997/263.25 [00:07<01:17, 3.15seconds/s]\n 9%|██████▍ | 23.4/263.25 [00:08<00:49, 4.83seconds/s]\n 11%|███████▉ | 29.25/263.25 [00:08<00:34, 6.84seconds/s]\n 13%|███████▋ | 35.099999999999994/263.25 [00:08<00:25, 9.12seconds/s]\n 16%|█████████ | 40.949999999999996/263.25 [00:08<00:19, 11.60seconds/s]\n 18%|████████████▊ | 46.8/263.25 [00:09<00:15, 14.07seconds/s]\n 20%|██████████████▏ | 52.65/263.25 [00:09<00:12, 16.34seconds/s]\n 22%|████████████████ | 58.5/263.25 [00:09<00:11, 18.53seconds/s]\n 24%|█████████████████▎ | 64.35/263.25 [00:09<00:09, 20.37seconds/s]\n 27%|███████████████▋ | 70.19999999999999/263.25 [00:09<00:08, 21.78seconds/s]\n 29%|████████████████████▌ | 76.05/263.25 [00:10<00:08, 23.01seconds/s]\n 31%|██████████████████▎ | 81.89999999999999/263.25 [00:10<00:07, 23.88seconds/s]\n 33%|███████████████████████▋ | 87.75/263.25 [00:10<00:07, 24.65seconds/s]\n 36%|█████████████████████████▌ | 93.6/263.25 [00:10<00:06, 25.14seconds/s]\n 38%|██████████████████████▎ | 99.44999999999999/263.25 [00:11<00:06, 25.48seconds/s]\n 40%|████████████████████████████▍ | 105.3/263.25 [00:11<00:06, 25.72seconds/s]\n 42%|████████████████████████▍ | 111.14999999999999/263.25 [00:11<00:05, 25.89seconds/s]\n 44%|███████████████████████████████▌ | 117.0/263.25 [00:11<00:05, 26.00seconds/s]\n 47%|████████████████████████████████▋ | 122.85/263.25 [00:11<00:05, 26.01seconds/s]\n 49%|██████████████████████████████████▋ | 128.7/263.25 [00:12<00:05, 26.10seconds/s]\n 51%|█████████████████████████████▋ | 134.54999999999998/263.25 [00:12<00:04, 25.99seconds/s]\n 53%|██████████████████████████████▉ | 140.39999999999998/263.25 [00:12<00:04, 26.06seconds/s]\n 56%|██████████████████████████████████████▉ | 146.25/263.25 [00:12<00:04, 26.18seconds/s]\n 58%|█████████████████████████████████████████ | 152.1/263.25 [00:13<00:04, 26.14seconds/s]\n 60%|██████████████████████████████████████████ | 157.95/263.25 [00:13<00:04, 26.20seconds/s]\n 62%|████████████████████████████████████ | 163.79999999999998/263.25 [00:13<00:03, 26.25seconds/s]\n 64%|█████████████████████████████████████▍ | 169.64999999999998/263.25 [00:13<00:03, 26.03seconds/s]\n 67%|███████████████████████████████████████████████▎ | 175.5/263.25 [00:14<00:03, 26.09seconds/s]\n 69%|████████████████████████████████████████████████▏ | 181.35/263.25 [00:14<00:03, 26.09seconds/s]\n 71%|██████████████████████████████████████████████████▍ | 187.2/263.25 [00:14<00:02, 26.24seconds/s]\n 73%|██████████████████████████████████████████▌ | 193.04999999999998/263.25 [00:14<00:02, 26.35seconds/s]\n 76%|███████████████████████████████████████████▊ | 198.89999999999998/263.25 [00:14<00:02, 26.32seconds/s]\n 78%|██████████████████████████████████████████████████████▍ | 204.75/263.25 [00:15<00:02, 26.37seconds/s]\n 80%|████████████████████████████████████████████████████████▊ | 210.6/263.25 [00:15<00:01, 26.42seconds/s]\n 82%|█████████████████████████████████████████████████████████▌ | 216.45/263.25 [00:15<00:01, 26.38seconds/s]\n 84%|████████████████████████████████████████████████▉ | 222.29999999999998/263.25 [00:15<00:01, 26.35seconds/s]\n 87%|██████████████████████████████████████████████████▎ | 228.14999999999998/263.25 [00:16<00:01, 26.37seconds/s]\n 89%|███████████████████████████████████████████████████████████████ | 234.0/263.25 [00:16<00:01, 26.20seconds/s]\n 91%|███████████████████████████████████████████████████████████████▊ | 239.85/263.25 [00:16<00:00, 26.18seconds/s]\n 93%|██████████████████████████████████████████████████████████████████▎ | 245.7/263.25 [00:16<00:00, 26.16seconds/s]\n 96%|███████████████████████████████████████████████████████▍ | 251.54999999999998/263.25 [00:16<00:00, 26.18seconds/s]\n 98%|█████████████████████████████████████████████████████████████████████▍ | 257.4/263.25 [00:17<00:00, 26.22seconds/s]\n100%|██████████████████████████████████████████████████████████████████████| 263.25/263.25 [00:17<00:00, 26.22seconds/s]\n100%|██████████████████████████████████████████████████████████████████████| 263.25/263.25 [00:17<00:00, 15.18seconds/s]\n\u001b[1mImportant: the default model was recently changed to `htdemucs`\u001b[0m the latest Hybrid Transformer Demucs model. In some cases, this model can actually perform worse than previous models. To get back the old default model use `-n mdx_extra_q`.\nSelected model is a bag of 1 models. You will see that many progress bars per track.\nSeparated tracks will be stored in /src/separated/htdemucs\nSeparating track youtubeaudio/andrew_huberman.wav",
"output": "https://replicate.delivery/pbxt/AhBrdyHw22Z5LxeevsMkyBvcJrXdzDtuufKSku35CUVSRn0jA/dataset_andrew_huberman.zip",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2023-11-20T16:18:50.389924Z",
"started_at": "2023-11-20T16:23:30.410151Z",
"completed_at": "2023-11-20T16:24:10.888049Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/34265zbb6kf7shmu3vuskz44oi/cancel",
"get": "https://api.replicate.com/v1/predictions/34265zbb6kf7shmu3vuskz44oi"
},
"metrics": {
"predict_time": 40.477898,
"total_time": 320.498125
}
}