This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
{ "mix": "https://replicate.delivery/mgxm/790f7219-e444-4df4-b846-4d75c1489764/mix.mp3" }
npm install replicate
import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run bfirsh/wave-u-net-pytorch using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "bfirsh/wave-u-net-pytorch:d7fbb855836140944196fca2158d60430039e1d075246a99b6739e51631d9016", { input: { mix: "https://replicate.delivery/mgxm/790f7219-e444-4df4-b846-4d75c1489764/mix.mp3" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
import replicate
output = replicate.run( "bfirsh/wave-u-net-pytorch:d7fbb855836140944196fca2158d60430039e1d075246a99b6739e51631d9016", input={ "mix": "https://replicate.delivery/mgxm/790f7219-e444-4df4-b846-4d75c1489764/mix.mp3" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "bfirsh/wave-u-net-pytorch:d7fbb855836140944196fca2158d60430039e1d075246a99b6739e51631d9016", "input": { "mix": "https://replicate.delivery/mgxm/790f7219-e444-4df4-b846-4d75c1489764/mix.mp3" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
bass
drums
other
vocals
{ "completed_at": "2022-03-01T22:37:14.998593Z", "created_at": "2022-03-01T22:35:57.678493Z", "data_removed": false, "error": null, "id": "pjjkjoc4l5bhhgvee6rbrfw2ra", "input": { "mix": "https://replicate.delivery/mgxm/790f7219-e444-4df4-b846-4d75c1489764/mix.mp3" }, "logs": "/usr/local/lib/python3.7/site-packages/librosa/core/audio.py:165: UserWarning: PySoundFile failed. Trying audioread instead.\n warnings.warn(\"PySoundFile failed. Trying audioread instead.\")", "metrics": { "predict_time": 37.10015, "total_time": 77.3201 }, "output": { "bass": "https://replicate.delivery/mgxm/34d3a100-e746-4d64-bae6-e74da997506e/bass.wav", "drums": "https://replicate.delivery/mgxm/2db348aa-bf02-4c61-86d5-22e074006c9f/drums.wav", "other": "https://replicate.delivery/mgxm/b446b957-137b-477b-b664-b9b67f70e98c/other.wav", "vocals": "https://replicate.delivery/mgxm/c710256f-279a-45ca-ad61-a5346fe06c6b/vocals.wav" }, "started_at": "2022-03-01T22:36:37.898443Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/pjjkjoc4l5bhhgvee6rbrfw2ra", "cancel": "https://api.replicate.com/v1/predictions/pjjkjoc4l5bhhgvee6rbrfw2ra/cancel" }, "version": "d7fbb855836140944196fca2158d60430039e1d075246a99b6739e51631d9016" }
/usr/local/lib/python3.7/site-packages/librosa/core/audio.py:165: UserWarning: PySoundFile failed. Trying audioread instead. warnings.warn("PySoundFile failed. Trying audioread instead.")
Want to make some of these yourself?
Colab version of AI Dungeon
Generates bfirshes
Stitches videos together
Classifies images with ResNet-50
Generates images with VQGAN and CLIP
Tells the weather, given the name of a city
This model is cold. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
This model runs on CPU. View more.