@civitai/client 0.2.0-beta.51 → 0.2.0-beta.53
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 +48 -28
- package/dist/generated/index.js +2 -2
- package/dist/generated/sdk.gen.d.ts +64 -0
- package/dist/generated/sdk.gen.js +64 -0
- package/dist/generated/types.gen.d.ts +533 -303
- package/dist/generated/types.gen.js +32 -0
- package/package.json +1 -1
|
@@ -27,6 +27,10 @@ export {
|
|
|
27
27
|
invokeMediaCaptioningStepTemplate,
|
|
28
28
|
invokeMediaHashStepTemplate,
|
|
29
29
|
invokeMediaRatingStepTemplate,
|
|
30
|
+
invokeModelClamScanStepTemplate,
|
|
31
|
+
invokeModelHashStepTemplate,
|
|
32
|
+
invokeModelParseMetadataStepTemplate,
|
|
33
|
+
invokeModelPickleScanStepTemplate,
|
|
30
34
|
invokePreprocessImageStepTemplate,
|
|
31
35
|
invokePromptEnhancementStepTemplate,
|
|
32
36
|
invokeRepeatStepTemplate,
|
|
@@ -62,7 +66,6 @@ export {
|
|
|
62
66
|
type AceStepAudioOutput,
|
|
63
67
|
type AceStepAudioStep,
|
|
64
68
|
type AceStepAudioStepTemplate,
|
|
65
|
-
type AceStepAudioStepWritable,
|
|
66
69
|
type AddWorkflowTagData,
|
|
67
70
|
type AddWorkflowTagError,
|
|
68
71
|
type AddWorkflowTagErrors,
|
|
@@ -73,7 +76,6 @@ export {
|
|
|
73
76
|
type AgeClassificationResult,
|
|
74
77
|
type AgeClassificationStep,
|
|
75
78
|
type AgeClassificationStepTemplate,
|
|
76
|
-
type AgeClassificationStepWritable,
|
|
77
79
|
type AgeClassifierLabel,
|
|
78
80
|
type AgeDetection,
|
|
79
81
|
type AiRecognitionResult,
|
|
@@ -107,13 +109,17 @@ export {
|
|
|
107
109
|
type ChatCompletionOutput,
|
|
108
110
|
type ChatCompletionStep,
|
|
109
111
|
type ChatCompletionStepTemplate,
|
|
110
|
-
type ChatCompletionStepWritable,
|
|
111
112
|
type ChatCompletionTool,
|
|
112
113
|
type ChatCompletionToolCall,
|
|
113
114
|
type ChatCompletionUsage,
|
|
114
115
|
type ChromaAiToolkitTrainingInput,
|
|
115
116
|
type ClientOptions,
|
|
116
117
|
CoarseMode,
|
|
118
|
+
type ComfyErnieImageGenInput,
|
|
119
|
+
type ComfyErnieStandardCreateImageGenInput,
|
|
120
|
+
type ComfyErnieStandardImageGenInput,
|
|
121
|
+
type ComfyErnieTurboCreateImageGenInput,
|
|
122
|
+
type ComfyErnieTurboImageGenInput,
|
|
117
123
|
type ComfyFlux1CreateImageGenInput,
|
|
118
124
|
type ComfyFlux1ImageGenInput,
|
|
119
125
|
type ComfyFlux1VariantImageGenInput,
|
|
@@ -143,14 +149,12 @@ export {
|
|
|
143
149
|
type ComfySdxlVariantImageGenInput,
|
|
144
150
|
type ComfyStep,
|
|
145
151
|
type ComfyStepTemplate,
|
|
146
|
-
type ComfyStepWritable,
|
|
147
152
|
type ConsumerBlobPresignResponse,
|
|
148
153
|
ContainerFormat,
|
|
149
154
|
type ConvertImageInput,
|
|
150
155
|
type ConvertImageOutput,
|
|
151
156
|
type ConvertImageStep,
|
|
152
157
|
type ConvertImageStepTemplate,
|
|
153
|
-
type ConvertImageStepWritable,
|
|
154
158
|
type CursedArrayOfTelemetryCursorAndWorkflow,
|
|
155
159
|
type CursedArrayOfTelemetryCursorAndWorkflowWritable,
|
|
156
160
|
type CustomTextToSpeechInput,
|
|
@@ -169,8 +173,8 @@ export {
|
|
|
169
173
|
type EchoOutput,
|
|
170
174
|
type EchoStep,
|
|
171
175
|
type EchoStepTemplate,
|
|
172
|
-
type EchoStepWritable,
|
|
173
176
|
type EpochResult,
|
|
177
|
+
type ErnieAiToolkitTrainingInput,
|
|
174
178
|
type FaceDetection,
|
|
175
179
|
type FaceDetectionInfo,
|
|
176
180
|
type FaceRecognitionResult,
|
|
@@ -290,7 +294,6 @@ export {
|
|
|
290
294
|
ImageGenOutputFormat,
|
|
291
295
|
type ImageGenStep,
|
|
292
296
|
type ImageGenStepTemplate,
|
|
293
|
-
type ImageGenStepWritable,
|
|
294
297
|
type ImageJobControlNet,
|
|
295
298
|
type ImageJobNetworkParams,
|
|
296
299
|
type Imagen4ImageGenInput,
|
|
@@ -301,18 +304,15 @@ export {
|
|
|
301
304
|
type ImageResourceTrainingOutput,
|
|
302
305
|
type ImageResourceTrainingStep,
|
|
303
306
|
type ImageResourceTrainingStepTemplate,
|
|
304
|
-
type ImageResourceTrainingStepWritable,
|
|
305
307
|
type ImageTransform,
|
|
306
308
|
ImageTransformer,
|
|
307
309
|
type ImageUploadOutput,
|
|
308
310
|
type ImageUploadStep,
|
|
309
311
|
type ImageUploadStepTemplate,
|
|
310
|
-
type ImageUploadStepWritable,
|
|
311
312
|
type ImageUpscalerInput,
|
|
312
313
|
type ImageUpscalerOutput,
|
|
313
314
|
type ImageUpscalerStep,
|
|
314
315
|
type ImageUpscalerStepTemplate,
|
|
315
|
-
type ImageUpscalerStepWritable,
|
|
316
316
|
type InvalidateResourceData,
|
|
317
317
|
type InvalidateResourceError,
|
|
318
318
|
type InvalidateResourceErrors,
|
|
@@ -398,6 +398,26 @@ export {
|
|
|
398
398
|
type InvokeMediaRatingStepTemplateErrors,
|
|
399
399
|
type InvokeMediaRatingStepTemplateResponse,
|
|
400
400
|
type InvokeMediaRatingStepTemplateResponses,
|
|
401
|
+
type InvokeModelClamScanStepTemplateData,
|
|
402
|
+
type InvokeModelClamScanStepTemplateError,
|
|
403
|
+
type InvokeModelClamScanStepTemplateErrors,
|
|
404
|
+
type InvokeModelClamScanStepTemplateResponse,
|
|
405
|
+
type InvokeModelClamScanStepTemplateResponses,
|
|
406
|
+
type InvokeModelHashStepTemplateData,
|
|
407
|
+
type InvokeModelHashStepTemplateError,
|
|
408
|
+
type InvokeModelHashStepTemplateErrors,
|
|
409
|
+
type InvokeModelHashStepTemplateResponse,
|
|
410
|
+
type InvokeModelHashStepTemplateResponses,
|
|
411
|
+
type InvokeModelParseMetadataStepTemplateData,
|
|
412
|
+
type InvokeModelParseMetadataStepTemplateError,
|
|
413
|
+
type InvokeModelParseMetadataStepTemplateErrors,
|
|
414
|
+
type InvokeModelParseMetadataStepTemplateResponse,
|
|
415
|
+
type InvokeModelParseMetadataStepTemplateResponses,
|
|
416
|
+
type InvokeModelPickleScanStepTemplateData,
|
|
417
|
+
type InvokeModelPickleScanStepTemplateError,
|
|
418
|
+
type InvokeModelPickleScanStepTemplateErrors,
|
|
419
|
+
type InvokeModelPickleScanStepTemplateResponse,
|
|
420
|
+
type InvokeModelPickleScanStepTemplateResponses,
|
|
401
421
|
type InvokePreprocessImageStepTemplateData,
|
|
402
422
|
type InvokePreprocessImageStepTemplateError,
|
|
403
423
|
type InvokePreprocessImageStepTemplateErrors,
|
|
@@ -509,22 +529,35 @@ export {
|
|
|
509
529
|
type MediaCaptioningOutput,
|
|
510
530
|
type MediaCaptioningStep,
|
|
511
531
|
type MediaCaptioningStepTemplate,
|
|
512
|
-
type MediaCaptioningStepWritable,
|
|
513
532
|
type MediaHashInput,
|
|
514
533
|
type MediaHashOutput,
|
|
515
534
|
type MediaHashStep,
|
|
516
535
|
type MediaHashStepTemplate,
|
|
517
|
-
type MediaHashStepWritable,
|
|
518
536
|
MediaHashType,
|
|
519
537
|
type MediaRatingInput,
|
|
520
538
|
type MediaRatingOutput,
|
|
521
539
|
type MediaRatingStep,
|
|
522
540
|
type MediaRatingStepTemplate,
|
|
523
|
-
type MediaRatingStepWritable,
|
|
524
541
|
Metric3dBackbone,
|
|
525
542
|
type MiniMaxVideoGenInput,
|
|
526
543
|
MiniMaxVideoGenModel,
|
|
527
544
|
type MochiVideoGenInput,
|
|
545
|
+
type ModelClamScanInput,
|
|
546
|
+
type ModelClamScanOutput,
|
|
547
|
+
type ModelClamScanStep,
|
|
548
|
+
type ModelClamScanStepTemplate,
|
|
549
|
+
type ModelHashInput,
|
|
550
|
+
type ModelHashOutput,
|
|
551
|
+
type ModelHashStep,
|
|
552
|
+
type ModelHashStepTemplate,
|
|
553
|
+
type ModelParseMetadataInput,
|
|
554
|
+
type ModelParseMetadataOutput,
|
|
555
|
+
type ModelParseMetadataStep,
|
|
556
|
+
type ModelParseMetadataStepTemplate,
|
|
557
|
+
type ModelPickleScanInput,
|
|
558
|
+
type ModelPickleScanOutput,
|
|
559
|
+
type ModelPickleScanStep,
|
|
560
|
+
type ModelPickleScanStepTemplate,
|
|
528
561
|
type MusubiImageResourceTrainingInput,
|
|
529
562
|
type MusubiImageResourceTrainingInputWritable,
|
|
530
563
|
type NanoBanana2ImageGenInput,
|
|
@@ -642,7 +675,6 @@ export {
|
|
|
642
675
|
type PromptEnhancementOutput,
|
|
643
676
|
type PromptEnhancementStep,
|
|
644
677
|
type PromptEnhancementStepTemplate,
|
|
645
|
-
type PromptEnhancementStepWritable,
|
|
646
678
|
type PromptIssue,
|
|
647
679
|
type QueryWorkflowsData,
|
|
648
680
|
type QueryWorkflowsError,
|
|
@@ -683,7 +715,6 @@ export {
|
|
|
683
715
|
type RepeatForClause,
|
|
684
716
|
type RepeatInput,
|
|
685
717
|
type RepeatOutput,
|
|
686
|
-
type RepeatOutputWritable,
|
|
687
718
|
type ResizeTransform,
|
|
688
719
|
type ResourceInfo,
|
|
689
720
|
SafeMode,
|
|
@@ -700,6 +731,8 @@ export {
|
|
|
700
731
|
type SdxlCreateImageGenInput,
|
|
701
732
|
type SdxlImageGenInput,
|
|
702
733
|
type SdxlVariantImageGenInput,
|
|
734
|
+
SeedanceModel,
|
|
735
|
+
type SeedanceVideoGenInput,
|
|
703
736
|
type SeedreamImageGenInput,
|
|
704
737
|
SeedreamVersion,
|
|
705
738
|
type Sora2ImageToVideoInput,
|
|
@@ -715,12 +748,10 @@ export {
|
|
|
715
748
|
type TextToImageOutput,
|
|
716
749
|
type TextToImageStep,
|
|
717
750
|
type TextToImageStepTemplate,
|
|
718
|
-
type TextToImageStepWritable,
|
|
719
751
|
type TextToSpeechInput,
|
|
720
752
|
type TextToSpeechOutput,
|
|
721
753
|
type TextToSpeechStep,
|
|
722
754
|
type TextToSpeechStepTemplate,
|
|
723
|
-
type TextToSpeechStepWritable,
|
|
724
755
|
type ToolMessage,
|
|
725
756
|
type TrainingData,
|
|
726
757
|
type TrainingInput,
|
|
@@ -730,7 +761,6 @@ export {
|
|
|
730
761
|
type TrainingOutputEpochResult,
|
|
731
762
|
type TrainingStep,
|
|
732
763
|
type TrainingStepTemplate,
|
|
733
|
-
type TrainingStepWritable,
|
|
734
764
|
type TransactionInfo,
|
|
735
765
|
type TransactionSummary,
|
|
736
766
|
TransactionType,
|
|
@@ -738,12 +768,10 @@ export {
|
|
|
738
768
|
type TranscodeOutput,
|
|
739
769
|
type TranscodeStep,
|
|
740
770
|
type TranscodeStepTemplate,
|
|
741
|
-
type TranscodeStepWritable,
|
|
742
771
|
type TranscriptionInput,
|
|
743
772
|
type TranscriptionOutput,
|
|
744
773
|
type TranscriptionStep,
|
|
745
774
|
type TranscriptionStepTemplate,
|
|
746
|
-
type TranscriptionStepWritable,
|
|
747
775
|
type TranscriptionTimeStamp,
|
|
748
776
|
type TryOnUInput,
|
|
749
777
|
type TryOnUOutput,
|
|
@@ -781,33 +809,27 @@ export {
|
|
|
781
809
|
type VideoEnhancementOutput,
|
|
782
810
|
type VideoEnhancementStep,
|
|
783
811
|
type VideoEnhancementStepTemplate,
|
|
784
|
-
type VideoEnhancementStepWritable,
|
|
785
812
|
type VideoFrameExtractionInput,
|
|
786
813
|
type VideoFrameExtractionOutput,
|
|
787
814
|
type VideoFrameExtractionStep,
|
|
788
815
|
type VideoFrameExtractionStepTemplate,
|
|
789
|
-
type VideoFrameExtractionStepWritable,
|
|
790
816
|
type VideoGenInput,
|
|
791
817
|
type VideoGenInputLora,
|
|
792
818
|
type VideoGenOutput,
|
|
793
819
|
type VideoGenStep,
|
|
794
820
|
type VideoGenStepTemplate,
|
|
795
|
-
type VideoGenStepWritable,
|
|
796
821
|
type VideoInterpolationInput,
|
|
797
822
|
type VideoInterpolationOutput,
|
|
798
823
|
type VideoInterpolationStep,
|
|
799
824
|
type VideoInterpolationStepTemplate,
|
|
800
|
-
type VideoInterpolationStepWritable,
|
|
801
825
|
type VideoMetadataInput,
|
|
802
826
|
type VideoMetadataOutput,
|
|
803
827
|
type VideoMetadataStep,
|
|
804
828
|
type VideoMetadataStepTemplate,
|
|
805
|
-
type VideoMetadataStepWritable,
|
|
806
829
|
type VideoUpscalerInput,
|
|
807
830
|
type VideoUpscalerOutput,
|
|
808
831
|
type VideoUpscalerStep,
|
|
809
832
|
type VideoUpscalerStepTemplate,
|
|
810
|
-
type VideoUpscalerStepWritable,
|
|
811
833
|
type ViduQ3VideoGenInput,
|
|
812
834
|
type ViduVideoGenInput,
|
|
813
835
|
ViduVideoGenModel,
|
|
@@ -858,7 +880,6 @@ export {
|
|
|
858
880
|
type WdTaggingOutput,
|
|
859
881
|
type WdTaggingStep,
|
|
860
882
|
type WdTaggingStepTemplate,
|
|
861
|
-
type WdTaggingStepWritable,
|
|
862
883
|
type WebpOutputFormat,
|
|
863
884
|
type Workflow,
|
|
864
885
|
type WorkflowCallback,
|
|
@@ -881,7 +902,6 @@ export {
|
|
|
881
902
|
type WorkflowStepTemplate,
|
|
882
903
|
type WorkflowStepTemplateWritable,
|
|
883
904
|
type WorkflowStepWritable,
|
|
884
|
-
type WorkflowStepWritable2,
|
|
885
905
|
type WorkflowTemplate,
|
|
886
906
|
type WorkflowTips,
|
|
887
907
|
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, 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, 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, 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, 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';
|
|
@@ -82,6 +82,18 @@ import type {
|
|
|
82
82
|
InvokeMediaRatingStepTemplateData,
|
|
83
83
|
InvokeMediaRatingStepTemplateErrors,
|
|
84
84
|
InvokeMediaRatingStepTemplateResponses,
|
|
85
|
+
InvokeModelClamScanStepTemplateData,
|
|
86
|
+
InvokeModelClamScanStepTemplateErrors,
|
|
87
|
+
InvokeModelClamScanStepTemplateResponses,
|
|
88
|
+
InvokeModelHashStepTemplateData,
|
|
89
|
+
InvokeModelHashStepTemplateErrors,
|
|
90
|
+
InvokeModelHashStepTemplateResponses,
|
|
91
|
+
InvokeModelParseMetadataStepTemplateData,
|
|
92
|
+
InvokeModelParseMetadataStepTemplateErrors,
|
|
93
|
+
InvokeModelParseMetadataStepTemplateResponses,
|
|
94
|
+
InvokeModelPickleScanStepTemplateData,
|
|
95
|
+
InvokeModelPickleScanStepTemplateErrors,
|
|
96
|
+
InvokeModelPickleScanStepTemplateResponses,
|
|
85
97
|
InvokePreprocessImageStepTemplateData,
|
|
86
98
|
InvokePreprocessImageStepTemplateErrors,
|
|
87
99
|
InvokePreprocessImageStepTemplateResponses,
|
|
@@ -436,6 +448,58 @@ export declare const invokeMediaRatingStepTemplate: <ThrowOnError extends boolea
|
|
|
436
448
|
ThrowOnError,
|
|
437
449
|
'fields'
|
|
438
450
|
>;
|
|
451
|
+
/**
|
|
452
|
+
* ModelClamScan
|
|
453
|
+
*
|
|
454
|
+
* Runs ClamAV malware scanning against a model file.
|
|
455
|
+
*/
|
|
456
|
+
export declare const invokeModelClamScanStepTemplate: <ThrowOnError extends boolean = false>(
|
|
457
|
+
options?: Options<InvokeModelClamScanStepTemplateData, ThrowOnError>
|
|
458
|
+
) => import('./client').RequestResult<
|
|
459
|
+
InvokeModelClamScanStepTemplateResponses,
|
|
460
|
+
InvokeModelClamScanStepTemplateErrors,
|
|
461
|
+
ThrowOnError,
|
|
462
|
+
'fields'
|
|
463
|
+
>;
|
|
464
|
+
/**
|
|
465
|
+
* ModelHash
|
|
466
|
+
*
|
|
467
|
+
* Computes Civitai content hashes (SHA256, AutoV1/2/3, Blake3, CRC32) of a model file.
|
|
468
|
+
*/
|
|
469
|
+
export declare const invokeModelHashStepTemplate: <ThrowOnError extends boolean = false>(
|
|
470
|
+
options?: Options<InvokeModelHashStepTemplateData, ThrowOnError>
|
|
471
|
+
) => import('./client').RequestResult<
|
|
472
|
+
InvokeModelHashStepTemplateResponses,
|
|
473
|
+
InvokeModelHashStepTemplateErrors,
|
|
474
|
+
ThrowOnError,
|
|
475
|
+
'fields'
|
|
476
|
+
>;
|
|
477
|
+
/**
|
|
478
|
+
* ModelParseMetadata
|
|
479
|
+
*
|
|
480
|
+
* Extracts the embedded JSON metadata header from a safetensors model file.
|
|
481
|
+
*/
|
|
482
|
+
export declare const invokeModelParseMetadataStepTemplate: <ThrowOnError extends boolean = false>(
|
|
483
|
+
options?: Options<InvokeModelParseMetadataStepTemplateData, ThrowOnError>
|
|
484
|
+
) => import('./client').RequestResult<
|
|
485
|
+
InvokeModelParseMetadataStepTemplateResponses,
|
|
486
|
+
InvokeModelParseMetadataStepTemplateErrors,
|
|
487
|
+
ThrowOnError,
|
|
488
|
+
'fields'
|
|
489
|
+
>;
|
|
490
|
+
/**
|
|
491
|
+
* ModelPickleScan
|
|
492
|
+
*
|
|
493
|
+
* Runs picklescan against a model file to detect dangerous pickle imports.
|
|
494
|
+
*/
|
|
495
|
+
export declare const invokeModelPickleScanStepTemplate: <ThrowOnError extends boolean = false>(
|
|
496
|
+
options?: Options<InvokeModelPickleScanStepTemplateData, ThrowOnError>
|
|
497
|
+
) => import('./client').RequestResult<
|
|
498
|
+
InvokeModelPickleScanStepTemplateResponses,
|
|
499
|
+
InvokeModelPickleScanStepTemplateErrors,
|
|
500
|
+
ThrowOnError,
|
|
501
|
+
'fields'
|
|
502
|
+
>;
|
|
439
503
|
export declare const invokePreprocessImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
440
504
|
options?: Options<InvokePreprocessImageStepTemplateData, ThrowOnError>
|
|
441
505
|
) => import('./client').RequestResult<
|
|
@@ -295,6 +295,70 @@ export const invokeMediaRatingStepTemplate = (options) => {
|
|
|
295
295
|
},
|
|
296
296
|
});
|
|
297
297
|
};
|
|
298
|
+
/**
|
|
299
|
+
* ModelClamScan
|
|
300
|
+
*
|
|
301
|
+
* Runs ClamAV malware scanning against a model file.
|
|
302
|
+
*/
|
|
303
|
+
export const invokeModelClamScanStepTemplate = (options) => {
|
|
304
|
+
var _a;
|
|
305
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
306
|
+
url: '/v2/consumer/recipes/modelClamScan',
|
|
307
|
+
...options,
|
|
308
|
+
headers: {
|
|
309
|
+
'Content-Type': 'application/json',
|
|
310
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
311
|
+
},
|
|
312
|
+
});
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* ModelHash
|
|
316
|
+
*
|
|
317
|
+
* Computes Civitai content hashes (SHA256, AutoV1/2/3, Blake3, CRC32) of a model file.
|
|
318
|
+
*/
|
|
319
|
+
export const invokeModelHashStepTemplate = (options) => {
|
|
320
|
+
var _a;
|
|
321
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
322
|
+
url: '/v2/consumer/recipes/modelHash',
|
|
323
|
+
...options,
|
|
324
|
+
headers: {
|
|
325
|
+
'Content-Type': 'application/json',
|
|
326
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
327
|
+
},
|
|
328
|
+
});
|
|
329
|
+
};
|
|
330
|
+
/**
|
|
331
|
+
* ModelParseMetadata
|
|
332
|
+
*
|
|
333
|
+
* Extracts the embedded JSON metadata header from a safetensors model file.
|
|
334
|
+
*/
|
|
335
|
+
export const invokeModelParseMetadataStepTemplate = (options) => {
|
|
336
|
+
var _a;
|
|
337
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
338
|
+
url: '/v2/consumer/recipes/modelParseMetadata',
|
|
339
|
+
...options,
|
|
340
|
+
headers: {
|
|
341
|
+
'Content-Type': 'application/json',
|
|
342
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
343
|
+
},
|
|
344
|
+
});
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* ModelPickleScan
|
|
348
|
+
*
|
|
349
|
+
* Runs picklescan against a model file to detect dangerous pickle imports.
|
|
350
|
+
*/
|
|
351
|
+
export const invokeModelPickleScanStepTemplate = (options) => {
|
|
352
|
+
var _a;
|
|
353
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
354
|
+
url: '/v2/consumer/recipes/modelPickleScan',
|
|
355
|
+
...options,
|
|
356
|
+
headers: {
|
|
357
|
+
'Content-Type': 'application/json',
|
|
358
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
359
|
+
},
|
|
360
|
+
});
|
|
361
|
+
};
|
|
298
362
|
export const invokePreprocessImageStepTemplate = (options) => {
|
|
299
363
|
var _a;
|
|
300
364
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|