样式优化
This commit is contained in:
@@ -65,6 +65,7 @@ export interface GenerationRecord {
|
||||
originalPrompt: string;
|
||||
optimizedPrompt?: string;
|
||||
duration?: number;
|
||||
genType?: number;
|
||||
aspectRatio?: AspectRatio;
|
||||
resolution?: Resolution;
|
||||
status: GenerationStatus;
|
||||
@@ -77,18 +78,29 @@ export interface GenerationRecord {
|
||||
errorMessage?: string;
|
||||
createdAt: string;
|
||||
generatedAt?: string;
|
||||
imageSize: string;
|
||||
imageProportion: string;
|
||||
imagePx: string;
|
||||
imageUrl: string;
|
||||
|
||||
}
|
||||
|
||||
export interface OptimizeParams {
|
||||
prompt: string;
|
||||
duration: number;
|
||||
genType?: any;
|
||||
resolution?: string;
|
||||
aspectRatio?: string;
|
||||
references?: MediaReference[];
|
||||
idempotencyKey?: string;
|
||||
image_size:any;
|
||||
image_proportion:any;
|
||||
image_px:any
|
||||
}
|
||||
|
||||
export interface GenerateParams {
|
||||
aspectRatio: AspectRatio;
|
||||
resolution: Resolution;
|
||||
aspectRatio?: AspectRatio;
|
||||
resolution?: Resolution;
|
||||
}
|
||||
|
||||
export interface OptimizeResult {
|
||||
|
||||
Reference in New Issue
Block a user