@civitai/client 0.2.0-beta.52 → 0.2.0-beta.54
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.
- package/dist/generated/index.d.ts +38 -31
- package/dist/generated/index.js +2 -2
- package/dist/generated/sdk.gen.d.ts +47 -0
- package/dist/generated/sdk.gen.js +43 -0
- package/dist/generated/types.gen.d.ts +456 -329
- package/dist/generated/types.gen.js +36 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ export {
|
|
|
2
2
|
addWorkflowTag,
|
|
3
3
|
deleteWorkflow,
|
|
4
4
|
getBlob,
|
|
5
|
+
getBlobArchive,
|
|
5
6
|
getBlobContent,
|
|
6
7
|
getBlockedContent,
|
|
7
8
|
getConsumerBlobUploadUrl,
|
|
@@ -15,6 +16,7 @@ export {
|
|
|
15
16
|
invokeAceStepAudioStepTemplate,
|
|
16
17
|
invokeAgeClassificationStepTemplate,
|
|
17
18
|
invokeBatchOcrSafetyClassificationStepTemplate,
|
|
19
|
+
invokeBlobArchiveStepTemplate,
|
|
18
20
|
invokeChatCompletionStepTemplate,
|
|
19
21
|
invokeComfyStepTemplate,
|
|
20
22
|
invokeConvertImageStepTemplate,
|
|
@@ -29,6 +31,7 @@ export {
|
|
|
29
31
|
invokeMediaRatingStepTemplate,
|
|
30
32
|
invokeModelClamScanStepTemplate,
|
|
31
33
|
invokeModelHashStepTemplate,
|
|
34
|
+
invokeModelParseMetadataStepTemplate,
|
|
32
35
|
invokeModelPickleScanStepTemplate,
|
|
33
36
|
invokePreprocessImageStepTemplate,
|
|
34
37
|
invokePromptEnhancementStepTemplate,
|
|
@@ -65,7 +68,6 @@ export {
|
|
|
65
68
|
type AceStepAudioOutput,
|
|
66
69
|
type AceStepAudioStep,
|
|
67
70
|
type AceStepAudioStepTemplate,
|
|
68
|
-
type AceStepAudioStepWritable,
|
|
69
71
|
type AddWorkflowTagData,
|
|
70
72
|
type AddWorkflowTagError,
|
|
71
73
|
type AddWorkflowTagErrors,
|
|
@@ -76,7 +78,6 @@ export {
|
|
|
76
78
|
type AgeClassificationResult,
|
|
77
79
|
type AgeClassificationStep,
|
|
78
80
|
type AgeClassificationStepTemplate,
|
|
79
|
-
type AgeClassificationStepWritable,
|
|
80
81
|
type AgeClassifierLabel,
|
|
81
82
|
type AgeDetection,
|
|
82
83
|
type AiRecognitionResult,
|
|
@@ -87,12 +88,18 @@ export {
|
|
|
87
88
|
AnimalPoseEstimator,
|
|
88
89
|
type AnimeRecognitionResult,
|
|
89
90
|
AnylineMergeWith,
|
|
91
|
+
ArchiveFormat,
|
|
90
92
|
type AssistantMessage,
|
|
91
93
|
type AudioBlob,
|
|
92
94
|
type BatchOcrSafetyClassificationInput,
|
|
93
95
|
type BatchOcrSafetyClassificationOutput,
|
|
94
96
|
type BatchOcrSafetyClassificationResult,
|
|
95
97
|
type Blob,
|
|
98
|
+
type BlobArchiveEntry,
|
|
99
|
+
type BlobArchiveInput,
|
|
100
|
+
type BlobArchiveOutput,
|
|
101
|
+
type BlobArchiveStep,
|
|
102
|
+
type BlobArchiveStepTemplate,
|
|
96
103
|
type BlurRegion,
|
|
97
104
|
BlurRegionMode,
|
|
98
105
|
type BlurTransform,
|
|
@@ -110,13 +117,17 @@ export {
|
|
|
110
117
|
type ChatCompletionOutput,
|
|
111
118
|
type ChatCompletionStep,
|
|
112
119
|
type ChatCompletionStepTemplate,
|
|
113
|
-
type ChatCompletionStepWritable,
|
|
114
120
|
type ChatCompletionTool,
|
|
115
121
|
type ChatCompletionToolCall,
|
|
116
122
|
type ChatCompletionUsage,
|
|
117
123
|
type ChromaAiToolkitTrainingInput,
|
|
118
124
|
type ClientOptions,
|
|
119
125
|
CoarseMode,
|
|
126
|
+
type ComfyErnieImageGenInput,
|
|
127
|
+
type ComfyErnieStandardCreateImageGenInput,
|
|
128
|
+
type ComfyErnieStandardImageGenInput,
|
|
129
|
+
type ComfyErnieTurboCreateImageGenInput,
|
|
130
|
+
type ComfyErnieTurboImageGenInput,
|
|
120
131
|
type ComfyFlux1CreateImageGenInput,
|
|
121
132
|
type ComfyFlux1ImageGenInput,
|
|
122
133
|
type ComfyFlux1VariantImageGenInput,
|
|
@@ -146,14 +157,12 @@ export {
|
|
|
146
157
|
type ComfySdxlVariantImageGenInput,
|
|
147
158
|
type ComfyStep,
|
|
148
159
|
type ComfyStepTemplate,
|
|
149
|
-
type ComfyStepWritable,
|
|
150
160
|
type ConsumerBlobPresignResponse,
|
|
151
161
|
ContainerFormat,
|
|
152
162
|
type ConvertImageInput,
|
|
153
163
|
type ConvertImageOutput,
|
|
154
164
|
type ConvertImageStep,
|
|
155
165
|
type ConvertImageStepTemplate,
|
|
156
|
-
type ConvertImageStepWritable,
|
|
157
166
|
type CursedArrayOfTelemetryCursorAndWorkflow,
|
|
158
167
|
type CursedArrayOfTelemetryCursorAndWorkflowWritable,
|
|
159
168
|
type CustomTextToSpeechInput,
|
|
@@ -172,8 +181,8 @@ export {
|
|
|
172
181
|
type EchoOutput,
|
|
173
182
|
type EchoStep,
|
|
174
183
|
type EchoStepTemplate,
|
|
175
|
-
type EchoStepWritable,
|
|
176
184
|
type EpochResult,
|
|
185
|
+
type ErnieAiToolkitTrainingInput,
|
|
177
186
|
type FaceDetection,
|
|
178
187
|
type FaceDetectionInfo,
|
|
179
188
|
type FaceRecognitionResult,
|
|
@@ -228,6 +237,10 @@ export {
|
|
|
228
237
|
type Gemini25FlashEditImageGenInput,
|
|
229
238
|
type Gemini25FlashImageGenInput,
|
|
230
239
|
type GeminiImageGenInput,
|
|
240
|
+
type GetBlobArchiveData,
|
|
241
|
+
type GetBlobArchiveError,
|
|
242
|
+
type GetBlobArchiveErrors,
|
|
243
|
+
type GetBlobArchiveResponses,
|
|
231
244
|
type GetBlobContentData,
|
|
232
245
|
type GetBlobContentError,
|
|
233
246
|
type GetBlobContentErrors,
|
|
@@ -293,7 +306,6 @@ export {
|
|
|
293
306
|
ImageGenOutputFormat,
|
|
294
307
|
type ImageGenStep,
|
|
295
308
|
type ImageGenStepTemplate,
|
|
296
|
-
type ImageGenStepWritable,
|
|
297
309
|
type ImageJobControlNet,
|
|
298
310
|
type ImageJobNetworkParams,
|
|
299
311
|
type Imagen4ImageGenInput,
|
|
@@ -304,18 +316,15 @@ export {
|
|
|
304
316
|
type ImageResourceTrainingOutput,
|
|
305
317
|
type ImageResourceTrainingStep,
|
|
306
318
|
type ImageResourceTrainingStepTemplate,
|
|
307
|
-
type ImageResourceTrainingStepWritable,
|
|
308
319
|
type ImageTransform,
|
|
309
320
|
ImageTransformer,
|
|
310
321
|
type ImageUploadOutput,
|
|
311
322
|
type ImageUploadStep,
|
|
312
323
|
type ImageUploadStepTemplate,
|
|
313
|
-
type ImageUploadStepWritable,
|
|
314
324
|
type ImageUpscalerInput,
|
|
315
325
|
type ImageUpscalerOutput,
|
|
316
326
|
type ImageUpscalerStep,
|
|
317
327
|
type ImageUpscalerStepTemplate,
|
|
318
|
-
type ImageUpscalerStepWritable,
|
|
319
328
|
type InvalidateResourceData,
|
|
320
329
|
type InvalidateResourceError,
|
|
321
330
|
type InvalidateResourceErrors,
|
|
@@ -341,6 +350,11 @@ export {
|
|
|
341
350
|
type InvokeBatchOcrSafetyClassificationStepTemplateErrors,
|
|
342
351
|
type InvokeBatchOcrSafetyClassificationStepTemplateResponse,
|
|
343
352
|
type InvokeBatchOcrSafetyClassificationStepTemplateResponses,
|
|
353
|
+
type InvokeBlobArchiveStepTemplateData,
|
|
354
|
+
type InvokeBlobArchiveStepTemplateError,
|
|
355
|
+
type InvokeBlobArchiveStepTemplateErrors,
|
|
356
|
+
type InvokeBlobArchiveStepTemplateResponse,
|
|
357
|
+
type InvokeBlobArchiveStepTemplateResponses,
|
|
344
358
|
type InvokeChatCompletionStepTemplateData,
|
|
345
359
|
type InvokeChatCompletionStepTemplateError,
|
|
346
360
|
type InvokeChatCompletionStepTemplateErrors,
|
|
@@ -411,6 +425,11 @@ export {
|
|
|
411
425
|
type InvokeModelHashStepTemplateErrors,
|
|
412
426
|
type InvokeModelHashStepTemplateResponse,
|
|
413
427
|
type InvokeModelHashStepTemplateResponses,
|
|
428
|
+
type InvokeModelParseMetadataStepTemplateData,
|
|
429
|
+
type InvokeModelParseMetadataStepTemplateError,
|
|
430
|
+
type InvokeModelParseMetadataStepTemplateErrors,
|
|
431
|
+
type InvokeModelParseMetadataStepTemplateResponse,
|
|
432
|
+
type InvokeModelParseMetadataStepTemplateResponses,
|
|
414
433
|
type InvokeModelPickleScanStepTemplateData,
|
|
415
434
|
type InvokeModelPickleScanStepTemplateError,
|
|
416
435
|
type InvokeModelPickleScanStepTemplateErrors,
|
|
@@ -527,18 +546,15 @@ export {
|
|
|
527
546
|
type MediaCaptioningOutput,
|
|
528
547
|
type MediaCaptioningStep,
|
|
529
548
|
type MediaCaptioningStepTemplate,
|
|
530
|
-
type MediaCaptioningStepWritable,
|
|
531
549
|
type MediaHashInput,
|
|
532
550
|
type MediaHashOutput,
|
|
533
551
|
type MediaHashStep,
|
|
534
552
|
type MediaHashStepTemplate,
|
|
535
|
-
type MediaHashStepWritable,
|
|
536
553
|
MediaHashType,
|
|
537
554
|
type MediaRatingInput,
|
|
538
555
|
type MediaRatingOutput,
|
|
539
556
|
type MediaRatingStep,
|
|
540
557
|
type MediaRatingStepTemplate,
|
|
541
|
-
type MediaRatingStepWritable,
|
|
542
558
|
Metric3dBackbone,
|
|
543
559
|
type MiniMaxVideoGenInput,
|
|
544
560
|
MiniMaxVideoGenModel,
|
|
@@ -547,17 +563,18 @@ export {
|
|
|
547
563
|
type ModelClamScanOutput,
|
|
548
564
|
type ModelClamScanStep,
|
|
549
565
|
type ModelClamScanStepTemplate,
|
|
550
|
-
type ModelClamScanStepWritable,
|
|
551
566
|
type ModelHashInput,
|
|
552
567
|
type ModelHashOutput,
|
|
553
568
|
type ModelHashStep,
|
|
554
569
|
type ModelHashStepTemplate,
|
|
555
|
-
type
|
|
570
|
+
type ModelParseMetadataInput,
|
|
571
|
+
type ModelParseMetadataOutput,
|
|
572
|
+
type ModelParseMetadataStep,
|
|
573
|
+
type ModelParseMetadataStepTemplate,
|
|
556
574
|
type ModelPickleScanInput,
|
|
557
575
|
type ModelPickleScanOutput,
|
|
558
576
|
type ModelPickleScanStep,
|
|
559
577
|
type ModelPickleScanStepTemplate,
|
|
560
|
-
type ModelPickleScanStepWritable,
|
|
561
578
|
type MusubiImageResourceTrainingInput,
|
|
562
579
|
type MusubiImageResourceTrainingInputWritable,
|
|
563
580
|
type NanoBanana2ImageGenInput,
|
|
@@ -574,6 +591,9 @@ export {
|
|
|
574
591
|
type OpenAiGpt1CreateImageInput,
|
|
575
592
|
type OpenAiGpt1EditImageInput,
|
|
576
593
|
type OpenAiGpt1ImageGenInput,
|
|
594
|
+
type OpenAiGpt2CreateImageInput,
|
|
595
|
+
type OpenAiGpt2EditImageInput,
|
|
596
|
+
type OpenAiGpt2ImageGenInput,
|
|
577
597
|
type OpenApiImageGenInput,
|
|
578
598
|
OutputFormat,
|
|
579
599
|
type PatchWorkflowData,
|
|
@@ -675,7 +695,6 @@ export {
|
|
|
675
695
|
type PromptEnhancementOutput,
|
|
676
696
|
type PromptEnhancementStep,
|
|
677
697
|
type PromptEnhancementStepTemplate,
|
|
678
|
-
type PromptEnhancementStepWritable,
|
|
679
698
|
type PromptIssue,
|
|
680
699
|
type QueryWorkflowsData,
|
|
681
700
|
type QueryWorkflowsError,
|
|
@@ -716,7 +735,6 @@ export {
|
|
|
716
735
|
type RepeatForClause,
|
|
717
736
|
type RepeatInput,
|
|
718
737
|
type RepeatOutput,
|
|
719
|
-
type RepeatOutputWritable,
|
|
720
738
|
type ResizeTransform,
|
|
721
739
|
type ResourceInfo,
|
|
722
740
|
SafeMode,
|
|
@@ -733,6 +751,8 @@ export {
|
|
|
733
751
|
type SdxlCreateImageGenInput,
|
|
734
752
|
type SdxlImageGenInput,
|
|
735
753
|
type SdxlVariantImageGenInput,
|
|
754
|
+
SeedanceModel,
|
|
755
|
+
type SeedanceVideoGenInput,
|
|
736
756
|
type SeedreamImageGenInput,
|
|
737
757
|
SeedreamVersion,
|
|
738
758
|
type Sora2ImageToVideoInput,
|
|
@@ -748,12 +768,10 @@ export {
|
|
|
748
768
|
type TextToImageOutput,
|
|
749
769
|
type TextToImageStep,
|
|
750
770
|
type TextToImageStepTemplate,
|
|
751
|
-
type TextToImageStepWritable,
|
|
752
771
|
type TextToSpeechInput,
|
|
753
772
|
type TextToSpeechOutput,
|
|
754
773
|
type TextToSpeechStep,
|
|
755
774
|
type TextToSpeechStepTemplate,
|
|
756
|
-
type TextToSpeechStepWritable,
|
|
757
775
|
type ToolMessage,
|
|
758
776
|
type TrainingData,
|
|
759
777
|
type TrainingInput,
|
|
@@ -763,7 +781,6 @@ export {
|
|
|
763
781
|
type TrainingOutputEpochResult,
|
|
764
782
|
type TrainingStep,
|
|
765
783
|
type TrainingStepTemplate,
|
|
766
|
-
type TrainingStepWritable,
|
|
767
784
|
type TransactionInfo,
|
|
768
785
|
type TransactionSummary,
|
|
769
786
|
TransactionType,
|
|
@@ -771,12 +788,10 @@ export {
|
|
|
771
788
|
type TranscodeOutput,
|
|
772
789
|
type TranscodeStep,
|
|
773
790
|
type TranscodeStepTemplate,
|
|
774
|
-
type TranscodeStepWritable,
|
|
775
791
|
type TranscriptionInput,
|
|
776
792
|
type TranscriptionOutput,
|
|
777
793
|
type TranscriptionStep,
|
|
778
794
|
type TranscriptionStepTemplate,
|
|
779
|
-
type TranscriptionStepWritable,
|
|
780
795
|
type TranscriptionTimeStamp,
|
|
781
796
|
type TryOnUInput,
|
|
782
797
|
type TryOnUOutput,
|
|
@@ -814,33 +829,27 @@ export {
|
|
|
814
829
|
type VideoEnhancementOutput,
|
|
815
830
|
type VideoEnhancementStep,
|
|
816
831
|
type VideoEnhancementStepTemplate,
|
|
817
|
-
type VideoEnhancementStepWritable,
|
|
818
832
|
type VideoFrameExtractionInput,
|
|
819
833
|
type VideoFrameExtractionOutput,
|
|
820
834
|
type VideoFrameExtractionStep,
|
|
821
835
|
type VideoFrameExtractionStepTemplate,
|
|
822
|
-
type VideoFrameExtractionStepWritable,
|
|
823
836
|
type VideoGenInput,
|
|
824
837
|
type VideoGenInputLora,
|
|
825
838
|
type VideoGenOutput,
|
|
826
839
|
type VideoGenStep,
|
|
827
840
|
type VideoGenStepTemplate,
|
|
828
|
-
type VideoGenStepWritable,
|
|
829
841
|
type VideoInterpolationInput,
|
|
830
842
|
type VideoInterpolationOutput,
|
|
831
843
|
type VideoInterpolationStep,
|
|
832
844
|
type VideoInterpolationStepTemplate,
|
|
833
|
-
type VideoInterpolationStepWritable,
|
|
834
845
|
type VideoMetadataInput,
|
|
835
846
|
type VideoMetadataOutput,
|
|
836
847
|
type VideoMetadataStep,
|
|
837
848
|
type VideoMetadataStepTemplate,
|
|
838
|
-
type VideoMetadataStepWritable,
|
|
839
849
|
type VideoUpscalerInput,
|
|
840
850
|
type VideoUpscalerOutput,
|
|
841
851
|
type VideoUpscalerStep,
|
|
842
852
|
type VideoUpscalerStepTemplate,
|
|
843
|
-
type VideoUpscalerStepWritable,
|
|
844
853
|
type ViduQ3VideoGenInput,
|
|
845
854
|
type ViduVideoGenInput,
|
|
846
855
|
ViduVideoGenModel,
|
|
@@ -891,7 +900,6 @@ export {
|
|
|
891
900
|
type WdTaggingOutput,
|
|
892
901
|
type WdTaggingStep,
|
|
893
902
|
type WdTaggingStepTemplate,
|
|
894
|
-
type WdTaggingStepWritable,
|
|
895
903
|
type WebpOutputFormat,
|
|
896
904
|
type Workflow,
|
|
897
905
|
type WorkflowCallback,
|
|
@@ -914,7 +922,6 @@ export {
|
|
|
914
922
|
type WorkflowStepTemplate,
|
|
915
923
|
type WorkflowStepTemplateWritable,
|
|
916
924
|
type WorkflowStepWritable,
|
|
917
|
-
type WorkflowStepWritable2,
|
|
918
925
|
type WorkflowTemplate,
|
|
919
926
|
type WorkflowTips,
|
|
920
927
|
WorkflowUpgradeMode,
|
package/dist/generated/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export { addWorkflowTag, deleteWorkflow, getBlob, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getResource, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateResource, invalidateUserCache, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeChatCompletionStepTemplate, invokeComfyStepTemplate, invokeConvertImageStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelPickleScanStepTemplate, invokePreprocessImageStepTemplate, invokePromptEnhancementStepTemplate, invokeRepeatStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeXGuardModerationStepTemplate, patchWorkflow, patchWorkflowStep, queryWorkflows, refreshBlob, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
|
|
3
|
-
export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, FileFormat, HaiperVideoGenAspectRatio, HaiperVideoGenCameraMovement, HaiperVideoGenModel, HumanoidImageMaskCategory, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, MediaHashType, Metric3dBackbone, MiniMaxVideoGenModel, NsfwLevel, OutputFormat, Priority, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedreamVersion, TrainingModerationStatus, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowUpgradeMode, ZoeDepthEnvironment, } from './types.gen';
|
|
2
|
+
export { addWorkflowTag, deleteWorkflow, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getResource, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateResource, invalidateUserCache, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyStepTemplate, invokeConvertImageStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokePreprocessImageStepTemplate, invokePromptEnhancementStepTemplate, invokeRepeatStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeXGuardModerationStepTemplate, patchWorkflow, patchWorkflowStep, 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, HaiperVideoGenAspectRatio, HaiperVideoGenCameraMovement, HaiperVideoGenModel, HumanoidImageMaskCategory, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, MediaHashType, Metric3dBackbone, MiniMaxVideoGenModel, NsfwLevel, OutputFormat, Priority, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedanceModel, SeedreamVersion, TrainingModerationStatus, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowUpgradeMode, ZoeDepthEnvironment, } from './types.gen';
|
|
@@ -6,6 +6,9 @@ import type {
|
|
|
6
6
|
DeleteWorkflowData,
|
|
7
7
|
DeleteWorkflowErrors,
|
|
8
8
|
DeleteWorkflowResponses,
|
|
9
|
+
GetBlobArchiveData,
|
|
10
|
+
GetBlobArchiveErrors,
|
|
11
|
+
GetBlobArchiveResponses,
|
|
9
12
|
GetBlobContentData,
|
|
10
13
|
GetBlobContentErrors,
|
|
11
14
|
GetBlobContentResponses,
|
|
@@ -46,6 +49,9 @@ import type {
|
|
|
46
49
|
InvokeBatchOcrSafetyClassificationStepTemplateData,
|
|
47
50
|
InvokeBatchOcrSafetyClassificationStepTemplateErrors,
|
|
48
51
|
InvokeBatchOcrSafetyClassificationStepTemplateResponses,
|
|
52
|
+
InvokeBlobArchiveStepTemplateData,
|
|
53
|
+
InvokeBlobArchiveStepTemplateErrors,
|
|
54
|
+
InvokeBlobArchiveStepTemplateResponses,
|
|
49
55
|
InvokeChatCompletionStepTemplateData,
|
|
50
56
|
InvokeChatCompletionStepTemplateErrors,
|
|
51
57
|
InvokeChatCompletionStepTemplateResponses,
|
|
@@ -88,6 +94,9 @@ import type {
|
|
|
88
94
|
InvokeModelHashStepTemplateData,
|
|
89
95
|
InvokeModelHashStepTemplateErrors,
|
|
90
96
|
InvokeModelHashStepTemplateResponses,
|
|
97
|
+
InvokeModelParseMetadataStepTemplateData,
|
|
98
|
+
InvokeModelParseMetadataStepTemplateErrors,
|
|
99
|
+
InvokeModelParseMetadataStepTemplateResponses,
|
|
91
100
|
InvokeModelPickleScanStepTemplateData,
|
|
92
101
|
InvokeModelPickleScanStepTemplateErrors,
|
|
93
102
|
InvokeModelPickleScanStepTemplateResponses,
|
|
@@ -242,6 +251,18 @@ export declare const getBlobContent: <ThrowOnError extends boolean = false>(
|
|
|
242
251
|
export declare const getBlockedContent: <ThrowOnError extends boolean = false>(
|
|
243
252
|
options: Options<GetBlockedContentData, ThrowOnError>
|
|
244
253
|
) => import('./client').RequestResult<unknown, GetBlockedContentErrors, ThrowOnError, 'fields'>;
|
|
254
|
+
/**
|
|
255
|
+
* Streams an archive (zip or tar) of the blobs referenced by a signed archive token.
|
|
256
|
+
* Tokens are produced by the `blobArchive` workflow step.
|
|
257
|
+
*/
|
|
258
|
+
export declare const getBlobArchive: <ThrowOnError extends boolean = false>(
|
|
259
|
+
options: Options<GetBlobArchiveData, ThrowOnError>
|
|
260
|
+
) => import('./client').RequestResult<
|
|
261
|
+
GetBlobArchiveResponses,
|
|
262
|
+
GetBlobArchiveErrors,
|
|
263
|
+
ThrowOnError,
|
|
264
|
+
'fields'
|
|
265
|
+
>;
|
|
245
266
|
/**
|
|
246
267
|
* Refresh a blob's URL and debounce its lifetime.
|
|
247
268
|
* Returns a fresh presigned URL and resets the 30-day TTL.
|
|
@@ -297,6 +318,19 @@ export declare const invokeBatchOcrSafetyClassificationStepTemplate: <
|
|
|
297
318
|
ThrowOnError,
|
|
298
319
|
'fields'
|
|
299
320
|
>;
|
|
321
|
+
/**
|
|
322
|
+
* Bundles a set of blobs into a single archive (zip or tar) that callers can
|
|
323
|
+
* /// download from a signed streaming URL. Runs in-process in the orchestrator;
|
|
324
|
+
* /// no worker job is dispatched.
|
|
325
|
+
*/
|
|
326
|
+
export declare const invokeBlobArchiveStepTemplate: <ThrowOnError extends boolean = false>(
|
|
327
|
+
options?: Options<InvokeBlobArchiveStepTemplateData, ThrowOnError>
|
|
328
|
+
) => import('./client').RequestResult<
|
|
329
|
+
InvokeBlobArchiveStepTemplateResponses,
|
|
330
|
+
InvokeBlobArchiveStepTemplateErrors,
|
|
331
|
+
ThrowOnError,
|
|
332
|
+
'fields'
|
|
333
|
+
>;
|
|
300
334
|
/**
|
|
301
335
|
* ChatCompletion
|
|
302
336
|
*
|
|
@@ -471,6 +505,19 @@ export declare const invokeModelHashStepTemplate: <ThrowOnError extends boolean
|
|
|
471
505
|
ThrowOnError,
|
|
472
506
|
'fields'
|
|
473
507
|
>;
|
|
508
|
+
/**
|
|
509
|
+
* ModelParseMetadata
|
|
510
|
+
*
|
|
511
|
+
* Extracts the embedded JSON metadata header from a safetensors model file.
|
|
512
|
+
*/
|
|
513
|
+
export declare const invokeModelParseMetadataStepTemplate: <ThrowOnError extends boolean = false>(
|
|
514
|
+
options?: Options<InvokeModelParseMetadataStepTemplateData, ThrowOnError>
|
|
515
|
+
) => import('./client').RequestResult<
|
|
516
|
+
InvokeModelParseMetadataStepTemplateResponses,
|
|
517
|
+
InvokeModelParseMetadataStepTemplateErrors,
|
|
518
|
+
ThrowOnError,
|
|
519
|
+
'fields'
|
|
520
|
+
>;
|
|
474
521
|
/**
|
|
475
522
|
* ModelPickleScan
|
|
476
523
|
*
|
|
@@ -56,6 +56,17 @@ export const getBlockedContent = (options) => {
|
|
|
56
56
|
...options,
|
|
57
57
|
});
|
|
58
58
|
};
|
|
59
|
+
/**
|
|
60
|
+
* Streams an archive (zip or tar) of the blobs referenced by a signed archive token.
|
|
61
|
+
* Tokens are produced by the `blobArchive` workflow step.
|
|
62
|
+
*/
|
|
63
|
+
export const getBlobArchive = (options) => {
|
|
64
|
+
var _a;
|
|
65
|
+
return ((_a = options.client) !== null && _a !== void 0 ? _a : client).get({
|
|
66
|
+
url: '/v2/consumer/blobs/archive/{encryptedToken}',
|
|
67
|
+
...options,
|
|
68
|
+
});
|
|
69
|
+
};
|
|
59
70
|
/**
|
|
60
71
|
* Refresh a blob's URL and debounce its lifetime.
|
|
61
72
|
* Returns a fresh presigned URL and resets the 30-day TTL.
|
|
@@ -113,6 +124,22 @@ export const invokeBatchOcrSafetyClassificationStepTemplate = (options) => {
|
|
|
113
124
|
},
|
|
114
125
|
});
|
|
115
126
|
};
|
|
127
|
+
/**
|
|
128
|
+
* Bundles a set of blobs into a single archive (zip or tar) that callers can
|
|
129
|
+
* /// download from a signed streaming URL. Runs in-process in the orchestrator;
|
|
130
|
+
* /// no worker job is dispatched.
|
|
131
|
+
*/
|
|
132
|
+
export const invokeBlobArchiveStepTemplate = (options) => {
|
|
133
|
+
var _a;
|
|
134
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
135
|
+
url: '/v2/consumer/recipes/blobArchive',
|
|
136
|
+
...options,
|
|
137
|
+
headers: {
|
|
138
|
+
'Content-Type': 'application/json',
|
|
139
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
140
|
+
},
|
|
141
|
+
});
|
|
142
|
+
};
|
|
116
143
|
/**
|
|
117
144
|
* ChatCompletion
|
|
118
145
|
*
|
|
@@ -327,6 +354,22 @@ export const invokeModelHashStepTemplate = (options) => {
|
|
|
327
354
|
},
|
|
328
355
|
});
|
|
329
356
|
};
|
|
357
|
+
/**
|
|
358
|
+
* ModelParseMetadata
|
|
359
|
+
*
|
|
360
|
+
* Extracts the embedded JSON metadata header from a safetensors model file.
|
|
361
|
+
*/
|
|
362
|
+
export const invokeModelParseMetadataStepTemplate = (options) => {
|
|
363
|
+
var _a;
|
|
364
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
365
|
+
url: '/v2/consumer/recipes/modelParseMetadata',
|
|
366
|
+
...options,
|
|
367
|
+
headers: {
|
|
368
|
+
'Content-Type': 'application/json',
|
|
369
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
370
|
+
},
|
|
371
|
+
});
|
|
372
|
+
};
|
|
330
373
|
/**
|
|
331
374
|
* ModelPickleScan
|
|
332
375
|
*
|