@civitai/orchestration-client 0.2.1 → 0.2.3
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 +36 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +15 -1
- package/dist/generated/sdk.gen.js +15 -1
- package/dist/generated/services.gen.d.ts +3414 -0
- package/dist/generated/services.gen.js +405 -0
- package/dist/generated/types.gen.d.ts +615 -81
- package/dist/generated/types.gen.js +5 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/services.d.ts +31 -0
- package/dist/utils/services.js +36 -0
- package/package.json +2 -2
|
@@ -52,6 +52,7 @@ export {
|
|
|
52
52
|
invokeMergeStepTemplate,
|
|
53
53
|
invokeMiniMaxMusic3StepTemplate,
|
|
54
54
|
invokeModel3dPreviewStepTemplate,
|
|
55
|
+
invokeModelAnalysisStepTemplate,
|
|
55
56
|
invokeModelClamScanStepTemplate,
|
|
56
57
|
invokeModelHashStepTemplate,
|
|
57
58
|
invokeModelParseMetadataStepTemplate,
|
|
@@ -247,6 +248,11 @@ export {
|
|
|
247
248
|
type ComfyErnieStandardImageGenInput,
|
|
248
249
|
type ComfyErnieTurboCreateImageGenInput,
|
|
249
250
|
type ComfyErnieTurboImageGenInput,
|
|
251
|
+
type ComfyFibo2DevCreateImageInput,
|
|
252
|
+
type ComfyFibo2DevImageGenInput,
|
|
253
|
+
type ComfyFibo2EditTurboEditImageInput,
|
|
254
|
+
type ComfyFibo2EditTurboImageGenInput,
|
|
255
|
+
type ComfyFibo2ImageGenInput,
|
|
250
256
|
type ComfyFlux1CreateImageGenInput,
|
|
251
257
|
type ComfyFlux1EditImageGenInput,
|
|
252
258
|
type ComfyFlux1ImageGenInput,
|
|
@@ -326,6 +332,9 @@ export {
|
|
|
326
332
|
type ComfyMingDesignImageGenInput,
|
|
327
333
|
type ComfyMingImageGenInput,
|
|
328
334
|
type ComfyMiniMaxH3ControlVideoInput,
|
|
335
|
+
type ComfyMiniMaxH3CreateImageInput,
|
|
336
|
+
type ComfyMiniMaxH3EditImageInput,
|
|
337
|
+
type ComfyMiniMaxH3ImageGenInput,
|
|
329
338
|
type ComfyMiniMaxH3ImageToVideoInput,
|
|
330
339
|
type ComfyMiniMaxH3ReferenceToVideoInput,
|
|
331
340
|
type ComfyMiniMaxH3VideoGenInput,
|
|
@@ -439,6 +448,8 @@ export {
|
|
|
439
448
|
type FadeOutTransformer,
|
|
440
449
|
type FalImageGenInput,
|
|
441
450
|
type FalPolyGenInput,
|
|
451
|
+
type Fibo2AiToolkitTrainingInput,
|
|
452
|
+
type Fibo2AiToolkitTrainingInputWritable,
|
|
442
453
|
FileFormat,
|
|
443
454
|
type Flux1AiToolkitTrainingInput,
|
|
444
455
|
type Flux1AiToolkitTrainingInputWritable,
|
|
@@ -637,6 +648,7 @@ export {
|
|
|
637
648
|
type Ideogram45FalImageGenInput,
|
|
638
649
|
type Ideogram4AiToolkitTrainingInput,
|
|
639
650
|
type Ideogram4AiToolkitTrainingInputWritable,
|
|
651
|
+
type IdolComfyPolyGenInput,
|
|
640
652
|
ImageBackgroundRemovalFormat,
|
|
641
653
|
type ImageBackgroundRemovalInput,
|
|
642
654
|
type ImageBackgroundRemovalOutput,
|
|
@@ -668,6 +680,8 @@ export {
|
|
|
668
680
|
type ImageScanningLabelScore,
|
|
669
681
|
type ImageScanningOutput,
|
|
670
682
|
type ImageScanningPersonMask,
|
|
683
|
+
type ImageScanningRatingAxis,
|
|
684
|
+
type ImageScanningRatingV2,
|
|
671
685
|
type ImageScanningRecognition,
|
|
672
686
|
type ImageScanningStep,
|
|
673
687
|
type ImageScanningStepTemplate,
|
|
@@ -856,6 +870,11 @@ export {
|
|
|
856
870
|
type InvokeModel3dPreviewStepTemplateErrors,
|
|
857
871
|
type InvokeModel3dPreviewStepTemplateResponse,
|
|
858
872
|
type InvokeModel3dPreviewStepTemplateResponses,
|
|
873
|
+
type InvokeModelAnalysisStepTemplateData,
|
|
874
|
+
type InvokeModelAnalysisStepTemplateError,
|
|
875
|
+
type InvokeModelAnalysisStepTemplateErrors,
|
|
876
|
+
type InvokeModelAnalysisStepTemplateResponse,
|
|
877
|
+
type InvokeModelAnalysisStepTemplateResponses,
|
|
859
878
|
type InvokeModelClamScanStepTemplateData,
|
|
860
879
|
type InvokeModelClamScanStepTemplateError,
|
|
861
880
|
type InvokeModelClamScanStepTemplateErrors,
|
|
@@ -1041,8 +1060,8 @@ export {
|
|
|
1041
1060
|
KlingVideoGenAspectRatio,
|
|
1042
1061
|
KlingVideoGenDuration,
|
|
1043
1062
|
type KlingVideoGenInput,
|
|
1044
|
-
type
|
|
1045
|
-
type
|
|
1063
|
+
type KohyaTrainingInput,
|
|
1064
|
+
type KohyaTrainingInputWritable,
|
|
1046
1065
|
type Krea2AiToolkitTrainingInput,
|
|
1047
1066
|
type Krea2AiToolkitTrainingInputWritable,
|
|
1048
1067
|
type Krea2CreateFalImageGenInput,
|
|
@@ -1072,6 +1091,7 @@ export {
|
|
|
1072
1091
|
type LiveTranscriptionStepTemplate,
|
|
1073
1092
|
type LiveVllmOmniTextToSpeechInput,
|
|
1074
1093
|
type LoadingResourceAvailability,
|
|
1094
|
+
type LoraEvidence,
|
|
1075
1095
|
type Ltx23AiToolkitTrainingInput,
|
|
1076
1096
|
type Ltx23AiToolkitTrainingInputWritable,
|
|
1077
1097
|
type Ltx25AiToolkitTrainingInput,
|
|
@@ -1107,6 +1127,7 @@ export {
|
|
|
1107
1127
|
MergeMissingBehavior,
|
|
1108
1128
|
type MergeOutput,
|
|
1109
1129
|
MergeReducer,
|
|
1130
|
+
type MergeReport,
|
|
1110
1131
|
type MergeStep,
|
|
1111
1132
|
type MergeStepTemplate,
|
|
1112
1133
|
type MeshyFalPolyGenInput,
|
|
@@ -1126,6 +1147,8 @@ export {
|
|
|
1126
1147
|
type MingAiToolkitTrainingInputWritable,
|
|
1127
1148
|
type MiniMaxH3AiToolkitTrainingInput,
|
|
1128
1149
|
type MiniMaxH3AiToolkitTrainingInputWritable,
|
|
1150
|
+
type MiniMaxH3ImageAiToolkitTrainingInput,
|
|
1151
|
+
type MiniMaxH3ImageAiToolkitTrainingInputWritable,
|
|
1129
1152
|
type MiniMaxH3MaxImageToVideoInput,
|
|
1130
1153
|
type MiniMaxH3MaxReferenceToVideoInput,
|
|
1131
1154
|
type MiniMaxH3MaxTextToVideoInput,
|
|
@@ -1146,6 +1169,11 @@ export {
|
|
|
1146
1169
|
type Model3dPreviewOutput,
|
|
1147
1170
|
type Model3dPreviewStep,
|
|
1148
1171
|
type Model3dPreviewStepTemplate,
|
|
1172
|
+
type ModelAnalysisInput,
|
|
1173
|
+
type ModelAnalysisLora,
|
|
1174
|
+
type ModelAnalysisOutput,
|
|
1175
|
+
type ModelAnalysisStep,
|
|
1176
|
+
type ModelAnalysisStepTemplate,
|
|
1149
1177
|
type ModelClamScanInput,
|
|
1150
1178
|
type ModelClamScanOutput,
|
|
1151
1179
|
ModelClamScanStatus,
|
|
@@ -1203,6 +1231,12 @@ export {
|
|
|
1203
1231
|
type OpenAiGpt25SunburstCreateImageInput,
|
|
1204
1232
|
type OpenAiGpt25SunburstEditImageInput,
|
|
1205
1233
|
type OpenAiGpt25SunburstImageGenInput,
|
|
1234
|
+
type OpenAiGpt26FlareCreateImageInput,
|
|
1235
|
+
type OpenAiGpt26FlareEditImageInput,
|
|
1236
|
+
type OpenAiGpt26FlareImageGenInput,
|
|
1237
|
+
type OpenAiGpt26SunburstCreateImageInput,
|
|
1238
|
+
type OpenAiGpt26SunburstEditImageInput,
|
|
1239
|
+
type OpenAiGpt26SunburstImageGenInput,
|
|
1206
1240
|
type OpenAiGpt2CreateImageInput,
|
|
1207
1241
|
type OpenAiGpt2EditImageInput,
|
|
1208
1242
|
type OpenAiGpt2ImageGenInput,
|
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, appendStreamingBlob, createFund, deleteFund, deleteWorkflow, depositIntoFund, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getFreeTier, getFund, getResource, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateUserCache, invalidateUserTokens, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeArchiveExtractionStepTemplate, invokeAudioCaptioningStepTemplate, invokeAudioClassificationStepTemplate, invokeAudioModerationStepTemplate, invokeAudioTextModerationStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyNodepackSnapshotStepTemplate, invokeComfyStepTemplate, invokeComposeMediaStepTemplate, invokeConvertImageStepTemplate, invokeCustomComfyStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageBackgroundRemovalStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageScanningStepTemplate, invokeImageToSvgStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeLiveTextToSpeechStepTemplate, invokeLiveTranscriptionStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeMergeStepTemplate, invokeMiniMaxMusic3StepTemplate, invokeModel3dPreviewStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokeMultimodalEmbeddingStepTemplate, invokePolyGenStepTemplate, invokePrepareResourceStepTemplate, invokePreprocessImageStepTemplate, invokePreprocessVideoStepTemplate, invokePromptEnhancementStepTemplate, invokePromptModerationStepTemplate, invokeQwenImageBenchStepTemplate, invokeRepeatStepTemplate, invokeShieldstralModerationStepTemplate, invokeSoniloAudioGenStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoBackgroundRemovalStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeWebScrapeStepTemplate, invokeWebSearchStepTemplate, invokeXGuardModerationStepTemplate, invokeYuE2StepTemplate, listServices, patchWorkflow, patchWorkflowStep, queryResources, queryWorkflows, refreshBlob, refundFund, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateFund, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen.js';
|
|
2
|
+
export { addWorkflowTag, appendStreamingBlob, createFund, deleteFund, deleteWorkflow, depositIntoFund, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getFreeTier, getFund, getResource, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, invalidateUserCache, invalidateUserTokens, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeArchiveExtractionStepTemplate, invokeAudioCaptioningStepTemplate, invokeAudioClassificationStepTemplate, invokeAudioModerationStepTemplate, invokeAudioTextModerationStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyNodepackSnapshotStepTemplate, invokeComfyStepTemplate, invokeComposeMediaStepTemplate, invokeConvertImageStepTemplate, invokeCustomComfyStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageBackgroundRemovalStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageScanningStepTemplate, invokeImageToSvgStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeLiveTextToSpeechStepTemplate, invokeLiveTranscriptionStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeMergeStepTemplate, invokeMiniMaxMusic3StepTemplate, invokeModel3dPreviewStepTemplate, invokeModelAnalysisStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokeMultimodalEmbeddingStepTemplate, invokePolyGenStepTemplate, invokePrepareResourceStepTemplate, invokePreprocessImageStepTemplate, invokePreprocessVideoStepTemplate, invokePromptEnhancementStepTemplate, invokePromptModerationStepTemplate, invokeQwenImageBenchStepTemplate, invokeRepeatStepTemplate, invokeShieldstralModerationStepTemplate, invokeSoniloAudioGenStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoBackgroundRemovalStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWdTaggingStepTemplate, invokeWebScrapeStepTemplate, invokeWebSearchStepTemplate, invokeXGuardModerationStepTemplate, invokeYuE2StepTemplate, listServices, patchWorkflow, patchWorkflowStep, queryResources, queryWorkflows, refreshBlob, refundFund, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateFund, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen.js';
|
|
3
3
|
export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, ArchiveEntryMediaType, ArchiveEntryRejectionReason, ArchiveFormat, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, EmbeddingPrecision, 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, MergeMissingBehavior, MergeReducer, Metric3dBackbone, MiniMaxH3Model, 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, WorkflowTier, WorkflowUpgradeMode, WorkflowWaitUntil, XGuardPromptScope, ZoeDepthEnvironment, } from './types.gen.js';
|
|
@@ -157,6 +157,9 @@ import type {
|
|
|
157
157
|
InvokeModel3dPreviewStepTemplateData,
|
|
158
158
|
InvokeModel3dPreviewStepTemplateErrors,
|
|
159
159
|
InvokeModel3dPreviewStepTemplateResponses,
|
|
160
|
+
InvokeModelAnalysisStepTemplateData,
|
|
161
|
+
InvokeModelAnalysisStepTemplateErrors,
|
|
162
|
+
InvokeModelAnalysisStepTemplateResponses,
|
|
160
163
|
InvokeModelClamScanStepTemplateData,
|
|
161
164
|
InvokeModelClamScanStepTemplateErrors,
|
|
162
165
|
InvokeModelClamScanStepTemplateResponses,
|
|
@@ -881,6 +884,17 @@ export declare const invokeModel3dPreviewStepTemplate: <ThrowOnError extends boo
|
|
|
881
884
|
ThrowOnError,
|
|
882
885
|
'fields'
|
|
883
886
|
>;
|
|
887
|
+
/**
|
|
888
|
+
* Check a checkpoint for evidence of specified merged LoRAs.
|
|
889
|
+
*/
|
|
890
|
+
export declare const invokeModelAnalysisStepTemplate: <ThrowOnError extends boolean = false>(
|
|
891
|
+
options?: Options<InvokeModelAnalysisStepTemplateData, ThrowOnError>
|
|
892
|
+
) => import('./client/types.gen.js').RequestResult<
|
|
893
|
+
InvokeModelAnalysisStepTemplateResponses,
|
|
894
|
+
InvokeModelAnalysisStepTemplateErrors,
|
|
895
|
+
ThrowOnError,
|
|
896
|
+
'fields'
|
|
897
|
+
>;
|
|
884
898
|
/**
|
|
885
899
|
* ModelClamScan
|
|
886
900
|
*
|
|
@@ -1210,7 +1224,7 @@ export declare const invokeVideoMetadataStepTemplate: <ThrowOnError extends bool
|
|
|
1210
1224
|
'fields'
|
|
1211
1225
|
>;
|
|
1212
1226
|
/**
|
|
1213
|
-
* Upscale videos using FlashVSR
|
|
1227
|
+
* Upscale videos using FlashVSR or RelayVSR.
|
|
1214
1228
|
*/
|
|
1215
1229
|
export declare const invokeVideoUpscalerStepTemplate: <ThrowOnError extends boolean = false>(
|
|
1216
1230
|
options?: Options<InvokeVideoUpscalerStepTemplateData, ThrowOnError>
|
|
@@ -642,6 +642,20 @@ export const invokeModel3dPreviewStepTemplate = (options) => {
|
|
|
642
642
|
},
|
|
643
643
|
});
|
|
644
644
|
};
|
|
645
|
+
/**
|
|
646
|
+
* Check a checkpoint for evidence of specified merged LoRAs.
|
|
647
|
+
*/
|
|
648
|
+
export const invokeModelAnalysisStepTemplate = (options) => {
|
|
649
|
+
var _a;
|
|
650
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
651
|
+
url: '/v2/consumer/recipes/modelAnalysis',
|
|
652
|
+
...options,
|
|
653
|
+
headers: {
|
|
654
|
+
'Content-Type': 'application/json',
|
|
655
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
656
|
+
},
|
|
657
|
+
});
|
|
658
|
+
};
|
|
645
659
|
/**
|
|
646
660
|
* ModelClamScan
|
|
647
661
|
*
|
|
@@ -1048,7 +1062,7 @@ export const invokeVideoMetadataStepTemplate = (options) => {
|
|
|
1048
1062
|
});
|
|
1049
1063
|
};
|
|
1050
1064
|
/**
|
|
1051
|
-
* Upscale videos using FlashVSR
|
|
1065
|
+
* Upscale videos using FlashVSR or RelayVSR.
|
|
1052
1066
|
*/
|
|
1053
1067
|
export const invokeVideoUpscalerStepTemplate = (options) => {
|
|
1054
1068
|
var _a;
|