GitHub

API reference for Image.

An image in the input: base64 text, bytes or a URL, with its media type. Declare it with a decision.Image field.

Attributes

AttributeTypeDescription
media_typestr
datastr | bytes | Url

Functions

__init__

__init__(media_type, data) -> None
ParameterTypeDescription
media_typestr
datastr | bytes | Url