// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'wangp_ayarlari.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); WanGpAyarlari _$WanGpAyarlariFromJson(Map json) { return _WanGpAyarlari.fromJson(json); } /// @nodoc mixin _$WanGpAyarlari { // ─── Sampler / CFG ─────────────────────────────────────────────────── String? get sampleSolver => throw _privateConstructorUsedError; // "default", "euler", "dpm++", ... double? get flowShift => throw _privateConstructorUsedError; // genelde 1.0–17.0 double? get guidanceScale => throw _privateConstructorUsedError; // ana CFG (zaten segmentte de var, override) double? get guidance2Scale => throw _privateConstructorUsedError; // 2 fazlı CFG double? get guidance3Scale => throw _privateConstructorUsedError; // 3 fazlı CFG double? get switchThreshold => throw _privateConstructorUsedError; // faz geçiş eşiği double? get switchThreshold2 => throw _privateConstructorUsedError; int? get guidancePhases => throw _privateConstructorUsedError; // 1, 2, 3 int? get modelSwitchPhase => throw _privateConstructorUsedError; double? get altGuidanceScale => throw _privateConstructorUsedError; double? get altScale => throw _privateConstructorUsedError; double? get audioGuidanceScale => throw _privateConstructorUsedError; double? get audioScale => throw _privateConstructorUsedError; double? get embeddedGuidanceScale => throw _privateConstructorUsedError; // ─── Cache / Hızlandırma ──────────────────────────────────────────── String? get skipStepsCacheType => throw _privateConstructorUsedError; // "tea", "mag", "easy", "none" double? get skipStepsMultiplier => throw _privateConstructorUsedError; double? get skipStepsStartStepPerc => throw _privateConstructorUsedError; String? get overrideAttention => throw _privateConstructorUsedError; // "sage", "sdpa", "flash", "auto" int? get overrideProfile => throw _privateConstructorUsedError; // 1-5 arası VRAM profili // ─── Sliding Window (uzun video) ──────────────────────────────────── int? get slidingWindowSize => throw _privateConstructorUsedError; int? get slidingWindowOverlap => throw _privateConstructorUsedError; double? get slidingWindowColorCorrectionStrength => throw _privateConstructorUsedError; double? get slidingWindowOverlapNoise => throw _privateConstructorUsedError; int? get slidingWindowDiscardLastFrames => throw _privateConstructorUsedError; // ─── RIFLEx / NAG / APG / CFG-Star ─────────────────────────────────── String? get riflexSetting => throw _privateConstructorUsedError; // "auto", "on", "off" double? get nagScale => throw _privateConstructorUsedError; double? get nagTau => throw _privateConstructorUsedError; double? get nagAlpha => throw _privateConstructorUsedError; bool? get apgSwitch => throw _privateConstructorUsedError; bool? get cfgStarSwitch => throw _privateConstructorUsedError; int? get cfgZeroStep => throw _privateConstructorUsedError; // ─── Perturbation ──────────────────────────────────────────────────── bool? get perturbationSwitch => throw _privateConstructorUsedError; String? get perturbationLayers => throw _privateConstructorUsedError; double? get perturbationStartPerc => throw _privateConstructorUsedError; double? get perturbationEndPerc => throw _privateConstructorUsedError; // ─── Post-process ──────────────────────────────────────────────────── String? get temporalUpsampling => throw _privateConstructorUsedError; // "none", "rife" String? get spatialUpsampling => throw _privateConstructorUsedError; // "none", "lanczos" double? get filmGrainIntensity => throw _privateConstructorUsedError; double? get filmGrainSaturation => throw _privateConstructorUsedError; String? get mmAudioSetting => throw _privateConstructorUsedError; // "none", "auto" String? get mmAudioPrompt => throw _privateConstructorUsedError; String? get mmAudioNegPrompt => throw _privateConstructorUsedError; // ─── LoRA (çoklu) ──────────────────────────────────────────────────── List get loraDosyalari => throw _privateConstructorUsedError; // dosya adları/yolları List get loraMultipliers => throw _privateConstructorUsedError; // her LoRA için katsayı // ─── Image / Video Prompt ─────────────────────────────────────────── String? get imagePromptType => throw _privateConstructorUsedError; // 'S' = start, 'E' = end, 'SE' = ikisi String? get imageEnd => throw _privateConstructorUsedError; String? get videoSource => throw _privateConstructorUsedError; int? get keepFramesVideoSource => throw _privateConstructorUsedError; double? get inputVideoStrength => throw _privateConstructorUsedError; String? get videoPromptType => throw _privateConstructorUsedError; double? get imageRefsRelativeSize => throw _privateConstructorUsedError; bool? get removeBackgroundImagesRef => throw _privateConstructorUsedError; // ─── Control Net ──────────────────────────────────────────────────── double? get controlNetWeight => throw _privateConstructorUsedError; double? get controlNetWeight2 => throw _privateConstructorUsedError; double? get controlNetWeightAlt => throw _privateConstructorUsedError; double? get motionAmplitude => throw _privateConstructorUsedError; int? get maskExpand => throw _privateConstructorUsedError; double? get denoisingStrength => throw _privateConstructorUsedError; double? get maskingStrength => throw _privateConstructorUsedError; // ─── Audio (ek) ───────────────────────────────────────────────────── String? get audioGuide2 => throw _privateConstructorUsedError; String? get audioSource => throw _privateConstructorUsedError; String? get audioPromptType => throw _privateConstructorUsedError; String? get speakersLocations => throw _privateConstructorUsedError; // ─── Self Refiner ─────────────────────────────────────────────────── String? get selfRefinerSetting => throw _privateConstructorUsedError; String? get selfRefinerPlan => throw _privateConstructorUsedError; double? get selfRefinerFUncertainty => throw _privateConstructorUsedError; double? get selfRefinerCertainPercentage => throw _privateConstructorUsedError; // ─── Üretim Stratejisi ────────────────────────────────────────────── int? get batchSize => throw _privateConstructorUsedError; int? get repeatGeneration => throw _privateConstructorUsedError; String? get multiPromptsGenType => throw _privateConstructorUsedError; String? get multiImagesGenType => throw _privateConstructorUsedError; int? get minFramesIfReferences => throw _privateConstructorUsedError; int? get pauseSeconds => throw _privateConstructorUsedError; String? get promptEnhancer => throw _privateConstructorUsedError; // ─── Sampling Hyperparams ─────────────────────────────────────────── double? get temperature => throw _privateConstructorUsedError; double? get topP => throw _privateConstructorUsedError; int? get topK => throw _privateConstructorUsedError; // ─── Custom JSON override (her şeyi kabul) ────────────────────────── /// Yukarıda yer almayan alanları doğrudan WanGP'ye geçirmek için. /// Anahtar = wgp.py parametre adı. Map get ozelAlanlar => throw _privateConstructorUsedError; /// Serializes this WanGpAyarlari to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of WanGpAyarlari /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $WanGpAyarlariCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $WanGpAyarlariCopyWith<$Res> { factory $WanGpAyarlariCopyWith( WanGpAyarlari value, $Res Function(WanGpAyarlari) then) = _$WanGpAyarlariCopyWithImpl<$Res, WanGpAyarlari>; @useResult $Res call( {String? sampleSolver, double? flowShift, double? guidanceScale, double? guidance2Scale, double? guidance3Scale, double? switchThreshold, double? switchThreshold2, int? guidancePhases, int? modelSwitchPhase, double? altGuidanceScale, double? altScale, double? audioGuidanceScale, double? audioScale, double? embeddedGuidanceScale, String? skipStepsCacheType, double? skipStepsMultiplier, double? skipStepsStartStepPerc, String? overrideAttention, int? overrideProfile, int? slidingWindowSize, int? slidingWindowOverlap, double? slidingWindowColorCorrectionStrength, double? slidingWindowOverlapNoise, int? slidingWindowDiscardLastFrames, String? riflexSetting, double? nagScale, double? nagTau, double? nagAlpha, bool? apgSwitch, bool? cfgStarSwitch, int? cfgZeroStep, bool? perturbationSwitch, String? perturbationLayers, double? perturbationStartPerc, double? perturbationEndPerc, String? temporalUpsampling, String? spatialUpsampling, double? filmGrainIntensity, double? filmGrainSaturation, String? mmAudioSetting, String? mmAudioPrompt, String? mmAudioNegPrompt, List loraDosyalari, List loraMultipliers, String? imagePromptType, String? imageEnd, String? videoSource, int? keepFramesVideoSource, double? inputVideoStrength, String? videoPromptType, double? imageRefsRelativeSize, bool? removeBackgroundImagesRef, double? controlNetWeight, double? controlNetWeight2, double? controlNetWeightAlt, double? motionAmplitude, int? maskExpand, double? denoisingStrength, double? maskingStrength, String? audioGuide2, String? audioSource, String? audioPromptType, String? speakersLocations, String? selfRefinerSetting, String? selfRefinerPlan, double? selfRefinerFUncertainty, double? selfRefinerCertainPercentage, int? batchSize, int? repeatGeneration, String? multiPromptsGenType, String? multiImagesGenType, int? minFramesIfReferences, int? pauseSeconds, String? promptEnhancer, double? temperature, double? topP, int? topK, Map ozelAlanlar}); } /// @nodoc class _$WanGpAyarlariCopyWithImpl<$Res, $Val extends WanGpAyarlari> implements $WanGpAyarlariCopyWith<$Res> { _$WanGpAyarlariCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of WanGpAyarlari /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? sampleSolver = freezed, Object? flowShift = freezed, Object? guidanceScale = freezed, Object? guidance2Scale = freezed, Object? guidance3Scale = freezed, Object? switchThreshold = freezed, Object? switchThreshold2 = freezed, Object? guidancePhases = freezed, Object? modelSwitchPhase = freezed, Object? altGuidanceScale = freezed, Object? altScale = freezed, Object? audioGuidanceScale = freezed, Object? audioScale = freezed, Object? embeddedGuidanceScale = freezed, Object? skipStepsCacheType = freezed, Object? skipStepsMultiplier = freezed, Object? skipStepsStartStepPerc = freezed, Object? overrideAttention = freezed, Object? overrideProfile = freezed, Object? slidingWindowSize = freezed, Object? slidingWindowOverlap = freezed, Object? slidingWindowColorCorrectionStrength = freezed, Object? slidingWindowOverlapNoise = freezed, Object? slidingWindowDiscardLastFrames = freezed, Object? riflexSetting = freezed, Object? nagScale = freezed, Object? nagTau = freezed, Object? nagAlpha = freezed, Object? apgSwitch = freezed, Object? cfgStarSwitch = freezed, Object? cfgZeroStep = freezed, Object? perturbationSwitch = freezed, Object? perturbationLayers = freezed, Object? perturbationStartPerc = freezed, Object? perturbationEndPerc = freezed, Object? temporalUpsampling = freezed, Object? spatialUpsampling = freezed, Object? filmGrainIntensity = freezed, Object? filmGrainSaturation = freezed, Object? mmAudioSetting = freezed, Object? mmAudioPrompt = freezed, Object? mmAudioNegPrompt = freezed, Object? loraDosyalari = null, Object? loraMultipliers = null, Object? imagePromptType = freezed, Object? imageEnd = freezed, Object? videoSource = freezed, Object? keepFramesVideoSource = freezed, Object? inputVideoStrength = freezed, Object? videoPromptType = freezed, Object? imageRefsRelativeSize = freezed, Object? removeBackgroundImagesRef = freezed, Object? controlNetWeight = freezed, Object? controlNetWeight2 = freezed, Object? controlNetWeightAlt = freezed, Object? motionAmplitude = freezed, Object? maskExpand = freezed, Object? denoisingStrength = freezed, Object? maskingStrength = freezed, Object? audioGuide2 = freezed, Object? audioSource = freezed, Object? audioPromptType = freezed, Object? speakersLocations = freezed, Object? selfRefinerSetting = freezed, Object? selfRefinerPlan = freezed, Object? selfRefinerFUncertainty = freezed, Object? selfRefinerCertainPercentage = freezed, Object? batchSize = freezed, Object? repeatGeneration = freezed, Object? multiPromptsGenType = freezed, Object? multiImagesGenType = freezed, Object? minFramesIfReferences = freezed, Object? pauseSeconds = freezed, Object? promptEnhancer = freezed, Object? temperature = freezed, Object? topP = freezed, Object? topK = freezed, Object? ozelAlanlar = null, }) { return _then(_value.copyWith( sampleSolver: freezed == sampleSolver ? _value.sampleSolver : sampleSolver // ignore: cast_nullable_to_non_nullable as String?, flowShift: freezed == flowShift ? _value.flowShift : flowShift // ignore: cast_nullable_to_non_nullable as double?, guidanceScale: freezed == guidanceScale ? _value.guidanceScale : guidanceScale // ignore: cast_nullable_to_non_nullable as double?, guidance2Scale: freezed == guidance2Scale ? _value.guidance2Scale : guidance2Scale // ignore: cast_nullable_to_non_nullable as double?, guidance3Scale: freezed == guidance3Scale ? _value.guidance3Scale : guidance3Scale // ignore: cast_nullable_to_non_nullable as double?, switchThreshold: freezed == switchThreshold ? _value.switchThreshold : switchThreshold // ignore: cast_nullable_to_non_nullable as double?, switchThreshold2: freezed == switchThreshold2 ? _value.switchThreshold2 : switchThreshold2 // ignore: cast_nullable_to_non_nullable as double?, guidancePhases: freezed == guidancePhases ? _value.guidancePhases : guidancePhases // ignore: cast_nullable_to_non_nullable as int?, modelSwitchPhase: freezed == modelSwitchPhase ? _value.modelSwitchPhase : modelSwitchPhase // ignore: cast_nullable_to_non_nullable as int?, altGuidanceScale: freezed == altGuidanceScale ? _value.altGuidanceScale : altGuidanceScale // ignore: cast_nullable_to_non_nullable as double?, altScale: freezed == altScale ? _value.altScale : altScale // ignore: cast_nullable_to_non_nullable as double?, audioGuidanceScale: freezed == audioGuidanceScale ? _value.audioGuidanceScale : audioGuidanceScale // ignore: cast_nullable_to_non_nullable as double?, audioScale: freezed == audioScale ? _value.audioScale : audioScale // ignore: cast_nullable_to_non_nullable as double?, embeddedGuidanceScale: freezed == embeddedGuidanceScale ? _value.embeddedGuidanceScale : embeddedGuidanceScale // ignore: cast_nullable_to_non_nullable as double?, skipStepsCacheType: freezed == skipStepsCacheType ? _value.skipStepsCacheType : skipStepsCacheType // ignore: cast_nullable_to_non_nullable as String?, skipStepsMultiplier: freezed == skipStepsMultiplier ? _value.skipStepsMultiplier : skipStepsMultiplier // ignore: cast_nullable_to_non_nullable as double?, skipStepsStartStepPerc: freezed == skipStepsStartStepPerc ? _value.skipStepsStartStepPerc : skipStepsStartStepPerc // ignore: cast_nullable_to_non_nullable as double?, overrideAttention: freezed == overrideAttention ? _value.overrideAttention : overrideAttention // ignore: cast_nullable_to_non_nullable as String?, overrideProfile: freezed == overrideProfile ? _value.overrideProfile : overrideProfile // ignore: cast_nullable_to_non_nullable as int?, slidingWindowSize: freezed == slidingWindowSize ? _value.slidingWindowSize : slidingWindowSize // ignore: cast_nullable_to_non_nullable as int?, slidingWindowOverlap: freezed == slidingWindowOverlap ? _value.slidingWindowOverlap : slidingWindowOverlap // ignore: cast_nullable_to_non_nullable as int?, slidingWindowColorCorrectionStrength: freezed == slidingWindowColorCorrectionStrength ? _value.slidingWindowColorCorrectionStrength : slidingWindowColorCorrectionStrength // ignore: cast_nullable_to_non_nullable as double?, slidingWindowOverlapNoise: freezed == slidingWindowOverlapNoise ? _value.slidingWindowOverlapNoise : slidingWindowOverlapNoise // ignore: cast_nullable_to_non_nullable as double?, slidingWindowDiscardLastFrames: freezed == slidingWindowDiscardLastFrames ? _value.slidingWindowDiscardLastFrames : slidingWindowDiscardLastFrames // ignore: cast_nullable_to_non_nullable as int?, riflexSetting: freezed == riflexSetting ? _value.riflexSetting : riflexSetting // ignore: cast_nullable_to_non_nullable as String?, nagScale: freezed == nagScale ? _value.nagScale : nagScale // ignore: cast_nullable_to_non_nullable as double?, nagTau: freezed == nagTau ? _value.nagTau : nagTau // ignore: cast_nullable_to_non_nullable as double?, nagAlpha: freezed == nagAlpha ? _value.nagAlpha : nagAlpha // ignore: cast_nullable_to_non_nullable as double?, apgSwitch: freezed == apgSwitch ? _value.apgSwitch : apgSwitch // ignore: cast_nullable_to_non_nullable as bool?, cfgStarSwitch: freezed == cfgStarSwitch ? _value.cfgStarSwitch : cfgStarSwitch // ignore: cast_nullable_to_non_nullable as bool?, cfgZeroStep: freezed == cfgZeroStep ? _value.cfgZeroStep : cfgZeroStep // ignore: cast_nullable_to_non_nullable as int?, perturbationSwitch: freezed == perturbationSwitch ? _value.perturbationSwitch : perturbationSwitch // ignore: cast_nullable_to_non_nullable as bool?, perturbationLayers: freezed == perturbationLayers ? _value.perturbationLayers : perturbationLayers // ignore: cast_nullable_to_non_nullable as String?, perturbationStartPerc: freezed == perturbationStartPerc ? _value.perturbationStartPerc : perturbationStartPerc // ignore: cast_nullable_to_non_nullable as double?, perturbationEndPerc: freezed == perturbationEndPerc ? _value.perturbationEndPerc : perturbationEndPerc // ignore: cast_nullable_to_non_nullable as double?, temporalUpsampling: freezed == temporalUpsampling ? _value.temporalUpsampling : temporalUpsampling // ignore: cast_nullable_to_non_nullable as String?, spatialUpsampling: freezed == spatialUpsampling ? _value.spatialUpsampling : spatialUpsampling // ignore: cast_nullable_to_non_nullable as String?, filmGrainIntensity: freezed == filmGrainIntensity ? _value.filmGrainIntensity : filmGrainIntensity // ignore: cast_nullable_to_non_nullable as double?, filmGrainSaturation: freezed == filmGrainSaturation ? _value.filmGrainSaturation : filmGrainSaturation // ignore: cast_nullable_to_non_nullable as double?, mmAudioSetting: freezed == mmAudioSetting ? _value.mmAudioSetting : mmAudioSetting // ignore: cast_nullable_to_non_nullable as String?, mmAudioPrompt: freezed == mmAudioPrompt ? _value.mmAudioPrompt : mmAudioPrompt // ignore: cast_nullable_to_non_nullable as String?, mmAudioNegPrompt: freezed == mmAudioNegPrompt ? _value.mmAudioNegPrompt : mmAudioNegPrompt // ignore: cast_nullable_to_non_nullable as String?, loraDosyalari: null == loraDosyalari ? _value.loraDosyalari : loraDosyalari // ignore: cast_nullable_to_non_nullable as List, loraMultipliers: null == loraMultipliers ? _value.loraMultipliers : loraMultipliers // ignore: cast_nullable_to_non_nullable as List, imagePromptType: freezed == imagePromptType ? _value.imagePromptType : imagePromptType // ignore: cast_nullable_to_non_nullable as String?, imageEnd: freezed == imageEnd ? _value.imageEnd : imageEnd // ignore: cast_nullable_to_non_nullable as String?, videoSource: freezed == videoSource ? _value.videoSource : videoSource // ignore: cast_nullable_to_non_nullable as String?, keepFramesVideoSource: freezed == keepFramesVideoSource ? _value.keepFramesVideoSource : keepFramesVideoSource // ignore: cast_nullable_to_non_nullable as int?, inputVideoStrength: freezed == inputVideoStrength ? _value.inputVideoStrength : inputVideoStrength // ignore: cast_nullable_to_non_nullable as double?, videoPromptType: freezed == videoPromptType ? _value.videoPromptType : videoPromptType // ignore: cast_nullable_to_non_nullable as String?, imageRefsRelativeSize: freezed == imageRefsRelativeSize ? _value.imageRefsRelativeSize : imageRefsRelativeSize // ignore: cast_nullable_to_non_nullable as double?, removeBackgroundImagesRef: freezed == removeBackgroundImagesRef ? _value.removeBackgroundImagesRef : removeBackgroundImagesRef // ignore: cast_nullable_to_non_nullable as bool?, controlNetWeight: freezed == controlNetWeight ? _value.controlNetWeight : controlNetWeight // ignore: cast_nullable_to_non_nullable as double?, controlNetWeight2: freezed == controlNetWeight2 ? _value.controlNetWeight2 : controlNetWeight2 // ignore: cast_nullable_to_non_nullable as double?, controlNetWeightAlt: freezed == controlNetWeightAlt ? _value.controlNetWeightAlt : controlNetWeightAlt // ignore: cast_nullable_to_non_nullable as double?, motionAmplitude: freezed == motionAmplitude ? _value.motionAmplitude : motionAmplitude // ignore: cast_nullable_to_non_nullable as double?, maskExpand: freezed == maskExpand ? _value.maskExpand : maskExpand // ignore: cast_nullable_to_non_nullable as int?, denoisingStrength: freezed == denoisingStrength ? _value.denoisingStrength : denoisingStrength // ignore: cast_nullable_to_non_nullable as double?, maskingStrength: freezed == maskingStrength ? _value.maskingStrength : maskingStrength // ignore: cast_nullable_to_non_nullable as double?, audioGuide2: freezed == audioGuide2 ? _value.audioGuide2 : audioGuide2 // ignore: cast_nullable_to_non_nullable as String?, audioSource: freezed == audioSource ? _value.audioSource : audioSource // ignore: cast_nullable_to_non_nullable as String?, audioPromptType: freezed == audioPromptType ? _value.audioPromptType : audioPromptType // ignore: cast_nullable_to_non_nullable as String?, speakersLocations: freezed == speakersLocations ? _value.speakersLocations : speakersLocations // ignore: cast_nullable_to_non_nullable as String?, selfRefinerSetting: freezed == selfRefinerSetting ? _value.selfRefinerSetting : selfRefinerSetting // ignore: cast_nullable_to_non_nullable as String?, selfRefinerPlan: freezed == selfRefinerPlan ? _value.selfRefinerPlan : selfRefinerPlan // ignore: cast_nullable_to_non_nullable as String?, selfRefinerFUncertainty: freezed == selfRefinerFUncertainty ? _value.selfRefinerFUncertainty : selfRefinerFUncertainty // ignore: cast_nullable_to_non_nullable as double?, selfRefinerCertainPercentage: freezed == selfRefinerCertainPercentage ? _value.selfRefinerCertainPercentage : selfRefinerCertainPercentage // ignore: cast_nullable_to_non_nullable as double?, batchSize: freezed == batchSize ? _value.batchSize : batchSize // ignore: cast_nullable_to_non_nullable as int?, repeatGeneration: freezed == repeatGeneration ? _value.repeatGeneration : repeatGeneration // ignore: cast_nullable_to_non_nullable as int?, multiPromptsGenType: freezed == multiPromptsGenType ? _value.multiPromptsGenType : multiPromptsGenType // ignore: cast_nullable_to_non_nullable as String?, multiImagesGenType: freezed == multiImagesGenType ? _value.multiImagesGenType : multiImagesGenType // ignore: cast_nullable_to_non_nullable as String?, minFramesIfReferences: freezed == minFramesIfReferences ? _value.minFramesIfReferences : minFramesIfReferences // ignore: cast_nullable_to_non_nullable as int?, pauseSeconds: freezed == pauseSeconds ? _value.pauseSeconds : pauseSeconds // ignore: cast_nullable_to_non_nullable as int?, promptEnhancer: freezed == promptEnhancer ? _value.promptEnhancer : promptEnhancer // ignore: cast_nullable_to_non_nullable as String?, temperature: freezed == temperature ? _value.temperature : temperature // ignore: cast_nullable_to_non_nullable as double?, topP: freezed == topP ? _value.topP : topP // ignore: cast_nullable_to_non_nullable as double?, topK: freezed == topK ? _value.topK : topK // ignore: cast_nullable_to_non_nullable as int?, ozelAlanlar: null == ozelAlanlar ? _value.ozelAlanlar : ozelAlanlar // ignore: cast_nullable_to_non_nullable as Map, ) as $Val); } } /// @nodoc abstract class _$$WanGpAyarlariImplCopyWith<$Res> implements $WanGpAyarlariCopyWith<$Res> { factory _$$WanGpAyarlariImplCopyWith( _$WanGpAyarlariImpl value, $Res Function(_$WanGpAyarlariImpl) then) = __$$WanGpAyarlariImplCopyWithImpl<$Res>; @override @useResult $Res call( {String? sampleSolver, double? flowShift, double? guidanceScale, double? guidance2Scale, double? guidance3Scale, double? switchThreshold, double? switchThreshold2, int? guidancePhases, int? modelSwitchPhase, double? altGuidanceScale, double? altScale, double? audioGuidanceScale, double? audioScale, double? embeddedGuidanceScale, String? skipStepsCacheType, double? skipStepsMultiplier, double? skipStepsStartStepPerc, String? overrideAttention, int? overrideProfile, int? slidingWindowSize, int? slidingWindowOverlap, double? slidingWindowColorCorrectionStrength, double? slidingWindowOverlapNoise, int? slidingWindowDiscardLastFrames, String? riflexSetting, double? nagScale, double? nagTau, double? nagAlpha, bool? apgSwitch, bool? cfgStarSwitch, int? cfgZeroStep, bool? perturbationSwitch, String? perturbationLayers, double? perturbationStartPerc, double? perturbationEndPerc, String? temporalUpsampling, String? spatialUpsampling, double? filmGrainIntensity, double? filmGrainSaturation, String? mmAudioSetting, String? mmAudioPrompt, String? mmAudioNegPrompt, List loraDosyalari, List loraMultipliers, String? imagePromptType, String? imageEnd, String? videoSource, int? keepFramesVideoSource, double? inputVideoStrength, String? videoPromptType, double? imageRefsRelativeSize, bool? removeBackgroundImagesRef, double? controlNetWeight, double? controlNetWeight2, double? controlNetWeightAlt, double? motionAmplitude, int? maskExpand, double? denoisingStrength, double? maskingStrength, String? audioGuide2, String? audioSource, String? audioPromptType, String? speakersLocations, String? selfRefinerSetting, String? selfRefinerPlan, double? selfRefinerFUncertainty, double? selfRefinerCertainPercentage, int? batchSize, int? repeatGeneration, String? multiPromptsGenType, String? multiImagesGenType, int? minFramesIfReferences, int? pauseSeconds, String? promptEnhancer, double? temperature, double? topP, int? topK, Map ozelAlanlar}); } /// @nodoc class __$$WanGpAyarlariImplCopyWithImpl<$Res> extends _$WanGpAyarlariCopyWithImpl<$Res, _$WanGpAyarlariImpl> implements _$$WanGpAyarlariImplCopyWith<$Res> { __$$WanGpAyarlariImplCopyWithImpl( _$WanGpAyarlariImpl _value, $Res Function(_$WanGpAyarlariImpl) _then) : super(_value, _then); /// Create a copy of WanGpAyarlari /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? sampleSolver = freezed, Object? flowShift = freezed, Object? guidanceScale = freezed, Object? guidance2Scale = freezed, Object? guidance3Scale = freezed, Object? switchThreshold = freezed, Object? switchThreshold2 = freezed, Object? guidancePhases = freezed, Object? modelSwitchPhase = freezed, Object? altGuidanceScale = freezed, Object? altScale = freezed, Object? audioGuidanceScale = freezed, Object? audioScale = freezed, Object? embeddedGuidanceScale = freezed, Object? skipStepsCacheType = freezed, Object? skipStepsMultiplier = freezed, Object? skipStepsStartStepPerc = freezed, Object? overrideAttention = freezed, Object? overrideProfile = freezed, Object? slidingWindowSize = freezed, Object? slidingWindowOverlap = freezed, Object? slidingWindowColorCorrectionStrength = freezed, Object? slidingWindowOverlapNoise = freezed, Object? slidingWindowDiscardLastFrames = freezed, Object? riflexSetting = freezed, Object? nagScale = freezed, Object? nagTau = freezed, Object? nagAlpha = freezed, Object? apgSwitch = freezed, Object? cfgStarSwitch = freezed, Object? cfgZeroStep = freezed, Object? perturbationSwitch = freezed, Object? perturbationLayers = freezed, Object? perturbationStartPerc = freezed, Object? perturbationEndPerc = freezed, Object? temporalUpsampling = freezed, Object? spatialUpsampling = freezed, Object? filmGrainIntensity = freezed, Object? filmGrainSaturation = freezed, Object? mmAudioSetting = freezed, Object? mmAudioPrompt = freezed, Object? mmAudioNegPrompt = freezed, Object? loraDosyalari = null, Object? loraMultipliers = null, Object? imagePromptType = freezed, Object? imageEnd = freezed, Object? videoSource = freezed, Object? keepFramesVideoSource = freezed, Object? inputVideoStrength = freezed, Object? videoPromptType = freezed, Object? imageRefsRelativeSize = freezed, Object? removeBackgroundImagesRef = freezed, Object? controlNetWeight = freezed, Object? controlNetWeight2 = freezed, Object? controlNetWeightAlt = freezed, Object? motionAmplitude = freezed, Object? maskExpand = freezed, Object? denoisingStrength = freezed, Object? maskingStrength = freezed, Object? audioGuide2 = freezed, Object? audioSource = freezed, Object? audioPromptType = freezed, Object? speakersLocations = freezed, Object? selfRefinerSetting = freezed, Object? selfRefinerPlan = freezed, Object? selfRefinerFUncertainty = freezed, Object? selfRefinerCertainPercentage = freezed, Object? batchSize = freezed, Object? repeatGeneration = freezed, Object? multiPromptsGenType = freezed, Object? multiImagesGenType = freezed, Object? minFramesIfReferences = freezed, Object? pauseSeconds = freezed, Object? promptEnhancer = freezed, Object? temperature = freezed, Object? topP = freezed, Object? topK = freezed, Object? ozelAlanlar = null, }) { return _then(_$WanGpAyarlariImpl( sampleSolver: freezed == sampleSolver ? _value.sampleSolver : sampleSolver // ignore: cast_nullable_to_non_nullable as String?, flowShift: freezed == flowShift ? _value.flowShift : flowShift // ignore: cast_nullable_to_non_nullable as double?, guidanceScale: freezed == guidanceScale ? _value.guidanceScale : guidanceScale // ignore: cast_nullable_to_non_nullable as double?, guidance2Scale: freezed == guidance2Scale ? _value.guidance2Scale : guidance2Scale // ignore: cast_nullable_to_non_nullable as double?, guidance3Scale: freezed == guidance3Scale ? _value.guidance3Scale : guidance3Scale // ignore: cast_nullable_to_non_nullable as double?, switchThreshold: freezed == switchThreshold ? _value.switchThreshold : switchThreshold // ignore: cast_nullable_to_non_nullable as double?, switchThreshold2: freezed == switchThreshold2 ? _value.switchThreshold2 : switchThreshold2 // ignore: cast_nullable_to_non_nullable as double?, guidancePhases: freezed == guidancePhases ? _value.guidancePhases : guidancePhases // ignore: cast_nullable_to_non_nullable as int?, modelSwitchPhase: freezed == modelSwitchPhase ? _value.modelSwitchPhase : modelSwitchPhase // ignore: cast_nullable_to_non_nullable as int?, altGuidanceScale: freezed == altGuidanceScale ? _value.altGuidanceScale : altGuidanceScale // ignore: cast_nullable_to_non_nullable as double?, altScale: freezed == altScale ? _value.altScale : altScale // ignore: cast_nullable_to_non_nullable as double?, audioGuidanceScale: freezed == audioGuidanceScale ? _value.audioGuidanceScale : audioGuidanceScale // ignore: cast_nullable_to_non_nullable as double?, audioScale: freezed == audioScale ? _value.audioScale : audioScale // ignore: cast_nullable_to_non_nullable as double?, embeddedGuidanceScale: freezed == embeddedGuidanceScale ? _value.embeddedGuidanceScale : embeddedGuidanceScale // ignore: cast_nullable_to_non_nullable as double?, skipStepsCacheType: freezed == skipStepsCacheType ? _value.skipStepsCacheType : skipStepsCacheType // ignore: cast_nullable_to_non_nullable as String?, skipStepsMultiplier: freezed == skipStepsMultiplier ? _value.skipStepsMultiplier : skipStepsMultiplier // ignore: cast_nullable_to_non_nullable as double?, skipStepsStartStepPerc: freezed == skipStepsStartStepPerc ? _value.skipStepsStartStepPerc : skipStepsStartStepPerc // ignore: cast_nullable_to_non_nullable as double?, overrideAttention: freezed == overrideAttention ? _value.overrideAttention : overrideAttention // ignore: cast_nullable_to_non_nullable as String?, overrideProfile: freezed == overrideProfile ? _value.overrideProfile : overrideProfile // ignore: cast_nullable_to_non_nullable as int?, slidingWindowSize: freezed == slidingWindowSize ? _value.slidingWindowSize : slidingWindowSize // ignore: cast_nullable_to_non_nullable as int?, slidingWindowOverlap: freezed == slidingWindowOverlap ? _value.slidingWindowOverlap : slidingWindowOverlap // ignore: cast_nullable_to_non_nullable as int?, slidingWindowColorCorrectionStrength: freezed == slidingWindowColorCorrectionStrength ? _value.slidingWindowColorCorrectionStrength : slidingWindowColorCorrectionStrength // ignore: cast_nullable_to_non_nullable as double?, slidingWindowOverlapNoise: freezed == slidingWindowOverlapNoise ? _value.slidingWindowOverlapNoise : slidingWindowOverlapNoise // ignore: cast_nullable_to_non_nullable as double?, slidingWindowDiscardLastFrames: freezed == slidingWindowDiscardLastFrames ? _value.slidingWindowDiscardLastFrames : slidingWindowDiscardLastFrames // ignore: cast_nullable_to_non_nullable as int?, riflexSetting: freezed == riflexSetting ? _value.riflexSetting : riflexSetting // ignore: cast_nullable_to_non_nullable as String?, nagScale: freezed == nagScale ? _value.nagScale : nagScale // ignore: cast_nullable_to_non_nullable as double?, nagTau: freezed == nagTau ? _value.nagTau : nagTau // ignore: cast_nullable_to_non_nullable as double?, nagAlpha: freezed == nagAlpha ? _value.nagAlpha : nagAlpha // ignore: cast_nullable_to_non_nullable as double?, apgSwitch: freezed == apgSwitch ? _value.apgSwitch : apgSwitch // ignore: cast_nullable_to_non_nullable as bool?, cfgStarSwitch: freezed == cfgStarSwitch ? _value.cfgStarSwitch : cfgStarSwitch // ignore: cast_nullable_to_non_nullable as bool?, cfgZeroStep: freezed == cfgZeroStep ? _value.cfgZeroStep : cfgZeroStep // ignore: cast_nullable_to_non_nullable as int?, perturbationSwitch: freezed == perturbationSwitch ? _value.perturbationSwitch : perturbationSwitch // ignore: cast_nullable_to_non_nullable as bool?, perturbationLayers: freezed == perturbationLayers ? _value.perturbationLayers : perturbationLayers // ignore: cast_nullable_to_non_nullable as String?, perturbationStartPerc: freezed == perturbationStartPerc ? _value.perturbationStartPerc : perturbationStartPerc // ignore: cast_nullable_to_non_nullable as double?, perturbationEndPerc: freezed == perturbationEndPerc ? _value.perturbationEndPerc : perturbationEndPerc // ignore: cast_nullable_to_non_nullable as double?, temporalUpsampling: freezed == temporalUpsampling ? _value.temporalUpsampling : temporalUpsampling // ignore: cast_nullable_to_non_nullable as String?, spatialUpsampling: freezed == spatialUpsampling ? _value.spatialUpsampling : spatialUpsampling // ignore: cast_nullable_to_non_nullable as String?, filmGrainIntensity: freezed == filmGrainIntensity ? _value.filmGrainIntensity : filmGrainIntensity // ignore: cast_nullable_to_non_nullable as double?, filmGrainSaturation: freezed == filmGrainSaturation ? _value.filmGrainSaturation : filmGrainSaturation // ignore: cast_nullable_to_non_nullable as double?, mmAudioSetting: freezed == mmAudioSetting ? _value.mmAudioSetting : mmAudioSetting // ignore: cast_nullable_to_non_nullable as String?, mmAudioPrompt: freezed == mmAudioPrompt ? _value.mmAudioPrompt : mmAudioPrompt // ignore: cast_nullable_to_non_nullable as String?, mmAudioNegPrompt: freezed == mmAudioNegPrompt ? _value.mmAudioNegPrompt : mmAudioNegPrompt // ignore: cast_nullable_to_non_nullable as String?, loraDosyalari: null == loraDosyalari ? _value._loraDosyalari : loraDosyalari // ignore: cast_nullable_to_non_nullable as List, loraMultipliers: null == loraMultipliers ? _value._loraMultipliers : loraMultipliers // ignore: cast_nullable_to_non_nullable as List, imagePromptType: freezed == imagePromptType ? _value.imagePromptType : imagePromptType // ignore: cast_nullable_to_non_nullable as String?, imageEnd: freezed == imageEnd ? _value.imageEnd : imageEnd // ignore: cast_nullable_to_non_nullable as String?, videoSource: freezed == videoSource ? _value.videoSource : videoSource // ignore: cast_nullable_to_non_nullable as String?, keepFramesVideoSource: freezed == keepFramesVideoSource ? _value.keepFramesVideoSource : keepFramesVideoSource // ignore: cast_nullable_to_non_nullable as int?, inputVideoStrength: freezed == inputVideoStrength ? _value.inputVideoStrength : inputVideoStrength // ignore: cast_nullable_to_non_nullable as double?, videoPromptType: freezed == videoPromptType ? _value.videoPromptType : videoPromptType // ignore: cast_nullable_to_non_nullable as String?, imageRefsRelativeSize: freezed == imageRefsRelativeSize ? _value.imageRefsRelativeSize : imageRefsRelativeSize // ignore: cast_nullable_to_non_nullable as double?, removeBackgroundImagesRef: freezed == removeBackgroundImagesRef ? _value.removeBackgroundImagesRef : removeBackgroundImagesRef // ignore: cast_nullable_to_non_nullable as bool?, controlNetWeight: freezed == controlNetWeight ? _value.controlNetWeight : controlNetWeight // ignore: cast_nullable_to_non_nullable as double?, controlNetWeight2: freezed == controlNetWeight2 ? _value.controlNetWeight2 : controlNetWeight2 // ignore: cast_nullable_to_non_nullable as double?, controlNetWeightAlt: freezed == controlNetWeightAlt ? _value.controlNetWeightAlt : controlNetWeightAlt // ignore: cast_nullable_to_non_nullable as double?, motionAmplitude: freezed == motionAmplitude ? _value.motionAmplitude : motionAmplitude // ignore: cast_nullable_to_non_nullable as double?, maskExpand: freezed == maskExpand ? _value.maskExpand : maskExpand // ignore: cast_nullable_to_non_nullable as int?, denoisingStrength: freezed == denoisingStrength ? _value.denoisingStrength : denoisingStrength // ignore: cast_nullable_to_non_nullable as double?, maskingStrength: freezed == maskingStrength ? _value.maskingStrength : maskingStrength // ignore: cast_nullable_to_non_nullable as double?, audioGuide2: freezed == audioGuide2 ? _value.audioGuide2 : audioGuide2 // ignore: cast_nullable_to_non_nullable as String?, audioSource: freezed == audioSource ? _value.audioSource : audioSource // ignore: cast_nullable_to_non_nullable as String?, audioPromptType: freezed == audioPromptType ? _value.audioPromptType : audioPromptType // ignore: cast_nullable_to_non_nullable as String?, speakersLocations: freezed == speakersLocations ? _value.speakersLocations : speakersLocations // ignore: cast_nullable_to_non_nullable as String?, selfRefinerSetting: freezed == selfRefinerSetting ? _value.selfRefinerSetting : selfRefinerSetting // ignore: cast_nullable_to_non_nullable as String?, selfRefinerPlan: freezed == selfRefinerPlan ? _value.selfRefinerPlan : selfRefinerPlan // ignore: cast_nullable_to_non_nullable as String?, selfRefinerFUncertainty: freezed == selfRefinerFUncertainty ? _value.selfRefinerFUncertainty : selfRefinerFUncertainty // ignore: cast_nullable_to_non_nullable as double?, selfRefinerCertainPercentage: freezed == selfRefinerCertainPercentage ? _value.selfRefinerCertainPercentage : selfRefinerCertainPercentage // ignore: cast_nullable_to_non_nullable as double?, batchSize: freezed == batchSize ? _value.batchSize : batchSize // ignore: cast_nullable_to_non_nullable as int?, repeatGeneration: freezed == repeatGeneration ? _value.repeatGeneration : repeatGeneration // ignore: cast_nullable_to_non_nullable as int?, multiPromptsGenType: freezed == multiPromptsGenType ? _value.multiPromptsGenType : multiPromptsGenType // ignore: cast_nullable_to_non_nullable as String?, multiImagesGenType: freezed == multiImagesGenType ? _value.multiImagesGenType : multiImagesGenType // ignore: cast_nullable_to_non_nullable as String?, minFramesIfReferences: freezed == minFramesIfReferences ? _value.minFramesIfReferences : minFramesIfReferences // ignore: cast_nullable_to_non_nullable as int?, pauseSeconds: freezed == pauseSeconds ? _value.pauseSeconds : pauseSeconds // ignore: cast_nullable_to_non_nullable as int?, promptEnhancer: freezed == promptEnhancer ? _value.promptEnhancer : promptEnhancer // ignore: cast_nullable_to_non_nullable as String?, temperature: freezed == temperature ? _value.temperature : temperature // ignore: cast_nullable_to_non_nullable as double?, topP: freezed == topP ? _value.topP : topP // ignore: cast_nullable_to_non_nullable as double?, topK: freezed == topK ? _value.topK : topK // ignore: cast_nullable_to_non_nullable as int?, ozelAlanlar: null == ozelAlanlar ? _value._ozelAlanlar : ozelAlanlar // ignore: cast_nullable_to_non_nullable as Map, )); } } /// @nodoc @JsonSerializable() class _$WanGpAyarlariImpl implements _WanGpAyarlari { const _$WanGpAyarlariImpl( {this.sampleSolver, this.flowShift, this.guidanceScale, this.guidance2Scale, this.guidance3Scale, this.switchThreshold, this.switchThreshold2, this.guidancePhases, this.modelSwitchPhase, this.altGuidanceScale, this.altScale, this.audioGuidanceScale, this.audioScale, this.embeddedGuidanceScale, this.skipStepsCacheType, this.skipStepsMultiplier, this.skipStepsStartStepPerc, this.overrideAttention, this.overrideProfile, this.slidingWindowSize, this.slidingWindowOverlap, this.slidingWindowColorCorrectionStrength, this.slidingWindowOverlapNoise, this.slidingWindowDiscardLastFrames, this.riflexSetting, this.nagScale, this.nagTau, this.nagAlpha, this.apgSwitch, this.cfgStarSwitch, this.cfgZeroStep, this.perturbationSwitch, this.perturbationLayers, this.perturbationStartPerc, this.perturbationEndPerc, this.temporalUpsampling, this.spatialUpsampling, this.filmGrainIntensity, this.filmGrainSaturation, this.mmAudioSetting, this.mmAudioPrompt, this.mmAudioNegPrompt, final List loraDosyalari = const [], final List loraMultipliers = const [], this.imagePromptType, this.imageEnd, this.videoSource, this.keepFramesVideoSource, this.inputVideoStrength, this.videoPromptType, this.imageRefsRelativeSize, this.removeBackgroundImagesRef, this.controlNetWeight, this.controlNetWeight2, this.controlNetWeightAlt, this.motionAmplitude, this.maskExpand, this.denoisingStrength, this.maskingStrength, this.audioGuide2, this.audioSource, this.audioPromptType, this.speakersLocations, this.selfRefinerSetting, this.selfRefinerPlan, this.selfRefinerFUncertainty, this.selfRefinerCertainPercentage, this.batchSize, this.repeatGeneration, this.multiPromptsGenType, this.multiImagesGenType, this.minFramesIfReferences, this.pauseSeconds, this.promptEnhancer, this.temperature, this.topP, this.topK, final Map ozelAlanlar = const {}}) : _loraDosyalari = loraDosyalari, _loraMultipliers = loraMultipliers, _ozelAlanlar = ozelAlanlar; factory _$WanGpAyarlariImpl.fromJson(Map json) => _$$WanGpAyarlariImplFromJson(json); // ─── Sampler / CFG ─────────────────────────────────────────────────── @override final String? sampleSolver; // "default", "euler", "dpm++", ... @override final double? flowShift; // genelde 1.0–17.0 @override final double? guidanceScale; // ana CFG (zaten segmentte de var, override) @override final double? guidance2Scale; // 2 fazlı CFG @override final double? guidance3Scale; // 3 fazlı CFG @override final double? switchThreshold; // faz geçiş eşiği @override final double? switchThreshold2; @override final int? guidancePhases; // 1, 2, 3 @override final int? modelSwitchPhase; @override final double? altGuidanceScale; @override final double? altScale; @override final double? audioGuidanceScale; @override final double? audioScale; @override final double? embeddedGuidanceScale; // ─── Cache / Hızlandırma ──────────────────────────────────────────── @override final String? skipStepsCacheType; // "tea", "mag", "easy", "none" @override final double? skipStepsMultiplier; @override final double? skipStepsStartStepPerc; @override final String? overrideAttention; // "sage", "sdpa", "flash", "auto" @override final int? overrideProfile; // 1-5 arası VRAM profili // ─── Sliding Window (uzun video) ──────────────────────────────────── @override final int? slidingWindowSize; @override final int? slidingWindowOverlap; @override final double? slidingWindowColorCorrectionStrength; @override final double? slidingWindowOverlapNoise; @override final int? slidingWindowDiscardLastFrames; // ─── RIFLEx / NAG / APG / CFG-Star ─────────────────────────────────── @override final String? riflexSetting; // "auto", "on", "off" @override final double? nagScale; @override final double? nagTau; @override final double? nagAlpha; @override final bool? apgSwitch; @override final bool? cfgStarSwitch; @override final int? cfgZeroStep; // ─── Perturbation ──────────────────────────────────────────────────── @override final bool? perturbationSwitch; @override final String? perturbationLayers; @override final double? perturbationStartPerc; @override final double? perturbationEndPerc; // ─── Post-process ──────────────────────────────────────────────────── @override final String? temporalUpsampling; // "none", "rife" @override final String? spatialUpsampling; // "none", "lanczos" @override final double? filmGrainIntensity; @override final double? filmGrainSaturation; @override final String? mmAudioSetting; // "none", "auto" @override final String? mmAudioPrompt; @override final String? mmAudioNegPrompt; // ─── LoRA (çoklu) ──────────────────────────────────────────────────── final List _loraDosyalari; // ─── LoRA (çoklu) ──────────────────────────────────────────────────── @override @JsonKey() List get loraDosyalari { if (_loraDosyalari is EqualUnmodifiableListView) return _loraDosyalari; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_loraDosyalari); } // dosya adları/yolları final List _loraMultipliers; // dosya adları/yolları @override @JsonKey() List get loraMultipliers { if (_loraMultipliers is EqualUnmodifiableListView) return _loraMultipliers; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_loraMultipliers); } // her LoRA için katsayı // ─── Image / Video Prompt ─────────────────────────────────────────── @override final String? imagePromptType; // 'S' = start, 'E' = end, 'SE' = ikisi @override final String? imageEnd; @override final String? videoSource; @override final int? keepFramesVideoSource; @override final double? inputVideoStrength; @override final String? videoPromptType; @override final double? imageRefsRelativeSize; @override final bool? removeBackgroundImagesRef; // ─── Control Net ──────────────────────────────────────────────────── @override final double? controlNetWeight; @override final double? controlNetWeight2; @override final double? controlNetWeightAlt; @override final double? motionAmplitude; @override final int? maskExpand; @override final double? denoisingStrength; @override final double? maskingStrength; // ─── Audio (ek) ───────────────────────────────────────────────────── @override final String? audioGuide2; @override final String? audioSource; @override final String? audioPromptType; @override final String? speakersLocations; // ─── Self Refiner ─────────────────────────────────────────────────── @override final String? selfRefinerSetting; @override final String? selfRefinerPlan; @override final double? selfRefinerFUncertainty; @override final double? selfRefinerCertainPercentage; // ─── Üretim Stratejisi ────────────────────────────────────────────── @override final int? batchSize; @override final int? repeatGeneration; @override final String? multiPromptsGenType; @override final String? multiImagesGenType; @override final int? minFramesIfReferences; @override final int? pauseSeconds; @override final String? promptEnhancer; // ─── Sampling Hyperparams ─────────────────────────────────────────── @override final double? temperature; @override final double? topP; @override final int? topK; // ─── Custom JSON override (her şeyi kabul) ────────────────────────── /// Yukarıda yer almayan alanları doğrudan WanGP'ye geçirmek için. /// Anahtar = wgp.py parametre adı. final Map _ozelAlanlar; // ─── Custom JSON override (her şeyi kabul) ────────────────────────── /// Yukarıda yer almayan alanları doğrudan WanGP'ye geçirmek için. /// Anahtar = wgp.py parametre adı. @override @JsonKey() Map get ozelAlanlar { if (_ozelAlanlar is EqualUnmodifiableMapView) return _ozelAlanlar; // ignore: implicit_dynamic_type return EqualUnmodifiableMapView(_ozelAlanlar); } @override String toString() { return 'WanGpAyarlari(sampleSolver: $sampleSolver, flowShift: $flowShift, guidanceScale: $guidanceScale, guidance2Scale: $guidance2Scale, guidance3Scale: $guidance3Scale, switchThreshold: $switchThreshold, switchThreshold2: $switchThreshold2, guidancePhases: $guidancePhases, modelSwitchPhase: $modelSwitchPhase, altGuidanceScale: $altGuidanceScale, altScale: $altScale, audioGuidanceScale: $audioGuidanceScale, audioScale: $audioScale, embeddedGuidanceScale: $embeddedGuidanceScale, skipStepsCacheType: $skipStepsCacheType, skipStepsMultiplier: $skipStepsMultiplier, skipStepsStartStepPerc: $skipStepsStartStepPerc, overrideAttention: $overrideAttention, overrideProfile: $overrideProfile, slidingWindowSize: $slidingWindowSize, slidingWindowOverlap: $slidingWindowOverlap, slidingWindowColorCorrectionStrength: $slidingWindowColorCorrectionStrength, slidingWindowOverlapNoise: $slidingWindowOverlapNoise, slidingWindowDiscardLastFrames: $slidingWindowDiscardLastFrames, riflexSetting: $riflexSetting, nagScale: $nagScale, nagTau: $nagTau, nagAlpha: $nagAlpha, apgSwitch: $apgSwitch, cfgStarSwitch: $cfgStarSwitch, cfgZeroStep: $cfgZeroStep, perturbationSwitch: $perturbationSwitch, perturbationLayers: $perturbationLayers, perturbationStartPerc: $perturbationStartPerc, perturbationEndPerc: $perturbationEndPerc, temporalUpsampling: $temporalUpsampling, spatialUpsampling: $spatialUpsampling, filmGrainIntensity: $filmGrainIntensity, filmGrainSaturation: $filmGrainSaturation, mmAudioSetting: $mmAudioSetting, mmAudioPrompt: $mmAudioPrompt, mmAudioNegPrompt: $mmAudioNegPrompt, loraDosyalari: $loraDosyalari, loraMultipliers: $loraMultipliers, imagePromptType: $imagePromptType, imageEnd: $imageEnd, videoSource: $videoSource, keepFramesVideoSource: $keepFramesVideoSource, inputVideoStrength: $inputVideoStrength, videoPromptType: $videoPromptType, imageRefsRelativeSize: $imageRefsRelativeSize, removeBackgroundImagesRef: $removeBackgroundImagesRef, controlNetWeight: $controlNetWeight, controlNetWeight2: $controlNetWeight2, controlNetWeightAlt: $controlNetWeightAlt, motionAmplitude: $motionAmplitude, maskExpand: $maskExpand, denoisingStrength: $denoisingStrength, maskingStrength: $maskingStrength, audioGuide2: $audioGuide2, audioSource: $audioSource, audioPromptType: $audioPromptType, speakersLocations: $speakersLocations, selfRefinerSetting: $selfRefinerSetting, selfRefinerPlan: $selfRefinerPlan, selfRefinerFUncertainty: $selfRefinerFUncertainty, selfRefinerCertainPercentage: $selfRefinerCertainPercentage, batchSize: $batchSize, repeatGeneration: $repeatGeneration, multiPromptsGenType: $multiPromptsGenType, multiImagesGenType: $multiImagesGenType, minFramesIfReferences: $minFramesIfReferences, pauseSeconds: $pauseSeconds, promptEnhancer: $promptEnhancer, temperature: $temperature, topP: $topP, topK: $topK, ozelAlanlar: $ozelAlanlar)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$WanGpAyarlariImpl && (identical(other.sampleSolver, sampleSolver) || other.sampleSolver == sampleSolver) && (identical(other.flowShift, flowShift) || other.flowShift == flowShift) && (identical(other.guidanceScale, guidanceScale) || other.guidanceScale == guidanceScale) && (identical(other.guidance2Scale, guidance2Scale) || other.guidance2Scale == guidance2Scale) && (identical(other.guidance3Scale, guidance3Scale) || other.guidance3Scale == guidance3Scale) && (identical(other.switchThreshold, switchThreshold) || other.switchThreshold == switchThreshold) && (identical(other.switchThreshold2, switchThreshold2) || other.switchThreshold2 == switchThreshold2) && (identical(other.guidancePhases, guidancePhases) || other.guidancePhases == guidancePhases) && (identical(other.modelSwitchPhase, modelSwitchPhase) || other.modelSwitchPhase == modelSwitchPhase) && (identical(other.altGuidanceScale, altGuidanceScale) || other.altGuidanceScale == altGuidanceScale) && (identical(other.altScale, altScale) || other.altScale == altScale) && (identical(other.audioGuidanceScale, audioGuidanceScale) || other.audioGuidanceScale == audioGuidanceScale) && (identical(other.audioScale, audioScale) || other.audioScale == audioScale) && (identical(other.embeddedGuidanceScale, embeddedGuidanceScale) || other.embeddedGuidanceScale == embeddedGuidanceScale) && (identical(other.skipStepsCacheType, skipStepsCacheType) || other.skipStepsCacheType == skipStepsCacheType) && (identical(other.skipStepsMultiplier, skipStepsMultiplier) || other.skipStepsMultiplier == skipStepsMultiplier) && (identical(other.skipStepsStartStepPerc, skipStepsStartStepPerc) || other.skipStepsStartStepPerc == skipStepsStartStepPerc) && (identical(other.overrideAttention, overrideAttention) || other.overrideAttention == overrideAttention) && (identical(other.overrideProfile, overrideProfile) || other.overrideProfile == overrideProfile) && (identical(other.slidingWindowSize, slidingWindowSize) || other.slidingWindowSize == slidingWindowSize) && (identical(other.slidingWindowOverlap, slidingWindowOverlap) || other.slidingWindowOverlap == slidingWindowOverlap) && (identical(other.slidingWindowColorCorrectionStrength, slidingWindowColorCorrectionStrength) || other.slidingWindowColorCorrectionStrength == slidingWindowColorCorrectionStrength) && (identical(other.slidingWindowOverlapNoise, slidingWindowOverlapNoise) || other.slidingWindowOverlapNoise == slidingWindowOverlapNoise) && (identical(other.slidingWindowDiscardLastFrames, slidingWindowDiscardLastFrames) || other.slidingWindowDiscardLastFrames == slidingWindowDiscardLastFrames) && (identical(other.riflexSetting, riflexSetting) || other.riflexSetting == riflexSetting) && (identical(other.nagScale, nagScale) || other.nagScale == nagScale) && (identical(other.nagTau, nagTau) || other.nagTau == nagTau) && (identical(other.nagAlpha, nagAlpha) || other.nagAlpha == nagAlpha) && (identical(other.apgSwitch, apgSwitch) || other.apgSwitch == apgSwitch) && (identical(other.cfgStarSwitch, cfgStarSwitch) || other.cfgStarSwitch == cfgStarSwitch) && (identical(other.cfgZeroStep, cfgZeroStep) || other.cfgZeroStep == cfgZeroStep) && (identical(other.perturbationSwitch, perturbationSwitch) || other.perturbationSwitch == perturbationSwitch) && (identical(other.perturbationLayers, perturbationLayers) || other.perturbationLayers == perturbationLayers) && (identical(other.perturbationStartPerc, perturbationStartPerc) || other.perturbationStartPerc == perturbationStartPerc) && (identical(other.perturbationEndPerc, perturbationEndPerc) || other.perturbationEndPerc == perturbationEndPerc) && (identical(other.temporalUpsampling, temporalUpsampling) || other.temporalUpsampling == temporalUpsampling) && (identical(other.spatialUpsampling, spatialUpsampling) || other.spatialUpsampling == spatialUpsampling) && (identical(other.filmGrainIntensity, filmGrainIntensity) || other.filmGrainIntensity == filmGrainIntensity) && (identical(other.filmGrainSaturation, filmGrainSaturation) || other.filmGrainSaturation == filmGrainSaturation) && (identical(other.mmAudioSetting, mmAudioSetting) || other.mmAudioSetting == mmAudioSetting) && (identical(other.mmAudioPrompt, mmAudioPrompt) || other.mmAudioPrompt == mmAudioPrompt) && (identical(other.mmAudioNegPrompt, mmAudioNegPrompt) || other.mmAudioNegPrompt == mmAudioNegPrompt) && const DeepCollectionEquality().equals(other._loraDosyalari, _loraDosyalari) && const DeepCollectionEquality().equals(other._loraMultipliers, _loraMultipliers) && (identical(other.imagePromptType, imagePromptType) || other.imagePromptType == imagePromptType) && (identical(other.imageEnd, imageEnd) || other.imageEnd == imageEnd) && (identical(other.videoSource, videoSource) || other.videoSource == videoSource) && (identical(other.keepFramesVideoSource, keepFramesVideoSource) || other.keepFramesVideoSource == keepFramesVideoSource) && (identical(other.inputVideoStrength, inputVideoStrength) || other.inputVideoStrength == inputVideoStrength) && (identical(other.videoPromptType, videoPromptType) || other.videoPromptType == videoPromptType) && (identical(other.imageRefsRelativeSize, imageRefsRelativeSize) || other.imageRefsRelativeSize == imageRefsRelativeSize) && (identical(other.removeBackgroundImagesRef, removeBackgroundImagesRef) || other.removeBackgroundImagesRef == removeBackgroundImagesRef) && (identical(other.controlNetWeight, controlNetWeight) || other.controlNetWeight == controlNetWeight) && (identical(other.controlNetWeight2, controlNetWeight2) || other.controlNetWeight2 == controlNetWeight2) && (identical(other.controlNetWeightAlt, controlNetWeightAlt) || other.controlNetWeightAlt == controlNetWeightAlt) && (identical(other.motionAmplitude, motionAmplitude) || other.motionAmplitude == motionAmplitude) && (identical(other.maskExpand, maskExpand) || other.maskExpand == maskExpand) && (identical(other.denoisingStrength, denoisingStrength) || other.denoisingStrength == denoisingStrength) && (identical(other.maskingStrength, maskingStrength) || other.maskingStrength == maskingStrength) && (identical(other.audioGuide2, audioGuide2) || other.audioGuide2 == audioGuide2) && (identical(other.audioSource, audioSource) || other.audioSource == audioSource) && (identical(other.audioPromptType, audioPromptType) || other.audioPromptType == audioPromptType) && (identical(other.speakersLocations, speakersLocations) || other.speakersLocations == speakersLocations) && (identical(other.selfRefinerSetting, selfRefinerSetting) || other.selfRefinerSetting == selfRefinerSetting) && (identical(other.selfRefinerPlan, selfRefinerPlan) || other.selfRefinerPlan == selfRefinerPlan) && (identical(other.selfRefinerFUncertainty, selfRefinerFUncertainty) || other.selfRefinerFUncertainty == selfRefinerFUncertainty) && (identical(other.selfRefinerCertainPercentage, selfRefinerCertainPercentage) || other.selfRefinerCertainPercentage == selfRefinerCertainPercentage) && (identical(other.batchSize, batchSize) || other.batchSize == batchSize) && (identical(other.repeatGeneration, repeatGeneration) || other.repeatGeneration == repeatGeneration) && (identical(other.multiPromptsGenType, multiPromptsGenType) || other.multiPromptsGenType == multiPromptsGenType) && (identical(other.multiImagesGenType, multiImagesGenType) || other.multiImagesGenType == multiImagesGenType) && (identical(other.minFramesIfReferences, minFramesIfReferences) || other.minFramesIfReferences == minFramesIfReferences) && (identical(other.pauseSeconds, pauseSeconds) || other.pauseSeconds == pauseSeconds) && (identical(other.promptEnhancer, promptEnhancer) || other.promptEnhancer == promptEnhancer) && (identical(other.temperature, temperature) || other.temperature == temperature) && (identical(other.topP, topP) || other.topP == topP) && (identical(other.topK, topK) || other.topK == topK) && const DeepCollectionEquality().equals(other._ozelAlanlar, _ozelAlanlar)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hashAll([ runtimeType, sampleSolver, flowShift, guidanceScale, guidance2Scale, guidance3Scale, switchThreshold, switchThreshold2, guidancePhases, modelSwitchPhase, altGuidanceScale, altScale, audioGuidanceScale, audioScale, embeddedGuidanceScale, skipStepsCacheType, skipStepsMultiplier, skipStepsStartStepPerc, overrideAttention, overrideProfile, slidingWindowSize, slidingWindowOverlap, slidingWindowColorCorrectionStrength, slidingWindowOverlapNoise, slidingWindowDiscardLastFrames, riflexSetting, nagScale, nagTau, nagAlpha, apgSwitch, cfgStarSwitch, cfgZeroStep, perturbationSwitch, perturbationLayers, perturbationStartPerc, perturbationEndPerc, temporalUpsampling, spatialUpsampling, filmGrainIntensity, filmGrainSaturation, mmAudioSetting, mmAudioPrompt, mmAudioNegPrompt, const DeepCollectionEquality().hash(_loraDosyalari), const DeepCollectionEquality().hash(_loraMultipliers), imagePromptType, imageEnd, videoSource, keepFramesVideoSource, inputVideoStrength, videoPromptType, imageRefsRelativeSize, removeBackgroundImagesRef, controlNetWeight, controlNetWeight2, controlNetWeightAlt, motionAmplitude, maskExpand, denoisingStrength, maskingStrength, audioGuide2, audioSource, audioPromptType, speakersLocations, selfRefinerSetting, selfRefinerPlan, selfRefinerFUncertainty, selfRefinerCertainPercentage, batchSize, repeatGeneration, multiPromptsGenType, multiImagesGenType, minFramesIfReferences, pauseSeconds, promptEnhancer, temperature, topP, topK, const DeepCollectionEquality().hash(_ozelAlanlar) ]); /// Create a copy of WanGpAyarlari /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$WanGpAyarlariImplCopyWith<_$WanGpAyarlariImpl> get copyWith => __$$WanGpAyarlariImplCopyWithImpl<_$WanGpAyarlariImpl>(this, _$identity); @override Map toJson() { return _$$WanGpAyarlariImplToJson( this, ); } } abstract class _WanGpAyarlari implements WanGpAyarlari { const factory _WanGpAyarlari( {final String? sampleSolver, final double? flowShift, final double? guidanceScale, final double? guidance2Scale, final double? guidance3Scale, final double? switchThreshold, final double? switchThreshold2, final int? guidancePhases, final int? modelSwitchPhase, final double? altGuidanceScale, final double? altScale, final double? audioGuidanceScale, final double? audioScale, final double? embeddedGuidanceScale, final String? skipStepsCacheType, final double? skipStepsMultiplier, final double? skipStepsStartStepPerc, final String? overrideAttention, final int? overrideProfile, final int? slidingWindowSize, final int? slidingWindowOverlap, final double? slidingWindowColorCorrectionStrength, final double? slidingWindowOverlapNoise, final int? slidingWindowDiscardLastFrames, final String? riflexSetting, final double? nagScale, final double? nagTau, final double? nagAlpha, final bool? apgSwitch, final bool? cfgStarSwitch, final int? cfgZeroStep, final bool? perturbationSwitch, final String? perturbationLayers, final double? perturbationStartPerc, final double? perturbationEndPerc, final String? temporalUpsampling, final String? spatialUpsampling, final double? filmGrainIntensity, final double? filmGrainSaturation, final String? mmAudioSetting, final String? mmAudioPrompt, final String? mmAudioNegPrompt, final List loraDosyalari, final List loraMultipliers, final String? imagePromptType, final String? imageEnd, final String? videoSource, final int? keepFramesVideoSource, final double? inputVideoStrength, final String? videoPromptType, final double? imageRefsRelativeSize, final bool? removeBackgroundImagesRef, final double? controlNetWeight, final double? controlNetWeight2, final double? controlNetWeightAlt, final double? motionAmplitude, final int? maskExpand, final double? denoisingStrength, final double? maskingStrength, final String? audioGuide2, final String? audioSource, final String? audioPromptType, final String? speakersLocations, final String? selfRefinerSetting, final String? selfRefinerPlan, final double? selfRefinerFUncertainty, final double? selfRefinerCertainPercentage, final int? batchSize, final int? repeatGeneration, final String? multiPromptsGenType, final String? multiImagesGenType, final int? minFramesIfReferences, final int? pauseSeconds, final String? promptEnhancer, final double? temperature, final double? topP, final int? topK, final Map ozelAlanlar}) = _$WanGpAyarlariImpl; factory _WanGpAyarlari.fromJson(Map json) = _$WanGpAyarlariImpl.fromJson; // ─── Sampler / CFG ─────────────────────────────────────────────────── @override String? get sampleSolver; // "default", "euler", "dpm++", ... @override double? get flowShift; // genelde 1.0–17.0 @override double? get guidanceScale; // ana CFG (zaten segmentte de var, override) @override double? get guidance2Scale; // 2 fazlı CFG @override double? get guidance3Scale; // 3 fazlı CFG @override double? get switchThreshold; // faz geçiş eşiği @override double? get switchThreshold2; @override int? get guidancePhases; // 1, 2, 3 @override int? get modelSwitchPhase; @override double? get altGuidanceScale; @override double? get altScale; @override double? get audioGuidanceScale; @override double? get audioScale; @override double? get embeddedGuidanceScale; // ─── Cache / Hızlandırma ──────────────────────────────────────────── @override String? get skipStepsCacheType; // "tea", "mag", "easy", "none" @override double? get skipStepsMultiplier; @override double? get skipStepsStartStepPerc; @override String? get overrideAttention; // "sage", "sdpa", "flash", "auto" @override int? get overrideProfile; // 1-5 arası VRAM profili // ─── Sliding Window (uzun video) ──────────────────────────────────── @override int? get slidingWindowSize; @override int? get slidingWindowOverlap; @override double? get slidingWindowColorCorrectionStrength; @override double? get slidingWindowOverlapNoise; @override int? get slidingWindowDiscardLastFrames; // ─── RIFLEx / NAG / APG / CFG-Star ─────────────────────────────────── @override String? get riflexSetting; // "auto", "on", "off" @override double? get nagScale; @override double? get nagTau; @override double? get nagAlpha; @override bool? get apgSwitch; @override bool? get cfgStarSwitch; @override int? get cfgZeroStep; // ─── Perturbation ──────────────────────────────────────────────────── @override bool? get perturbationSwitch; @override String? get perturbationLayers; @override double? get perturbationStartPerc; @override double? get perturbationEndPerc; // ─── Post-process ──────────────────────────────────────────────────── @override String? get temporalUpsampling; // "none", "rife" @override String? get spatialUpsampling; // "none", "lanczos" @override double? get filmGrainIntensity; @override double? get filmGrainSaturation; @override String? get mmAudioSetting; // "none", "auto" @override String? get mmAudioPrompt; @override String? get mmAudioNegPrompt; // ─── LoRA (çoklu) ──────────────────────────────────────────────────── @override List get loraDosyalari; // dosya adları/yolları @override List get loraMultipliers; // her LoRA için katsayı // ─── Image / Video Prompt ─────────────────────────────────────────── @override String? get imagePromptType; // 'S' = start, 'E' = end, 'SE' = ikisi @override String? get imageEnd; @override String? get videoSource; @override int? get keepFramesVideoSource; @override double? get inputVideoStrength; @override String? get videoPromptType; @override double? get imageRefsRelativeSize; @override bool? get removeBackgroundImagesRef; // ─── Control Net ──────────────────────────────────────────────────── @override double? get controlNetWeight; @override double? get controlNetWeight2; @override double? get controlNetWeightAlt; @override double? get motionAmplitude; @override int? get maskExpand; @override double? get denoisingStrength; @override double? get maskingStrength; // ─── Audio (ek) ───────────────────────────────────────────────────── @override String? get audioGuide2; @override String? get audioSource; @override String? get audioPromptType; @override String? get speakersLocations; // ─── Self Refiner ─────────────────────────────────────────────────── @override String? get selfRefinerSetting; @override String? get selfRefinerPlan; @override double? get selfRefinerFUncertainty; @override double? get selfRefinerCertainPercentage; // ─── Üretim Stratejisi ────────────────────────────────────────────── @override int? get batchSize; @override int? get repeatGeneration; @override String? get multiPromptsGenType; @override String? get multiImagesGenType; @override int? get minFramesIfReferences; @override int? get pauseSeconds; @override String? get promptEnhancer; // ─── Sampling Hyperparams ─────────────────────────────────────────── @override double? get temperature; @override double? get topP; @override int? get topK; // ─── Custom JSON override (her şeyi kabul) ────────────────────────── /// Yukarıda yer almayan alanları doğrudan WanGP'ye geçirmek için. /// Anahtar = wgp.py parametre adı. @override Map get ozelAlanlar; /// Create a copy of WanGpAyarlari /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$WanGpAyarlariImplCopyWith<_$WanGpAyarlariImpl> get copyWith => throw _privateConstructorUsedError; }