create multisite programmatically

Hi all,

this is my first post on this great community. I have to create a community based on buddypress for a casting company, but before this, I have to transform hundreds of personal pages (one page for each actor/model) based on a java custom web application into a multisite wordpress, where each actor/model can have one blog page.

So, for example, this personal site of a famous italian actor:

[EDIT: Link removed at user request]

will be a blog based on wordpress multisite. Because, we have thousands of personal site, I’d like to do it programmatically. What do I mean? I’d like to get some necessary data from a mysql db (like the username, pwd and sitename), and create, using some WP API, the relative sites on wordpress multisite.

Any hints? any suggestions?

Thanks in advance,