ImageDescription Class

A collection of content tags, along with a list of captions sorted by confidence level, and image metadata.

Inheritance
ImageDescription

Constructor

ImageDescription(*, tags=None, captions=None, request_id: Optional[str] = None, metadata=None, model_version: Optional[str] = None, **kwargs)

Parameters

tags
list[str]
Required

A collection of image tags.

captions
list[ImageCaption]
Required

A list of captions, sorted by confidence level.

request_id
str
Required

Id of the REST API request.

metadata
ImageMetadata
Required
model_version
str
Required