API for Automated Image and Video Generation