hands-on lab

Generating Custom Images and Variations with Amazon Bedrock

Difficulty: Intermediate
Duration: Up to 40 minutes
Students: 12
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

The Amazon Bedrock Image Playground is tailored for developers, data scientists, and businesses to explore generative AI models for realistic image creation, making it particularly beneficial for applications like advertising and presentations. It features a user-friendly interface, a diverse selection of high-performing models, and customization options, allowing users to fine-tune models to meet specific needs.

In this lab, you will explore the Amazon Titan Image Generator G1 model and a few of its capabilities. First, you will interact with the model using the Amazon Bedrock Image Playground to generate and edit an image. Then, you will invoke the model to generate image variations using the Amazon Bedrock runtime in a Jupyter Notebook.

Learning objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Generate and edit images using the Amazon Bedrock Image Playground and the Titan Image Generator model
  • Employ the Amazon Bedrock runtime to generate variations of images using references

Intended audience

  • Candidates for the AWS Certified Machine Learning Specialty certification
  • Cloud Architects
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Amazon Bedrock
  • Python

The following content can be used to fulfill the prerequisites:

Environment before

Environment after

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Generating Images in the Amazon Bedrock Image Playground
Creating Image Variations with Amazon Bedrock