Amazon SageMaker Unified Studio is in preview release and is subject to change.
Generate a variation of an image
The following procedure shows you how to generate a variation of a reference image that you supply. You can set various configurations such as the number of images to generate and how strongly the prompt affects the generation of the image. For more information, see Configuration options.
To generate a variation of an image
-
Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your admininstrator.
-
Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see Access Amazon SageMaker Unified Studio.
-
At the top of the page, choose the Discover.
In the GENERATIVE AI section, choose Image and video playground.
-
If the Configurations pane isn't open, choose the configuration button.
-
For Model select a model to use.
For Action choose Generate variations.
-
(Optional) For Negative prompt enter text that describes content or concepts that you do not want the model to include in the image.
-
In Reference image choose Upload image and upload the image that you want the model to use with the action.
In Response image do the following:
-
For Number of images select the number of images that you want the model to generate. Not all models support changing this value.
-
For Orientation, choose the orientation (landscape or portrait) for the images that the model generates.
-
For Size, select the size, in pixels, of the images that the model generates.
-
-
(Optional) In Advanced configurations, change how the model generates images by making advanced configuration changes. For more information, see Advanced configuration options.
-
In the Enter prompt text box, enter the prompt that describes the image that you want the model to generate.
-
Press Enter on your keyboard to start the action. Amazon Bedrock IDE shows the image that the model generates in the playground.