超分功能完成
This commit is contained in:
@@ -1308,3 +1308,48 @@ export interface PrivatePortraitSelectableAssetListOut {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
}
|
||||
|
||||
// ── Video Upscale ────────────────────────────────────────
|
||||
|
||||
export type VideoUpscaleProcessorKey =
|
||||
| 'local_ffmpeg_crop_v1'
|
||||
| 'volc_large_model_v1'
|
||||
| 'volc_standard_v1'
|
||||
| 'volc_professional_v1';
|
||||
|
||||
export interface VideoUpscaleResolutionRule {
|
||||
targetResolution: '480p' | '720p' | '1080p' | '2K' | '4K';
|
||||
providerGenerationResolution: '480p' | '720p' | '1080p' | '2K' | '4K';
|
||||
processorKey: VideoUpscaleProcessorKey;
|
||||
enabled: boolean;
|
||||
}
|
||||
|
||||
export interface VideoUpscaleConfigData {
|
||||
enabled: boolean;
|
||||
version: number;
|
||||
deleteSourceAfterSuccess: boolean;
|
||||
rules: VideoUpscaleResolutionRule[];
|
||||
}
|
||||
|
||||
export interface VideoUpscaleConfigOut {
|
||||
id?: string | null;
|
||||
key: string;
|
||||
description?: string | null;
|
||||
data: VideoUpscaleConfigData;
|
||||
createdAt?: string | null;
|
||||
updatedAt?: string | null;
|
||||
}
|
||||
|
||||
export interface VideoUpscaleConfigSavePayload {
|
||||
data: {
|
||||
enabled: boolean;
|
||||
version: number;
|
||||
delete_source_after_success: boolean;
|
||||
rules: Array<{
|
||||
target_resolution: string;
|
||||
provider_generation_resolution: string;
|
||||
processor_key: VideoUpscaleProcessorKey;
|
||||
enabled: boolean;
|
||||
}>;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user