AWS API from Colab notebook that returns a list of urls, each of which points to an S3 bucket

Job ID: 34655400

Budget: $30 – $250 USD

I need an AWS API that
1) takes as inputs a prompt string and the number of images to be generated,
2) returns a list of image urls that will be stored in an S3 bucket,

The python algorithm to generate the images is given in the colab notebook https://colab.research.google.com/drive/1IWBk7xiq6ewnrPeieQ4QCAKy2vHkd_iv?usp=sharing

I'd like a list of instructions to set up on AWS, possibly with a screen sharing session.