@civitai/orchestration-client 0.2.0-beta.123 → 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.
@@ -305,6 +305,11 @@ export {
305
305
  type ComfyMiniMaxH3ImageToVideoInput,
306
306
  type ComfyMiniMaxH3ReferenceToVideoInput,
307
307
  type ComfyMiniMaxH3VideoGenInput,
308
+ type ComfyMossImageBaseCreateImageInput,
309
+ type ComfyMossImageBaseImageGenInput,
310
+ type ComfyMossImageGenInput,
311
+ type ComfyMossImageSftCreateImageInput,
312
+ type ComfyMossImageSftImageGenInput,
308
313
  type ComfyNode,
309
314
  type ComfyNodepackSnapshotInput,
310
315
  type ComfyNodepackSnapshotOutput,
@@ -1101,6 +1106,12 @@ export {
1101
1106
  ModelPickleScanStatus,
1102
1107
  type ModelPickleScanStep,
1103
1108
  type ModelPickleScanStepTemplate,
1109
+ type MossImageAiToolkitTrainingInput,
1110
+ type MossImageAiToolkitTrainingInputWritable,
1111
+ type MossImageBaseAiToolkitTrainingInput,
1112
+ type MossImageBaseAiToolkitTrainingInputWritable,
1113
+ type MossImageSftAiToolkitTrainingInput,
1114
+ type MossImageSftAiToolkitTrainingInputWritable,
1104
1115
  type MuseImageCreateFalImageGenInput,
1105
1116
  type MuseImageEditFalImageGenInput,
1106
1117
  type MuseImageFalImageGenInput,
@@ -1561,6 +1572,8 @@ export {
1561
1572
  type Wan30VideoGenInput,
1562
1573
  type WanImageGenInput,
1563
1574
  type WanVideoGenInput,
1575
+ type Watermark,
1576
+ type WatermarkTransform,
1564
1577
  type WdTaggingInput,
1565
1578
  type WdTaggingOutput,
1566
1579
  type WdTaggingStep,
@@ -2472,6 +2472,64 @@ export type ComfyMiniMaxH3VideoGenInput = Omit<VideoGenInput, 'engine'> & {
2472
2472
  turbo?: boolean;
2473
2473
  engine: 'minimax-h3-comfy';
2474
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
+ };
2475
2533
  export type ComfyNode = {
2476
2534
  classType: string;
2477
2535
  meta?: null | {
@@ -6886,6 +6944,39 @@ export type ModelPickleScanStepTemplate = Omit<WorkflowStepTemplate, '$type'> &
6886
6944
  input: ModelPickleScanInput;
6887
6945
  $type: 'modelPickleScan';
6888
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
+ };
6889
6980
  export type MuseImageCreateFalImageGenInput = Omit<
6890
6981
  MuseImageFalImageGenInput,
6891
6982
  'engine' | 'model' | 'operation'
@@ -7315,7 +7406,7 @@ export type PolyGenInput = {
7315
7406
  engine: string;
7316
7407
  };
7317
7408
  export type PolyGenOutput = {
7318
- model: Model3dBlob;
7409
+ model?: Model3dBlob;
7319
7410
  fbxModel?: Model3dBlob;
7320
7411
  thumbnail?: ImageBlob;
7321
7412
  riggedModel?: Model3dBlob;
@@ -8841,7 +8932,6 @@ export type TrainingInput = {
8841
8932
  * Whether this run uses step-based pricing rather than the legacy flat per-epoch price.
8842
8933
  */
8843
8934
  readonly usesStepPricing: boolean;
8844
- readonly requiresAgeClassification: boolean;
8845
8935
  };
8846
8936
  export type TrainingInputSamples = {
8847
8937
  /**
@@ -8955,6 +9045,14 @@ export type TranscodeInput = {
8955
9045
  * Removes the source's container tags and chapters; the video and audio streams are untouched.
8956
9046
  */
8957
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;
8958
9056
  };
8959
9057
  export type TranscodeOutput = {
8960
9058
  /**
@@ -10086,6 +10184,31 @@ export type WanVideoGenInput = Omit<VideoGenInput, 'engine'> & {
10086
10184
  steps?: number;
10087
10185
  loras?: Array<VideoGenInputLora>;
10088
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
+ };
10089
10212
  export type WebScrapeInput = {
10090
10213
  url: string;
10091
10214
  /**
@@ -11639,6 +11762,38 @@ export type MiniMaxH3AiToolkitTrainingInputWritable = Omit<
11639
11762
  */
11640
11763
  batchSize?: null | number;
11641
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
+ };
11642
11797
  export type MusubiImageResourceTrainingInputWritable = Omit<
11643
11798
  ImageResourceTrainingInputWritable,
11644
11799
  'engine'
@@ -12301,7 +12456,6 @@ export type TrainingInputWritable2 = {
12301
12456
  * Whether this run uses step-based pricing rather than the legacy flat per-epoch price.
12302
12457
  */
12303
12458
  readonly usesStepPricing: boolean;
12304
- readonly requiresAgeClassification: boolean;
12305
12459
  };
12306
12460
  export type ChatCompletionMessageWritable = {
12307
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.123",
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",