@civitai/orchestration-client 0.2.0-beta.121 → 0.2.0-beta.122

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.
@@ -173,9 +173,10 @@ export type AceStepAudioCover = {
173
173
  };
174
174
  export type AceStepAudioInput = {
175
175
  /**
176
- * Music style/genre description (e.g., "Neo-Soul: A warm, organic neo-soul track...")
176
+ * What the track should sound like: genre, mood, instruments, tempo
177
+ * (e.g., "Neo-Soul: A warm, organic neo-soul track..."). The words to sing go in lyrics.
177
178
  */
178
- musicDescription: string;
179
+ prompt: string;
179
180
  /**
180
181
  * Structured lyrics with section markers like [Verse], [Chorus], [Bridge], etc.
181
182
  */
@@ -293,7 +294,7 @@ export type AceStepAudioInput = {
293
294
  * Classifier-free guidance scale. Turbo variants run CFG-off at 1.0;
294
295
  * non-turbo base / sft variants expect CFG on (around 4).
295
296
  */
296
- cfg?: number;
297
+ cfgScale?: number;
297
298
  /**
298
299
  * LoRAs to apply; each strength applies to both the diffusion model and the dual CLIP.
299
300
  * Compatibility with non-default base models is the caller's responsibility.
@@ -472,7 +473,7 @@ export type AnimaImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'
472
473
  loras?: {
473
474
  [key: string]: number;
474
475
  };
475
- diffuserModel?: string;
476
+ diffusionModel?: string;
476
477
  ecosystem: 'anima';
477
478
  engine: 'sdcpp';
478
479
  };
@@ -1122,10 +1123,10 @@ export type ComfyAnimaImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosy
1122
1123
  loras?: {
1123
1124
  [key: string]: number;
1124
1125
  };
1125
- diffuserModel?: string;
1126
+ diffusionModel?: string;
1127
+ ecosystem: 'anima';
1126
1128
  controlNets?: Array<ImageJobControlNet>;
1127
1129
  vaeModel?: string;
1128
- ecosystem: 'anima';
1129
1130
  engine: 'comfy';
1130
1131
  };
1131
1132
  export type ComfyAnimaVariantImageGenInput = Omit<
@@ -1138,7 +1139,7 @@ export type ComfyAnimaVariantImageGenInput = Omit<
1138
1139
  * Either A URL, A DataURL or a Base64 string
1139
1140
  */
1140
1141
  image: string;
1141
- denoiseStrength?: number;
1142
+ strength?: number;
1142
1143
  operation: 'createVariant';
1143
1144
  ecosystem: 'anima';
1144
1145
  engine: 'comfy';
@@ -1430,7 +1431,7 @@ export type ComfyFlux1VariantImageGenInput = Omit<
1430
1431
  * Either A URL, A DataURL or a Base64 string
1431
1432
  */
1432
1433
  image: string;
1433
- denoiseStrength?: number;
1434
+ strength?: number;
1434
1435
  operation: 'createVariant';
1435
1436
  ecosystem: 'flux1';
1436
1437
  engine: 'comfy';
@@ -1956,7 +1957,8 @@ export type ComfyLtx23VideoGenInput = Omit<VideoGenInput, 'engine'> & {
1956
1957
  height?: number;
1957
1958
  fps?: number;
1958
1959
  generateAudio?: boolean;
1959
- guidanceScale?: number;
1960
+ cfgScale?: number;
1961
+ engine: 'ltx2.3';
1960
1962
  steps?: number;
1961
1963
  model?: '22b-dev' | '22b-distilled';
1962
1964
  loras?: {
@@ -1972,7 +1974,6 @@ export type ComfyLtx23VideoGenInput = Omit<VideoGenInput, 'engine'> & {
1972
1974
  * (Seed + slotIndex) and is produced by re-running the Comfy workflow.
1973
1975
  */
1974
1976
  quantity?: number;
1975
- engine: 'ltx2.3';
1976
1977
  };
1977
1978
  /**
1978
1979
  * Style-transfer an existing video using prompt guidance (ComfyUI backend)
@@ -2062,7 +2063,8 @@ export type ComfyLtx25VideoGenInput = Omit<VideoGenInput, 'engine'> & {
2062
2063
  height?: number;
2063
2064
  fps?: number;
2064
2065
  generateAudio?: boolean;
2065
- guidanceScale?: number;
2066
+ cfgScale?: number;
2067
+ engine: 'ltx2.5';
2066
2068
  steps?: number;
2067
2069
  model?: '22b-dev' | '22b-distilled';
2068
2070
  loras?: {
@@ -2078,7 +2080,6 @@ export type ComfyLtx25VideoGenInput = Omit<VideoGenInput, 'engine'> & {
2078
2080
  * (Seed + slotIndex) and is produced by re-running the Comfy workflow.
2079
2081
  */
2080
2082
  quantity?: number;
2081
- engine: 'ltx2.5';
2082
2083
  };
2083
2084
  /**
2084
2085
  * Style-transfer an existing video using prompt guidance (ComfyUI backend)
@@ -2148,13 +2149,13 @@ export type ComfyLtx2VideoGenInput = Omit<VideoGenInput, 'engine'> & {
2148
2149
  height?: number;
2149
2150
  fps?: number;
2150
2151
  generateAudio?: boolean;
2151
- guidanceScale?: number;
2152
+ cfgScale?: number;
2152
2153
  steps?: number;
2154
+ engine: 'ltx2';
2153
2155
  model?: '19b-dev' | '19b-distilled';
2154
2156
  loras?: {
2155
2157
  [key: string]: number;
2156
2158
  };
2157
- engine: 'ltx2';
2158
2159
  };
2159
2160
  export type ComfyMageFlow4bCreateImageGenInput = Omit<
2160
2161
  ComfyMageFlow4bImageGenInput,
@@ -2718,7 +2719,8 @@ export type ComfySd1ImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosyst
2718
2719
  cfgScale?: number;
2719
2720
  seed?: null | number;
2720
2721
  quantity?: number;
2721
- model: string;
2722
+ checkpointModel: string;
2723
+ ecosystem: 'sd1';
2722
2724
  vaeModel?: null | string;
2723
2725
  loras?: {
2724
2726
  [key: string]: number;
@@ -2726,7 +2728,6 @@ export type ComfySd1ImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosyst
2726
2728
  embeddings?: Array<string>;
2727
2729
  clipSkip?: number;
2728
2730
  controlNets?: Array<ImageJobControlNet>;
2729
- ecosystem: 'sd1';
2730
2731
  engine: 'comfy';
2731
2732
  };
2732
2733
  export type ComfySd1VariantImageGenInput = Omit<
@@ -2739,7 +2740,7 @@ export type ComfySd1VariantImageGenInput = Omit<
2739
2740
  * Either A URL, A DataURL or a Base64 string
2740
2741
  */
2741
2742
  image: string;
2742
- denoiseStrength?: number;
2743
+ strength?: number;
2743
2744
  operation: 'createVariant';
2744
2745
  ecosystem: 'sd1';
2745
2746
  engine: 'comfy';
@@ -2764,7 +2765,8 @@ export type ComfySdxlImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosys
2764
2765
  cfgScale?: number;
2765
2766
  seed?: null | number;
2766
2767
  quantity?: number;
2767
- model?: string;
2768
+ checkpointModel?: string;
2769
+ ecosystem: 'sdxl';
2768
2770
  vaeModel?: null | string;
2769
2771
  loras?: {
2770
2772
  [key: string]: number;
@@ -2772,7 +2774,6 @@ export type ComfySdxlImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosys
2772
2774
  embeddings?: Array<string>;
2773
2775
  clipSkip?: number;
2774
2776
  controlNets?: Array<ImageJobControlNet>;
2775
- ecosystem: 'sdxl';
2776
2777
  engine: 'comfy';
2777
2778
  };
2778
2779
  export type ComfySdxlVariantImageGenInput = Omit<
@@ -2785,7 +2786,7 @@ export type ComfySdxlVariantImageGenInput = Omit<
2785
2786
  * Either A URL, A DataURL or a Base64 string
2786
2787
  */
2787
2788
  image: string;
2788
- denoiseStrength?: number;
2789
+ strength?: number;
2789
2790
  operation: 'createVariant';
2790
2791
  ecosystem: 'sdxl';
2791
2792
  engine: 'comfy';
@@ -2972,7 +2973,7 @@ export type ComfyZImageBaseImageGenInput = Omit<
2972
2973
  };
2973
2974
  export type ComfyZImageImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
2974
2975
  model: null | string;
2975
- diffuserModel?: string;
2976
+ diffusionModel?: string;
2976
2977
  ecosystem: 'zImage';
2977
2978
  engine: 'comfy';
2978
2979
  };
@@ -3421,6 +3422,9 @@ export type Flux1KontextImageGenInput = Omit<ImageGenInput, 'engine'> & {
3421
3422
  prompt: string;
3422
3423
  images?: Array<string>;
3423
3424
  aspectRatio?: '21:9' | '16:9' | '4:3' | '3:2' | '1:1' | '2:3' | '3:4' | '9:16' | '9:21';
3425
+ /**
3426
+ * Model/provider guidance strength. This is not a portable classifier-free guidance scale.
3427
+ */
3424
3428
  guidanceScale?: number;
3425
3429
  quantity?: number;
3426
3430
  seed?: null | number;
@@ -3506,11 +3510,11 @@ export type Flux1SdCppImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosy
3506
3510
  loras?: {
3507
3511
  [key: string]: number;
3508
3512
  };
3509
- diffuserModel: string;
3513
+ diffusionModel: string;
3514
+ ecosystem: 'flux1';
3510
3515
  vaeModel: string;
3511
3516
  clipLModel: string;
3512
3517
  t5XXLModel: string;
3513
- ecosystem: 'flux1';
3514
3518
  engine: 'sdcpp';
3515
3519
  };
3516
3520
  export type Flux1SdCppVariantImageGenInput = Omit<
@@ -3562,10 +3566,13 @@ export type Flux2DevEditImageResourceTrainingInput = Omit<ImageResourceTrainingI
3562
3566
  };
3563
3567
  export type Flux2DevImageGenInput = Omit<Flux2ImageGenInput, 'engine' | 'model'> & {
3564
3568
  operation: string;
3569
+ /**
3570
+ * Embedded guidance strength passed to the guidance-distilled model; not sampling-time classifier-free guidance.
3571
+ */
3565
3572
  guidanceScale?: number;
3566
- numInferenceSteps?: number;
3567
- loras?: Array<ImageGenInputLora>;
3573
+ steps?: number;
3568
3574
  model: 'dev';
3575
+ loras?: Array<ImageGenInputLora>;
3569
3576
  engine: 'flux2';
3570
3577
  };
3571
3578
  export type Flux2DevImageResourceTrainingInput = Omit<ImageResourceTrainingInput, 'engine'> & {
@@ -3647,8 +3654,11 @@ export type Flux2FlexEditImageInput = Omit<
3647
3654
  };
3648
3655
  export type Flux2FlexImageGenInput = Omit<Flux2ImageGenInput, 'engine' | 'model'> & {
3649
3656
  operation: string;
3657
+ /**
3658
+ * Model/provider guidance strength. This is not a portable classifier-free guidance scale.
3659
+ */
3650
3660
  guidanceScale?: number;
3651
- numInferenceSteps?: number;
3661
+ steps?: number;
3652
3662
  model: 'flex';
3653
3663
  engine: 'flux2';
3654
3664
  };
@@ -3659,7 +3669,7 @@ export type Flux2ImageGenInput = Omit<ImageGenInput, 'engine'> & {
3659
3669
  height?: number;
3660
3670
  seed?: null | number;
3661
3671
  quantity?: number;
3662
- enablePromptExpansion?: boolean;
3672
+ enhancePrompt?: boolean;
3663
3673
  engine: 'flux2';
3664
3674
  };
3665
3675
  export type Flux2Klein4bAiToolkitTrainingInput = Omit<
@@ -3871,9 +3881,9 @@ export type Flux3FalImageGenInput = Omit<FalImageGenInput, 'engine' | 'model'> &
3871
3881
  | '2:3'
3872
3882
  | '9:16'
3873
3883
  | '1:2';
3874
- enablePromptExpansion?: boolean;
3875
- safetyTolerance?: number;
3884
+ enhancePrompt?: boolean;
3876
3885
  model: 'flux3';
3886
+ safetyTolerance?: number;
3877
3887
  engine: 'fal';
3878
3888
  };
3879
3889
  /**
@@ -4443,12 +4453,12 @@ export type HaiperVideoGenInput = Omit<VideoGenInput, 'engine'> & {
4443
4453
  aspectRatio?: HaiperVideoGenAspectRatio;
4444
4454
  model?: HaiperVideoGenModel;
4445
4455
  resolution?: 720 | 1080 | 2160;
4446
- enablePromptEnhancer?: boolean;
4456
+ enhancePrompt?: boolean;
4457
+ engine: 'haiper';
4447
4458
  /**
4448
4459
  * Either A URL, A DataURL or a Base64 string
4449
4460
  */
4450
4461
  sourceImage?: null | string;
4451
- engine: 'haiper';
4452
4462
  };
4453
4463
  export declare const HaiperVideoGenModel: {
4454
4464
  readonly V1_5: 'v1_5';
@@ -4746,14 +4756,14 @@ export type Hunyuan3dTexGenComfyPolyGenInput = Omit<
4746
4756
  };
4747
4757
  export type HunyuanVdeoGenInput = Omit<VideoGenInput, 'engine'> & {
4748
4758
  cfgScale: number;
4749
- frameRate?: number;
4759
+ fps?: number;
4750
4760
  duration?: number;
4751
4761
  seed?: null | number;
4752
4762
  steps?: number;
4753
4763
  width: number;
4754
4764
  height: number;
4755
4765
  loras?: Array<VideoGenInputLora>;
4756
- model?: null | string;
4766
+ checkpointModel?: null | string;
4757
4767
  engine: 'hunyuan';
4758
4768
  };
4759
4769
  export type Ideogram45CreateFalImageGenInput = Omit<
@@ -4768,7 +4778,7 @@ export type Ideogram45CreateFalImageGenInput = Omit<
4768
4778
  | 'portrait_16_9'
4769
4779
  | 'landscape_4_3'
4770
4780
  | 'landscape_16_9';
4771
- enablePromptExpansion?: boolean;
4781
+ enhancePrompt?: boolean;
4772
4782
  operation: 'createImage';
4773
4783
  model: 'ideogram45';
4774
4784
  engine: 'fal';
@@ -4793,9 +4803,9 @@ export type Ideogram45EditFalImageGenInput = Omit<
4793
4803
  /**
4794
4804
  * Black edits, white preserves. Must match the source dimensions and contain both regions.
4795
4805
  */
4796
- maskImage?: null | string;
4797
- editPrecision?: 'regular' | 'high';
4806
+ mask?: null | string;
4798
4807
  operation: 'editImage';
4808
+ editPrecision?: 'regular' | 'high';
4799
4809
  model: 'ideogram45';
4800
4810
  engine: 'fal';
4801
4811
  };
@@ -5224,9 +5234,9 @@ export type Imagen4ImageGenInput = Omit<GoogleImageGenInput, 'engine' | 'model'>
5224
5234
  prompt: string;
5225
5235
  negativePrompt?: string;
5226
5236
  aspectRatio?: '1:1' | '16:9' | '9:16' | '3:4' | '4:3';
5227
- numImages?: number;
5228
- seed?: null | number;
5237
+ quantity?: number;
5229
5238
  model: 'imagen4';
5239
+ seed?: null | number;
5230
5240
  engine: 'google';
5231
5241
  };
5232
5242
  export declare const JobSupport: {
@@ -5388,9 +5398,9 @@ export type KlingV3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
5388
5398
  elements?: Array<KlingV3ElementInput>;
5389
5399
  generateAudio?: boolean;
5390
5400
  voiceIds?: null | Array<string>;
5391
- keepAudio?: boolean;
5392
- multiPrompt?: null | Array<KlingV3MultiPrompt>;
5401
+ keepSourceAudio?: boolean;
5393
5402
  engine: 'kling-v3';
5403
+ multiPrompt?: null | Array<KlingV3MultiPrompt>;
5394
5404
  };
5395
5405
  export declare const KlingVideoGenAspectRatio: {
5396
5406
  readonly '16_9': '16:9';
@@ -5621,7 +5631,7 @@ export type LightricksAspectRatio =
5621
5631
  export type LightricksVideoGenInput = Omit<VideoGenInput, 'engine'> & {
5622
5632
  negativePrompt?: null | string;
5623
5633
  cfgScale: number;
5624
- frameRate?: number;
5634
+ fps?: number;
5625
5635
  duration?: number;
5626
5636
  seed?: null | number;
5627
5637
  steps?: number;
@@ -5630,7 +5640,7 @@ export type LightricksVideoGenInput = Omit<VideoGenInput, 'engine'> & {
5630
5640
  * Either A URL, A DataURL or a Base64 string
5631
5641
  */
5632
5642
  sourceImage?: null | string;
5633
- expandPrompt?: boolean;
5643
+ enhancePrompt?: boolean;
5634
5644
  engine: 'lightricks';
5635
5645
  };
5636
5646
  export type LiveQwen3CustomVoiceTtsInput = Omit<
@@ -6516,10 +6526,10 @@ export type MiniMaxH3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
6516
6526
  };
6517
6527
  export type MiniMaxMusic3Input = {
6518
6528
  /**
6519
- * Structured music description. For best results use Global Metadata, Vocal Details,
6520
- * and Arrangement sections.
6529
+ * What the track should sound like, as a structured description. For best results use Global
6530
+ * Metadata, Vocal Details, and Arrangement sections. The words to sing go in lyrics.
6521
6531
  */
6522
- caption: string;
6532
+ prompt: string;
6523
6533
  /**
6524
6534
  * Lyrics with section markers such as [Intro], [Verse], [Chorus], and [Outro].
6525
6535
  */
@@ -6534,7 +6544,7 @@ export type MiniMaxMusic3Input = {
6534
6544
  /**
6535
6545
  * Classifier-free guidance scale used by both text encoding and sampling.
6536
6546
  */
6537
- cfg?: number;
6547
+ cfgScale?: number;
6538
6548
  /**
6539
6549
  * Top-k sampling limit used by the MiniMax music text encoder.
6540
6550
  */
@@ -6570,12 +6580,12 @@ export type MiniMaxMusic3StepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
6570
6580
  };
6571
6581
  export type MiniMaxVideoGenInput = Omit<VideoGenInput, 'engine'> & {
6572
6582
  model?: MiniMaxVideoGenModel;
6573
- enablePromptEnhancer?: boolean;
6583
+ enhancePrompt?: boolean;
6584
+ engine: 'minimax';
6574
6585
  /**
6575
6586
  * Either A URL, A DataURL or a Base64 string
6576
6587
  */
6577
6588
  sourceImage?: null | string;
6578
- engine: 'minimax';
6579
6589
  };
6580
6590
  export declare const MiniMaxVideoGenModel: {
6581
6591
  readonly HAILOU: 'hailou';
@@ -6583,7 +6593,7 @@ export declare const MiniMaxVideoGenModel: {
6583
6593
  export type MiniMaxVideoGenModel = (typeof MiniMaxVideoGenModel)[keyof typeof MiniMaxVideoGenModel];
6584
6594
  export type MochiVideoGenInput = Omit<VideoGenInput, 'engine'> & {
6585
6595
  seed: number;
6586
- enablePromptEnhancer?: boolean;
6596
+ enhancePrompt?: boolean;
6587
6597
  engine: 'mochi';
6588
6598
  };
6589
6599
  export type ModalitiesResponse = {
@@ -6815,6 +6825,7 @@ export type MusubiImageResourceTrainingInput = Omit<ImageResourceTrainingInput,
6815
6825
  * Maximum of 20 epochs can be specified.
6816
6826
  */
6817
6827
  epochs?: number;
6828
+ engine: 'musubi';
6818
6829
  /**
6819
6830
  * Specify the maximum resolution of training images. If the training images exceed the resolution specified here, they will be scaled down to this resolution
6820
6831
  */
@@ -6849,7 +6860,6 @@ export type MusubiImageResourceTrainingInput = Omit<ImageResourceTrainingInput,
6849
6860
  */
6850
6861
  optimizerType?: null | string;
6851
6862
  readonly targetSteps?: null | number;
6852
- engine: 'musubi';
6853
6863
  };
6854
6864
  export declare const NsfwLevel: {
6855
6865
  readonly PG: 'pg';
@@ -6878,40 +6888,40 @@ export type NanoBanana21ImageGenInput = Omit<GoogleImageGenInput, 'engine' | 'mo
6878
6888
  | '1:8'
6879
6889
  | '8:1'
6880
6890
  | '9:21';
6881
- numImages?: number;
6891
+ quantity?: number;
6892
+ model: 'nano-banana-2.1';
6882
6893
  resolution?: '1K' | '2K' | '4K';
6883
6894
  images?: Array<string>;
6884
- model: 'nano-banana-2.1';
6885
6895
  engine: 'google';
6886
6896
  };
6887
6897
  export type NanoBanana2ImageGenInput = Omit<GoogleImageGenInput, 'engine' | 'model'> & {
6888
6898
  prompt: string;
6889
6899
  aspectRatio?: '21:9' | '16:9' | '3:2' | '4:3' | '5:4' | '1:1' | '4:5' | '3:4' | '2:3' | '9:16';
6890
- numImages?: number;
6900
+ quantity?: number;
6901
+ model: 'nano-banana-2';
6891
6902
  resolution?: '1K' | '2K' | '4K';
6892
6903
  images?: Array<string>;
6893
6904
  seed?: null | number;
6894
6905
  enableWebSearch?: boolean;
6895
6906
  enableGoogleSearch?: boolean;
6896
- model: 'nano-banana-2';
6897
6907
  engine: 'google';
6898
6908
  };
6899
6909
  export type NanoBanana2LiteImageGenInput = Omit<GoogleImageGenInput, 'engine' | 'model'> & {
6900
6910
  prompt: string;
6901
6911
  aspectRatio?: '21:9' | '16:9' | '3:2' | '4:3' | '5:4' | '1:1' | '4:5' | '3:4' | '2:3' | '9:16';
6902
- numImages?: number;
6912
+ quantity?: number;
6913
+ model: 'nano-banana-2-lite';
6903
6914
  images?: Array<string>;
6904
6915
  seed?: null | number;
6905
- model: 'nano-banana-2-lite';
6906
6916
  engine: 'google';
6907
6917
  };
6908
6918
  export type NanoBananaProImageGenInput = Omit<GoogleImageGenInput, 'engine' | 'model'> & {
6909
6919
  prompt: string;
6910
6920
  aspectRatio?: '21:9' | '16:9' | '3:2' | '4:3' | '5:4' | '1:1' | '4:5' | '3:4' | '2:3' | '9:16';
6911
- numImages?: number;
6921
+ quantity?: number;
6922
+ model: 'nano-banana-pro';
6912
6923
  resolution?: '1K' | '2K' | '4K';
6913
6924
  images?: Array<string>;
6914
- model: 'nano-banana-pro';
6915
6925
  engine: 'google';
6916
6926
  };
6917
6927
  export type OmniSvgImageToSvgInput = Omit<ComfyImageToSvgInput, 'engine' | 'ecosystem'> & {
@@ -7069,7 +7079,8 @@ export type OpenAiGpt25FlareEditImageInput = Omit<
7069
7079
  /**
7070
7080
  * Either A URL, A DataURL or a Base64 string
7071
7081
  */
7072
- maskImage?: null | string;
7082
+ mask?: null | string;
7083
+ operation: 'editImage';
7073
7084
  /**
7074
7085
  * When null, fal infers output size from the input images (image_size: "auto").
7075
7086
  * Both Width and Height must be set together, or both null.
@@ -7080,7 +7091,6 @@ export type OpenAiGpt25FlareEditImageInput = Omit<
7080
7091
  * Both Width and Height must be set together, or both null.
7081
7092
  */
7082
7093
  height?: null | number;
7083
- operation: 'editImage';
7084
7094
  model: 'gpt-image-2.5-flare';
7085
7095
  engine: 'openai';
7086
7096
  };
@@ -7114,7 +7124,8 @@ export type OpenAiGpt25SunburstEditImageInput = Omit<
7114
7124
  /**
7115
7125
  * Either A URL, A DataURL or a Base64 string
7116
7126
  */
7117
- maskImage?: null | string;
7127
+ mask?: null | string;
7128
+ operation: 'editImage';
7118
7129
  /**
7119
7130
  * When null, fal infers output size from the input images (image_size: "auto").
7120
7131
  * Both Width and Height must be set together, or both null.
@@ -7125,7 +7136,6 @@ export type OpenAiGpt25SunburstEditImageInput = Omit<
7125
7136
  * Both Width and Height must be set together, or both null.
7126
7137
  */
7127
7138
  height?: null | number;
7128
- operation: 'editImage';
7129
7139
  model: 'gpt-image-2.5-sunburst';
7130
7140
  engine: 'openai';
7131
7141
  };
@@ -7159,7 +7169,8 @@ export type OpenAiGpt2EditImageInput = Omit<
7159
7169
  /**
7160
7170
  * Either A URL, A DataURL or a Base64 string
7161
7171
  */
7162
- maskImage?: null | string;
7172
+ mask?: null | string;
7173
+ operation: 'editImage';
7163
7174
  /**
7164
7175
  * When null, fal infers the output size from the input images (image_size: "auto").
7165
7176
  * Width and Height must be set together, or both null.
@@ -7170,7 +7181,6 @@ export type OpenAiGpt2EditImageInput = Omit<
7170
7181
  * Width and Height must be set together, or both null.
7171
7182
  */
7172
7183
  height?: null | number;
7173
- operation: 'editImage';
7174
7184
  model: 'gpt-image-2';
7175
7185
  engine: 'openai';
7176
7186
  };
@@ -7728,9 +7738,9 @@ export type Qwen2FalImageGenInput = Omit<FalImageGenInput, 'engine' | 'model'> &
7728
7738
  | 'landscape_4_3'
7729
7739
  | 'landscape_16_9';
7730
7740
  seed?: null | number;
7731
- enablePromptExpansion?: boolean;
7732
- enableSafetyChecker?: boolean;
7741
+ enhancePrompt?: boolean;
7733
7742
  model: 'qwen2';
7743
+ enableSafetyChecker?: boolean;
7734
7744
  engine: 'fal';
7735
7745
  };
7736
7746
  export type Qwen2ProCreateFalImageGenInput = Omit<
@@ -7851,9 +7861,9 @@ export type QwenApiImageGenInput = Omit<ImageGenInput, 'engine'> & {
7851
7861
  width: number;
7852
7862
  height: number;
7853
7863
  seed?: null | number;
7854
- promptExtend?: boolean;
7855
- watermark?: boolean;
7864
+ enhancePrompt?: boolean;
7856
7865
  engine: 'qwen';
7866
+ watermark?: boolean;
7857
7867
  };
7858
7868
  export type QwenImageBenchInput = {
7859
7869
  /**
@@ -8175,7 +8185,8 @@ export type Sd1ImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'>
8175
8185
  cfgScale?: number;
8176
8186
  seed?: null | number;
8177
8187
  quantity?: number;
8178
- model: string;
8188
+ checkpointModel: string;
8189
+ ecosystem: 'sd1';
8179
8190
  vaeModel?: null | string;
8180
8191
  loras?: {
8181
8192
  [key: string]: number;
@@ -8183,7 +8194,6 @@ export type Sd1ImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'>
8183
8194
  embeddings?: Array<string>;
8184
8195
  clipSkip?: number;
8185
8196
  uCache?: SdCppUCacheMode;
8186
- ecosystem: 'sd1';
8187
8197
  engine: 'sdcpp';
8188
8198
  };
8189
8199
  export type Sd1VariantImageGenInput = Omit<
@@ -8276,7 +8286,8 @@ export type SdxlImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'>
8276
8286
  cfgScale?: number;
8277
8287
  seed?: null | number;
8278
8288
  quantity?: number;
8279
- model?: string;
8289
+ checkpointModel?: string;
8290
+ ecosystem: 'sdxl';
8280
8291
  vaeModel?: null | string;
8281
8292
  loras?: {
8282
8293
  [key: string]: number;
@@ -8284,7 +8295,6 @@ export type SdxlImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'>
8284
8295
  embeddings?: Array<string>;
8285
8296
  clipSkip?: number;
8286
8297
  uCache?: SdCppUCacheMode;
8287
- ecosystem: 'sdxl';
8288
8298
  engine: 'sdcpp';
8289
8299
  };
8290
8300
  export type SdxlVariantImageGenInput = Omit<
@@ -8353,6 +8363,9 @@ export type SeedreamImageGenInput = Omit<ImageGenInput, 'engine'> & {
8353
8363
  quantity?: number;
8354
8364
  width?: number;
8355
8365
  height?: number;
8366
+ /**
8367
+ * Model/provider guidance strength. This is not a portable classifier-free guidance scale.
8368
+ */
8356
8369
  guidanceScale?: number;
8357
8370
  seed?: null | number;
8358
8371
  enableSafetyChecker?: boolean;
@@ -9121,7 +9134,8 @@ export declare const Veo3Version: {
9121
9134
  export type Veo3Version = (typeof Veo3Version)[keyof typeof Veo3Version];
9122
9135
  export type Veo3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
9123
9136
  negativePrompt?: null | string;
9124
- enablePromptEnhancer?: boolean;
9137
+ enhancePrompt?: boolean;
9138
+ engine: 'veo3';
9125
9139
  aspectRatio?: Veo3AspectRatio;
9126
9140
  duration?: 4 | 6 | 8;
9127
9141
  generateAudio: boolean;
@@ -9130,7 +9144,6 @@ export type Veo3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
9130
9144
  images?: Array<string>;
9131
9145
  version?: Veo3Version;
9132
9146
  mode?: Veo3GenerationMode;
9133
- engine: 'veo3';
9134
9147
  };
9135
9148
  export type VideoBackgroundRemovalInput = {
9136
9149
  video: string;
@@ -9357,10 +9370,10 @@ export type ViduQ3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
9357
9370
  duration?: number;
9358
9371
  resolution?: '360p' | '540p' | '720p' | '1080p';
9359
9372
  turbo?: boolean;
9360
- enableAudio?: boolean;
9373
+ generateAudio?: boolean;
9374
+ engine: 'vidu-q3';
9361
9375
  aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
9362
9376
  images?: Array<string>;
9363
- engine: 'vidu-q3';
9364
9377
  };
9365
9378
  /**
9366
9379
  * Animate one starting frame. Use an empty prompt for animation without text instructions. Audio is generated by the provider.
@@ -9383,7 +9396,7 @@ export type ViduQ4ReferenceToVideoInput = Omit<ViduQ4VideoGenInput, 'engine' | '
9383
9396
  */
9384
9397
  referenceAudios?: Array<string>;
9385
9398
  aspectRatio?: '16:9' | '9:16' | '4:3' | '3:4' | '1:1';
9386
- enableAudio?: boolean;
9399
+ generateAudio?: boolean;
9387
9400
  operation: 'referenceToVideo';
9388
9401
  engine: 'vidu-q4';
9389
9402
  };
@@ -9395,7 +9408,8 @@ export type ViduQ4VideoGenInput = Omit<VideoGenInput, 'engine'> & {
9395
9408
  engine: 'vidu-q4';
9396
9409
  };
9397
9410
  export type ViduVideoGenInput = Omit<VideoGenInput, 'engine'> & {
9398
- enablePromptEnhancer?: boolean;
9411
+ enhancePrompt?: boolean;
9412
+ engine: 'vidu';
9399
9413
  seed?: null | number;
9400
9414
  /**
9401
9415
  * Either A URL, A DataURL or a Base64 string
@@ -9412,7 +9426,6 @@ export type ViduVideoGenInput = Omit<VideoGenInput, 'engine'> & {
9412
9426
  movementAmplitude?: 'auto' | 'small' | 'medium' | 'large';
9413
9427
  images?: Array<string>;
9414
9428
  enableBackgroundMusic?: boolean;
9415
- engine: 'vidu';
9416
9429
  };
9417
9430
  export declare const ViduVideoGenModel: {
9418
9431
  readonly DEFAULT: 'default';
@@ -9490,15 +9503,15 @@ export type Wan21CivitaiVideoGenInput = Omit<
9490
9503
  > & {
9491
9504
  width?: number;
9492
9505
  height?: number;
9493
- model?: null | string;
9494
- images?: Array<string>;
9506
+ diffusionModel?: null | string;
9495
9507
  provider: 'civitai';
9508
+ images?: Array<string>;
9496
9509
  version: 'v2.1';
9497
9510
  engine: 'wan';
9498
9511
  };
9499
9512
  export type Wan21FalVideoGenInput = Omit<Wan21VideoGenInput, 'engine' | 'version' | 'provider'> & {
9500
9513
  aspectRatio?: '1:1' | '16:9' | '9:16';
9501
- enablePromptExpansion?: boolean;
9514
+ enhancePrompt?: boolean;
9502
9515
  provider: 'fal';
9503
9516
  version: 'v2.1';
9504
9517
  engine: 'wan';
@@ -9542,14 +9555,14 @@ export type Wan225bFalVideoGenInput = Omit<
9542
9555
  operation: null | string;
9543
9556
  resolution?: '480p' | '580p' | '720p';
9544
9557
  aspectRatio?: '1:1' | '16:9' | '9:16' | 'auto';
9545
- enablePromptExpansion?: boolean;
9558
+ enhancePrompt?: boolean;
9559
+ provider: 'fal';
9546
9560
  useDistill?: boolean;
9547
9561
  useFastWan?: boolean;
9548
9562
  interpolatorModel?: 'none' | 'film' | 'rife';
9549
9563
  negativePrompt?: null | string;
9550
9564
  enableSafetyChecker?: boolean;
9551
9565
  numInferenceSteps?: number;
9552
- provider: 'fal';
9553
9566
  version: 'v2.2-5b';
9554
9567
  engine: 'wan';
9555
9568
  };
@@ -9571,7 +9584,8 @@ export type Wan22ComfyVideoGenInput = Omit<
9571
9584
  > & {
9572
9585
  width?: number;
9573
9586
  height?: number;
9574
- model?: null | string;
9587
+ diffusionModel?: null | string;
9588
+ provider: 'comfy';
9575
9589
  images?: Array<string>;
9576
9590
  negativePrompt?: null | string;
9577
9591
  sampler?:
@@ -9602,7 +9616,6 @@ export type Wan22ComfyVideoGenInput = Omit<
9602
9616
  | 'ddim_uniform'
9603
9617
  | 'beta';
9604
9618
  shift?: number;
9605
- provider: 'comfy';
9606
9619
  version: 'v2.2';
9607
9620
  engine: 'wan';
9608
9621
  };
@@ -9635,13 +9648,13 @@ export type Wan22FalVideoGenInput = Omit<Wan22VideoGenInput, 'engine' | 'version
9635
9648
  operation: null | string;
9636
9649
  resolution?: '480p' | '720p';
9637
9650
  aspectRatio?: '1:1' | '16:9' | '9:16' | '4:3' | '3:4' | '4:5' | '5:4';
9638
- enablePromptExpansion?: boolean;
9651
+ enhancePrompt?: boolean;
9652
+ provider: 'fal';
9639
9653
  shift?: number;
9640
9654
  interpolatorModel?: 'film' | 'rife';
9641
9655
  useTurbo?: boolean;
9642
9656
  negativePrompt?: null | string;
9643
9657
  enableSafetyChecker?: boolean;
9644
- provider: 'fal';
9645
9658
  version: 'v2.2';
9646
9659
  engine: 'wan';
9647
9660
  };
@@ -9704,9 +9717,9 @@ export type Wan25FalVideoGenInput = Omit<Wan25VideoGenInput, 'engine' | 'version
9704
9717
  operation: null | string;
9705
9718
  resolution?: '480p' | '720p' | '1080p';
9706
9719
  aspectRatio?: '16:9' | '9:16' | '1:1';
9707
- enablePromptExpansion?: boolean;
9708
- negativePrompt?: null | string;
9720
+ enhancePrompt?: boolean;
9709
9721
  provider: 'fal';
9722
+ negativePrompt?: null | string;
9710
9723
  version: 'v2.5';
9711
9724
  engine: 'wan';
9712
9725
  };
@@ -9763,7 +9776,8 @@ export type Wan26FalVideoGenInput = Omit<Wan26VideoGenInput, 'engine' | 'version
9763
9776
  operation: null | string;
9764
9777
  resolution?: '720p' | '1080p';
9765
9778
  negativePrompt?: null | string;
9766
- enablePromptExpansion?: boolean;
9779
+ enhancePrompt?: boolean;
9780
+ provider: 'fal';
9767
9781
  multiShots?: boolean;
9768
9782
  enableSafetyChecker?: boolean;
9769
9783
  /**
@@ -9771,7 +9785,6 @@ export type Wan26FalVideoGenInput = Omit<Wan26VideoGenInput, 'engine' | 'version
9771
9785
  * Supported for text-to-video and image-to-video only
9772
9786
  */
9773
9787
  audioUrl?: null | string;
9774
- provider: 'fal';
9775
9788
  version: 'v2.6';
9776
9789
  engine: 'wan';
9777
9790
  };
@@ -9842,12 +9855,12 @@ export type Wan27FalImageToVideoInput = Omit<
9842
9855
  */
9843
9856
  videoUrl?: null | string;
9844
9857
  negativePrompt?: null | string;
9845
- enablePromptExpansion?: boolean;
9858
+ enhancePrompt?: boolean;
9859
+ operation: 'image-to-video';
9846
9860
  /**
9847
9861
  * URL of audio file (WAV/MP3, 3-30 seconds, up to 15 MB)
9848
9862
  */
9849
9863
  audioUrl?: null | string;
9850
- operation: 'image-to-video';
9851
9864
  provider: 'fal';
9852
9865
  version: 'v2.7';
9853
9866
  engine: 'wan';
@@ -9888,12 +9901,12 @@ export type Wan27FalTextToVideoInput = Omit<
9888
9901
  > & {
9889
9902
  aspectRatio?: '16:9' | '9:16' | '1:1' | '4:3' | '3:4';
9890
9903
  negativePrompt?: null | string;
9891
- enablePromptExpansion?: boolean;
9904
+ enhancePrompt?: boolean;
9905
+ operation: 'text-to-video';
9892
9906
  /**
9893
9907
  * URL of audio file (WAV/MP3, 3-30 seconds, up to 15 MB)
9894
9908
  */
9895
9909
  audioUrl?: null | string;
9896
- operation: 'text-to-video';
9897
9910
  provider: 'fal';
9898
9911
  version: 'v2.7';
9899
9912
  engine: 'wan';
@@ -9946,26 +9959,26 @@ export type Wan30VideoGenInput = Omit<WanVideoGenInput, 'engine' | 'version'> &
9946
9959
  * Prompt rewriting. Disabling saves 20-60s of latency but may reduce generation quality —
9947
9960
  * follow Alibaba's prompting guide when turning it off.
9948
9961
  */
9949
- enablePromptExpansion?: boolean;
9962
+ enhancePrompt?: boolean;
9963
+ version: 'v3.0';
9950
9964
  /**
9951
9965
  * Run on wan3.0-video-prime: same output quality, lower latency, higher price.
9952
9966
  */
9953
9967
  usePrime?: boolean;
9954
- version: 'v3.0';
9955
9968
  engine: 'wan';
9956
9969
  };
9957
9970
  export type WanImageGenInput = Omit<ImageGenInput, 'engine'> & {
9958
9971
  version: null | string;
9959
9972
  prompt: string;
9960
9973
  negativePrompt?: null | string;
9961
- guidanceScale?: number;
9974
+ cfgScale?: number;
9962
9975
  seed?: null | number;
9963
9976
  quantity?: number;
9964
9977
  imageSize?: string;
9965
- enablePromptExpansion?: boolean;
9978
+ enhancePrompt?: boolean;
9979
+ engine: 'wan';
9966
9980
  enableSafetyChecker?: boolean;
9967
9981
  loras?: Array<ImageGenInputLora>;
9968
- engine: 'wan';
9969
9982
  };
9970
9983
  export type WanVideoGenInput = Omit<VideoGenInput, 'engine'> & {
9971
9984
  version: null | string;
@@ -9974,12 +9987,12 @@ export type WanVideoGenInput = Omit<VideoGenInput, 'engine'> & {
9974
9987
  */
9975
9988
  sourceImage?: null | string;
9976
9989
  cfgScale: number;
9977
- frameRate?: number;
9990
+ fps?: number;
9991
+ engine: 'wan';
9978
9992
  duration?: number;
9979
9993
  seed?: null | number;
9980
9994
  steps?: number;
9981
9995
  loras?: Array<VideoGenInputLora>;
9982
- engine: 'wan';
9983
9996
  };
9984
9997
  export type WebScrapeInput = {
9985
9998
  url: string;
@@ -10383,6 +10396,7 @@ export type WorkflowStepWarning = {
10383
10396
  };
10384
10397
  export declare const WorkflowStepWarningCode: {
10385
10398
  readonly MODEL_DEPRECATED: 'modelDeprecated';
10399
+ readonly FIELD_DEPRECATED: 'fieldDeprecated';
10386
10400
  };
10387
10401
  export type WorkflowStepWarningCode =
10388
10402
  (typeof WorkflowStepWarningCode)[keyof typeof WorkflowStepWarningCode];
@@ -10659,7 +10673,7 @@ export type YuE2Input = {
10659
10673
  /**
10660
10674
  * Optional YuE2 checkpoint override containing the model, text encoder, and audio VAE.
10661
10675
  */
10662
- model?: null | string;
10676
+ checkpointModel?: null | string;
10663
10677
  /**
10664
10678
  * Optional LoRAs for both YuE2 experts.
10665
10679
  */
@@ -10741,7 +10755,7 @@ export type ZImageBaseImageGenInput = Omit<
10741
10755
  };
10742
10756
  export type ZImageImageGenInput = Omit<SdCppImageGenInput, 'engine' | 'ecosystem'> & {
10743
10757
  model: string;
10744
- diffuserModel?: string;
10758
+ diffusionModel?: string;
10745
10759
  ecosystem: 'zImage';
10746
10760
  engine: 'sdcpp';
10747
10761
  };
@@ -11266,6 +11280,9 @@ export type Flux1KontextImageGenInputWritable = Omit<ImageGenInputWritable, 'eng
11266
11280
  prompt: string;
11267
11281
  images?: Array<string>;
11268
11282
  aspectRatio?: '21:9' | '16:9' | '4:3' | '3:2' | '1:1' | '2:3' | '3:4' | '9:16' | '9:21';
11283
+ /**
11284
+ * Model/provider guidance strength. This is not a portable classifier-free guidance scale.
11285
+ */
11269
11286
  guidanceScale?: number;
11270
11287
  quantity?: number;
11271
11288
  seed?: null | number;
@@ -11528,6 +11545,7 @@ export type MusubiImageResourceTrainingInputWritable = Omit<
11528
11545
  * Maximum of 20 epochs can be specified.
11529
11546
  */
11530
11547
  epochs?: number;
11548
+ engine: 'musubi';
11531
11549
  /**
11532
11550
  * Specify the maximum resolution of training images. If the training images exceed the resolution specified here, they will be scaled down to this resolution
11533
11551
  */
@@ -11561,7 +11579,6 @@ export type MusubiImageResourceTrainingInputWritable = Omit<
11561
11579
  * Optimizer that updates the weights during training; "AdamW8bit" is the common choice, "Adafactor" for SDXL.
11562
11580
  */
11563
11581
  optimizerType?: null | string;
11564
- engine: 'musubi';
11565
11582
  };
11566
11583
  export type PreprocessImageAnimalPoseInputWritable = Omit<PreprocessImageInputWritable2, 'kind'> & {
11567
11584
  bboxDetector?: AnimalPoseBboxDetector;
@@ -465,7 +465,10 @@ export const WorkflowStatus = {
465
465
  EXPIRED: 'expired',
466
466
  CANCELED: 'canceled',
467
467
  };
468
- export const WorkflowStepWarningCode = { MODEL_DEPRECATED: 'modelDeprecated' };
468
+ export const WorkflowStepWarningCode = {
469
+ MODEL_DEPRECATED: 'modelDeprecated',
470
+ FIELD_DEPRECATED: 'fieldDeprecated',
471
+ };
469
472
  /**
470
473
  * How a workflow is paid for.
471
474
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/orchestration-client",
3
- "version": "0.2.0-beta.121",
3
+ "version": "0.2.0-beta.122",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "packageManager": "pnpm@10.34.4",
6
6
  "main": "dist/index.js",