As an update, please note the latest version of Aspose.PDF Cloud provides its own API methods for Storage operations. Now you do not need to use Aspose.Storage Cloud API for the purpose. Please find sample code for uploading a PDF file to storage and converting each page to JPEG.
string fileName = "02_pages.pdf";
// Upload source file to aspose cloud storage
pdfApi.UploadFile(fileName, System.IO.File.OpenRead("C:/Temp/02_pages.pdf"));
// Invoke Aspose.PDF Cloud SDK API to get page count from pdf document
var pageCount = pdfApi.GetPages(fileName).Pages.List.Count;
// Convert all pages to separate JPEG images
for (int pageNumber = 1; pageNumber <= pageCount; pageNumber++)
{
var response = pdfApi.GetPageConvertToJpeg(fileName, pageNumber);
var fileStream = System.IO.File.Create("C:/Temp/PDFtoJPG_"+pageNumber+".jpg");
response.CopyTo(fileStream);
fileStream.Close();
}