ImageBlock - Amazon Bedrock (original) (raw)

ImageBlock - Amazon Bedrock

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:

GuardrailWordPolicyAssessment

ImageBlockDelta

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.