

# Experiment with the Amazon Bedrock playgrounds
Experiment with the playgrounds

An Amazon Bedrock in SageMaker Unified Studio playground lets you experiment with Amazon Bedrock foundation models, so that you can choose the right model for your use case. You can also experiment with chat agent apps that others share with you. Amazon Bedrock in SageMaker Unified Studio provides the following playgrounds:
+ **Chat playground** – Chat with an Amazon Bedrock model by sending prompts to the model and answering the response that the model generates. You can also experiment with chat agent apps that are shared with you.
+ **Image and video playground** – Generate images and videos with a model. You can use prompts, images, and videos to describe the content you want to generate.

Each playground lets you choose a model and experiment with settings, such as the [inference parameters](explore-prompts.md#inference-parameters) that affect the output that the model generates. To help you experiment, you can compare the output of multiple models and chat agent apps. 

If you want to know more about a model, use the model catalog to find information such as supported use cases and model attributes. For more information, see [Find serverless models with the Amazon Bedrock model catalog](model-catalog.md).

**Warning**  
Generative AI may give inaccurate responses. Avoid sharing sensitive information. Chats may be visible to others in your organization.

Other Amazon Bedrock in SageMaker Unified Studio users can share apps and prompts so that you can experiment with them in a playground. For more information, see [Access shared generative AI assets in an Amazon Bedrock playground](bedrock-playground-shared-assets.md).

After you familiarize yourself with a model in a playground, you can try creating your own Amazon Bedrock in SageMaker Unified Studio app, such as a [chat agent app](create-chat-app.md). 

**Topics**
+ [

# Chat with a model in the Amazon Bedrock chat playground
](bedrock-explore-chat-playground.md)
+ [

# Chat with an app in the Amazon Bedrock chat playground
](bedrock-explore-chat-playground-app.md)
+ [

# Generate an image with the Amazon Bedrock image and video playground
](explore-image-playground.md)
+ [

# Generate a video with the Amazon Bedrock image and video playground
](bedrock-explore-video-playground.md)
+ [

# Access shared generative AI assets in an Amazon Bedrock playground
](bedrock-playground-shared-assets.md)

# Chat with a model in the Amazon Bedrock chat playground
Chat with a model in the chat playground

The Amazon Bedrock in SageMaker Unified Studio chat playground allows you chat with an Amazon Bedrock model and try chat agent apps that are [shared](bedrock-explore-chat-playground-app.md) to you. A chat provides a back-and-forth, dialogue-like interaction between you and an Amazon Bedrock model. The model is able to retain context during a chat allowing for coherent and relevant responses from the model. You chat with a model by sending a prompt to the model and by receiving the response that the model generates. You continue the chat by sending further prompts.

If a model supports multimodal prompts, you can send prompts that contain text and images. A chat can contain multiple text and image prompts. After you finish a chat, you can reset the playground to begin a new chat. Amazon Bedrock models support differing modalities. For more information, see [Supported foundation models in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html). 

The maximum image file size is 5MB. You can upload images that are in JPG, PNG, GIF, and WebP format. 

When you run a prompt in the chat playground, you get the following information about the request: 
+ **Input tokens** — The number of input tokens used by the foundation model during inference.
+ **Output tokens** — The number of tokens generated in a response by the foundation model.
+ **Latency** — The amount of time the foundation model uses to generate each token in a sequence, based on the [on-demand](https://docs.aws.amazon.com/bedrock/latest/userguide/throughput.html) throughput.

The [chat playground](#bedrock-explore-chat-playground) provides quick start prompts that illustrate the kinds of prompt that you can send to a model.

Optionally, you can compare the outputs from up to 3 shared apps and models. You can make configuration changes for models, such as [inference parameters](explore-prompts.md#inference-parameters) and [system instructions](explore-prompts.md#system-prompts) and compare the results. You can't make configuration changes for shared apps. 

**To chat with a model**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **Generative AI** section, choose **Chat playground** to open the chat playground.  
![\[Open Amazon Bedrock in SageMaker Unified Studio chat playground.\]](http://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/images/bedrock/bedrock-ide-discover.png)

1. In **Type** select **Model** and then select a model to use in **Model**. For full information about the model, choose **View full model details** in the information panel. For more information, see [Find serverless models with the Amazon Bedrock model catalog](model-catalog.md). If you don't have access to an appropriate model, contact your administrator. Different models might not support all features.

1. In the **Enter prompt** text box, enter **What is Avebury stone circle?**.

1. (Optional) If the model you chose is a reasoning model, you can choose **Reason** to have the model include its reasoning in the reponse. For more information, see [Enhance model responses with model reasoning](https://docs.aws.amazon.com/bedrock/latest/userguide/inference-reasoning.html) in the *Amazon Bedrock user guide*.

1. Press Enter on your keyboard, or choose the run button, to send the prompt to the model. Amazon Bedrock in SageMaker Unified Studio shows the response from the model in the playground.  
![\[Run prompt in Amazon Bedrock in SageMaker Unified Studio chat playground.\]](http://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/images/bedrock/bedrock-ide-chat-playground-run-prompt.png)

1. Continue the chat by entering the prompt **Is there a museum there?** and pressing Enter. 

   The response shows how the model uses the previous prompt as context for generating its next response.

1. Choose **Reset** to start a new chat with the model.

1. Influence the model response by doing the following:

   1. Enter and run a prompt. Note the response from the model.

   1. Choose the configurations menu to open the **Configurations** pane.  
![\[Inference parameters in Amazon Bedrock in SageMaker Unified Studio chat playground.\]](http://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/images/bedrock/bedrock-ide-chat-playground-inference.png)

   1. Influence the model response by making [inference parameters](explore-prompts.md#inference-parameters) changes.

   1. (Optional) In **System instructions**, enter any overarching system instructions that you want the model to apply for future interactions.

   1. Run the prompt again and compare the response with the previous response. 

1. Choose **Reset** to start a new chat with the model.

1. Try sending an image to a model by doing the following:

   1. For **Model**, choose a model that supports [images](https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html).

   1. Choose the attachment button at the left of the **Enter prompt** text box.   
![\[Run prompt in Amazon Bedrock in SageMaker Unified Studio chat playground.\]](http://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/images/bedrock/bedrock-ide-chat-playground-run-prompt-attach.png)

   1. In the open file dialog box, choose an image from your local computer.

   1. In the text box, next to the image that you uploaded, enter **What's in this image?**. 

   1. Press Enter on your keyboard enter to send the prompt to the model. The response from the models describes the model or image.

1. (Optional) Try using another model and different prompts. Different models have different recommendations for creating, or engineering, prompts. For more information, see [Prompt engineering guides](explore-prompts.md#prompt-guides).

1. (Optional) Compare the output from multiple models, or [shared apps](bedrock-explore-chat-playground-app.md).

   1. In the playground, turn on **Compare mode**.

   1. In both panes, select the model that you want to compare. If you want to use a shared app, select **App** in **Type** and then select the app in **App**.

   1. Enter a prompt in the text box and run the prompt. The output from each model is shown. You can choose the copy icon to copy the prompt or model response to the clipboard.

   1. (Optional) Choose **View configs** to make configuration changes, such as [inference parameters](explore-prompts.md#inference-parameters). Choose **View chats** to return to the chat page.

   1. (Optional) Choose **Add chat window** to add a third window. You can compare up to 3 models or apps.

   1. Turn off **Compare mode** to stop comparing models.

Now that you are familiar with the explorer playground, try creating a Amazon Bedrock in SageMaker Unified Studio app next. For more information, see [Build a chat agent app with Amazon Bedrock](create-chat-app.md). 

# Chat with an app in the Amazon Bedrock chat playground
Chat with an app in the chat playground

You can use the chat playground to experiment with chat agent apps that are shared to you. When you open a shared app, you can send prompts to the app and see the response. You can't make changes to the shared app.

Optionally, you can compare the outputs from to 3 shared apps and [models](bedrock-explore-chat-playground.md). You can view the configuration for a shared app, but you can't make configuration changes.

To learn how to share apps that you create, see [Share an Amazon Bedrock chat agent app](app-share.md).

**To chat with a shared app**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **Generative AI** section, choose **Chat playground** to open the chat playground.  
![\[Open Amazon Bedrock in SageMaker Unified Studio chat playground.\]](http://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/images/bedrock/bedrock-ide-discover.png)

1. In **Type** select **App** and then select an app to use in **App**.  
![\[Open Amazon Bedrock in SageMaker Unified Studio chat playground.\]](http://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/images/bedrock/bedrock-ide-chat-playground-app.png)

1. In the **Enter prompt** text box at the bottom of the page, enter the prompt that you want to use. If the app builder changes the default text for the text box, the text is different.

1. Press Enter on your keyboard enter to send the prompt to the mode.

1. (Optional) Compare the output from multiple apps, or models.

   1. In the playground, turn on **Compare mode**.

   1. In both panes, select the app that you want to compare. 

   1. Enter a prompt in the text box and run the prompt.

   1. (Optional) Choose **View configs** to view the app configurations, such as [inference parameters](explore-prompts.md#inference-parameters). Choose **View chats** to return to the chat page.

   1. (Optional) Choose **Add chat window** to add a third window. You can compare up to 3 models or apps.

   1. Turn off **Compare mode** to stop comparing models.

# Generate an image with the Amazon Bedrock image and video playground
Generate an image with the image and video playground

The image and video playground is an interactive environment that lets you specify actions that generate and manipulate images using natural language prompts, reference images, and suitable Amazon Bedrock models. 

## Actions for generating images


Within the image playground, you use an *action* to specify the image generation task that you want the model to do, such as replacing the background of an existing image. The actions that are available depends on the model you use.
+ **Generate image** — [Generates a new image](bedrock-image-playground-generate-image.md) from a prompt that you enter.
+ **Generate variations** — Use a prompt to generate a [variation of an existing image](bedrock-image-playground-generate-variations.md).
+ **Remove object** — [Removes an object](bedrock-image-playground-remove-object.md) from an image you supply. 
+ **Replace background** — [Replaces the background](bedrock-image-playground-replace-background.md) of an image with a new background. 
+ **Replace object** — [Replaces an object](bedrock-image-playground-replace-object.md) in an image with a different object.
+ **Edit image sandbox** — An [image sandbox](bedrock-image-playground-image-sandbox.md) that you can use to expiriment with Stable Diffusion XL models. 

Some actions, such as generate variation, require a reference image that a model uses to generate a new image. An action might require you to use a mask tool to draw a bounding box around an area of the reference image, such as when you define an object that you want to remove with the remove object action. 

## Configuration options


You can influence how a model generates an image by configuring the following options. The configuration changes you can make depends on the action you choose. 

### Negative prompt


A set of words or phrases that that tells the model what not to include in the image that it generates. For example, you can use the term *-lowres* to avoid generating low-resolution or blurry images.

### Reference image


In certain actions, such as generate variations or replace background, you specify a reference image that the model uses to process the action.

### Response image


You can specify the image dimensions, orientation, and number of images to generate.

### Advanced configuration options


You can make advanced configuration changes that how the model generates images. All models image generation models support the following: 
+ **Prompt strength** — Prompt strength is a numerical value that determines how strongly a model should adhere to the given text prompt. A higher prompt strength means the model will try to closely follow and prioritize the text description provided in the prompt when generating the image. Lower prompt strengths allow the model more creative freedom to deviate from the prompt.
+ **Seed** — A seed is numeric value that a model uses to seed a random number generator. The model uses the seed as a starting point for creating random patterns during image generation. This initial randomness influences things like the exact positioning, colors, textures, and compositions present in the image that the model generates. 
+ **Similarity strength** — If you use the *Generate variations* action with a Titan Image Generator G1 V1 or a Titan Image Generator G1 V2 model, you can also configure the *Similarity Strength* advanced configuration. Similarity Strength specifies how similar the generated image should be to the input image. Use a lower value to introduce more randomness into the generated image. 
+ **Generate step** — If you use a Stable Diffusion XL model, you can configure the *Generate step* advanced configuration. Generate step determines how many times the image is sampled. More steps can result in a more accurate result.

**Topics**
+ [

### Negative prompt
](#bedrock-image-negative-prompt)
+ [

### Reference image
](#bedrock-image-reference-image)
+ [

### Response image
](#bedrock-image-response-image)
+ [

### Advanced configuration options
](#bedrock-image-advanced-configurations)

# Generate an image


The following procedure shows you how to use a model to generate an image. 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](explore-image-playground.md#bedrock-image-configuration).

**To generate an image in the image playground**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **GENERATIVE AI** section, choose **Image and video playground**.

1. If the **Configurations** pane isn't open, choose the configuration button.

1. For **Model** select a model to use.

1. For **Action** choose the action **Generate image**.

1. In **Response image** do the following:

   1. For **Number of images** select the number of images that you want the model to generate. Not all models support changing this value.

   1. For **Orientation**, choose the orientation (landscape or portrait) for the images that the model generates.

   1. For **Size**, select the size, in pixels, of the images that the model generates. 

1. (Optional) In **Advanced configurations**, change how the model generates images by making advanced configuration changes. For more information, see [Advanced configuration options](explore-image-playground.md#bedrock-image-advanced-configurations).

1. In the **Enter prompt** text box, enter **Create a photo of a local classic rock band playing on an outdoor stage.**. Alternatively, enter a prompt of your choosing.

1. Press Enter on your keyboard to start the action. Amazon Bedrock in SageMaker Unified Studio shows the image that the model generates in the playground.

1. (Optional) See how different configuration parameters affect image generation by repeating steps 9 - 11 with different values. 

# 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](explore-image-playground.md#bedrock-image-configuration).

**To generate a variation of an image**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **GENERATIVE AI** section, choose **Image and video playground**.

1. If the **Configurations** pane isn't open, choose the configuration button.

1. For **Model** select a model to use.

1. For **Action** choose **Generate variations**.

1. (Optional) For **Negative prompt** enter text that describes content or concepts that you do not want the model to include in the image.

1. In **Reference image** choose **Upload image** and upload the image that you want the model to use with the action. 

1. In **Response image** do the following:

   1. For **Number of images** select the number of images that you want the model to generate. Not all models support changing this value.

   1. For **Orientation**, choose the orientation (landscape or portrait) for the images that the model generates.

   1. For **Size**, select the size, in pixels, of the images that the model generates. 

1. (Optional) In **Advanced configurations**, change how the model generates images by making advanced configuration changes. For more information, see [Advanced configuration options](explore-image-playground.md#bedrock-image-advanced-configurations).

1. In the **Enter prompt** text box, enter the prompt that describes the image that you want the model to generate.

1. Press Enter on your keyboard to start the action. Amazon Bedrock in SageMaker Unified Studio shows the image that the model generates in the playground.

# Remove an object from an image


The following procedure shows you how to use a model to remove an object from an image that you supply. For example, you could remove an unwanted person from an image. 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](explore-image-playground.md#bedrock-image-configuration).

**Note**  
The object removal action is only available with Titan Image Generator G1 V1 and Titan Image Generator G1 V2 models.

**To remove an object from an image**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **GENERATIVE AI** section, choose **Image and video playground**.

1. If the **Configurations** pane isn't open, choose the configuration button.

1. For **Model** select a model to use.

1. For **Action** choose **Remove object**.

1. (Optional) For **Negative prompt** enter text that describes content or concepts that you don't want the model to include in the image.

1. In **Reference image** choose **Upload image** and upload the image that you want the model to use with the action. 

1. (Optional) For **Negative prompt** enter text that describes content or concepts that you do not want the model to include in the image.

1. (Optional) In **Advanced configurations**, change how the model generates images by making advanced configuration changes. For more information, see [Advanced configuration options](explore-image-playground.md#bedrock-image-advanced-configurations).

1. In the center pane, use the masking tool to draw a bounding box around the area of the image that you want the action to update. You can do the following:

   1. Resize the bounding box by selecting a corner of the bounding box with your mouse button. Then, drag the mouse to resize the bounding box. Release the mouse button to complete resizing the bounding box.

   1. Move the bounding box by selecting the interior of the bounding box with your mouse button. Move the bounding box to the new location and release the mouse button.

1. Press Enter on your keyboard to start the action. Amazon Bedrock in SageMaker Unified Studio shows the image that the model generates in the playground.

# Replace an object in an image


The following procedure shows you how to use a model to replace an object in an image that you supply. For example, you could replace a piece of furniture in an image with a different piece of furniture. 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](explore-image-playground.md#bedrock-image-configuration).

**Note**  
The object replacement action is only available with Titan Image Generator G1 V1 and Titan Image Generator G1 V2 models.

**To replace an object in an image**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **GENERATIVE AI** section, choose **Image and video playground**.

1. If the **Configurations** pane isn't open, choose the configuration button.

1. For **Model** select a model to use.

1. For **Action** choose **Remove object**.

1. (Optional) For **Negative prompt** enter text that describes content or concepts that you do not want the model to include in the image.

1. In **Reference image** choose **Upload image** and upload the image that you want the model to use with the action. 

1. (Optional) In **Advanced configurations**, change how the model generates images by making advanced configuration changes. For more information, see [Advanced configuration options](explore-image-playground.md#bedrock-image-advanced-configurations).

1. In the center pane, use the masking tool to draw a bounding box around the area of the image that you want the action to update. You can do the following:

   1. Resize the bounding box by selecting a corner of the bounding box with your mouse button. Then, drag the mouse to resize the bounding box. Release the mouse button to complete resizing the bounding box.

   1. Move the bounding box by selecting the interior of the bounding box with your mouse button. Move the bounding box to the new location and release the mouse button.

1. Choose the run button on your keyboard to start the action. Amazon Bedrock in SageMaker Unified Studio shows the image that the model generates in the playground.

# Replace the background for an image


The following procedure shows you how to use a model to replace the background for an image. For example, you could change the background for an image from a view of a forest to a view of city buildings. 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](explore-image-playground.md#bedrock-image-configuration).

**Note**  
The background replacement action is only available with Titan Image Generator G1 V1 and Titan Image Generator G1 V2 models.

**To replace the background for an image**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **GENERATIVE AI** section, choose **Image and video playground**.

1. If the **Configurations** pane isn't open, choose the configuration button.

1. For **Model** select a model to use.

1. For **Action** choose **Replace background**.

1. (Optional) For **Negative prompt** enter text that describes content or concepts that you don't want the model to include in the image.

1. In **Reference image** choose **Upload image** and upload the image that you want the model to use with the action. 

1. (Optional) For **Negative prompt** enter text that describes content or concepts that you do not want the model to include in the image.

1. (Optional) In **Advanced configurations**, change how the model generates images by making advanced configuration changes. For more information, see [Advanced configuration options](explore-image-playground.md#bedrock-image-advanced-configurations).

1. In the center pane, use the masking tool to draw a bounding box around the area of the image that you want the action to preserve. The model updates the area outside of the bounding box. You can do the following:

   1. Resize the bounding box by selecting a corner of the bounding box with your mouse button. Then, drag the mouse to resize the bounding box. Release the mouse button to complete resizing the bounding box.

   1. Move the bounding box by selecting the interior of the bounding box with your mouse button. Move the bounding box to the new location and release the mouse button.

1. In the **Enter prompt** text box, enter a prompt that describes the background that you want the image to have.

1. Press Enter on your keyboard to start the action. Amazon Bedrock in SageMaker Unified Studio shows the image that the model generates in the playground.

# Edit an image with the image sandbox


If you use the image playground with a Stable Diffusion XL model, you can use the image sandbox to make changes to a model.

**Note**  
The image sandbox action is only available with Stable Diffusion XL models.

**To edit an image in the image sandbox**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **GENERATIVE AI** section, choose **Image and video playground**.

1. If the **Configurations** pane isn't open, choose the configuration button.

1. For **Model** select a model to use.

1. For **Action** choose **Remove object**.

1. (Optional) For **Negative prompt** enter text that describes content or concepts that you do not want the model to include in the image.

1. In **Reference image** choose **Upload image** and upload the image that you want the model to use with the action. 

1. (Optional) In **Advanced configurations**, change how the model generates images by making advanced configuration changes. For more information, see [Advanced configuration options](explore-image-playground.md#bedrock-image-advanced-configurations).

1. In the center pane, use the masking tool to draw a bounding box around the area of the image that you want the action to update. You can do the following:

   1. Resize the bounding box by selecting a corner of the bounding box with your mouse button. Then, drag the mouse to resize the bounding box. Release the mouse button to complete resizing the bounding box.

   1. Move the bounding box by selecting the interior of the bounding box with your mouse button. Move the bounding box to the new location and release the mouse button.

1. In the **Enter prompt** text box, enter the prompt that describes the edit that that you want the model inside the bounding box. 

1. Press Enter on your keyboard to start the action. Amazon Bedrock in SageMaker Unified Studio shows the image that the model generates in the playground.

# Generate a video with the Amazon Bedrock image and video playground
Generate a video

The Amazon Bedrock in SageMaker Unified Studio image and video playground is where you can generate a short video with a suitable Amazon Bedrock model. To generate a video with a model, you supply a [prompt](explore-prompts.md) that describe the video that you want to create and configuration information that influences how the model generates the video. For example, you can start with an image of a rock band and in the prompt request that you want to create an animated video of the band playing a live concert. The image and video playground also provides quick start prompts that illustrate the kinds of video that you can create.

You can download a video that you create in the image and video playground.

To create more complex videos, you can use a storyboard to connect a sequence of shots.

Your administrator sets the retention policy for videos that you upload and generate with the playground. For more information, contact your administrator.

**Topics**
+ [

# Configure video generation
](bedrock-explore-video-playground-configuration.md)
+ [

# Generate a video from a prompt
](bedrock-explore-video-playground-procedure.md)
+ [

# Plan a video with the storyboard
](bedrock-explore-video-playground-storyboard.md)

# Configure video generation


To configure video generation, you choose a model to use and set optionally settings that influence the output of the model. Currently Amazon Bedrock in SageMaker Unified Studio supports video generation with Amazon Nova models. If you don't make any configuration changes, the playground uses the default values for the model.

## Amazon Nova model settings


With Amazon Nova models, you can set the following configurations:
+ **Start image** – (Optional) A reference image that model uses as a starting point for the video. The image dimensions must be 1280x720 pixels. If you supply an image with different dimensions, the playground resizes the image to 1280x720 pixels.
+ **Seed** – (Optional) Initializes the random number generator used in the video generation process. Higher seed values don't correlate with any particular quality or characteristic in the output. Instead, use different seed values options to explore differing variations of output, either with or without the same prompt. Repeatedly using the same seed value and prompt creates the exact same video.

For more information, see the [Amazon Nova guide](https://docs.aws.amazon.com/nova/latest/userguide).

# Generate a video from a prompt


The following instructions show you how to generate a video in the image and video playground. If you are using Amazon Nova 1.1, you can use the [storeyboard](bedrock-explore-video-playground-storyboard.md) to make more complex videos.

**To generate a video**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **GENERATIVE AI** section, choose **Image and video playground**.

1. If the **Configurations** pane isn't open, choose the configuration button.

1. For **Model** select a model to use.

1. (Optional) In the **Configurations** section, set parameters to influence the output of the model. Note that additional configurations can be set in **Advanced configurations**. The parameters that are available to depend on the model you use. For more information, see [Configure video generation](bedrock-explore-video-playground-configuration.md). 

1. In the **Enter prompt** text box, enter **Create an animated video of a local classic rock band playing on an outdoor stage.**. Alternatively, enter a prompt of your choosing.

1. Press Enter on your keyboard to start generating the video. Amazon Bedrock in SageMaker Unified Studio shows the video that the model generates in the playground. 

1. Choose the play button to view the video. 

1. (Optional) Choose the download button to download the video to your computer.

# Plan a video with the storyboard


To create more a more complex video, you can use the storyboard to plan the video that you want to create. In the storyboard you connect a sequence of shots, which the model combines to generate the video. Each shot is a prompt and an optional start frame image. Each shot the model generates is always 6 seconds in length. You can't set a specific duration for the video, but you can affect the duration by adding or removing shots in the story board. The maximum length of video that you can generate is 120 seconds. 

**Note**  
You can only use the playground with Amazon Nova Reel 1.1.

**To generate a video with the storyboard**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **GENERATIVE AI** section, choose **Image and video playground**.

1. If the **Configurations** pane isn't open, choose the configuration button.

1. For **Model** select a model to use.

1. (Optional) In the **Configurations** section, set parameters to influence the output of the model. Note that additional configurations can be set in **Advanced configurations**. The parameters that are available to depend on the model you use. For more information, see [Configure video generation](bedrock-explore-video-playground-configuration.md). 

   In the storyboard, you can't set the duration for the video. 

1. In the center pane, choose **Storyboard**.

1. Choose **Add shot** and do the following:

   1. Choose **Describe what happens in this shot...** and enter the text for the prompt. You can update the prompt later, if neccessary.

   1. (Optional) Choose **Add start frame** to upload a starting image for the video.

   1. (Optional) Choose the trash icon to remove shots than you no longer need.

1. Repeat the previous step until you have added all the shots for your video.

1. Choose the run button to start generating the video. Don't leave the page while the model generates the video.

1. When the model finishes generating the video, choose the play button to view the video.

1. (Optional) Make further edits and add shots as you need them. 

1. (Optional) Download the video by right-clicking on the video and selecting **Save video as...**. 

# Access shared generative AI assets in an Amazon Bedrock playground
Access shared generative AI assets in a playground

Other Amazon Bedrock in SageMaker Unified Studio users can share [chat agent app](create-chat-app.md) and [prompts](prompt-mgmt.md) with you as *Shared generative AI assets*. You access assets from the **Shared apps and prompts** section in a playground. You can view the type of each asset and the projects that contains the assets.

In a playground, You can experiment with shared app and prompt assets, but you can't make changes to their configuration. If you want to make changes, you need to open the project that contains the asset. You can share chat agent apps and prompts that you create in a project. For more information, see [Share an Amazon Bedrock chat agent app](app-share.md) and [Share an Amazon Bedrock prompt version](sharing-a-prompt.md).

**To access and use a shared asset in a playground**

1. Navigate to the Amazon SageMaker Unified Studio landing page by using the URL from your administrator.

1. Access Amazon SageMaker Unified Studio using your IAM or single sign-on (SSO) credentials. For more information, see [Access Amazon SageMaker Unified Studio](getting-started-access-the-portal.md).

1. At the top of the page, choose the **Discover**.

1. In the **GENERATIVE AI** section, choose **Shared apps and prompts**.

1. In the playground, select the name of the asset that you want to use. The **Asset type** column tells the type of the asset (App or prompt).

1. Use the asset in the playground.