typefile
{
"audio": "https://replicate.delivery/pbxt/NXETjIsdb1KQhXL75czKaYVFtF9JQnfUYQjtkbQpifjKwMTV/replicate-prediction-xtpm07vht5rma0crhbxb37m5tr.mp3",
"bass_boost": 0,
"bitrate": "192k",
"noise_reduction": false,
"normalize": true,
"output_format": "mp3",
"treble_boost": 0,
"volume_boost": 6
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_RZQ**********************************
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 lucataco/audio-boost using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
audio: "https://replicate.delivery/pbxt/NXETjIsdb1KQhXL75czKaYVFtF9JQnfUYQjtkbQpifjKwMTV/replicate-prediction-xtpm07vht5rma0crhbxb37m5tr.mp3",
bass_boost: 0,
bitrate: "192k",
noise_reduction: false,
normalize: true,
output_format: "mp3",
treble_boost: 0,
volume_boost: 6
};
const output = await replicate.run("lucataco/audio-boost", { input });
// 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_RZQ**********************************
This is your API token. Keep it to yourself.
import replicate
Run lucataco/audio-boost using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"lucataco/audio-boost",
input={
"audio": "https://replicate.delivery/pbxt/NXETjIsdb1KQhXL75czKaYVFtF9JQnfUYQjtkbQpifjKwMTV/replicate-prediction-xtpm07vht5rma0crhbxb37m5tr.mp3",
"bass_boost": 0,
"bitrate": "192k",
"noise_reduction": False,
"normalize": True,
"output_format": "mp3",
"treble_boost": 0,
"volume_boost": 6
}
)
# 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_RZQ**********************************
This is your API token. Keep it to yourself.
Run lucataco/audio-boost 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 $'{
"input": {
"audio": "https://replicate.delivery/pbxt/NXETjIsdb1KQhXL75czKaYVFtF9JQnfUYQjtkbQpifjKwMTV/replicate-prediction-xtpm07vht5rma0crhbxb37m5tr.mp3",
"bass_boost": 0,
"bitrate": "192k",
"noise_reduction": false,
"normalize": true,
"output_format": "mp3",
"treble_boost": 0,
"volume_boost": 6
}
}' \
https://api.replicate.com/v1/models/lucataco/audio-boost/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "7bq8g3sbe5rmc0crn6faghqfa8",
"model": "lucataco/audio-boost",
"version": "hidden",
"input": {
"audio": "https://replicate.delivery/pbxt/NXETjIsdb1KQhXL75czKaYVFtF9JQnfUYQjtkbQpifjKwMTV/replicate-prediction-xtpm07vht5rma0crhbxb37m5tr.mp3",
"bass_boost": 0,
"bitrate": "192k",
"noise_reduction": false,
"normalize": true,
"output_format": "mp3",
"treble_boost": 0,
"volume_boost": 6
},
"logs": "",
"output": "https://replicate.delivery/xezq/H8DF8bWtMgYSIpkHZGvU3pniWnTMCfrtxArsReamv9R048KVA/tmpg0my6rh0.mp3",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-08-14T17:26:12.081Z",
"started_at": "2025-08-14T17:26:12.411225Z",
"completed_at": "2025-08-14T17:26:12.601434Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/7bq8g3sbe5rmc0crn6faghqfa8/cancel",
"children": "https://api.replicate.com/v1/predictions/7bq8g3sbe5rmc0crn6faghqfa8/children",
"get": "https://api.replicate.com/v1/predictions/7bq8g3sbe5rmc0crn6faghqfa8",
"root": "https://api.replicate.com/v1/predictions/7bq8g3sbe5rmc0crn6faghqfa8",
"stream": "https://stream.replicate.com/v1/files/bcwr-bj34xcx3h7zq4hwnsc272jwxjnrlkl6l7upuetdmub2dhbjfpbna",
"web": "https://replicate.com/p/7bq8g3sbe5rmc0crn6faghqfa8"
},
"metrics": {
"predict_time": 0.190209252,
"total_time": 0.520434
}
}