ImageContent: {
    data?: string;
    mime_type?: ImageContentMimeType;
    resolution?: MediaResolution;
    type: "image";
    uri?: string;
}

An image content block.

Type declaration

  • Optionaldata?: string

    The image content.

  • Optionalmime_type?: ImageContentMimeType

    The mime type of the image.

  • Optionalresolution?: MediaResolution
  • type: "image"
  • Optionaluri?: string

    The URI of the image.