public/types/vlm_types library

VLM (Vision Language Model) Types

Public types for VLM image processing. Mirrors iOS VLMTypes.swift adapted for Flutter/Dart.

Classes

VLMImage
Image input for VLM - handles Dart-native image formats
VLMImageFormat
Image format variants (sealed class for type safety)
VLMImageFormatBase64
Base64 format
VLMImageFormatFilePath
File path format
VLMImageFormatRgbPixels
RGB pixels format
VLMResult
Result from VLM generation Matches iOS VLMResult
VLMStreamingResult
Streaming result for VLM generation Matches iOS VLMStreamingResult, adapted for Dart async patterns

Enums

VLMErrorCode
VLM-specific error codes Matches iOS SDKError.VLMErrorCode exactly