File size: 525 Bytes
cd3f86a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

export enum GenerationStatus {
  IDLE = 'idle',
  GENERATING = 'generating',
  CHECKING = 'checking',
  SUCCESS = 'success',
  ERROR = 'error',
}

export interface MediaFile {
  id: string;
  file: File;
  previewUrl: string;
  caption: string;
  status: GenerationStatus;
  errorMessage?: string;
  isSelected: boolean;
  customInstructions: string;
  qualityScore?: number;
  // ComfyUI Preview fields
  comfyPreviewUrl?: string;
  comfyStatus?: 'idle' | 'generating' | 'success' | 'error';
  comfyErrorMessage?: string;
}