Spaces:
Sleeping
Sleeping
| 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' | |
| } |