If you have asciinema already installed then you can invoke it through svg-term like this!
svg-term --command 'cowsay hey there'