Generating images with Amazon Nova
With the Amazon Nova Canvas model, you can generate realistic, studio-quality images by using text prompts. You can use the Amazon Nova Canvas for text-to-image and imaging editing applications.
Amazon Nova canvas supports the following features:
-
Text-to-image (T2I) generation – Input a text prompt and generate a new image as output. The generated image captures the concepts described by the text prompt.
-
Image editing options – include: inpainting, outpainting, generating variations, and automatic editing without an image mask.
-
Inpainting – Uses an image and a segmentation mask as input (either from the user or estimated by the model) and reconstructs the region within the mask. Use inpainting to remove masked elements and replace them with background pixels.
-
Outpainting – Uses an image and a segmentation mask as input (either from the user or estimated by the model) and generates new pixels that seamlessly extend the region. Use precise outpainting to preserve the pixels of the masked image when extending the image to the boundaries. Use default outpainting to extend the pixels of the masked image to the image boundaries based on segmentation settings.
-
Image variation – Uses 1 to 5 images and an optional prompt as input. It generates a new image that preserves the content of the input images, but varies its style and background.
-
Image conditioning – Uses an input reference image to guide image generation. The model generates output image that aligns with the layout and the composition of the reference image, while still following the textual prompt.
-
Subject consistency – Subject consistency allows users to fine-tune the model with reference images to preserve the chosen subject (for example, pet, shoe, or handbag) in generated images.
-
Color guided content – You can provide a list of hex color codes along with a prompt. A range of 1 to 10 hex codes can be provided. The image returned will incorporate the color palette provided by the user.
-
Background removal – Automatically identifies multiple objects in the input image and removes the background. The output image has a transparent background.
-
Content provenance – Use sites like Content Credentials Verify
to check if an image was generated by Amazon Nova Canvas. This should indicate the image was generated unless the metadata has been removed.
Amazon Nova Canvas |
|
---|---|
Model Characteristics |
|
Model ID |
amazon.nova-canvas-v1:0 |
Input Modalities |
Text, Image |
Output Modalities |
Image |
Max Prompt Length |
1024 characters |
Max Output Resolution (generation tasks) |
4.19 million pixels (that is, 2048x2048, 2816x1536) |
Max Output Resolution (editing tasks) |
Must meet all of the following:
|
Supporting Input Image Types |
PNG, JPEG |
Supported Languages |
English |
Regions |
US East (N. Virginia) |
Bedrock Feature Support |
|
Invoke Model API |
Yes |
Fine Tuning |
No |
Provisioned Throughput |
No |