Wow, brilliant work, could you write a sample API for uploading images like the ImageUploader in the component?