If you have asciinema already installed then you can invoke it through svg-term like this!
svg-term --command 'cowsay hey there'
But that has the aforementioned issues about not pausing enough, so I usually just record with asciinema first and then invoke svg-term.