Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
Input MP3 audio file
Default: "input.mp3"
Output directory
Default: "./output"
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
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 myaiteam2/mp3towav using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "myaiteam2/mp3towav:69690094f9d53c97bf27183da1764e9f7d93991e950f4d9b6eb507e002e27438", { input: { audio_file: "input.mp3", output_dir: "./output" } } ); 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( "myaiteam2/mp3towav:69690094f9d53c97bf27183da1764e9f7d93991e950f4d9b6eb507e002e27438", input={ "audio_file": "input.mp3", "output_dir": "./output" } ) 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": "myaiteam2/mp3towav:69690094f9d53c97bf27183da1764e9f7d93991e950f4d9b6eb507e002e27438", "input": { "audio_file": "input.mp3", "output_dir": "./output" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
No output yet! Press "Submit" to start a prediction.
Choose a file from your machine
Hint: you can also drag files onto the input