// 数据类型定义
export interface HistoryRecord {
  id: string;
  type: 'image-to-image' | 'image-to-video';
  templateId: string;
  templateName: string;
  inputImage: string;
  outputResult?: string | string[];
  status: 'generating' | 'completed' | 'failed';
  createTime: string;
  updateTime: string;
  errorMessage?: string;
}

export interface GenerateParams {
  templateId: string;
  imageUrl: string;
  additionalParams?: Record<string, any>;
}
