Is there a Juicebox API method that allows me to programmatically support the following:

I have multiple users in a multiplayer game where, as they advance through the game levels they collect images . Based on their current level they have different permissions to view different galleries as well as the set of images that populate those galleries (up to 20 images per gallery).

I think I need to programmatically create the galleries and programmatically add a list of images to those galleries. I don’t think dynamically creating physical XML config files for each user or level is very scalable. Even if I created an xml file for each level, I would still potentially need 1000+ config files

My site is HTLM5 & Javascript/JQuery with an ASP.NET back-end.

Any suggestions on how I could accomplish this using Juicebox is very much appreciated.