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

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.
@@ -235,6 +235,13 @@ export {
235
235
  type ComfyFlux2KleinEditImageInput,
236
236
  type ComfyFlux2KleinImageGenInput,
237
237
  type ComfyFlux2KleinVariantImageGenInput,
238
+ type ComfyFlux3KleinBaseCreateImageInput,
239
+ type ComfyFlux3KleinBaseEditImageInput,
240
+ type ComfyFlux3KleinBaseImageGenInput,
241
+ type ComfyFlux3KleinDistilledCreateImageInput,
242
+ type ComfyFlux3KleinDistilledEditImageInput,
243
+ type ComfyFlux3KleinDistilledImageGenInput,
244
+ type ComfyFlux3KleinImageGenInput,
238
245
  type ComfyHiDreamI1CreateImageGenInput,
239
246
  type ComfyHiDreamI1ImageGenInput,
240
247
  type ComfyHiDreamImageGenInput,
@@ -298,6 +305,11 @@ export {
298
305
  type ComfyMiniMaxH3ImageToVideoInput,
299
306
  type ComfyMiniMaxH3ReferenceToVideoInput,
300
307
  type ComfyMiniMaxH3VideoGenInput,
308
+ type ComfyMossImageBaseCreateImageInput,
309
+ type ComfyMossImageBaseImageGenInput,
310
+ type ComfyMossImageGenInput,
311
+ type ComfyMossImageSftCreateImageInput,
312
+ type ComfyMossImageSftImageGenInput,
301
313
  type ComfyNode,
302
314
  type ComfyNodepackSnapshotInput,
303
315
  type ComfyNodepackSnapshotOutput,
@@ -460,6 +472,8 @@ export {
460
472
  type Flux3EditFalImageGenInput,
461
473
  type Flux3FalImageGenInput,
462
474
  type Flux3Keyframe,
475
+ type Flux3KleinAiToolkitTrainingInput,
476
+ type Flux3KleinAiToolkitTrainingInputWritable,
463
477
  type Flux3V3DraftEnhanceInput,
464
478
  type Flux3V3ExtendVideoInput,
465
479
  type Flux3V3FirstLastFrameToVideoInput,
@@ -1092,6 +1106,12 @@ export {
1092
1106
  ModelPickleScanStatus,
1093
1107
  type ModelPickleScanStep,
1094
1108
  type ModelPickleScanStepTemplate,
1109
+ type MossImageAiToolkitTrainingInput,
1110
+ type MossImageAiToolkitTrainingInputWritable,
1111
+ type MossImageBaseAiToolkitTrainingInput,
1112
+ type MossImageBaseAiToolkitTrainingInputWritable,
1113
+ type MossImageSftAiToolkitTrainingInput,
1114
+ type MossImageSftAiToolkitTrainingInputWritable,
1095
1115
  type MuseImageCreateFalImageGenInput,
1096
1116
  type MuseImageEditFalImageGenInput,
1097
1117
  type MuseImageFalImageGenInput,
@@ -1552,6 +1572,8 @@ export {
1552
1572
  type Wan30VideoGenInput,
1553
1573
  type WanImageGenInput,
1554
1574
  type WanVideoGenInput,
1575
+ type Watermark,
1576
+ type WatermarkTransform,
1555
1577
  type WdTaggingInput,
1556
1578
  type WdTaggingOutput,
1557
1579
  type WdTaggingStep,
@@ -1536,6 +1536,86 @@ export type ComfyFlux2KleinVariantImageGenInput = Omit<
1536
1536
  ecosystem: 'flux2Klein';
1537
1537
  engine: 'comfy';
1538
1538
  };
1539
+ export type ComfyFlux3KleinBaseCreateImageInput = Omit<
1540
+ ComfyFlux3KleinBaseImageGenInput,
1541
+ 'engine' | 'ecosystem' | 'model' | 'operation'
1542
+ > & {
1543
+ operation: 'createImage';
1544
+ model: 'base';
1545
+ ecosystem: 'flux3Klein';
1546
+ engine: 'comfy';
1547
+ };
1548
+ export type ComfyFlux3KleinBaseEditImageInput = Omit<
1549
+ ComfyFlux3KleinBaseImageGenInput,
1550
+ 'engine' | 'ecosystem' | 'model' | 'operation'
1551
+ > & {
1552
+ images: Array<string>;
1553
+ operation: 'editImage';
1554
+ model: 'base';
1555
+ ecosystem: 'flux3Klein';
1556
+ engine: 'comfy';
1557
+ };
1558
+ export type ComfyFlux3KleinBaseImageGenInput = Omit<
1559
+ ComfyFlux3KleinImageGenInput,
1560
+ 'engine' | 'ecosystem' | 'model'
1561
+ > & {
1562
+ operation: null | string;
1563
+ steps?: number;
1564
+ cfgScale?: number;
1565
+ model: 'base';
1566
+ ecosystem: 'flux3Klein';
1567
+ engine: 'comfy';
1568
+ };
1569
+ export type ComfyFlux3KleinDistilledCreateImageInput = Omit<
1570
+ ComfyFlux3KleinDistilledImageGenInput,
1571
+ 'engine' | 'ecosystem' | 'model' | 'operation'
1572
+ > & {
1573
+ operation: 'createImage';
1574
+ model: 'distilled';
1575
+ ecosystem: 'flux3Klein';
1576
+ engine: 'comfy';
1577
+ };
1578
+ export type ComfyFlux3KleinDistilledEditImageInput = Omit<
1579
+ ComfyFlux3KleinDistilledImageGenInput,
1580
+ 'engine' | 'ecosystem' | 'model' | 'operation'
1581
+ > & {
1582
+ images: Array<string>;
1583
+ operation: 'editImage';
1584
+ model: 'distilled';
1585
+ ecosystem: 'flux3Klein';
1586
+ engine: 'comfy';
1587
+ };
1588
+ export type ComfyFlux3KleinDistilledImageGenInput = Omit<
1589
+ ComfyFlux3KleinImageGenInput,
1590
+ 'engine' | 'ecosystem' | 'model'
1591
+ > & {
1592
+ operation: null | string;
1593
+ model: 'distilled';
1594
+ ecosystem: 'flux3Klein';
1595
+ engine: 'comfy';
1596
+ };
1597
+ export type ComfyFlux3KleinImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
1598
+ model: null | string;
1599
+ prompt: string;
1600
+ negativePrompt?: null | string;
1601
+ width?: number;
1602
+ height?: number;
1603
+ seed?: null | number;
1604
+ quantity?: number;
1605
+ steps?: number;
1606
+ cfgScale?: number;
1607
+ sampler?: ComfySampler;
1608
+ scheduler?: ComfyScheduler;
1609
+ loras?: {
1610
+ [key: string]: number;
1611
+ };
1612
+ /**
1613
+ * Compatible FLUX.3 Klein diffusion checkpoint AIR. Omit or set null to use the selected model's int8 checkpoint; the int8 text encoder and VAE remain unchanged.
1614
+ */
1615
+ diffusionModel?: null | string;
1616
+ ecosystem: 'flux3Klein';
1617
+ engine: 'comfy';
1618
+ };
1539
1619
  export type ComfyHiDreamI1CreateImageGenInput = Omit<
1540
1620
  ComfyHiDreamI1ImageGenInput,
1541
1621
  'engine' | 'ecosystem' | 'operation'
@@ -2392,6 +2472,64 @@ export type ComfyMiniMaxH3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
2392
2472
  turbo?: boolean;
2393
2473
  engine: 'minimax-h3-comfy';
2394
2474
  };
2475
+ export type ComfyMossImageBaseCreateImageInput = Omit<
2476
+ ComfyMossImageBaseImageGenInput,
2477
+ 'engine' | 'ecosystem' | 'model' | 'operation'
2478
+ > & {
2479
+ operation: 'createImage';
2480
+ model: 'base';
2481
+ ecosystem: 'mossImage';
2482
+ engine: 'comfy';
2483
+ };
2484
+ export type ComfyMossImageBaseImageGenInput = Omit<
2485
+ ComfyMossImageGenInput,
2486
+ 'engine' | 'ecosystem' | 'model'
2487
+ > & {
2488
+ operation: null | string;
2489
+ model: 'base';
2490
+ ecosystem: 'mossImage';
2491
+ engine: 'comfy';
2492
+ };
2493
+ export type ComfyMossImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
2494
+ model: null | string;
2495
+ prompt: string;
2496
+ negativePrompt?: null | string;
2497
+ width?: number;
2498
+ height?: number;
2499
+ seed?: null | number;
2500
+ quantity?: number;
2501
+ steps?: number;
2502
+ cfgScale?: number;
2503
+ sampler?: ComfySampler;
2504
+ scheduler?: ComfyScheduler;
2505
+ loras?: {
2506
+ [key: string]: number;
2507
+ };
2508
+ /**
2509
+ * Compatible MOSS-Image diffusion checkpoint AIR. Omit or set null to use the selected model's int8 checkpoint; the int8 text encoder and VAE remain unchanged.
2510
+ */
2511
+ diffusionModel?: null | string;
2512
+ ecosystem: 'mossImage';
2513
+ engine: 'comfy';
2514
+ };
2515
+ export type ComfyMossImageSftCreateImageInput = Omit<
2516
+ ComfyMossImageSftImageGenInput,
2517
+ 'engine' | 'ecosystem' | 'model' | 'operation'
2518
+ > & {
2519
+ operation: 'createImage';
2520
+ model: 'sft';
2521
+ ecosystem: 'mossImage';
2522
+ engine: 'comfy';
2523
+ };
2524
+ export type ComfyMossImageSftImageGenInput = Omit<
2525
+ ComfyMossImageGenInput,
2526
+ 'engine' | 'ecosystem' | 'model'
2527
+ > & {
2528
+ operation: null | string;
2529
+ model: 'sft';
2530
+ ecosystem: 'mossImage';
2531
+ engine: 'comfy';
2532
+ };
2395
2533
  export type ComfyNode = {
2396
2534
  classType: string;
2397
2535
  meta?: null | {
@@ -3900,6 +4038,18 @@ export type Flux3Keyframe = {
3900
4038
  */
3901
4039
  frameIndex: number;
3902
4040
  };
4041
+ export type Flux3KleinAiToolkitTrainingInput = Omit<
4042
+ AiToolkitTrainingInput,
4043
+ 'engine' | 'ecosystem'
4044
+ > & {
4045
+ readonly defaultSteps: number;
4046
+ ecosystem: 'flux3klein';
4047
+ engine: 'ai-toolkit';
4048
+ /**
4049
+ * Training batch size. Fixed at 1 for this ecosystem.
4050
+ */
4051
+ batchSize?: null | number;
4052
+ };
3903
4053
  /**
3904
4054
  * Re-render a previously generated draft at full-quality 1080p with audio.
3905
4055
  */
@@ -6794,6 +6944,39 @@ export type ModelPickleScanStepTemplate = Omit<WorkflowStepTemplate, '$type'> &
6794
6944
  input: ModelPickleScanInput;
6795
6945
  $type: 'modelPickleScan';
6796
6946
  };
6947
+ export type MossImageAiToolkitTrainingInput = Omit<
6948
+ AiToolkitTrainingInput,
6949
+ 'engine' | 'ecosystem'
6950
+ > & {
6951
+ modelVariant: null | string;
6952
+ readonly defaultSteps: number;
6953
+ ecosystem: 'mossImage';
6954
+ engine: 'ai-toolkit';
6955
+ };
6956
+ export type MossImageBaseAiToolkitTrainingInput = Omit<
6957
+ MossImageAiToolkitTrainingInput,
6958
+ 'engine' | 'ecosystem' | 'modelVariant'
6959
+ > & {
6960
+ modelVariant: 'base';
6961
+ ecosystem: 'mossImage';
6962
+ engine: 'ai-toolkit';
6963
+ /**
6964
+ * Training batch size. Fixed at 1 for this ecosystem.
6965
+ */
6966
+ batchSize?: null | number;
6967
+ };
6968
+ export type MossImageSftAiToolkitTrainingInput = Omit<
6969
+ MossImageAiToolkitTrainingInput,
6970
+ 'engine' | 'ecosystem' | 'modelVariant'
6971
+ > & {
6972
+ modelVariant: 'sft';
6973
+ ecosystem: 'mossImage';
6974
+ engine: 'ai-toolkit';
6975
+ /**
6976
+ * Training batch size. Fixed at 1 for this ecosystem.
6977
+ */
6978
+ batchSize?: null | number;
6979
+ };
6797
6980
  export type MuseImageCreateFalImageGenInput = Omit<
6798
6981
  MuseImageFalImageGenInput,
6799
6982
  'engine' | 'model' | 'operation'
@@ -7223,7 +7406,7 @@ export type PolyGenInput = {
7223
7406
  engine: string;
7224
7407
  };
7225
7408
  export type PolyGenOutput = {
7226
- model: Model3dBlob;
7409
+ model?: Model3dBlob;
7227
7410
  fbxModel?: Model3dBlob;
7228
7411
  thumbnail?: ImageBlob;
7229
7412
  riggedModel?: Model3dBlob;
@@ -8749,7 +8932,6 @@ export type TrainingInput = {
8749
8932
  * Whether this run uses step-based pricing rather than the legacy flat per-epoch price.
8750
8933
  */
8751
8934
  readonly usesStepPricing: boolean;
8752
- readonly requiresAgeClassification: boolean;
8753
8935
  };
8754
8936
  export type TrainingInputSamples = {
8755
8937
  /**
@@ -8863,6 +9045,14 @@ export type TranscodeInput = {
8863
9045
  * Removes the source's container tags and chapters; the video and audio streams are untouched.
8864
9046
  */
8865
9047
  hideMetadata?: null | boolean;
9048
+ /**
9049
+ * Cuts the output after this many seconds.
9050
+ */
9051
+ maxDuration?: null | number;
9052
+ /**
9053
+ * An image repeated across the whole output, burned into every frame.
9054
+ */
9055
+ watermark?: Watermark;
8866
9056
  };
8867
9057
  export type TranscodeOutput = {
8868
9058
  /**
@@ -9994,6 +10184,31 @@ export type WanVideoGenInput = Omit<VideoGenInput, 'engine'> & {
9994
10184
  steps?: number;
9995
10185
  loras?: Array<VideoGenInputLora>;
9996
10186
  };
10187
+ /**
10188
+ * An image repeated across the whole output, burned into every frame.
10189
+ */
10190
+ export type Watermark = {
10191
+ /**
10192
+ * The tile, typically a PNG with transparency. It is imported and moderated like any other input image.
10193
+ */
10194
+ image: string;
10195
+ opacity?: number;
10196
+ /**
10197
+ * Width of one tile as a fraction of the output width.
10198
+ */
10199
+ scale?: number;
10200
+ /**
10201
+ * Counter-clockwise rotation of the tiled pattern, in degrees.
10202
+ */
10203
+ angle?: number;
10204
+ };
10205
+ export type WatermarkTransform = Omit<ImageTransform, 'type'> & {
10206
+ /**
10207
+ * An image repeated across the whole output, burned into every frame.
10208
+ */
10209
+ watermark: Watermark;
10210
+ type: 'watermark';
10211
+ };
9997
10212
  export type WebScrapeInput = {
9998
10213
  url: string;
9999
10214
  /**
@@ -11351,6 +11566,17 @@ export type Flux2KleinAiToolkitTrainingInputWritable = Omit<
11351
11566
  ecosystem: 'flux2klein';
11352
11567
  engine: 'ai-toolkit';
11353
11568
  };
11569
+ export type Flux3KleinAiToolkitTrainingInputWritable = Omit<
11570
+ AiToolkitTrainingInputWritable,
11571
+ 'engine' | 'ecosystem'
11572
+ > & {
11573
+ ecosystem: 'flux3klein';
11574
+ engine: 'ai-toolkit';
11575
+ /**
11576
+ * Training batch size. Fixed at 1 for this ecosystem.
11577
+ */
11578
+ batchSize?: null | number;
11579
+ };
11354
11580
  export type GeminiOmniVideoGenInputWritable = Omit<VideoGenInputWritable, 'engine'> & {
11355
11581
  model?: GeminiOmniModel;
11356
11582
  aspectRatio?: '16:9' | '9:16';
@@ -11536,6 +11762,38 @@ export type MiniMaxH3AiToolkitTrainingInputWritable = Omit<
11536
11762
  */
11537
11763
  batchSize?: null | number;
11538
11764
  };
11765
+ export type MossImageAiToolkitTrainingInputWritable = Omit<
11766
+ AiToolkitTrainingInputWritable,
11767
+ 'engine' | 'ecosystem'
11768
+ > & {
11769
+ modelVariant: null | string;
11770
+ ecosystem: 'mossImage';
11771
+ engine: 'ai-toolkit';
11772
+ };
11773
+ export type MossImageBaseAiToolkitTrainingInputWritable = Omit<
11774
+ MossImageAiToolkitTrainingInputWritable,
11775
+ 'engine' | 'ecosystem' | 'modelVariant'
11776
+ > & {
11777
+ modelVariant: 'base';
11778
+ ecosystem: 'mossImage';
11779
+ engine: 'ai-toolkit';
11780
+ /**
11781
+ * Training batch size. Fixed at 1 for this ecosystem.
11782
+ */
11783
+ batchSize?: null | number;
11784
+ };
11785
+ export type MossImageSftAiToolkitTrainingInputWritable = Omit<
11786
+ MossImageAiToolkitTrainingInputWritable,
11787
+ 'engine' | 'ecosystem' | 'modelVariant'
11788
+ > & {
11789
+ modelVariant: 'sft';
11790
+ ecosystem: 'mossImage';
11791
+ engine: 'ai-toolkit';
11792
+ /**
11793
+ * Training batch size. Fixed at 1 for this ecosystem.
11794
+ */
11795
+ batchSize?: null | number;
11796
+ };
11539
11797
  export type MusubiImageResourceTrainingInputWritable = Omit<
11540
11798
  ImageResourceTrainingInputWritable,
11541
11799
  'engine'
@@ -12198,7 +12456,6 @@ export type TrainingInputWritable2 = {
12198
12456
  * Whether this run uses step-based pricing rather than the legacy flat per-epoch price.
12199
12457
  */
12200
12458
  readonly usesStepPricing: boolean;
12201
- readonly requiresAgeClassification: boolean;
12202
12459
  };
12203
12460
  export type ChatCompletionMessageWritable = {
12204
12461
  role: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/orchestration-client",
3
- "version": "0.2.0-beta.122",
3
+ "version": "0.2.0-beta.124",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "packageManager": "pnpm@10.34.4",
6
6
  "main": "dist/index.js",