Is there video editing software with an API?

view story

http://askubuntu.com – Basically what I need is video editing software that allows me to put together a video through java (or other languages), plugins or whatever method is available for doing so. I want to put together a video using pictures, videos, music, transitions etc that are sent to the server. I am not very advanced at this stuff. (HowTos)