@civitai/orchestration-client 0.2.0-beta.106 → 0.2.0-beta.107

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.
@@ -197,6 +197,8 @@ export {
197
197
  type ComfyBooguImageGenInput,
198
198
  type ComfyBooguTurboCreateImageGenInput,
199
199
  type ComfyBooguTurboImageGenInput,
200
+ type ComfyChromaCreateImageGenInput,
201
+ type ComfyChromaImageGenInput,
200
202
  type ComfyErnieImageGenInput,
201
203
  type ComfyErnieStandardCreateImageGenInput,
202
204
  type ComfyErnieStandardImageGenInput,
@@ -214,6 +216,8 @@ export {
214
216
  type ComfyFlux2KleinEditImageInput,
215
217
  type ComfyFlux2KleinImageGenInput,
216
218
  type ComfyFlux2KleinVariantImageGenInput,
219
+ type ComfyHiDreamI1CreateImageGenInput,
220
+ type ComfyHiDreamI1ImageGenInput,
217
221
  type ComfyHiDreamImageGenInput,
218
222
  type ComfyHiDreamO1CreateImageGenInput,
219
223
  type ComfyHiDreamO1DevCreateImageGenInput,
@@ -278,6 +282,8 @@ export {
278
282
  type ComfyNodepackSnapshotStepTemplate,
279
283
  type ComfyOutput,
280
284
  type ComfyPolyGenInput,
285
+ type ComfyPonyV7CreateImageGenInput,
286
+ type ComfyPonyV7ImageGenInput,
281
287
  type ComfyQwen20bCreateImageGenInput,
282
288
  type ComfyQwen20bEditImageGenInput,
283
289
  type ComfyQwen20bEditImageGenInputWritable,
@@ -362,6 +368,9 @@ export {
362
368
  type Flux1KontextMaxImageGenInputWritable,
363
369
  type Flux1KontextProImageGenInput,
364
370
  type Flux1KontextProImageGenInputWritable,
371
+ type Flux1ProFamilyImageGenInput,
372
+ type Flux1ProImageGenInput,
373
+ type Flux1ProUltraImageGenInput,
365
374
  type Flux1SchnellAiToolkitTrainingInput,
366
375
  type Flux1SchnellAiToolkitTrainingInputWritable,
367
376
  type Flux1SdCppCreateImageInput,
@@ -499,6 +508,8 @@ export {
499
508
  type HeadBlobErrors,
500
509
  type HeadBlobResponse,
501
510
  type HeadBlobResponses,
511
+ HiDreamI1Precision,
512
+ HiDreamI1Variant,
502
513
  type HiDreamO1AiToolkitTrainingInput,
503
514
  type HiDreamO1AiToolkitTrainingInputWritable,
504
515
  HumanoidImageMaskCategory,
@@ -1,3 +1,3 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
  export { addWorkflowTag, deleteWorkflow, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getResource, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateUserCache, invalidateUserTokens, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeAudioCaptioningStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyNodepackSnapshotStepTemplate, invokeComfyStepTemplate, invokeComposeMediaStepTemplate, invokeConvertImageStepTemplate, invokeCustomComfyStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageBackgroundRemovalStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageScanningStepTemplate, invokeImageToSvgStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeMiniMaxMusic3StepTemplate, invokeModel3dPreviewStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokePolyGenStepTemplate, invokePrepareResourceStepTemplate, invokePreprocessImageStepTemplate, invokePreprocessVideoStepTemplate, invokePromptEnhancementStepTemplate, invokeQwenImageBenchStepTemplate, invokeRepeatStepTemplate, invokeShieldstralModerationStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoBackgroundRemovalStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeWebScrapeStepTemplate, invokeWebSearchStepTemplate, invokeXGuardModerationStepTemplate, invokeYuE2StepTemplate, listServices, patchWorkflow, patchWorkflowStep, queryResources, queryWorkflows, refreshBlob, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
3
- export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, ArchiveFormat, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, FileFormat, GeminiOmniModel, GeminiOmniResolution, HaiperVideoGenAspectRatio, HaiperVideoGenCameraMovement, HaiperVideoGenModel, HumanoidImageMaskCategory, ImageBackgroundRemovalFormat, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, MediaContainer, MediaFit, MediaHashType, MediaOutputType, Metric3dBackbone, MiniMaxVideoGenModel, ModelClamScanStatus, ModelPickleScanStatus, NsfwLevel, OutputFormat, Priority, ResourceFeeType, ResourceView, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedanceModel, SeedreamVersion, ServiceStatus, SettlementCurrency, ShadowRemoval, TraceMode, TrainingModerationStatus, TrainingTraceMode, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowStepWarningCode, WorkflowUpgradeMode, XGuardPromptScope, ZoeDepthEnvironment, } from './types.gen';
3
+ export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, ArchiveFormat, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, FileFormat, GeminiOmniModel, GeminiOmniResolution, HaiperVideoGenAspectRatio, HaiperVideoGenCameraMovement, HaiperVideoGenModel, HiDreamI1Precision, HiDreamI1Variant, HumanoidImageMaskCategory, ImageBackgroundRemovalFormat, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, MediaContainer, MediaFit, MediaHashType, MediaOutputType, Metric3dBackbone, MiniMaxVideoGenModel, ModelClamScanStatus, ModelPickleScanStatus, NsfwLevel, OutputFormat, Priority, ResourceFeeType, ResourceView, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedanceModel, SeedreamVersion, ServiceStatus, SettlementCurrency, ShadowRemoval, TraceMode, TrainingModerationStatus, TrainingTraceMode, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowStepWarningCode, WorkflowUpgradeMode, XGuardPromptScope, ZoeDepthEnvironment, } from './types.gen';
@@ -1521,6 +1521,32 @@ export type ComfyBooguTurboImageGenInput = Omit<
1521
1521
  ecosystem: 'boogu';
1522
1522
  engine: 'comfy';
1523
1523
  };
1524
+ export type ComfyChromaCreateImageGenInput = Omit<
1525
+ ComfyChromaImageGenInput,
1526
+ 'engine' | 'ecosystem' | 'operation'
1527
+ > & {
1528
+ width?: number;
1529
+ height?: number;
1530
+ operation: 'createImage';
1531
+ ecosystem: 'chroma';
1532
+ engine: 'comfy';
1533
+ };
1534
+ export type ComfyChromaImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
1535
+ operation: string;
1536
+ prompt: string;
1537
+ negativePrompt?: null | string;
1538
+ sampler?: ComfySampler;
1539
+ steps?: number;
1540
+ cfgScale?: number;
1541
+ seed?: null | number;
1542
+ quantity?: number;
1543
+ model: string;
1544
+ loras?: {
1545
+ [key: string]: number;
1546
+ };
1547
+ ecosystem: 'chroma';
1548
+ engine: 'comfy';
1549
+ };
1524
1550
  export type ComfyErnieImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
1525
1551
  model: string;
1526
1552
  ecosystem: 'ernie';
@@ -1752,6 +1778,39 @@ export type ComfyFlux2KleinVariantImageGenInput = Omit<
1752
1778
  ecosystem: 'flux2Klein';
1753
1779
  engine: 'comfy';
1754
1780
  };
1781
+ export type ComfyHiDreamI1CreateImageGenInput = Omit<
1782
+ ComfyHiDreamI1ImageGenInput,
1783
+ 'engine' | 'ecosystem' | 'operation'
1784
+ > & {
1785
+ width?: number;
1786
+ height?: number;
1787
+ operation: 'createImage';
1788
+ ecosystem: 'hidream';
1789
+ engine: 'comfy';
1790
+ };
1791
+ export type ComfyHiDreamI1ImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
1792
+ operation: string;
1793
+ prompt: string;
1794
+ negativePrompt?: null | string;
1795
+ variant?: HiDreamI1Variant;
1796
+ precision?: HiDreamI1Precision;
1797
+ sampler?: ComfySampler;
1798
+ /**
1799
+ * Defaults to 16 for fast, 28 for dev and 50 for full.
1800
+ */
1801
+ steps?: null | number;
1802
+ /**
1803
+ * Defaults to 1 for fast and dev, 5 for full.
1804
+ */
1805
+ cfgScale?: null | number;
1806
+ seed?: null | number;
1807
+ quantity?: number;
1808
+ loras?: {
1809
+ [key: string]: number;
1810
+ };
1811
+ ecosystem: 'hidream';
1812
+ engine: 'comfy';
1813
+ };
1755
1814
  export type ComfyHiDreamImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
1756
1815
  model: string;
1757
1816
  ecosystem: 'hidream-o1';
@@ -2573,7 +2632,7 @@ export type ComfyNodepackSnapshotInput = {
2573
2632
  * the artifact's identity (hashed into the blob key). Optional: when omitted
2574
2633
  * (e.g. a caller with no managed image of its own, like civitai-comfy-nodes
2575
2634
  * offload) the handler resolves the configured default/"latest" comfy image
2576
- * (!:CustomComfy.ComfyImageOptions.DefaultComfyImage).
2635
+ * (`ComfyImageOptions.DefaultComfyImage`).
2577
2636
  */
2578
2637
  comfyImage?: null | string;
2579
2638
  /**
@@ -2637,6 +2696,32 @@ export type ComfyPolyGenInput = Omit<PolyGenInput, 'engine'> & {
2637
2696
  model: string;
2638
2697
  engine: 'comfy';
2639
2698
  };
2699
+ export type ComfyPonyV7CreateImageGenInput = Omit<
2700
+ ComfyPonyV7ImageGenInput,
2701
+ 'engine' | 'ecosystem' | 'operation'
2702
+ > & {
2703
+ width?: number;
2704
+ height?: number;
2705
+ operation: 'createImage';
2706
+ ecosystem: 'ponyV7';
2707
+ engine: 'comfy';
2708
+ };
2709
+ export type ComfyPonyV7ImageGenInput = Omit<ComfyImageGenInput, 'engine' | 'ecosystem'> & {
2710
+ operation: string;
2711
+ prompt: string;
2712
+ negativePrompt?: null | string;
2713
+ sampler?: ComfySampler;
2714
+ steps?: number;
2715
+ cfgScale?: number;
2716
+ seed?: null | number;
2717
+ quantity?: number;
2718
+ model: string;
2719
+ loras?: {
2720
+ [key: string]: number;
2721
+ };
2722
+ ecosystem: 'ponyV7';
2723
+ engine: 'comfy';
2724
+ };
2640
2725
  export type ComfyQwen20bCreateImageGenInput = Omit<
2641
2726
  ComfyQwen20bImageGenInput,
2642
2727
  'engine' | 'ecosystem' | 'model' | 'operation'
@@ -3607,6 +3692,34 @@ export type Flux1KontextProImageGenInput = Omit<Flux1KontextImageGenInput, 'engi
3607
3692
  model: 'pro';
3608
3693
  engine: 'flux1-kontext';
3609
3694
  };
3695
+ export type Flux1ProFamilyImageGenInput = Omit<ImageGenInput, 'engine'> & {
3696
+ model: string;
3697
+ prompt: string;
3698
+ seed?: null | number;
3699
+ quantity?: number;
3700
+ engine: 'flux1-pro';
3701
+ };
3702
+ /**
3703
+ * FLUX1.1 [pro]
3704
+ */
3705
+ export type Flux1ProImageGenInput = Omit<Flux1ProFamilyImageGenInput, 'engine' | 'model'> & {
3706
+ width?: number;
3707
+ height?: number;
3708
+ model: 'pro';
3709
+ engine: 'flux1-pro';
3710
+ };
3711
+ /**
3712
+ * FLUX1.1 [pro] Ultra
3713
+ */
3714
+ export type Flux1ProUltraImageGenInput = Omit<Flux1ProFamilyImageGenInput, 'engine' | 'model'> & {
3715
+ aspectRatio?: '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16' | '9:21';
3716
+ /**
3717
+ * Generates less processed, more natural-looking images.
3718
+ */
3719
+ raw?: boolean;
3720
+ model: 'ultra';
3721
+ engine: 'flux1-pro';
3722
+ };
3610
3723
  /**
3611
3724
  * AI Toolkit training for Flux.1 Schnell models
3612
3725
  */
@@ -4690,6 +4803,17 @@ export type HappyHorseVideoGenInput = Omit<VideoGenInput, 'engine'> & {
4690
4803
  version: string;
4691
4804
  engine: 'happyHorse';
4692
4805
  };
4806
+ export declare const HiDreamI1Precision: {
4807
+ readonly FP8: 'fp8';
4808
+ readonly FP16: 'fp16';
4809
+ };
4810
+ export type HiDreamI1Precision = (typeof HiDreamI1Precision)[keyof typeof HiDreamI1Precision];
4811
+ export declare const HiDreamI1Variant: {
4812
+ readonly FAST: 'fast';
4813
+ readonly DEV: 'dev';
4814
+ readonly FULL: 'full';
4815
+ };
4816
+ export type HiDreamI1Variant = (typeof HiDreamI1Variant)[keyof typeof HiDreamI1Variant];
4693
4817
  /**
4694
4818
  * AI Toolkit training for HiDream O1 Image models.
4695
4819
  */
@@ -5730,6 +5854,10 @@ export type LoadingResourceAvailability = Omit<ResourceAvailability, 'status'> &
5730
5854
  * Inferred from reported progress over elapsed time; the worker's byte counters never leave it.
5731
5855
  */
5732
5856
  bytesPerSecond?: null | number;
5857
+ /**
5858
+ * Per-stream ceiling the lane applies to this download. Null when uncapped; boosting to High lifts it.
5859
+ */
5860
+ rateLimitBytesPerSecond?: null | number;
5733
5861
  status: 'loading';
5734
5862
  };
5735
5863
  /**
@@ -7482,6 +7610,10 @@ export type QueuedResourceAvailability = Omit<ResourceAvailability, 'status'> &
7482
7610
  * What Civitai.Orchestration.Grains.Resources.QueuedResourceAvailability.EtaSeconds would become in the High lane. Null when already High.
7483
7611
  */
7484
7612
  boostedEtaSeconds?: null | number;
7613
+ /**
7614
+ * Per-stream ceiling the lane applies to this download. Null when uncapped; boosting to High lifts it.
7615
+ */
7616
+ rateLimitBytesPerSecond?: null | number;
7485
7617
  status: 'queued';
7486
7618
  };
7487
7619
  export type Qwen20bCreateImageGenInput = Omit<
@@ -10603,6 +10735,10 @@ export type WorkflowStepPreparationResource = {
10603
10735
  * What Civitai.Orchestration.Grains.Workflows.WorkflowStepPreparationResource.EtaSeconds would become in the High lane. Null when already High.
10604
10736
  */
10605
10737
  boostedEtaSeconds?: null | number;
10738
+ /**
10739
+ * Per-stream ceiling the lane applies to this download. Null when uncapped; boosting to High lifts it.
10740
+ */
10741
+ rateLimitBytesPerSecond?: null | number;
10606
10742
  };
10607
10743
  /**
10608
10744
  * Details of a workflow step's position in the queue.
@@ -14880,7 +15016,13 @@ export type ListServicesData = {
14880
15016
  * Window the metrics and status are computed over: 1h, 24h or 7d.
14881
15017
  */
14882
15018
  window?: string;
15019
+ /**
15020
+ * Maximum number of services to return.
15021
+ */
14883
15022
  limit?: number;
15023
+ /**
15024
+ * Number of services to skip.
15025
+ */
14884
15026
  offset?: number;
14885
15027
  };
14886
15028
  url: '/v2/services';
@@ -138,6 +138,12 @@ export const HaiperVideoGenCameraMovement = {
138
138
  ZOOM_OUT: 'zoomOut',
139
139
  };
140
140
  export const HaiperVideoGenModel = { V1_5: 'v1_5', V2: 'v2' };
141
+ export const HiDreamI1Precision = { FP8: 'fp8', FP16: 'fp16' };
142
+ export const HiDreamI1Variant = {
143
+ FAST: 'fast',
144
+ DEV: 'dev',
145
+ FULL: 'full',
146
+ };
141
147
  export const HumanoidImageMaskCategory = {
142
148
  DRESSES: 'dresses',
143
149
  UPPER_BODY: 'upperBody',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/orchestration-client",
3
- "version": "0.2.0-beta.106",
3
+ "version": "0.2.0-beta.107",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "packageManager": "pnpm@10.34.4",
6
6
  "main": "dist/index.js",