celery 容灾升级
This commit is contained in:
@@ -365,6 +365,30 @@ export interface GenerationAiEngineOption {
|
||||
genType: GenerationAiGenType;
|
||||
}
|
||||
|
||||
export type GenerationPipelineStage =
|
||||
| 'queued'
|
||||
| 'preparing'
|
||||
| 'creating_provider_task'
|
||||
| 'provider_result_staged'
|
||||
| 'waiting_remote'
|
||||
| 'polling'
|
||||
| 'result_ready'
|
||||
| 'download_queued'
|
||||
| 'downloading'
|
||||
| 'retry_waiting'
|
||||
| 'upscale_queued'
|
||||
| 'upscale_processing'
|
||||
| 'upscale_polling'
|
||||
| 'upscale_downloading'
|
||||
| 'upscale_finalizing'
|
||||
| 'upscale_retry_waiting'
|
||||
| 'upscale_failed'
|
||||
| 'done'
|
||||
| 'failed'
|
||||
| 'timeout'
|
||||
| 'download_failed'
|
||||
| (string & {});
|
||||
|
||||
export interface AdminGenerationRecord {
|
||||
id: string;
|
||||
userId: string;
|
||||
@@ -378,8 +402,10 @@ export interface AdminGenerationRecord {
|
||||
aspectRatio?: string;
|
||||
resolution?: string;
|
||||
status: 'optimizing' | 'prompt_optimized' | 'generating' | 'completed' | 'failed' | string;
|
||||
pipelineStage?: GenerationPipelineStage | null;
|
||||
videoUrl?: string;
|
||||
videoCoverUrl?: string;
|
||||
videoUpscaleEnabled?: boolean;
|
||||
references?: GenerationAIMediaReference[] | null;
|
||||
creditsCost: number;
|
||||
textCreditsCost: number;
|
||||
@@ -443,7 +469,7 @@ export interface GenerationAITaskOut {
|
||||
generationCount: number;
|
||||
generationIndex?: number | null;
|
||||
displayStatus?: string | null;
|
||||
pipelineStage?: string | null;
|
||||
pipelineStage?: GenerationPipelineStage | null;
|
||||
status: GenerationAITaskStatus;
|
||||
originalPrompt: string;
|
||||
optimizedPrompt?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user