I'm looking for an API for hosting images, but not something like flickr or imgur
===

If this doesn't exist, then I must build it. 

Basically, I want a service that provides an API for hosting images, that is cloud-based, very scalable, and allows you to do things like link images to accounts, set privacy settings, etc.  

Maybe you know of a service that lets you do this on a large scale for more than just images?  Basically, a scalable CMS.  What's good out there?