@civitai/client 0.2.0-beta.51 → 0.2.0-beta.52
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.
|
@@ -27,6 +27,9 @@ export {
|
|
|
27
27
|
invokeMediaCaptioningStepTemplate,
|
|
28
28
|
invokeMediaHashStepTemplate,
|
|
29
29
|
invokeMediaRatingStepTemplate,
|
|
30
|
+
invokeModelClamScanStepTemplate,
|
|
31
|
+
invokeModelHashStepTemplate,
|
|
32
|
+
invokeModelPickleScanStepTemplate,
|
|
30
33
|
invokePreprocessImageStepTemplate,
|
|
31
34
|
invokePromptEnhancementStepTemplate,
|
|
32
35
|
invokeRepeatStepTemplate,
|
|
@@ -398,6 +401,21 @@ export {
|
|
|
398
401
|
type InvokeMediaRatingStepTemplateErrors,
|
|
399
402
|
type InvokeMediaRatingStepTemplateResponse,
|
|
400
403
|
type InvokeMediaRatingStepTemplateResponses,
|
|
404
|
+
type InvokeModelClamScanStepTemplateData,
|
|
405
|
+
type InvokeModelClamScanStepTemplateError,
|
|
406
|
+
type InvokeModelClamScanStepTemplateErrors,
|
|
407
|
+
type InvokeModelClamScanStepTemplateResponse,
|
|
408
|
+
type InvokeModelClamScanStepTemplateResponses,
|
|
409
|
+
type InvokeModelHashStepTemplateData,
|
|
410
|
+
type InvokeModelHashStepTemplateError,
|
|
411
|
+
type InvokeModelHashStepTemplateErrors,
|
|
412
|
+
type InvokeModelHashStepTemplateResponse,
|
|
413
|
+
type InvokeModelHashStepTemplateResponses,
|
|
414
|
+
type InvokeModelPickleScanStepTemplateData,
|
|
415
|
+
type InvokeModelPickleScanStepTemplateError,
|
|
416
|
+
type InvokeModelPickleScanStepTemplateErrors,
|
|
417
|
+
type InvokeModelPickleScanStepTemplateResponse,
|
|
418
|
+
type InvokeModelPickleScanStepTemplateResponses,
|
|
401
419
|
type InvokePreprocessImageStepTemplateData,
|
|
402
420
|
type InvokePreprocessImageStepTemplateError,
|
|
403
421
|
type InvokePreprocessImageStepTemplateErrors,
|
|
@@ -525,6 +543,21 @@ export {
|
|
|
525
543
|
type MiniMaxVideoGenInput,
|
|
526
544
|
MiniMaxVideoGenModel,
|
|
527
545
|
type MochiVideoGenInput,
|
|
546
|
+
type ModelClamScanInput,
|
|
547
|
+
type ModelClamScanOutput,
|
|
548
|
+
type ModelClamScanStep,
|
|
549
|
+
type ModelClamScanStepTemplate,
|
|
550
|
+
type ModelClamScanStepWritable,
|
|
551
|
+
type ModelHashInput,
|
|
552
|
+
type ModelHashOutput,
|
|
553
|
+
type ModelHashStep,
|
|
554
|
+
type ModelHashStepTemplate,
|
|
555
|
+
type ModelHashStepWritable,
|
|
556
|
+
type ModelPickleScanInput,
|
|
557
|
+
type ModelPickleScanOutput,
|
|
558
|
+
type ModelPickleScanStep,
|
|
559
|
+
type ModelPickleScanStepTemplate,
|
|
560
|
+
type ModelPickleScanStepWritable,
|
|
528
561
|
type MusubiImageResourceTrainingInput,
|
|
529
562
|
type MusubiImageResourceTrainingInputWritable,
|
|
530
563
|
type NanoBanana2ImageGenInput,
|
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';
|
|
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
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';
|
|
@@ -82,6 +82,15 @@ import type {
|
|
|
82
82
|
InvokeMediaRatingStepTemplateData,
|
|
83
83
|
InvokeMediaRatingStepTemplateErrors,
|
|
84
84
|
InvokeMediaRatingStepTemplateResponses,
|
|
85
|
+
InvokeModelClamScanStepTemplateData,
|
|
86
|
+
InvokeModelClamScanStepTemplateErrors,
|
|
87
|
+
InvokeModelClamScanStepTemplateResponses,
|
|
88
|
+
InvokeModelHashStepTemplateData,
|
|
89
|
+
InvokeModelHashStepTemplateErrors,
|
|
90
|
+
InvokeModelHashStepTemplateResponses,
|
|
91
|
+
InvokeModelPickleScanStepTemplateData,
|
|
92
|
+
InvokeModelPickleScanStepTemplateErrors,
|
|
93
|
+
InvokeModelPickleScanStepTemplateResponses,
|
|
85
94
|
InvokePreprocessImageStepTemplateData,
|
|
86
95
|
InvokePreprocessImageStepTemplateErrors,
|
|
87
96
|
InvokePreprocessImageStepTemplateResponses,
|
|
@@ -436,6 +445,45 @@ export declare const invokeMediaRatingStepTemplate: <ThrowOnError extends boolea
|
|
|
436
445
|
ThrowOnError,
|
|
437
446
|
'fields'
|
|
438
447
|
>;
|
|
448
|
+
/**
|
|
449
|
+
* ModelClamScan
|
|
450
|
+
*
|
|
451
|
+
* Runs ClamAV malware scanning against a model file.
|
|
452
|
+
*/
|
|
453
|
+
export declare const invokeModelClamScanStepTemplate: <ThrowOnError extends boolean = false>(
|
|
454
|
+
options?: Options<InvokeModelClamScanStepTemplateData, ThrowOnError>
|
|
455
|
+
) => import('./client').RequestResult<
|
|
456
|
+
InvokeModelClamScanStepTemplateResponses,
|
|
457
|
+
InvokeModelClamScanStepTemplateErrors,
|
|
458
|
+
ThrowOnError,
|
|
459
|
+
'fields'
|
|
460
|
+
>;
|
|
461
|
+
/**
|
|
462
|
+
* ModelHash
|
|
463
|
+
*
|
|
464
|
+
* Computes Civitai content hashes (SHA256, AutoV1/2/3, Blake3, CRC32) of a model file.
|
|
465
|
+
*/
|
|
466
|
+
export declare const invokeModelHashStepTemplate: <ThrowOnError extends boolean = false>(
|
|
467
|
+
options?: Options<InvokeModelHashStepTemplateData, ThrowOnError>
|
|
468
|
+
) => import('./client').RequestResult<
|
|
469
|
+
InvokeModelHashStepTemplateResponses,
|
|
470
|
+
InvokeModelHashStepTemplateErrors,
|
|
471
|
+
ThrowOnError,
|
|
472
|
+
'fields'
|
|
473
|
+
>;
|
|
474
|
+
/**
|
|
475
|
+
* ModelPickleScan
|
|
476
|
+
*
|
|
477
|
+
* Runs picklescan against a model file to detect dangerous pickle imports.
|
|
478
|
+
*/
|
|
479
|
+
export declare const invokeModelPickleScanStepTemplate: <ThrowOnError extends boolean = false>(
|
|
480
|
+
options?: Options<InvokeModelPickleScanStepTemplateData, ThrowOnError>
|
|
481
|
+
) => import('./client').RequestResult<
|
|
482
|
+
InvokeModelPickleScanStepTemplateResponses,
|
|
483
|
+
InvokeModelPickleScanStepTemplateErrors,
|
|
484
|
+
ThrowOnError,
|
|
485
|
+
'fields'
|
|
486
|
+
>;
|
|
439
487
|
export declare const invokePreprocessImageStepTemplate: <ThrowOnError extends boolean = false>(
|
|
440
488
|
options?: Options<InvokePreprocessImageStepTemplateData, ThrowOnError>
|
|
441
489
|
) => import('./client').RequestResult<
|
|
@@ -295,6 +295,54 @@ 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
|
+
* ModelPickleScan
|
|
332
|
+
*
|
|
333
|
+
* Runs picklescan against a model file to detect dangerous pickle imports.
|
|
334
|
+
*/
|
|
335
|
+
export const invokeModelPickleScanStepTemplate = (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/modelPickleScan',
|
|
339
|
+
...options,
|
|
340
|
+
headers: {
|
|
341
|
+
'Content-Type': 'application/json',
|
|
342
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
343
|
+
},
|
|
344
|
+
});
|
|
345
|
+
};
|
|
298
346
|
export const invokePreprocessImageStepTemplate = (options) => {
|
|
299
347
|
var _a;
|
|
300
348
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
@@ -2721,6 +2721,141 @@ export type MochiVideoGenInput = Omit<VideoGenInput, 'engine'> & {
|
|
|
2721
2721
|
enablePromptEnhancer?: boolean;
|
|
2722
2722
|
engine: 'mochi';
|
|
2723
2723
|
};
|
|
2724
|
+
/**
|
|
2725
|
+
* Represents the input information needed for the ModelClamScan workflow step.
|
|
2726
|
+
*/
|
|
2727
|
+
export type ModelClamScanInput = {
|
|
2728
|
+
/**
|
|
2729
|
+
* The AIR of the model file to scan.
|
|
2730
|
+
*/
|
|
2731
|
+
model: string;
|
|
2732
|
+
};
|
|
2733
|
+
/**
|
|
2734
|
+
* Represents the output information returned from the ModelClamScan workflow step.
|
|
2735
|
+
*/
|
|
2736
|
+
export type ModelClamScanOutput = {
|
|
2737
|
+
/**
|
|
2738
|
+
* The ClamAV scan exit code.
|
|
2739
|
+
*/
|
|
2740
|
+
exitCode?: null | number;
|
|
2741
|
+
/**
|
|
2742
|
+
* The raw ClamAV scan output.
|
|
2743
|
+
*/
|
|
2744
|
+
output?: null | string;
|
|
2745
|
+
};
|
|
2746
|
+
/**
|
|
2747
|
+
* ModelClamScan
|
|
2748
|
+
*/
|
|
2749
|
+
export type ModelClamScanStep = Omit<WorkflowStep, '$type'> & {
|
|
2750
|
+
input: ModelClamScanInput;
|
|
2751
|
+
output?: ModelClamScanOutput;
|
|
2752
|
+
$type: 'modelClamScan';
|
|
2753
|
+
};
|
|
2754
|
+
/**
|
|
2755
|
+
* ModelClamScan
|
|
2756
|
+
*/
|
|
2757
|
+
export type ModelClamScanStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
2758
|
+
input: ModelClamScanInput;
|
|
2759
|
+
$type: 'modelClamScan';
|
|
2760
|
+
};
|
|
2761
|
+
/**
|
|
2762
|
+
* Represents the input information needed for the ModelHash workflow step.
|
|
2763
|
+
*/
|
|
2764
|
+
export type ModelHashInput = {
|
|
2765
|
+
/**
|
|
2766
|
+
* The AIR of the model file to hash.
|
|
2767
|
+
*/
|
|
2768
|
+
model: string;
|
|
2769
|
+
};
|
|
2770
|
+
/**
|
|
2771
|
+
* Represents the output information returned from the ModelHash workflow step.
|
|
2772
|
+
*/
|
|
2773
|
+
export type ModelHashOutput = {
|
|
2774
|
+
/**
|
|
2775
|
+
* SHA256 hash of the full file.
|
|
2776
|
+
*/
|
|
2777
|
+
shA256?: null | string;
|
|
2778
|
+
/**
|
|
2779
|
+
* AutoV1 short hash (8 chars of SHA256 over a 64 KB block starting at 1 MB).
|
|
2780
|
+
*/
|
|
2781
|
+
autoV1?: null | string;
|
|
2782
|
+
/**
|
|
2783
|
+
* AutoV2 short hash (first 10 chars of SHA256).
|
|
2784
|
+
*/
|
|
2785
|
+
autoV2?: null | string;
|
|
2786
|
+
/**
|
|
2787
|
+
* AutoV3 hash (SHA256 of the file with safetensors header metadata stripped).
|
|
2788
|
+
*/
|
|
2789
|
+
autoV3?: null | string;
|
|
2790
|
+
/**
|
|
2791
|
+
* Blake3 hash of the full file.
|
|
2792
|
+
*/
|
|
2793
|
+
blake3?: null | string;
|
|
2794
|
+
/**
|
|
2795
|
+
* CRC32 of the full file.
|
|
2796
|
+
*/
|
|
2797
|
+
crC32?: null | string;
|
|
2798
|
+
};
|
|
2799
|
+
/**
|
|
2800
|
+
* ModelHash
|
|
2801
|
+
*/
|
|
2802
|
+
export type ModelHashStep = Omit<WorkflowStep, '$type'> & {
|
|
2803
|
+
input: ModelHashInput;
|
|
2804
|
+
output?: ModelHashOutput;
|
|
2805
|
+
$type: 'modelHash';
|
|
2806
|
+
};
|
|
2807
|
+
/**
|
|
2808
|
+
* ModelHash
|
|
2809
|
+
*/
|
|
2810
|
+
export type ModelHashStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
2811
|
+
input: ModelHashInput;
|
|
2812
|
+
$type: 'modelHash';
|
|
2813
|
+
};
|
|
2814
|
+
/**
|
|
2815
|
+
* Represents the input information needed for the ModelPickleScan workflow step.
|
|
2816
|
+
*/
|
|
2817
|
+
export type ModelPickleScanInput = {
|
|
2818
|
+
/**
|
|
2819
|
+
* The AIR of the model file to scan.
|
|
2820
|
+
*/
|
|
2821
|
+
model: string;
|
|
2822
|
+
};
|
|
2823
|
+
/**
|
|
2824
|
+
* Represents the output information returned from the ModelPickleScan workflow step.
|
|
2825
|
+
*/
|
|
2826
|
+
export type ModelPickleScanOutput = {
|
|
2827
|
+
/**
|
|
2828
|
+
* The picklescan exit code.
|
|
2829
|
+
*/
|
|
2830
|
+
exitCode?: null | number;
|
|
2831
|
+
/**
|
|
2832
|
+
* The raw picklescan output.
|
|
2833
|
+
*/
|
|
2834
|
+
output?: null | string;
|
|
2835
|
+
/**
|
|
2836
|
+
* Global imports discovered during pickle scanning.
|
|
2837
|
+
*/
|
|
2838
|
+
globalImports?: null | Array<string>;
|
|
2839
|
+
/**
|
|
2840
|
+
* Dangerous imports discovered during pickle scanning.
|
|
2841
|
+
*/
|
|
2842
|
+
dangerousImports?: null | Array<string>;
|
|
2843
|
+
};
|
|
2844
|
+
/**
|
|
2845
|
+
* ModelPickleScan
|
|
2846
|
+
*/
|
|
2847
|
+
export type ModelPickleScanStep = Omit<WorkflowStep, '$type'> & {
|
|
2848
|
+
input: ModelPickleScanInput;
|
|
2849
|
+
output?: ModelPickleScanOutput;
|
|
2850
|
+
$type: 'modelPickleScan';
|
|
2851
|
+
};
|
|
2852
|
+
/**
|
|
2853
|
+
* ModelPickleScan
|
|
2854
|
+
*/
|
|
2855
|
+
export type ModelPickleScanStepTemplate = Omit<WorkflowStepTemplate, '$type'> & {
|
|
2856
|
+
input: ModelPickleScanInput;
|
|
2857
|
+
$type: 'modelPickleScan';
|
|
2858
|
+
};
|
|
2724
2859
|
export type MusubiImageResourceTrainingInput = Omit<ImageResourceTrainingInput, 'engine'> & {
|
|
2725
2860
|
/**
|
|
2726
2861
|
* Number of training epochs. An epoch is one complete pass through the training dataset.
|
|
@@ -5613,6 +5748,14 @@ export type XGuardModerationInput = {
|
|
|
5613
5748
|
* defaults from the XGuardModerationOptionsGrain for the given mode.
|
|
5614
5749
|
*/
|
|
5615
5750
|
labelOverrides?: null | Array<XGuardLabelConfiguration>;
|
|
5751
|
+
/**
|
|
5752
|
+
* Debug opt-out. When true, the worker stores the full raw chat completion response
|
|
5753
|
+
* (including the complete logprobs.content array) in the destination blob instead of
|
|
5754
|
+
* the trimmed version. Intended for one-off debugging of classification decisions
|
|
5755
|
+
* where the full logprobs distribution or generated token stream needs inspection.
|
|
5756
|
+
* Leaves blobs at ~200KB instead of ~2-3KB — do not enable in normal traffic.
|
|
5757
|
+
*/
|
|
5758
|
+
storeFullResponse: boolean;
|
|
5616
5759
|
};
|
|
5617
5760
|
export type XGuardModerationOutput = {
|
|
5618
5761
|
results: Array<XGuardLabelResult>;
|
|
@@ -6037,6 +6180,30 @@ export type MediaRatingStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
|
|
|
6037
6180
|
output?: MediaRatingOutput;
|
|
6038
6181
|
$type: 'mediaRating';
|
|
6039
6182
|
};
|
|
6183
|
+
/**
|
|
6184
|
+
* ModelClamScan
|
|
6185
|
+
*/
|
|
6186
|
+
export type ModelClamScanStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
|
|
6187
|
+
input: ModelClamScanInput;
|
|
6188
|
+
output?: ModelClamScanOutput;
|
|
6189
|
+
$type: 'modelClamScan';
|
|
6190
|
+
};
|
|
6191
|
+
/**
|
|
6192
|
+
* ModelHash
|
|
6193
|
+
*/
|
|
6194
|
+
export type ModelHashStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
|
|
6195
|
+
input: ModelHashInput;
|
|
6196
|
+
output?: ModelHashOutput;
|
|
6197
|
+
$type: 'modelHash';
|
|
6198
|
+
};
|
|
6199
|
+
/**
|
|
6200
|
+
* ModelPickleScan
|
|
6201
|
+
*/
|
|
6202
|
+
export type ModelPickleScanStepWritable = Omit<WorkflowStepWritable2, '$type'> & {
|
|
6203
|
+
input: ModelPickleScanInput;
|
|
6204
|
+
output?: ModelPickleScanOutput;
|
|
6205
|
+
$type: 'modelPickleScan';
|
|
6206
|
+
};
|
|
6040
6207
|
export type MusubiImageResourceTrainingInputWritable = Omit<
|
|
6041
6208
|
ImageResourceTrainingInputWritable,
|
|
6042
6209
|
'engine'
|
|
@@ -7057,6 +7224,7 @@ export type InvokeAceStepAudioStepTemplateData = {
|
|
|
7057
7224
|
query?: {
|
|
7058
7225
|
experimental?: boolean;
|
|
7059
7226
|
allowMatureContent?: boolean;
|
|
7227
|
+
whatif?: boolean;
|
|
7060
7228
|
};
|
|
7061
7229
|
url: '/v2/consumer/recipes/aceStepAudio';
|
|
7062
7230
|
};
|
|
@@ -7086,6 +7254,7 @@ export type InvokeAgeClassificationStepTemplateData = {
|
|
|
7086
7254
|
query?: {
|
|
7087
7255
|
experimental?: boolean;
|
|
7088
7256
|
allowMatureContent?: boolean;
|
|
7257
|
+
whatif?: boolean;
|
|
7089
7258
|
};
|
|
7090
7259
|
url: '/v2/consumer/recipes/ageClassification';
|
|
7091
7260
|
};
|
|
@@ -7115,6 +7284,7 @@ export type InvokeBatchOcrSafetyClassificationStepTemplateData = {
|
|
|
7115
7284
|
query?: {
|
|
7116
7285
|
experimental?: boolean;
|
|
7117
7286
|
allowMatureContent?: boolean;
|
|
7287
|
+
whatif?: boolean;
|
|
7118
7288
|
};
|
|
7119
7289
|
url: '/v2/consumer/recipes/batchOCRSafetyClassification';
|
|
7120
7290
|
};
|
|
@@ -7144,6 +7314,7 @@ export type InvokeChatCompletionStepTemplateData = {
|
|
|
7144
7314
|
query?: {
|
|
7145
7315
|
experimental?: boolean;
|
|
7146
7316
|
allowMatureContent?: boolean;
|
|
7317
|
+
whatif?: boolean;
|
|
7147
7318
|
};
|
|
7148
7319
|
url: '/v2/consumer/recipes/chatCompletion';
|
|
7149
7320
|
};
|
|
@@ -7173,6 +7344,7 @@ export type InvokeComfyStepTemplateData = {
|
|
|
7173
7344
|
query?: {
|
|
7174
7345
|
experimental?: boolean;
|
|
7175
7346
|
allowMatureContent?: boolean;
|
|
7347
|
+
whatif?: boolean;
|
|
7176
7348
|
};
|
|
7177
7349
|
url: '/v2/consumer/recipes/comfy';
|
|
7178
7350
|
};
|
|
@@ -7202,6 +7374,7 @@ export type InvokeConvertImageStepTemplateData = {
|
|
|
7202
7374
|
query?: {
|
|
7203
7375
|
experimental?: boolean;
|
|
7204
7376
|
allowMatureContent?: boolean;
|
|
7377
|
+
whatif?: boolean;
|
|
7205
7378
|
};
|
|
7206
7379
|
url: '/v2/consumer/recipes/convertImage';
|
|
7207
7380
|
};
|
|
@@ -7231,6 +7404,7 @@ export type InvokeEchoStepTemplateData = {
|
|
|
7231
7404
|
query?: {
|
|
7232
7405
|
experimental?: boolean;
|
|
7233
7406
|
allowMatureContent?: boolean;
|
|
7407
|
+
whatif?: boolean;
|
|
7234
7408
|
};
|
|
7235
7409
|
url: '/v2/consumer/recipes/echo';
|
|
7236
7410
|
};
|
|
@@ -7260,6 +7434,7 @@ export type InvokeHumanoidImageMaskStepTemplateData = {
|
|
|
7260
7434
|
query?: {
|
|
7261
7435
|
experimental?: boolean;
|
|
7262
7436
|
allowMatureContent?: boolean;
|
|
7437
|
+
whatif?: boolean;
|
|
7263
7438
|
};
|
|
7264
7439
|
url: '/v2/consumer/recipes/humanoidImageMask';
|
|
7265
7440
|
};
|
|
@@ -7289,6 +7464,7 @@ export type InvokeImageGenStepTemplateData = {
|
|
|
7289
7464
|
query?: {
|
|
7290
7465
|
experimental?: boolean;
|
|
7291
7466
|
allowMatureContent?: boolean;
|
|
7467
|
+
whatif?: boolean;
|
|
7292
7468
|
};
|
|
7293
7469
|
url: '/v2/consumer/recipes/imageGen';
|
|
7294
7470
|
};
|
|
@@ -7318,6 +7494,7 @@ export type InvokeImageResourceTrainingStepTemplateData = {
|
|
|
7318
7494
|
query?: {
|
|
7319
7495
|
experimental?: boolean;
|
|
7320
7496
|
allowMatureContent?: boolean;
|
|
7497
|
+
whatif?: boolean;
|
|
7321
7498
|
};
|
|
7322
7499
|
url: '/v2/consumer/recipes/imageResourceTraining';
|
|
7323
7500
|
};
|
|
@@ -7347,6 +7524,7 @@ export type InvokeImageUploadStepTemplateData = {
|
|
|
7347
7524
|
query?: {
|
|
7348
7525
|
experimental?: boolean;
|
|
7349
7526
|
allowMatureContent?: boolean;
|
|
7527
|
+
whatif?: boolean;
|
|
7350
7528
|
};
|
|
7351
7529
|
url: '/v2/consumer/recipes/imageUpload';
|
|
7352
7530
|
};
|
|
@@ -7376,6 +7554,7 @@ export type InvokeImageUpscalerStepTemplateData = {
|
|
|
7376
7554
|
query?: {
|
|
7377
7555
|
experimental?: boolean;
|
|
7378
7556
|
allowMatureContent?: boolean;
|
|
7557
|
+
whatif?: boolean;
|
|
7379
7558
|
};
|
|
7380
7559
|
url: '/v2/consumer/recipes/imageUpscaler';
|
|
7381
7560
|
};
|
|
@@ -7405,6 +7584,7 @@ export type InvokeMediaCaptioningStepTemplateData = {
|
|
|
7405
7584
|
query?: {
|
|
7406
7585
|
experimental?: boolean;
|
|
7407
7586
|
allowMatureContent?: boolean;
|
|
7587
|
+
whatif?: boolean;
|
|
7408
7588
|
};
|
|
7409
7589
|
url: '/v2/consumer/recipes/mediaCaptioning';
|
|
7410
7590
|
};
|
|
@@ -7434,6 +7614,7 @@ export type InvokeMediaHashStepTemplateData = {
|
|
|
7434
7614
|
query?: {
|
|
7435
7615
|
experimental?: boolean;
|
|
7436
7616
|
allowMatureContent?: boolean;
|
|
7617
|
+
whatif?: boolean;
|
|
7437
7618
|
};
|
|
7438
7619
|
url: '/v2/consumer/recipes/mediaHash';
|
|
7439
7620
|
};
|
|
@@ -7463,6 +7644,7 @@ export type InvokeMediaRatingStepTemplateData = {
|
|
|
7463
7644
|
query?: {
|
|
7464
7645
|
experimental?: boolean;
|
|
7465
7646
|
allowMatureContent?: boolean;
|
|
7647
|
+
whatif?: boolean;
|
|
7466
7648
|
};
|
|
7467
7649
|
url: '/v2/consumer/recipes/mediaRating';
|
|
7468
7650
|
};
|
|
@@ -7486,12 +7668,103 @@ export type InvokeMediaRatingStepTemplateResponses = {
|
|
|
7486
7668
|
};
|
|
7487
7669
|
export type InvokeMediaRatingStepTemplateResponse =
|
|
7488
7670
|
InvokeMediaRatingStepTemplateResponses[keyof InvokeMediaRatingStepTemplateResponses];
|
|
7671
|
+
export type InvokeModelClamScanStepTemplateData = {
|
|
7672
|
+
body?: ModelClamScanInput;
|
|
7673
|
+
path?: never;
|
|
7674
|
+
query?: {
|
|
7675
|
+
experimental?: boolean;
|
|
7676
|
+
allowMatureContent?: boolean;
|
|
7677
|
+
whatif?: boolean;
|
|
7678
|
+
};
|
|
7679
|
+
url: '/v2/consumer/recipes/modelClamScan';
|
|
7680
|
+
};
|
|
7681
|
+
export type InvokeModelClamScanStepTemplateErrors = {
|
|
7682
|
+
/**
|
|
7683
|
+
* Bad Request
|
|
7684
|
+
*/
|
|
7685
|
+
400: ProblemDetails;
|
|
7686
|
+
/**
|
|
7687
|
+
* Unauthorized
|
|
7688
|
+
*/
|
|
7689
|
+
401: ProblemDetails;
|
|
7690
|
+
};
|
|
7691
|
+
export type InvokeModelClamScanStepTemplateError =
|
|
7692
|
+
InvokeModelClamScanStepTemplateErrors[keyof InvokeModelClamScanStepTemplateErrors];
|
|
7693
|
+
export type InvokeModelClamScanStepTemplateResponses = {
|
|
7694
|
+
/**
|
|
7695
|
+
* OK
|
|
7696
|
+
*/
|
|
7697
|
+
200: ModelClamScanOutput;
|
|
7698
|
+
};
|
|
7699
|
+
export type InvokeModelClamScanStepTemplateResponse =
|
|
7700
|
+
InvokeModelClamScanStepTemplateResponses[keyof InvokeModelClamScanStepTemplateResponses];
|
|
7701
|
+
export type InvokeModelHashStepTemplateData = {
|
|
7702
|
+
body?: ModelHashInput;
|
|
7703
|
+
path?: never;
|
|
7704
|
+
query?: {
|
|
7705
|
+
experimental?: boolean;
|
|
7706
|
+
allowMatureContent?: boolean;
|
|
7707
|
+
whatif?: boolean;
|
|
7708
|
+
};
|
|
7709
|
+
url: '/v2/consumer/recipes/modelHash';
|
|
7710
|
+
};
|
|
7711
|
+
export type InvokeModelHashStepTemplateErrors = {
|
|
7712
|
+
/**
|
|
7713
|
+
* Bad Request
|
|
7714
|
+
*/
|
|
7715
|
+
400: ProblemDetails;
|
|
7716
|
+
/**
|
|
7717
|
+
* Unauthorized
|
|
7718
|
+
*/
|
|
7719
|
+
401: ProblemDetails;
|
|
7720
|
+
};
|
|
7721
|
+
export type InvokeModelHashStepTemplateError =
|
|
7722
|
+
InvokeModelHashStepTemplateErrors[keyof InvokeModelHashStepTemplateErrors];
|
|
7723
|
+
export type InvokeModelHashStepTemplateResponses = {
|
|
7724
|
+
/**
|
|
7725
|
+
* OK
|
|
7726
|
+
*/
|
|
7727
|
+
200: ModelHashOutput;
|
|
7728
|
+
};
|
|
7729
|
+
export type InvokeModelHashStepTemplateResponse =
|
|
7730
|
+
InvokeModelHashStepTemplateResponses[keyof InvokeModelHashStepTemplateResponses];
|
|
7731
|
+
export type InvokeModelPickleScanStepTemplateData = {
|
|
7732
|
+
body?: ModelPickleScanInput;
|
|
7733
|
+
path?: never;
|
|
7734
|
+
query?: {
|
|
7735
|
+
experimental?: boolean;
|
|
7736
|
+
allowMatureContent?: boolean;
|
|
7737
|
+
whatif?: boolean;
|
|
7738
|
+
};
|
|
7739
|
+
url: '/v2/consumer/recipes/modelPickleScan';
|
|
7740
|
+
};
|
|
7741
|
+
export type InvokeModelPickleScanStepTemplateErrors = {
|
|
7742
|
+
/**
|
|
7743
|
+
* Bad Request
|
|
7744
|
+
*/
|
|
7745
|
+
400: ProblemDetails;
|
|
7746
|
+
/**
|
|
7747
|
+
* Unauthorized
|
|
7748
|
+
*/
|
|
7749
|
+
401: ProblemDetails;
|
|
7750
|
+
};
|
|
7751
|
+
export type InvokeModelPickleScanStepTemplateError =
|
|
7752
|
+
InvokeModelPickleScanStepTemplateErrors[keyof InvokeModelPickleScanStepTemplateErrors];
|
|
7753
|
+
export type InvokeModelPickleScanStepTemplateResponses = {
|
|
7754
|
+
/**
|
|
7755
|
+
* OK
|
|
7756
|
+
*/
|
|
7757
|
+
200: ModelPickleScanOutput;
|
|
7758
|
+
};
|
|
7759
|
+
export type InvokeModelPickleScanStepTemplateResponse =
|
|
7760
|
+
InvokeModelPickleScanStepTemplateResponses[keyof InvokeModelPickleScanStepTemplateResponses];
|
|
7489
7761
|
export type InvokePreprocessImageStepTemplateData = {
|
|
7490
7762
|
body?: PreprocessImageInputWritable;
|
|
7491
7763
|
path?: never;
|
|
7492
7764
|
query?: {
|
|
7493
7765
|
experimental?: boolean;
|
|
7494
7766
|
allowMatureContent?: boolean;
|
|
7767
|
+
whatif?: boolean;
|
|
7495
7768
|
};
|
|
7496
7769
|
url: '/v2/consumer/recipes/preprocessImage';
|
|
7497
7770
|
};
|
|
@@ -7521,6 +7794,7 @@ export type InvokePromptEnhancementStepTemplateData = {
|
|
|
7521
7794
|
query?: {
|
|
7522
7795
|
experimental?: boolean;
|
|
7523
7796
|
allowMatureContent?: boolean;
|
|
7797
|
+
whatif?: boolean;
|
|
7524
7798
|
};
|
|
7525
7799
|
url: '/v2/consumer/recipes/promptEnhancement';
|
|
7526
7800
|
};
|
|
@@ -7550,6 +7824,7 @@ export type InvokeRepeatStepTemplateData = {
|
|
|
7550
7824
|
query?: {
|
|
7551
7825
|
experimental?: boolean;
|
|
7552
7826
|
allowMatureContent?: boolean;
|
|
7827
|
+
whatif?: boolean;
|
|
7553
7828
|
};
|
|
7554
7829
|
url: '/v2/consumer/recipes/repeat';
|
|
7555
7830
|
};
|
|
@@ -7579,6 +7854,7 @@ export type InvokeTextToImageStepTemplateData = {
|
|
|
7579
7854
|
query?: {
|
|
7580
7855
|
experimental?: boolean;
|
|
7581
7856
|
allowMatureContent?: boolean;
|
|
7857
|
+
whatif?: boolean;
|
|
7582
7858
|
};
|
|
7583
7859
|
url: '/v2/consumer/recipes/textToImage';
|
|
7584
7860
|
};
|
|
@@ -7608,6 +7884,7 @@ export type InvokeTextToSpeechStepTemplateData = {
|
|
|
7608
7884
|
query?: {
|
|
7609
7885
|
experimental?: boolean;
|
|
7610
7886
|
allowMatureContent?: boolean;
|
|
7887
|
+
whatif?: boolean;
|
|
7611
7888
|
};
|
|
7612
7889
|
url: '/v2/consumer/recipes/textToSpeech';
|
|
7613
7890
|
};
|
|
@@ -7637,6 +7914,7 @@ export type InvokeTrainingStepTemplateData = {
|
|
|
7637
7914
|
query?: {
|
|
7638
7915
|
experimental?: boolean;
|
|
7639
7916
|
allowMatureContent?: boolean;
|
|
7917
|
+
whatif?: boolean;
|
|
7640
7918
|
};
|
|
7641
7919
|
url: '/v2/consumer/recipes/training';
|
|
7642
7920
|
};
|
|
@@ -7666,6 +7944,7 @@ export type InvokeTranscodeStepTemplateData = {
|
|
|
7666
7944
|
query?: {
|
|
7667
7945
|
experimental?: boolean;
|
|
7668
7946
|
allowMatureContent?: boolean;
|
|
7947
|
+
whatif?: boolean;
|
|
7669
7948
|
};
|
|
7670
7949
|
url: '/v2/consumer/recipes/transcode';
|
|
7671
7950
|
};
|
|
@@ -7695,6 +7974,7 @@ export type InvokeTranscriptionStepTemplateData = {
|
|
|
7695
7974
|
query?: {
|
|
7696
7975
|
experimental?: boolean;
|
|
7697
7976
|
allowMatureContent?: boolean;
|
|
7977
|
+
whatif?: boolean;
|
|
7698
7978
|
};
|
|
7699
7979
|
url: '/v2/consumer/recipes/transcription';
|
|
7700
7980
|
};
|
|
@@ -7724,6 +8004,7 @@ export type InvokeTryOnUStepTemplateData = {
|
|
|
7724
8004
|
query?: {
|
|
7725
8005
|
experimental?: boolean;
|
|
7726
8006
|
allowMatureContent?: boolean;
|
|
8007
|
+
whatif?: boolean;
|
|
7727
8008
|
};
|
|
7728
8009
|
url: '/v2/consumer/recipes/tryOnU';
|
|
7729
8010
|
};
|
|
@@ -7753,6 +8034,7 @@ export type InvokeVideoEnhancementStepTemplateData = {
|
|
|
7753
8034
|
query?: {
|
|
7754
8035
|
experimental?: boolean;
|
|
7755
8036
|
allowMatureContent?: boolean;
|
|
8037
|
+
whatif?: boolean;
|
|
7756
8038
|
};
|
|
7757
8039
|
url: '/v2/consumer/recipes/videoEnhancement';
|
|
7758
8040
|
};
|
|
@@ -7782,6 +8064,7 @@ export type InvokeVideoFrameExtractionStepTemplateData = {
|
|
|
7782
8064
|
query?: {
|
|
7783
8065
|
experimental?: boolean;
|
|
7784
8066
|
allowMatureContent?: boolean;
|
|
8067
|
+
whatif?: boolean;
|
|
7785
8068
|
};
|
|
7786
8069
|
url: '/v2/consumer/recipes/videoFrameExtraction';
|
|
7787
8070
|
};
|
|
@@ -7811,6 +8094,7 @@ export type InvokeVideoGenStepTemplateData = {
|
|
|
7811
8094
|
query?: {
|
|
7812
8095
|
experimental?: boolean;
|
|
7813
8096
|
allowMatureContent?: boolean;
|
|
8097
|
+
whatif?: boolean;
|
|
7814
8098
|
};
|
|
7815
8099
|
url: '/v2/consumer/recipes/videoGen';
|
|
7816
8100
|
};
|
|
@@ -7840,6 +8124,7 @@ export type InvokeVideoInterpolationStepTemplateData = {
|
|
|
7840
8124
|
query?: {
|
|
7841
8125
|
experimental?: boolean;
|
|
7842
8126
|
allowMatureContent?: boolean;
|
|
8127
|
+
whatif?: boolean;
|
|
7843
8128
|
};
|
|
7844
8129
|
url: '/v2/consumer/recipes/videoInterpolation';
|
|
7845
8130
|
};
|
|
@@ -7869,6 +8154,7 @@ export type InvokeVideoMetadataStepTemplateData = {
|
|
|
7869
8154
|
query?: {
|
|
7870
8155
|
experimental?: boolean;
|
|
7871
8156
|
allowMatureContent?: boolean;
|
|
8157
|
+
whatif?: boolean;
|
|
7872
8158
|
};
|
|
7873
8159
|
url: '/v2/consumer/recipes/videoMetadata';
|
|
7874
8160
|
};
|
|
@@ -7898,6 +8184,7 @@ export type InvokeVideoUpscalerStepTemplateData = {
|
|
|
7898
8184
|
query?: {
|
|
7899
8185
|
experimental?: boolean;
|
|
7900
8186
|
allowMatureContent?: boolean;
|
|
8187
|
+
whatif?: boolean;
|
|
7901
8188
|
};
|
|
7902
8189
|
url: '/v2/consumer/recipes/videoUpscaler';
|
|
7903
8190
|
};
|
|
@@ -7927,6 +8214,7 @@ export type InvokeWdTaggingStepTemplateData = {
|
|
|
7927
8214
|
query?: {
|
|
7928
8215
|
experimental?: boolean;
|
|
7929
8216
|
allowMatureContent?: boolean;
|
|
8217
|
+
whatif?: boolean;
|
|
7930
8218
|
};
|
|
7931
8219
|
url: '/v2/consumer/recipes/wdTagging';
|
|
7932
8220
|
};
|
|
@@ -7956,6 +8244,7 @@ export type InvokeXGuardModerationStepTemplateData = {
|
|
|
7956
8244
|
query?: {
|
|
7957
8245
|
experimental?: boolean;
|
|
7958
8246
|
allowMatureContent?: boolean;
|
|
8247
|
+
whatif?: boolean;
|
|
7959
8248
|
};
|
|
7960
8249
|
url: '/v2/consumer/recipes/xGuardModeration';
|
|
7961
8250
|
};
|