Spaces:
Sleeping
Sleeping
File size: 513 Bytes
469e704 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 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'
} |