Name | Description |
---|---|
image_data | Union[str, Image.Image]: The image data which can either be a base64 encoded string, a URL, a file path, or a PIL Image object. Type: str | ForwardRef(‘Image.Image’) |
model | str: The model being used for image processing. Can be “gpt-4-vision”, “gpt-4o”, or “gpt-4o-mini”. Type: str Default: ‘gpt-4-vision’ |
low_quality | bool: Whether to use low-quality processing. Defaults to False. Type: bool Default: False |
Type | Description |
---|---|
int | int: The total number of tokens required for processing the image. |