ImageBlock - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

ImageBlock

Image content for a message.

Contents

format

The format of the image.

Type: String

Valid Values: png | jpeg | gif | webp

Required: Yes

source

The source for the image.

Type: ImageSource object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

error

Error information if the image block could not be processed or contains invalid data.

Type: ErrorBlock object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: