Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Image

import type { Image } from "https://googleapis.deno.dev/v1/ces:v1.ts";

Represents an image input or output in the conversation.

interface Image {
data?: Uint8Array;
mimeType?: string;
}

§Properties

§
data?: Uint8Array
[src]

Required. Raw bytes of the image.

§
mimeType?: string
[src]

Required. The IANA standard MIME type of the source data. Supported image types includes: * image/png * image/jpeg * image/webp