export type VideoModelId = "wan22" | "ltx23" | "ltx25" | Ltx25ConcreteModelId | "minimax-h3-t2v" | "minimax-h3-i2v" | "minimax-h3-flf2v" | "minimax-h3-r2v" | "minimax-h3-t2v-turbo" | "minimax-h3-i2v-turbo" | "minimax-h3-flf2v-turbo" | "minimax-h3-r2v-turbo" | "minimax-h3-fasth3-t2v-turbo" | "minimax-h3-fasth3-i2v-turbo" | "minimax-h3-fasth3-flf2v-turbo" | "minimax-h3-fasth3-t2v-turbo-2stage" | "minimax-h3-fasth3-i2v-turbo-2stage" | "minimax-h3-fasth3-flf2v-turbo-2stage" | "minimax-h3-fasth3-ia2v-turbo" | "minimax-h3-fasth3-flfa2v-turbo" | "minimax-h3-fasth3-a2v-turbo" | "minimax-h3-fasth3-ia2v-turbo-2stage" | "minimax-h3-fasth3-flfa2v-turbo-2stage" | "minimax-h3-fasth3-a2v-turbo-2stage" | "minimax-h3-r2v-2stage" | "minimax-h3-r2v-balanced-2stage" | "seedance2" | "seedance2-mini" | "seedance2-5" | "happyhorse-1.1-t2v" | "happyhorse-1.1-i2v" | "happyhorse-1.1-r2v" | "wan3.0-video" | "wan3.0-spicy-video"; export type VideoQualityTier = "fast" | "hq" | "pro"; export type Ltx23Workflow = "t2v" | "i2v" | "a2v" | "ia2v"; export type Ltx25Workflow = "t2v" | "i2v" | "a2v" | "ia2v" | "v2v"; export type Ltx25ConcreteModelId = "ltx25-22b-int8_t2v_distilled" | "ltx25-22b-int8_i2v_distilled" | "ltx25-22b-int8_a2v_distilled" | "ltx25-22b-int8_ia2v_distilled" | "ltx25-22b-int8_t2v_dev" | "ltx25-22b-int8_i2v_dev" | "ltx25-22b-int8_a2v_dev" | "ltx25-22b-int8_ia2v_dev" | "ltx25-22b-int8_v2v_distilled" | "ltx25-22b-int8_v2v_dev"; export interface VideoModelConfig { model: string; fps: number; internalFps?: number; steps?: number; guidance?: number; dimensionDivisor: number; minDimension: number; maxDimension: number; sampler?: string; scheduler?: string; shift?: number; strength?: number; resolutionTiers?: number[]; resolutionThreshold?: number; frameBase?: number; frameStep?: number; minFrames?: number; maxFrames?: number; maxPixels?: number; nativeAudio?: boolean; supportsAudioToggle?: boolean; supportsNegativePrompt?: boolean; supportsAdaptiveRatio?: boolean; supportsSmartDuration?: boolean; supportsPromptExtend?: boolean; supportsWatermark?: boolean; supportsDocumentReference?: boolean; supportsWebpageReference?: boolean; } export declare const LTX23_DISTILLED_MODEL_IDS: Record; export declare const LTX23_DEV_MODEL_IDS: Record; export declare function getLtx23WorkflowModelIdForQuality(workflow: Ltx23Workflow, qualityTier?: VideoQualityTier | undefined): string; export declare function getLtx23ModelNameForQuality(workflowName: string, qualityTier?: VideoQualityTier | undefined): string; export declare function getLtx23StepsForQuality(qualityTier?: VideoQualityTier | undefined): number; export declare const LTX25_DISTILLED_WORKFLOW_MODELS: Record; export declare const LTX25_DEV_WORKFLOW_MODELS: Record; export declare function getLtx25WorkflowModelIdForQuality(workflow: Ltx25Workflow, _qualityTier?: VideoQualityTier | undefined): Ltx25ConcreteModelId; export declare function getLtx25ModelNameForQuality(workflowName: string, _qualityTier?: VideoQualityTier | undefined): string; export declare function getLtx25StepsForQuality(_qualityTier?: VideoQualityTier | undefined): number; export declare const WAN22_MAX_VIDEO_PIXELS = 1048576; export declare const WAN22_MIN_VIDEO_SIDE = 480; export declare const WAN22_MAX_VIDEO_SIDE = 1536; export declare function getWan22VideoSizeRefusal(width: number, height: number): string | null; export declare const VIDEO_MODEL_CONFIGS: Record; export declare const MINIMAX_H3_TWO_STAGE_MODEL_IDS: readonly string[]; export type MinimaxH3AudioGuideMode = "ia2v" | "flfa2v" | "a2v"; export declare const MINIMAX_H3_AUDIO_GUIDE_SOCKET_MODEL_IDS: Readonly>; export declare const MINIMAX_H3_AUDIO_GUIDE_MODEL_IDS: readonly string[]; export declare const MINIMAX_H3_TWO_STAGE_DELIVERED_SCALE: 2; export interface MinimaxH3TwoStageResolution { readonly targetResolution: 720 | 1080 | 1440; readonly canvasShortEdge: 384 | 544 | 768; readonly deliveredShortEdge: 768 | 1088 | 1536; } export declare const MINIMAX_H3_TWO_STAGE_RESOLUTIONS: readonly MinimaxH3TwoStageResolution[]; export declare const MINIMAX_H3_TWO_STAGE_DEFAULT_TARGET_RESOLUTION: 1440; export declare function minimaxH3TwoStageCanvasShortEdge(targetResolution?: number | string | null): MinimaxH3TwoStageResolution["canvasShortEdge"]; export declare function minimaxH3AudioGuideMode(modelId: string | null | undefined): MinimaxH3AudioGuideMode | null; export declare function isMinimaxH3AudioGuideModelId(modelId: string | null | undefined): boolean; export declare function minimaxH3AudioGuideFrameInputError(modelId: string, frames: { hasFirstFrame: boolean; hasLastFrame: boolean; }): string | null; export declare function isMinimaxH3TwoStageModelId(modelId: string | null | undefined): boolean; export declare function minimaxH3TwoStageDeliveredSize(width: number, height: number): { width: number; height: number; }; export declare const WAN3_VIDEO_MODEL_ID: "wan3.0-video"; export declare const WAN3_ENHANCED_VIDEO_MODEL_ID: "wan3.0-spicy-video"; export type Wan3Resolution = "480P" | "720P" | "1080P"; export declare const WAN3_SUPPORTED_RATIOS: readonly string[]; export declare const WAN3_RESOLUTIONS: readonly Wan3Resolution[]; export declare const WAN3_REFERENCE_LIMITS: Readonly<{ firstFrames: 1; lastFrames: 1; images: 10; videos: 5; audios: 5; files: 1; links: 1; }>; export type HappyHorseMode = "t2v" | "i2v" | "r2v"; export type HappyHorseResolution = "720P" | "1080P"; export interface HappyHorseModelSettings { readonly model: string; readonly mode: HappyHorseMode; readonly fps: 24; readonly minDuration: 3; readonly maxDuration: 15; readonly resolutions: readonly HappyHorseResolution[]; readonly nativeAudio: true; readonly supportedRatios: readonly string[]; readonly maxReferenceImages: number; readonly maxReferenceVideos: 0; readonly maxReferenceAudios: 0; readonly premium: true; } export declare const HAPPYHORSE_SUPPORTED_RATIOS: readonly string[]; export declare const HAPPYHORSE_RESOLUTIONS: readonly HappyHorseResolution[]; export declare const HAPPYHORSE_VIDEO_MODELS: Readonly>; export declare const HAPPYHORSE_MODEL_IDS: readonly string[]; export declare function getHappyHorseModelSettings(modelId: string | null | undefined): HappyHorseModelSettings | null; export declare const DEFAULT_VIDEO_MODEL: VideoModelId; export declare function getVideoModelConfig(modelId?: VideoModelId, qualityTier?: VideoQualityTier | undefined): VideoModelConfig; export declare const VIDEO_CONFIG: { readonly defaultFps: number; readonly defaultDuration: number; readonly dimensionDivisor: number; readonly minDimension: number; readonly maxDimension: number; readonly defaultFrames: number; }; export declare const VIDEO_QUALITY_PRESETS: { readonly fast: { readonly model: string; readonly steps: number | undefined; readonly label: "Fast"; readonly description: "Quick generation (~15-30s)"; }; }; export type VideoQualityPreset = keyof typeof VIDEO_QUALITY_PRESETS; export declare function calculateVideoDimensions(imageWidth: number, imageHeight: number, targetResolution?: number, modelId?: VideoModelId, aspectRatio?: string): { width: number; height: number; }; export declare function calculateVideoFrames(duration?: number, modelId?: VideoModelId, qualityTier?: VideoQualityTier | undefined): number; //# sourceMappingURL=videoSettings.d.ts.map