Generating video content

How to create a script for generating video content and subsequent publication on a social network? At the moment there is a script for generating text, pictures and publications on social networks.