I been making Ai music and keep trying to end the song and waste alot of credits, so instead i just coded a audio trimmer with a fade last 2.5 seconds options ha. Enjoy!
Run myaiteam2/audio-trimmer-with-fade using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"myaiteam2/audio-trimmer-with-fade:433cfdaef06e772283738355dfdaf80c5df3776ab9dca15f927fde1617901795",
input={
"fade_out": True,
"audio_file": "https://replicate.delivery/pbxt/KbChmm5C8PxhnORLaz3GwBPWUpCHU3ZAJl2r74uH4savkJas/Pay%20Day.mp3"
}
)
# To access the file URL:print(output.url())
#=> "http://example.com"# To write the file to disk:withopen("my-image.png", "wb") as file:
file.write(output.read())
This model runs on CPU hardware.
We don't yet have enough runs of this model to provide performance information.
Readme
I been making Ai music and keep trying to end the song and waste alot of credits, so instead i just coded a audio trimmer with a fade last 2.5 seconds options ha. Enjoy! if you want to learn Ai music and how to create it, you can go to my online class at https://myaiteam.com/music