Uf damn, just seen that one of the companies thatdid this https://www.jukedeck.com/ is not doing it any more.
They had everything for free, and the music seemed perfect for background music for videos, etc... You could configure parameters, including the time and get an interesting track out.