@civitai/client 0.2.0-beta.51 → 0.2.0-beta.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -151,10 +151,32 @@ export type AceStepAudioInput = {
151
151
  */
152
152
  vocalWeight?: number;
153
153
  /**
154
- * Optional model override (uses default ACE Step 1.5 turbo if not specified)
154
+ * Optional diffusion model (unet) override. Defaults to ACE-Step 1.5 turbo 2B.
155
155
  */
156
- model?: null | string;
156
+ diffusionModel?: null | string;
157
157
  cover?: AceStepAudioCover;
158
+ /**
159
+ * Optional text encoder (CLIP) override. Defaults to qwen_4b_ace15.
160
+ */
161
+ clipModel?: null | string;
162
+ /**
163
+ * Optional VAE override. Defaults to ace_1.5_vae.
164
+ */
165
+ vaeModel?: null | string;
166
+ /**
167
+ * Optional language model override for audio code generation. Defaults to qwen_0.6b_ace15.
168
+ */
169
+ languageModel?: null | string;
170
+ /**
171
+ * Number of sampling steps. Turbo variants converge at 8; non-turbo base / sft
172
+ * variants expect the full 50-step schedule.
173
+ */
174
+ steps?: number;
175
+ /**
176
+ * Classifier-free guidance scale. Turbo variants run CFG-off at 1.0;
177
+ * non-turbo base / sft variants expect CFG on (around 4).
178
+ */
179
+ cfg?: number;
158
180
  };
159
181
  /**
160
182
  * Output from ACE Step 1.5 audio generation workflow step.
@@ -725,6 +747,73 @@ export declare const CoarseMode: {
725
747
  readonly ENABLE: 'enable';
726
748
  };
727
749
  export type CoarseMode = (typeof CoarseMode)[keyof typeof CoarseMode];
750
+ export type ComfyErnieImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
751
+ model: string;
752
+ ecosystem: 'ernie';
753
+ engine: 'comfy';
754
+ };
755
+ export type ComfyErnieStandardCreateImageGenInput = Omit<
756
+ ComfyErnieStandardImageGenInput,
757
+ 'engine' | 'ecosystem' | 'model' | 'operation'
758
+ > & {
759
+ width?: number;
760
+ height?: number;
761
+ operation: 'createImage';
762
+ model: 'ernie';
763
+ ecosystem: 'ernie';
764
+ engine: 'comfy';
765
+ };
766
+ export type ComfyErnieStandardImageGenInput = Omit<
767
+ ComfyErnieImageGenInput,
768
+ 'engine' | 'ecosystem' | 'model'
769
+ > & {
770
+ operation: string;
771
+ prompt: string;
772
+ negativePrompt?: null | string;
773
+ sampler?: ComfySampler;
774
+ scheduler?: ComfyScheduler;
775
+ steps?: number;
776
+ cfgScale?: number;
777
+ seed?: null | number;
778
+ quantity?: number;
779
+ loras?: {
780
+ [key: string]: number;
781
+ };
782
+ model: 'ernie';
783
+ ecosystem: 'ernie';
784
+ engine: 'comfy';
785
+ };
786
+ export type ComfyErnieTurboCreateImageGenInput = Omit<
787
+ ComfyErnieTurboImageGenInput,
788
+ 'engine' | 'ecosystem' | 'model' | 'operation'
789
+ > & {
790
+ width?: number;
791
+ height?: number;
792
+ operation: 'createImage';
793
+ model: 'turbo';
794
+ ecosystem: 'ernie';
795
+ engine: 'comfy';
796
+ };
797
+ export type ComfyErnieTurboImageGenInput = Omit<
798
+ ComfyErnieImageGenInput,
799
+ 'engine' | 'ecosystem' | 'model'
800
+ > & {
801
+ operation: string;
802
+ prompt: string;
803
+ negativePrompt?: null | string;
804
+ sampler?: ComfySampler;
805
+ scheduler?: ComfyScheduler;
806
+ steps?: number;
807
+ cfgScale?: number;
808
+ seed?: null | number;
809
+ quantity?: number;
810
+ loras?: {
811
+ [key: string]: number;
812
+ };
813
+ model: 'turbo';
814
+ ecosystem: 'ernie';
815
+ engine: 'comfy';
816
+ };
728
817
  export type ComfyFlux1CreateImageGenInput = Omit<
729
818
  ComfyFlux1ImageGenInput,
730
819
  'engine' | 'ecosystem' | 'operation'
@@ -1315,6 +1404,13 @@ export type EpochResult = {
1315
1404
  */
1316
1405
  blobUrl: string;
1317
1406
  };
1407
+ /**
1408
+ * AI Toolkit training for ERNIE-Image models
1409
+ */
1410
+ export type ErnieAiToolkitTrainingInput = Omit<AiToolkitTrainingInput, 'engine' | 'ecosystem'> & {
1411
+ ecosystem: 'ernie';
1412
+ engine: 'ai-toolkit';
1413
+ };
1318
1414
  /**
1319
1415
  * Represents a single face detection with embeddings and landmarks.
1320
1416
  */
@@ -2060,6 +2156,11 @@ export type ImageJobControlNet = {
2060
2156
  * A value representing the end step selected for the ControlNet.
2061
2157
  */
2062
2158
  endStep: number;
2159
+ /**
2160
+ * The preprocessed control image. Accepts an AIR URN, a URL, or a base64 data URL; the
2161
+ * orchestrator processes it into a stored blob before the job is dispatched.
2162
+ */
2163
+ image?: null | string;
2063
2164
  };
2064
2165
  export type ImageJobNetworkParams = {
2065
2166
  /**
@@ -2175,8 +2276,39 @@ export type ImageTransform = {
2175
2276
  */
2176
2277
  export declare const ImageTransformer: {
2177
2278
  readonly CANNY: 'canny';
2279
+ readonly MLSD: 'mlsd';
2178
2280
  readonly DEPTH_ZOE: 'depthZoe';
2281
+ readonly DEPTH_ANYTHING: 'depthAnything';
2282
+ readonly DEPTH_ANYTHING_V2: 'depthAnythingV2';
2283
+ readonly ZOE_DEPTH_ANYTHING: 'zoeDepthAnything';
2284
+ readonly ZOE_DEPTH: 'zoeDepth';
2285
+ readonly MIDAS_DEPTH: 'midasDepth';
2286
+ readonly LERES_DEPTH: 'leresDepth';
2287
+ readonly METRIC3D_DEPTH: 'metric3dDepth';
2179
2288
  readonly SOFTEDGE_PIDINET: 'softedgePidinet';
2289
+ readonly HED: 'hed';
2290
+ readonly TEED: 'teed';
2291
+ readonly MIDAS_NORMAL: 'midasNormal';
2292
+ readonly BAE_NORMAL: 'baeNormal';
2293
+ readonly DSINE_NORMAL: 'dsineNormal';
2294
+ readonly METRIC3D_NORMAL: 'metric3dNormal';
2295
+ readonly LINEART_REALISTIC: 'lineartRealistic';
2296
+ readonly LINEART_STANDARD: 'lineartStandard';
2297
+ readonly LINEART_ANIME: 'lineartAnime';
2298
+ readonly LINEART_MANGA: 'lineartManga';
2299
+ readonly ANYLINE: 'anyline';
2300
+ readonly SCRIBBLE: 'scribble';
2301
+ readonly SCRIBBLE_XDOG: 'scribbleXdog';
2302
+ readonly SCRIBBLE_PIDINET: 'scribblePidinet';
2303
+ readonly FAKE_SCRIBBLE: 'fakeScribble';
2304
+ readonly OPENPOSE: 'openpose';
2305
+ readonly DWPOSE: 'dwpose';
2306
+ readonly ONEFORMER_COCO: 'oneformerCoco';
2307
+ readonly ONEFORMER_ADE20K: 'oneformerAde20k';
2308
+ readonly UNIFORMER: 'uniformer';
2309
+ readonly SHUFFLE: 'shuffle';
2310
+ readonly TILE: 'tile';
2311
+ readonly GRAY: 'gray';
2180
2312
  readonly REMBG: 'rembg';
2181
2313
  };
2182
2314
  /**
@@ -2636,9 +2768,10 @@ export type MediaHashType = (typeof MediaHashType)[keyof typeof MediaHashType];
2636
2768
  */
2637
2769
  export type MediaRatingInput = {
2638
2770
  /**
2639
- * The URL of the media to rate (image or video).
2771
+ * The image to rate. Pre-processed in the API layer imported into blob storage so the
2772
+ * worker can pre-fetch it as a declared resource. After processing, contains the blob AIR URL.
2640
2773
  */
2641
- mediaUrl: string;
2774
+ image?: null | string;
2642
2775
  /**
2643
2776
  * The engine to use for media rating. Valid values: "default" (HiveVLM) or "civitai".
2644
2777
  */
@@ -2721,6 +2854,175 @@ export type MochiVideoGenInput = Omit<VideoGenInput, 'engine'> & {
2721
2854
  enablePromptEnhancer?: boolean;
2722
2855
  engine: 'mochi';
2723
2856
  };
2857
+ /**
2858
+ * Represents the input information needed for the ModelClamScan workflow step.
2859
+ */
2860
+ export type ModelClamScanInput = {
2861
+ /**
2862
+ * The AIR of the model file to scan.
2863
+ */
2864
+ model: string;
2865
+ };
2866
+ /**
2867
+ * Represents the output information returned from the ModelClamScan workflow step.
2868
+ */
2869
+ export type ModelClamScanOutput = {
2870
+ /**
2871
+ * The ClamAV scan exit code.
2872
+ */
2873
+ exitCode?: null | number;
2874
+ /**
2875
+ * The raw ClamAV scan output.
2876
+ */
2877
+ output?: null | string;
2878
+ };
2879
+ /**
2880
+ * ModelClamScan
2881
+ */
2882
+ export type ModelClamScanStep = Omit<WorkflowStep, '$type'> & {
2883
+ input: ModelClamScanInput;
2884
+ output?: ModelClamScanOutput;
2885
+ $type: 'modelClamScan';
2886
+ };
2887
+ /**
2888
+ * ModelClamScan
2889
+ */
2890
+ export type ModelClamScanStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
2891
+ input: ModelClamScanInput;
2892
+ $type: 'modelClamScan';
2893
+ };
2894
+ /**
2895
+ * Represents the input information needed for the ModelHash workflow step.
2896
+ */
2897
+ export type ModelHashInput = {
2898
+ /**
2899
+ * The AIR of the model file to hash.
2900
+ */
2901
+ model: string;
2902
+ };
2903
+ /**
2904
+ * Represents the output information returned from the ModelHash workflow step.
2905
+ */
2906
+ export type ModelHashOutput = {
2907
+ /**
2908
+ * SHA256 hash of the full file.
2909
+ */
2910
+ shA256?: null | string;
2911
+ /**
2912
+ * AutoV1 short hash (8 chars of SHA256 over a 64 KB block starting at 1 MB).
2913
+ */
2914
+ autoV1?: null | string;
2915
+ /**
2916
+ * AutoV2 short hash (first 10 chars of SHA256).
2917
+ */
2918
+ autoV2?: null | string;
2919
+ /**
2920
+ * AutoV3 hash (SHA256 of the file with safetensors header metadata stripped).
2921
+ */
2922
+ autoV3?: null | string;
2923
+ /**
2924
+ * Blake3 hash of the full file.
2925
+ */
2926
+ blake3?: null | string;
2927
+ /**
2928
+ * CRC32 of the full file.
2929
+ */
2930
+ crC32?: null | string;
2931
+ };
2932
+ /**
2933
+ * ModelHash
2934
+ */
2935
+ export type ModelHashStep = Omit<WorkflowStep, '$type'> & {
2936
+ input: ModelHashInput;
2937
+ output?: ModelHashOutput;
2938
+ $type: 'modelHash';
2939
+ };
2940
+ /**
2941
+ * ModelHash
2942
+ */
2943
+ export type ModelHashStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
2944
+ input: ModelHashInput;
2945
+ $type: 'modelHash';
2946
+ };
2947
+ /**
2948
+ * Represents the input information needed for the ModelParseMetadata workflow step.
2949
+ */
2950
+ export type ModelParseMetadataInput = {
2951
+ /**
2952
+ * The AIR of the model file to read metadata from.
2953
+ */
2954
+ model: string;
2955
+ };
2956
+ /**
2957
+ * Represents the output information returned from the ModelParseMetadata workflow step.
2958
+ */
2959
+ export type ModelParseMetadataOutput = {
2960
+ /**
2961
+ * The raw JSON metadata header as stored in the safetensors file, or null when
2962
+ * the model is not a safetensors file or the header could not be parsed.
2963
+ */
2964
+ metadata?: null | string;
2965
+ };
2966
+ /**
2967
+ * ModelParseMetadata
2968
+ */
2969
+ export type ModelParseMetadataStep = Omit<WorkflowStep, '$type'> & {
2970
+ input: ModelParseMetadataInput;
2971
+ output?: ModelParseMetadataOutput;
2972
+ $type: 'modelParseMetadata';
2973
+ };
2974
+ /**
2975
+ * ModelParseMetadata
2976
+ */
2977
+ export type ModelParseMetadataStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
2978
+ input: ModelParseMetadataInput;
2979
+ $type: 'modelParseMetadata';
2980
+ };
2981
+ /**
2982
+ * Represents the input information needed for the ModelPickleScan workflow step.
2983
+ */
2984
+ export type ModelPickleScanInput = {
2985
+ /**
2986
+ * The AIR of the model file to scan.
2987
+ */
2988
+ model: string;
2989
+ };
2990
+ /**
2991
+ * Represents the output information returned from the ModelPickleScan workflow step.
2992
+ */
2993
+ export type ModelPickleScanOutput = {
2994
+ /**
2995
+ * The picklescan exit code.
2996
+ */
2997
+ exitCode?: null | number;
2998
+ /**
2999
+ * The raw picklescan output.
3000
+ */
3001
+ output?: null | string;
3002
+ /**
3003
+ * Global imports discovered during pickle scanning.
3004
+ */
3005
+ globalImports?: null | Array<string>;
3006
+ /**
3007
+ * Dangerous imports discovered during pickle scanning.
3008
+ */
3009
+ dangerousImports?: null | Array<string>;
3010
+ };
3011
+ /**
3012
+ * ModelPickleScan
3013
+ */
3014
+ export type ModelPickleScanStep = Omit<WorkflowStep, '$type'> & {
3015
+ input: ModelPickleScanInput;
3016
+ output?: ModelPickleScanOutput;
3017
+ $type: 'modelPickleScan';
3018
+ };
3019
+ /**
3020
+ * ModelPickleScan
3021
+ */
3022
+ export type ModelPickleScanStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
3023
+ input: ModelPickleScanInput;
3024
+ $type: 'modelPickleScan';
3025
+ };
2724
3026
  export type MusubiImageResourceTrainingInput = Omit<ImageResourceTrainingInput, 'engine'> & {
2725
3027
  /**
2726
3028
  * Number of training epochs. An epoch is one complete pass through the training dataset.
@@ -3724,6 +4026,21 @@ export type SdxlVariantImageGenInput = Omit<
3724
4026
  ecosystem: 'sdxl';
3725
4027
  engine: 'sdcpp';
3726
4028
  };
4029
+ export declare const SeedanceModel: {
4030
+ readonly V2: 'v2';
4031
+ readonly V2_FAST: 'v2-fast';
4032
+ };
4033
+ export type SeedanceModel = (typeof SeedanceModel)[keyof typeof SeedanceModel];
4034
+ export type SeedanceVideoGenInput = Omit<VideoGenInput, 'engine'> & {
4035
+ model?: SeedanceModel;
4036
+ aspectRatio: '16:9' | '9:16' | '1:1' | '4:3' | '3:4' | '21:9' | 'adaptive';
4037
+ duration: 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15;
4038
+ generateAudio?: boolean;
4039
+ seed?: null | number;
4040
+ resolution: '480p' | '720p';
4041
+ images?: Array<string>;
4042
+ engine: 'seedance';
4043
+ };
3727
4044
  export type SeedreamImageGenInput = Omit<ImageGenInput, 'engine'> & {
3728
4045
  prompt: string;
3729
4046
  quantity?: number;
@@ -5342,9 +5659,12 @@ export type WorkflowStep = {
5342
5659
  [key: string]: unknown;
5343
5660
  };
5344
5661
  /**
5345
- * An estimation on the current progression of this step, or null if there is no estimation
5662
+ * An estimation on the current progression of this step, or null if there is no estimation.
5663
+ * Computed by the step's handler (see `WorkflowStepHandler.GetEstimatedProgressRate`)
5664
+ * and refreshed by `WorkflowStepManager` on each job event. Cleared to null once the
5665
+ * step reaches a final status.
5346
5666
  */
5347
- readonly estimatedProgressRate?: null | number;
5667
+ estimatedProgressRate?: null | number;
5348
5668
  };
5349
5669
  /**
5350
5670
  * Details of a workflow step event.
@@ -5613,6 +5933,14 @@ export type XGuardModerationInput = {
5613
5933
  * defaults from the XGuardModerationOptionsGrain for the given mode.
5614
5934
  */
5615
5935
  labelOverrides?: null | Array<XGuardLabelConfiguration>;
5936
+ /**
5937
+ * Debug opt-out. When true, the worker stores the full raw chat completion response
5938
+ * (including the complete logprobs.content array) in the destination blob instead of
5939
+ * the trimmed version. Intended for one-off debugging of classification decisions
5940
+ * where the full logprobs distribution or generated token stream needs inspection.
5941
+ * Leaves blobs at ~200KB instead of ~2-3KB — do not enable in normal traffic.
5942
+ */
5943
+ storeFullResponse: boolean;
5616
5944
  };
5617
5945
  export type XGuardModerationOutput = {
5618
5946
  results: Array<XGuardLabelResult>;
@@ -5796,23 +6124,6 @@ export declare const ZoeDepthEnvironment: {
5796
6124
  readonly OUTDOOR: 'outdoor';
5797
6125
  };
5798
6126
  export type ZoeDepthEnvironment = (typeof ZoeDepthEnvironment)[keyof typeof ZoeDepthEnvironment];
5799
- /**
5800
- * Workflow step for generating music using ACE Step 1.5.
5801
- * Produces full songs from text descriptions and structured lyrics.
5802
- */
5803
- export type AceStepAudioStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
5804
- input: AceStepAudioInput;
5805
- output?: AceStepAudioOutput;
5806
- $type: 'aceStepAudio';
5807
- };
5808
- /**
5809
- * Age classification
5810
- */
5811
- export type AgeClassificationStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
5812
- input: AgeClassificationInput;
5813
- output?: AgeClassificationOutput;
5814
- $type: 'ageClassification';
5815
- };
5816
6127
  /**
5817
6128
  * Base type for message content parts.
5818
6129
  * Supports both camelCase (imageUrl) and snake_case (image_url) type discriminators via ContentPartJsonConverter.
@@ -5824,42 +6135,10 @@ export type ChatCompletionContentPartWritable = {
5824
6135
  text?: null | string;
5825
6136
  imageUrl?: ChatCompletionImageUrl;
5826
6137
  };
5827
- /**
5828
- * ChatCompletion
5829
- */
5830
- export type ChatCompletionStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
5831
- input: ChatCompletionInput;
5832
- output?: ChatCompletionOutput;
5833
- $type: 'chatCompletion';
5834
- };
5835
- /**
5836
- * Comfy workflows
5837
- */
5838
- export type ComfyStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
5839
- input: ComfyInput;
5840
- output?: ComfyOutput;
5841
- $type: 'comfy';
5842
- };
5843
- /**
5844
- * A workflow step that converts images to different formats and applies optional transforms.
5845
- */
5846
- export type ConvertImageStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
5847
- input: ConvertImageInput;
5848
- output?: ConvertImageOutput;
5849
- $type: 'convertImage';
5850
- };
5851
6138
  export type CursedArrayOfTelemetryCursorAndWorkflowWritable = {
5852
6139
  next: string;
5853
6140
  items: Array<WorkflowWritable>;
5854
6141
  };
5855
- /**
5856
- * Echo
5857
- */
5858
- export type EchoStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
5859
- input: EchoInput;
5860
- output?: EchoOutput;
5861
- $type: 'echo';
5862
- };
5863
6142
  export type Flux1KontextDevImageGenInputWritable = Omit<
5864
6143
  Flux1KontextImageGenInputWritable,
5865
6144
  'engine'
@@ -5890,38 +6169,6 @@ export type Flux1KontextProImageGenInputWritable = Omit<
5890
6169
  model: 'pro';
5891
6170
  engine: 'flux1-kontext';
5892
6171
  };
5893
- /**
5894
- * Image Generation
5895
- */
5896
- export type ImageGenStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
5897
- input: ImageGenInput;
5898
- output?: ImageGenOutput;
5899
- $type: 'imageGen';
5900
- };
5901
- /**
5902
- * LORA Training
5903
- */
5904
- export type ImageResourceTrainingStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
5905
- input: ImageResourceTrainingInput;
5906
- output?: ImageResourceTrainingOutput;
5907
- $type: 'imageResourceTraining';
5908
- };
5909
- /**
5910
- * Image upload
5911
- */
5912
- export type ImageUploadStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
5913
- /**
5914
- * The workflow's input.
5915
- */
5916
- input: string;
5917
- output?: ImageUploadOutput;
5918
- $type: 'imageUpload';
5919
- };
5920
- export type ImageUpscalerStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
5921
- input: ImageUpscalerInput;
5922
- output?: ImageUpscalerOutput;
5923
- $type: 'imageUpscaler';
5924
- };
5925
6172
  export type KohyaImageResourceTrainingInputWritable = Omit<
5926
6173
  ImageResourceTrainingInputWritable,
5927
6174
  'engine'
@@ -6013,30 +6260,6 @@ export type KohyaImageResourceTrainingInputWritable = Omit<
6013
6260
  optimizerType?: null | string;
6014
6261
  engine: 'kohya';
6015
6262
  };
6016
- /**
6017
- * Media Captioning
6018
- */
6019
- export type MediaCaptioningStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6020
- input: MediaCaptioningInput;
6021
- output?: MediaCaptioningOutput;
6022
- $type: 'mediaCaptioning';
6023
- };
6024
- /**
6025
- * MediaHash
6026
- */
6027
- export type MediaHashStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6028
- input: MediaHashInput;
6029
- output?: MediaHashOutput;
6030
- $type: 'mediaHash';
6031
- };
6032
- /**
6033
- * MediaRating
6034
- */
6035
- export type MediaRatingStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6036
- input: MediaRatingInput;
6037
- output?: MediaRatingOutput;
6038
- $type: 'mediaRating';
6039
- };
6040
6263
  export type MusubiImageResourceTrainingInputWritable = Omit<
6041
6264
  ImageResourceTrainingInputWritable,
6042
6265
  'engine'
@@ -6288,7 +6511,7 @@ export type PreprocessImageStandardLineartInputWritable = Omit<
6288
6511
  intensityThreshold?: number;
6289
6512
  kind: 'lineart-standard';
6290
6513
  };
6291
- export type PreprocessImageStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6514
+ export type PreprocessImageStepWritable = Omit<WorkflowStepWritable, '$type'> & {
6292
6515
  input: PreprocessImageInputWritable;
6293
6516
  output?: PreprocessImageOutput;
6294
6517
  $type: 'preprocessImage';
@@ -6318,14 +6541,6 @@ export type PreprocessImageZoeDepthAnythingInputWritable = Omit<
6318
6541
  export type PreprocessImageZoeDepthInputWritable = Omit<PreprocessImageInputWritable2, 'kind'> & {
6319
6542
  kind: 'zoe-depth';
6320
6543
  };
6321
- /**
6322
- * PromptEnhancement
6323
- */
6324
- export type PromptEnhancementStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6325
- input: PromptEnhancementInput;
6326
- output?: PromptEnhancementOutput;
6327
- $type: 'promptEnhancement';
6328
- };
6329
6544
  export type Qwen20bEditImageGenInputWritable = Omit<
6330
6545
  Qwen20bImageGenInput,
6331
6546
  'engine' | 'ecosystem' | 'model' | 'operation'
@@ -6352,52 +6567,6 @@ export type Qwen20bVariantImageGenInputWritable = Omit<
6352
6567
  ecosystem: 'qwen';
6353
6568
  engine: 'sdcpp';
6354
6569
  };
6355
- /**
6356
- * Represents the output information returned from the Repeat workflow step.
6357
- */
6358
- export type RepeatOutputWritable = {
6359
- steps: Array<WorkflowStepWritable>;
6360
- };
6361
- /**
6362
- * TextToImage
6363
- */
6364
- export type TextToImageStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6365
- input: TextToImageInput;
6366
- output?: TextToImageOutput;
6367
- $type: 'textToImage';
6368
- };
6369
- /**
6370
- * Text-to-Speech
6371
- */
6372
- export type TextToSpeechStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6373
- input: TextToSpeechInput;
6374
- output?: TextToSpeechOutput;
6375
- $type: 'textToSpeech';
6376
- };
6377
- /**
6378
- * Training
6379
- */
6380
- export type TrainingStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6381
- input: TrainingInput;
6382
- output?: TrainingOutput;
6383
- $type: 'training';
6384
- };
6385
- /**
6386
- * Transcoding
6387
- */
6388
- export type TranscodeStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6389
- input: TranscodeInput;
6390
- output?: TranscodeOutput;
6391
- $type: 'transcode';
6392
- };
6393
- /**
6394
- * Transcription
6395
- */
6396
- export type TranscriptionStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6397
- input: TranscriptionInput;
6398
- output?: TranscriptionOutput;
6399
- $type: 'transcription';
6400
- };
6401
6570
  /**
6402
6571
  * A user message that can contain text and/or images.
6403
6572
  */
@@ -6413,62 +6582,6 @@ export type UserMessageWritable = Omit<ChatCompletionMessageWritable, 'role'> &
6413
6582
  name?: null | string;
6414
6583
  role: 'user';
6415
6584
  };
6416
- /**
6417
- * Upscale videos and/or interpolate frames
6418
- */
6419
- export type VideoEnhancementStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6420
- input: VideoEnhancementInput;
6421
- output?: VideoEnhancementOutput;
6422
- $type: 'videoEnhancement';
6423
- };
6424
- /**
6425
- * Video Frame Extraction
6426
- */
6427
- export type VideoFrameExtractionStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6428
- input: VideoFrameExtractionInput;
6429
- output?: VideoFrameExtractionOutput;
6430
- $type: 'videoFrameExtraction';
6431
- };
6432
- /**
6433
- * Video generation
6434
- */
6435
- export type VideoGenStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6436
- input: VideoGenInput;
6437
- output?: VideoGenOutput;
6438
- $type: 'videoGen';
6439
- };
6440
- /**
6441
- * Interpolate videos using VFI Mamba
6442
- */
6443
- export type VideoInterpolationStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6444
- input: VideoInterpolationInput;
6445
- output?: VideoInterpolationOutput;
6446
- $type: 'videoInterpolation';
6447
- };
6448
- /**
6449
- * Extract metadata from videos including width, height, FPS, and duration
6450
- */
6451
- export type VideoMetadataStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6452
- input: VideoMetadataInput;
6453
- output?: VideoMetadataOutput;
6454
- $type: 'videoMetadata';
6455
- };
6456
- /**
6457
- * Upscale videos using FlashVSR
6458
- */
6459
- export type VideoUpscalerStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6460
- input: VideoUpscalerInput;
6461
- output?: VideoUpscalerOutput;
6462
- $type: 'videoUpscaler';
6463
- };
6464
- /**
6465
- * WDTagging
6466
- */
6467
- export type WdTaggingStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6468
- input: WdTaggingInput;
6469
- output?: WdTaggingOutput;
6470
- $type: 'wdTagging';
6471
- };
6472
6585
  /**
6473
6586
  * Details of a workflow.
6474
6587
  */
@@ -6567,44 +6680,6 @@ export type WorkflowEventWritable = {
6567
6680
  timestamp: string;
6568
6681
  details?: WorkflowEventDetails;
6569
6682
  };
6570
- /**
6571
- * Details of a workflow step.
6572
- */
6573
- export type WorkflowStepWritable = {
6574
- $type: string;
6575
- /**
6576
- * The name of the workflow step. Used to allow steps to refer to one another.
6577
- */
6578
- name: string;
6579
- priority: Priority;
6580
- /**
6581
- * The maximum time to wait for this step to complete.
6582
- */
6583
- timeout?: null | string;
6584
- /**
6585
- * The maximum number of times this step should be retried.
6586
- */
6587
- retries?: null | number;
6588
- /**
6589
- * The jobs generated by this step.
6590
- */
6591
- jobs?: null | Array<WorkflowStepJob>;
6592
- status: WorkflowStatus;
6593
- /**
6594
- * The date / time the step was started. Null if not yet started.
6595
- */
6596
- startedAt?: null | string;
6597
- /**
6598
- * The date / time the step was completed. Null if not yet completed.
6599
- */
6600
- completedAt?: null | string;
6601
- /**
6602
- * A collection of user defined metadata for the workflow step.
6603
- */
6604
- metadata: {
6605
- [key: string]: unknown;
6606
- };
6607
- };
6608
6683
  /**
6609
6684
  * Details of a workflow step event.
6610
6685
  */
@@ -6663,7 +6738,7 @@ export type XGuardModerationOutputWritable = {
6663
6738
  /**
6664
6739
  * XGuardModeration
6665
6740
  */
6666
- export type XGuardModerationStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
6741
+ export type XGuardModerationStepWritable = Omit<WorkflowStepWritable, '$type'> & {
6667
6742
  input: XGuardModerationInput;
6668
6743
  output?: XGuardModerationOutputWritable;
6669
6744
  $type: 'xGuardModeration';
@@ -6689,48 +6764,6 @@ export type XGuardSignalMetadataWritable = {
6689
6764
  };
6690
6765
  customSignals: Array<XGuardCustomSignalMetadataWritable>;
6691
6766
  };
6692
- /**
6693
- * Details of a workflow step.
6694
- */
6695
- export type WorkflowStepWritable2 = {
6696
- $type: string;
6697
- /**
6698
- * The name of the workflow step. Used to allow steps to refer to one another.
6699
- */
6700
- name: string;
6701
- priority: Priority;
6702
- /**
6703
- * The maximum time to wait for this step to complete.
6704
- */
6705
- timeout?: null | string;
6706
- /**
6707
- * The maximum number of times this step should be retried.
6708
- */
6709
- retries?: null | number;
6710
- /**
6711
- * The jobs generated by this step.
6712
- */
6713
- jobs?: null | Array<WorkflowStepJob>;
6714
- status: WorkflowStatus;
6715
- /**
6716
- * The date / time the step was started. Null if not yet started.
6717
- */
6718
- startedAt?: null | string;
6719
- /**
6720
- * The date / time the step was completed. Null if not yet completed.
6721
- */
6722
- completedAt?: null | string;
6723
- /**
6724
- * A collection of user defined metadata for the workflow step.
6725
- */
6726
- metadata: {
6727
- [key: string]: unknown;
6728
- };
6729
- /**
6730
- * An estimation on the current progression of this step, or null if there is no estimation
6731
- */
6732
- readonly estimatedProgressRate?: null | number;
6733
- };
6734
6767
  export type ImageGenInputWritable = {
6735
6768
  engine: string;
6736
6769
  outputFormat?: ImageGenOutputFormat;
@@ -6782,6 +6815,51 @@ export type PreprocessImageInputWritable2 = {
6782
6815
  */
6783
6816
  readonly preprocessorType: string;
6784
6817
  };
6818
+ /**
6819
+ * Details of a workflow step.
6820
+ */
6821
+ export type WorkflowStepWritable = {
6822
+ $type: string;
6823
+ /**
6824
+ * The name of the workflow step. Used to allow steps to refer to one another.
6825
+ */
6826
+ name: string;
6827
+ priority: Priority;
6828
+ /**
6829
+ * The maximum time to wait for this step to complete.
6830
+ */
6831
+ timeout?: null | string;
6832
+ /**
6833
+ * The maximum number of times this step should be retried.
6834
+ */
6835
+ retries?: null | number;
6836
+ /**
6837
+ * The jobs generated by this step.
6838
+ */
6839
+ jobs?: null | Array<WorkflowStepJob>;
6840
+ status: WorkflowStatus;
6841
+ /**
6842
+ * The date / time the step was started. Null if not yet started.
6843
+ */
6844
+ startedAt?: null | string;
6845
+ /**
6846
+ * The date / time the step was completed. Null if not yet completed.
6847
+ */
6848
+ completedAt?: null | string;
6849
+ /**
6850
+ * A collection of user defined metadata for the workflow step.
6851
+ */
6852
+ metadata: {
6853
+ [key: string]: unknown;
6854
+ };
6855
+ /**
6856
+ * An estimation on the current progression of this step, or null if there is no estimation.
6857
+ * Computed by the step's handler (see `WorkflowStepHandler.GetEstimatedProgressRate`)
6858
+ * and refreshed by `WorkflowStepManager` on each job event. Cleared to null once the
6859
+ * step reaches a final status.
6860
+ */
6861
+ estimatedProgressRate?: null | number;
6862
+ };
6785
6863
  /**
6786
6864
  * Details of a workflow step template.
6787
6865
  */
@@ -7057,6 +7135,7 @@ export type InvokeAceStepAudioStepTemplateData = {
7057
7135
  query?: {
7058
7136
  experimental?: boolean;
7059
7137
  allowMatureContent?: boolean;
7138
+ whatif?: boolean;
7060
7139
  };
7061
7140
  url: '/v2/consumer/recipes/aceStepAudio';
7062
7141
  };
@@ -7086,6 +7165,7 @@ export type InvokeAgeClassificationStepTemplateData = {
7086
7165
  query?: {
7087
7166
  experimental?: boolean;
7088
7167
  allowMatureContent?: boolean;
7168
+ whatif?: boolean;
7089
7169
  };
7090
7170
  url: '/v2/consumer/recipes/ageClassification';
7091
7171
  };
@@ -7115,6 +7195,7 @@ export type InvokeBatchOcrSafetyClassificationStepTemplateData = {
7115
7195
  query?: {
7116
7196
  experimental?: boolean;
7117
7197
  allowMatureContent?: boolean;
7198
+ whatif?: boolean;
7118
7199
  };
7119
7200
  url: '/v2/consumer/recipes/batchOCRSafetyClassification';
7120
7201
  };
@@ -7144,6 +7225,7 @@ export type InvokeChatCompletionStepTemplateData = {
7144
7225
  query?: {
7145
7226
  experimental?: boolean;
7146
7227
  allowMatureContent?: boolean;
7228
+ whatif?: boolean;
7147
7229
  };
7148
7230
  url: '/v2/consumer/recipes/chatCompletion';
7149
7231
  };
@@ -7173,6 +7255,7 @@ export type InvokeComfyStepTemplateData = {
7173
7255
  query?: {
7174
7256
  experimental?: boolean;
7175
7257
  allowMatureContent?: boolean;
7258
+ whatif?: boolean;
7176
7259
  };
7177
7260
  url: '/v2/consumer/recipes/comfy';
7178
7261
  };
@@ -7202,6 +7285,7 @@ export type InvokeConvertImageStepTemplateData = {
7202
7285
  query?: {
7203
7286
  experimental?: boolean;
7204
7287
  allowMatureContent?: boolean;
7288
+ whatif?: boolean;
7205
7289
  };
7206
7290
  url: '/v2/consumer/recipes/convertImage';
7207
7291
  };
@@ -7231,6 +7315,7 @@ export type InvokeEchoStepTemplateData = {
7231
7315
  query?: {
7232
7316
  experimental?: boolean;
7233
7317
  allowMatureContent?: boolean;
7318
+ whatif?: boolean;
7234
7319
  };
7235
7320
  url: '/v2/consumer/recipes/echo';
7236
7321
  };
@@ -7260,6 +7345,7 @@ export type InvokeHumanoidImageMaskStepTemplateData = {
7260
7345
  query?: {
7261
7346
  experimental?: boolean;
7262
7347
  allowMatureContent?: boolean;
7348
+ whatif?: boolean;
7263
7349
  };
7264
7350
  url: '/v2/consumer/recipes/humanoidImageMask';
7265
7351
  };
@@ -7289,6 +7375,7 @@ export type InvokeImageGenStepTemplateData = {
7289
7375
  query?: {
7290
7376
  experimental?: boolean;
7291
7377
  allowMatureContent?: boolean;
7378
+ whatif?: boolean;
7292
7379
  };
7293
7380
  url: '/v2/consumer/recipes/imageGen';
7294
7381
  };
@@ -7318,6 +7405,7 @@ export type InvokeImageResourceTrainingStepTemplateData = {
7318
7405
  query?: {
7319
7406
  experimental?: boolean;
7320
7407
  allowMatureContent?: boolean;
7408
+ whatif?: boolean;
7321
7409
  };
7322
7410
  url: '/v2/consumer/recipes/imageResourceTraining';
7323
7411
  };
@@ -7347,6 +7435,7 @@ export type InvokeImageUploadStepTemplateData = {
7347
7435
  query?: {
7348
7436
  experimental?: boolean;
7349
7437
  allowMatureContent?: boolean;
7438
+ whatif?: boolean;
7350
7439
  };
7351
7440
  url: '/v2/consumer/recipes/imageUpload';
7352
7441
  };
@@ -7376,6 +7465,7 @@ export type InvokeImageUpscalerStepTemplateData = {
7376
7465
  query?: {
7377
7466
  experimental?: boolean;
7378
7467
  allowMatureContent?: boolean;
7468
+ whatif?: boolean;
7379
7469
  };
7380
7470
  url: '/v2/consumer/recipes/imageUpscaler';
7381
7471
  };
@@ -7405,6 +7495,7 @@ export type InvokeMediaCaptioningStepTemplateData = {
7405
7495
  query?: {
7406
7496
  experimental?: boolean;
7407
7497
  allowMatureContent?: boolean;
7498
+ whatif?: boolean;
7408
7499
  };
7409
7500
  url: '/v2/consumer/recipes/mediaCaptioning';
7410
7501
  };
@@ -7434,6 +7525,7 @@ export type InvokeMediaHashStepTemplateData = {
7434
7525
  query?: {
7435
7526
  experimental?: boolean;
7436
7527
  allowMatureContent?: boolean;
7528
+ whatif?: boolean;
7437
7529
  };
7438
7530
  url: '/v2/consumer/recipes/mediaHash';
7439
7531
  };
@@ -7463,6 +7555,7 @@ export type InvokeMediaRatingStepTemplateData = {
7463
7555
  query?: {
7464
7556
  experimental?: boolean;
7465
7557
  allowMatureContent?: boolean;
7558
+ whatif?: boolean;
7466
7559
  };
7467
7560
  url: '/v2/consumer/recipes/mediaRating';
7468
7561
  };
@@ -7486,12 +7579,133 @@ export type InvokeMediaRatingStepTemplateResponses = {
7486
7579
  };
7487
7580
  export type InvokeMediaRatingStepTemplateResponse =
7488
7581
  InvokeMediaRatingStepTemplateResponses[keyof InvokeMediaRatingStepTemplateResponses];
7582
+ export type InvokeModelClamScanStepTemplateData = {
7583
+ body?: ModelClamScanInput;
7584
+ path?: never;
7585
+ query?: {
7586
+ experimental?: boolean;
7587
+ allowMatureContent?: boolean;
7588
+ whatif?: boolean;
7589
+ };
7590
+ url: '/v2/consumer/recipes/modelClamScan';
7591
+ };
7592
+ export type InvokeModelClamScanStepTemplateErrors = {
7593
+ /**
7594
+ * Bad Request
7595
+ */
7596
+ 400: ProblemDetails;
7597
+ /**
7598
+ * Unauthorized
7599
+ */
7600
+ 401: ProblemDetails;
7601
+ };
7602
+ export type InvokeModelClamScanStepTemplateError =
7603
+ InvokeModelClamScanStepTemplateErrors[keyof InvokeModelClamScanStepTemplateErrors];
7604
+ export type InvokeModelClamScanStepTemplateResponses = {
7605
+ /**
7606
+ * OK
7607
+ */
7608
+ 200: ModelClamScanOutput;
7609
+ };
7610
+ export type InvokeModelClamScanStepTemplateResponse =
7611
+ InvokeModelClamScanStepTemplateResponses[keyof InvokeModelClamScanStepTemplateResponses];
7612
+ export type InvokeModelHashStepTemplateData = {
7613
+ body?: ModelHashInput;
7614
+ path?: never;
7615
+ query?: {
7616
+ experimental?: boolean;
7617
+ allowMatureContent?: boolean;
7618
+ whatif?: boolean;
7619
+ };
7620
+ url: '/v2/consumer/recipes/modelHash';
7621
+ };
7622
+ export type InvokeModelHashStepTemplateErrors = {
7623
+ /**
7624
+ * Bad Request
7625
+ */
7626
+ 400: ProblemDetails;
7627
+ /**
7628
+ * Unauthorized
7629
+ */
7630
+ 401: ProblemDetails;
7631
+ };
7632
+ export type InvokeModelHashStepTemplateError =
7633
+ InvokeModelHashStepTemplateErrors[keyof InvokeModelHashStepTemplateErrors];
7634
+ export type InvokeModelHashStepTemplateResponses = {
7635
+ /**
7636
+ * OK
7637
+ */
7638
+ 200: ModelHashOutput;
7639
+ };
7640
+ export type InvokeModelHashStepTemplateResponse =
7641
+ InvokeModelHashStepTemplateResponses[keyof InvokeModelHashStepTemplateResponses];
7642
+ export type InvokeModelParseMetadataStepTemplateData = {
7643
+ body?: ModelParseMetadataInput;
7644
+ path?: never;
7645
+ query?: {
7646
+ experimental?: boolean;
7647
+ allowMatureContent?: boolean;
7648
+ whatif?: boolean;
7649
+ };
7650
+ url: '/v2/consumer/recipes/modelParseMetadata';
7651
+ };
7652
+ export type InvokeModelParseMetadataStepTemplateErrors = {
7653
+ /**
7654
+ * Bad Request
7655
+ */
7656
+ 400: ProblemDetails;
7657
+ /**
7658
+ * Unauthorized
7659
+ */
7660
+ 401: ProblemDetails;
7661
+ };
7662
+ export type InvokeModelParseMetadataStepTemplateError =
7663
+ InvokeModelParseMetadataStepTemplateErrors[keyof InvokeModelParseMetadataStepTemplateErrors];
7664
+ export type InvokeModelParseMetadataStepTemplateResponses = {
7665
+ /**
7666
+ * OK
7667
+ */
7668
+ 200: ModelParseMetadataOutput;
7669
+ };
7670
+ export type InvokeModelParseMetadataStepTemplateResponse =
7671
+ InvokeModelParseMetadataStepTemplateResponses[keyof InvokeModelParseMetadataStepTemplateResponses];
7672
+ export type InvokeModelPickleScanStepTemplateData = {
7673
+ body?: ModelPickleScanInput;
7674
+ path?: never;
7675
+ query?: {
7676
+ experimental?: boolean;
7677
+ allowMatureContent?: boolean;
7678
+ whatif?: boolean;
7679
+ };
7680
+ url: '/v2/consumer/recipes/modelPickleScan';
7681
+ };
7682
+ export type InvokeModelPickleScanStepTemplateErrors = {
7683
+ /**
7684
+ * Bad Request
7685
+ */
7686
+ 400: ProblemDetails;
7687
+ /**
7688
+ * Unauthorized
7689
+ */
7690
+ 401: ProblemDetails;
7691
+ };
7692
+ export type InvokeModelPickleScanStepTemplateError =
7693
+ InvokeModelPickleScanStepTemplateErrors[keyof InvokeModelPickleScanStepTemplateErrors];
7694
+ export type InvokeModelPickleScanStepTemplateResponses = {
7695
+ /**
7696
+ * OK
7697
+ */
7698
+ 200: ModelPickleScanOutput;
7699
+ };
7700
+ export type InvokeModelPickleScanStepTemplateResponse =
7701
+ InvokeModelPickleScanStepTemplateResponses[keyof InvokeModelPickleScanStepTemplateResponses];
7489
7702
  export type InvokePreprocessImageStepTemplateData = {
7490
7703
  body?: PreprocessImageInputWritable;
7491
7704
  path?: never;
7492
7705
  query?: {
7493
7706
  experimental?: boolean;
7494
7707
  allowMatureContent?: boolean;
7708
+ whatif?: boolean;
7495
7709
  };
7496
7710
  url: '/v2/consumer/recipes/preprocessImage';
7497
7711
  };
@@ -7521,6 +7735,7 @@ export type InvokePromptEnhancementStepTemplateData = {
7521
7735
  query?: {
7522
7736
  experimental?: boolean;
7523
7737
  allowMatureContent?: boolean;
7738
+ whatif?: boolean;
7524
7739
  };
7525
7740
  url: '/v2/consumer/recipes/promptEnhancement';
7526
7741
  };
@@ -7550,6 +7765,7 @@ export type InvokeRepeatStepTemplateData = {
7550
7765
  query?: {
7551
7766
  experimental?: boolean;
7552
7767
  allowMatureContent?: boolean;
7768
+ whatif?: boolean;
7553
7769
  };
7554
7770
  url: '/v2/consumer/recipes/repeat';
7555
7771
  };
@@ -7579,6 +7795,7 @@ export type InvokeTextToImageStepTemplateData = {
7579
7795
  query?: {
7580
7796
  experimental?: boolean;
7581
7797
  allowMatureContent?: boolean;
7798
+ whatif?: boolean;
7582
7799
  };
7583
7800
  url: '/v2/consumer/recipes/textToImage';
7584
7801
  };
@@ -7608,6 +7825,7 @@ export type InvokeTextToSpeechStepTemplateData = {
7608
7825
  query?: {
7609
7826
  experimental?: boolean;
7610
7827
  allowMatureContent?: boolean;
7828
+ whatif?: boolean;
7611
7829
  };
7612
7830
  url: '/v2/consumer/recipes/textToSpeech';
7613
7831
  };
@@ -7637,6 +7855,7 @@ export type InvokeTrainingStepTemplateData = {
7637
7855
  query?: {
7638
7856
  experimental?: boolean;
7639
7857
  allowMatureContent?: boolean;
7858
+ whatif?: boolean;
7640
7859
  };
7641
7860
  url: '/v2/consumer/recipes/training';
7642
7861
  };
@@ -7666,6 +7885,7 @@ export type InvokeTranscodeStepTemplateData = {
7666
7885
  query?: {
7667
7886
  experimental?: boolean;
7668
7887
  allowMatureContent?: boolean;
7888
+ whatif?: boolean;
7669
7889
  };
7670
7890
  url: '/v2/consumer/recipes/transcode';
7671
7891
  };
@@ -7695,6 +7915,7 @@ export type InvokeTranscriptionStepTemplateData = {
7695
7915
  query?: {
7696
7916
  experimental?: boolean;
7697
7917
  allowMatureContent?: boolean;
7918
+ whatif?: boolean;
7698
7919
  };
7699
7920
  url: '/v2/consumer/recipes/transcription';
7700
7921
  };
@@ -7724,6 +7945,7 @@ export type InvokeTryOnUStepTemplateData = {
7724
7945
  query?: {
7725
7946
  experimental?: boolean;
7726
7947
  allowMatureContent?: boolean;
7948
+ whatif?: boolean;
7727
7949
  };
7728
7950
  url: '/v2/consumer/recipes/tryOnU';
7729
7951
  };
@@ -7753,6 +7975,7 @@ export type InvokeVideoEnhancementStepTemplateData = {
7753
7975
  query?: {
7754
7976
  experimental?: boolean;
7755
7977
  allowMatureContent?: boolean;
7978
+ whatif?: boolean;
7756
7979
  };
7757
7980
  url: '/v2/consumer/recipes/videoEnhancement';
7758
7981
  };
@@ -7782,6 +8005,7 @@ export type InvokeVideoFrameExtractionStepTemplateData = {
7782
8005
  query?: {
7783
8006
  experimental?: boolean;
7784
8007
  allowMatureContent?: boolean;
8008
+ whatif?: boolean;
7785
8009
  };
7786
8010
  url: '/v2/consumer/recipes/videoFrameExtraction';
7787
8011
  };
@@ -7811,6 +8035,7 @@ export type InvokeVideoGenStepTemplateData = {
7811
8035
  query?: {
7812
8036
  experimental?: boolean;
7813
8037
  allowMatureContent?: boolean;
8038
+ whatif?: boolean;
7814
8039
  };
7815
8040
  url: '/v2/consumer/recipes/videoGen';
7816
8041
  };
@@ -7840,6 +8065,7 @@ export type InvokeVideoInterpolationStepTemplateData = {
7840
8065
  query?: {
7841
8066
  experimental?: boolean;
7842
8067
  allowMatureContent?: boolean;
8068
+ whatif?: boolean;
7843
8069
  };
7844
8070
  url: '/v2/consumer/recipes/videoInterpolation';
7845
8071
  };
@@ -7869,6 +8095,7 @@ export type InvokeVideoMetadataStepTemplateData = {
7869
8095
  query?: {
7870
8096
  experimental?: boolean;
7871
8097
  allowMatureContent?: boolean;
8098
+ whatif?: boolean;
7872
8099
  };
7873
8100
  url: '/v2/consumer/recipes/videoMetadata';
7874
8101
  };
@@ -7898,6 +8125,7 @@ export type InvokeVideoUpscalerStepTemplateData = {
7898
8125
  query?: {
7899
8126
  experimental?: boolean;
7900
8127
  allowMatureContent?: boolean;
8128
+ whatif?: boolean;
7901
8129
  };
7902
8130
  url: '/v2/consumer/recipes/videoUpscaler';
7903
8131
  };
@@ -7927,6 +8155,7 @@ export type InvokeWdTaggingStepTemplateData = {
7927
8155
  query?: {
7928
8156
  experimental?: boolean;
7929
8157
  allowMatureContent?: boolean;
8158
+ whatif?: boolean;
7930
8159
  };
7931
8160
  url: '/v2/consumer/recipes/wdTagging';
7932
8161
  };
@@ -7956,6 +8185,7 @@ export type InvokeXGuardModerationStepTemplateData = {
7956
8185
  query?: {
7957
8186
  experimental?: boolean;
7958
8187
  allowMatureContent?: boolean;
8188
+ whatif?: boolean;
7959
8189
  };
7960
8190
  url: '/v2/consumer/recipes/xGuardModeration';
7961
8191
  };