You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sends a message to an Amazon Titan on the Amazon Bedrock platform and returns the model's response.
57
87
The response from this model is an image or images generated based on the input parameters.
@@ -61,19 +91,22 @@ Text-to-image - Generation - Generate an image using a text prompt.
61
91
Inpainting - Editing - Modify an image by changing the inside of a mask to match the surrounding background.
62
92
Outpainting - Editing - Modify an image by seamlessly extending the region defined by the mask.
63
93
Image Variation - Editing - Modify an image by producing variations of the original image.
94
+
Conditioning - Generation - Generate an image based on the text prompt and by providing a 'condition image' to achieve more fine-grained control over the resulting generated image.
95
+
Color Guided Generation - Generation - Provide a list of hex color codes along with a text prompt to generate an image that follows the color palette.
96
+
Background Removal - Editing - Remove the background from an image.
64
97
65
98
## EXAMPLES
66
99
67
100
### EXAMPLE 1
68
101
```
69
-
Invoke-AmazonImageModel -ImagesSavePath 'C:\temp' -ImagePrompt 'Create a starship emerging from a nebula.' -ModelID 'amazon.titan-image-generator-v1' -Credential $awsCredential -Region 'us-west-2'
102
+
Invoke-AmazonImageModel -ImagesSavePath 'C:\temp' -ImagePrompt 'Create a starship emerging from a nebula.' -ModelID 'amazon.titan-image-generator-v2:0' -Credential $awsCredential -Region 'us-west-2'
70
103
```
71
104
72
105
Generates an image and saves the image to the C:\temp folder.
73
106
74
107
### EXAMPLE 2
75
108
```
76
-
Invoke-AmazonImageModel -ImagesSavePath 'C:\temp' -VariationImagePath 'C:\temp\image1.png' -VariationTextPrompt 'Add more stars and space debris.' -ModelID 'amazon.titan-image-generator-v1' -Credential $awsCredential -Region 'us-west-2'
109
+
Invoke-AmazonImageModel -ImagesSavePath 'C:\temp' -VariationImagePath 'C:\temp\image1.png' -VariationTextPrompt 'Add more stars and space debris.' -ModelID 'amazon.titan-image-generator-v2:0' -Credential $awsCredential -Region 'us-west-2'
77
110
```
78
111
79
112
Generates variations of the image located at C:\temp\image1.png and saves the images to the C:\temp folder.
0 commit comments