Background_Remove / types.ts
nadish1210's picture
Upload 9 files
469e704 verified
raw
history blame contribute delete
513 Bytes
export type BgType = 'transparent' | 'color' | 'scenic' | 'original';
export interface ProcessingResult {
id: string;
originalImage: string;
processedImage: string | null;
status: 'idle' | 'uploading' | 'processing' | 'completed' | 'error';
accuracy: number;
timestamp: number;
settings: {
bgType: BgType;
bgColor?: string;
bgPrompt?: string;
model: string;
};
error?: string;
}
export enum ModelType {
FLASH = 'gemini-2.5-flash-image',
PRO = 'gemini-3-pro-image-preview'
}