ImageData interface

The image can be either base64 encoded bytes or a blob URL. You can choose only one of these options. If both are provided, the request will be refused. The maximum image size is 2048 x 2048 pixels and should not exceed 4 MB, while the minimum image size is 50 x 50 pixels.

Properties

blobUrl

The blob url of the image.

content

The Base64 encoding of the image.

Property Details

blobUrl

The blob url of the image.

blobUrl?: string

Property Value

string

content

The Base64 encoding of the image.

content?: string

Property Value

string