@civitai/orchestration-client 0.2.9 → 0.3.0
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 +649 -27
- package/dist/generated/index.js +2 -2
- package/dist/generated/sdk.gen.d.ts +68 -11
- package/dist/generated/sdk.gen.js +67 -10
- package/dist/generated/services.gen.d.ts +7 -3398
- package/dist/generated/services.gen.js +4 -356
- package/dist/generated/types.gen.d.ts +39024 -11749
- package/dist/generated/types.gen.js +14 -1
- package/package.json +1 -1
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, invokeGitHubRunnerStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageBackgroundRemovalStepTemplate, invokeImageFaceFixStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageScanningStepTemplate, invokeImageToSvgStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeLiveTextToSpeechStepTemplate, invokeLiveTranscriptionStepTemplate, invokeLyricsAlignmentStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeMergeStepTemplate, invokeMiniMaxMusic3StepTemplate, invokeModel3dPreviewStepTemplate, invokeModelAnalysisStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokeMultimodalEmbeddingStepTemplate, invokeOcrStepTemplate, invokePolyGenStepTemplate, invokePrepareResourceStepTemplate, invokePreprocessImageStepTemplate, invokePreprocessVideoStepTemplate, invokePromptEnhancementStepTemplate, invokePromptModerationStepTemplate, invokeQwenImageBenchStepTemplate, invokeRepeatStepTemplate, invokeShieldstralModerationStepTemplate, invokeSoniloAudioGenStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoBackgroundRemovalStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWasmStepTemplate, invokeWdTaggingStepTemplate, invokeWebScrapeStepTemplate, invokeWebSearchStepTemplate, invokeXGuardModerationStepTemplate, invokeYuE2StepTemplate, listServices, patchWorkflow, patchWorkflowStep, queryResources, queryWorkflows, refreshBlob, refundFund, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateFund, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen.js';
|
|
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, ImageBackgroundRemovalModel, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, LyricsAlignmentStatus, MediaContainer, MediaFit, MediaHashType, MediaOutputType, MergeMissingBehavior, MergeReducer, Metric3dBackbone, MiniMaxH3Model,
|
|
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, invokeAudioPeaksStepTemplate, invokeAudioTextModerationStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyNodepackSnapshotStepTemplate, invokeComfyStepTemplate, invokeComposeMediaStepTemplate, invokeConvertImageStepTemplate, invokeCustomComfyStepTemplate, invokeEchoStepTemplate, invokeGitHubRunnerStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageBackgroundRemovalStepTemplate, invokeImageFaceFixStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageScanningStepTemplate, invokeImageToSvgStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeLiveTextToSpeechStepTemplate, invokeLiveTranscriptionStepTemplate, invokeLyricsAlignmentStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeMergeStepTemplate, invokeMiniMaxMusic3StepTemplate, invokeModel3dPreviewStepTemplate, invokeModelAnalysisStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokeMultimodalEmbeddingStepTemplate, invokeOcrStepTemplate, invokePolyGenStepTemplate, invokePrepareResourceStepTemplate, invokePreprocessImageStepTemplate, invokePreprocessVideoStepTemplate, invokePromptEnhancementStepTemplate, invokePromptModerationStepTemplate, invokeQwenImageBenchStepTemplate, invokeRepeatStepTemplate, invokeSeedAudioGenStepTemplate, invokeShieldstralModerationStepTemplate, invokeSoniloAudioGenStepTemplate, invokeStickerTrackStepTemplate, invokeTextToImageStepTemplate, invokeTextToSpeechStepTemplate, invokeTrainingStepTemplate, invokeTranscodeStepTemplate, invokeTranscriptionStepTemplate, invokeTryOnUStepTemplate, invokeVideoBackgroundRemovalStepTemplate, invokeVideoEnhancementStepTemplate, invokeVideoFrameExtractionStepTemplate, invokeVideoGenStepTemplate, invokeVideoInterpolationStepTemplate, invokeVideoMetadataStepTemplate, invokeVideoUpscalerStepTemplate, invokeWasmStepTemplate, invokeWatermarkDetectionStepTemplate, invokeWdTaggingStepTemplate, invokeWebScrapeStepTemplate, invokeWebSearchStepTemplate, invokeXGuardModerationStepTemplate, invokeYuE2StepTemplate, listServices, patchWorkflow, patchWorkflowStep, queryResources, queryWorkflows, refreshBlob, refundFund, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateFund, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen.js';
|
|
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, Hunyuan3dView, ImageBackgroundRemovalFormat, ImageBackgroundRemovalModel, ImageGenOutputFormat, ImageResouceTrainingModerationStatus, ImageTransformer, JobSupport, KlingMode, KlingModel, KlingV3Operation, KlingVideoGenAspectRatio, KlingVideoGenDuration, LeresBoost, LightricksAspectRatio, LyricsAlignmentStatus, MediaContainer, MediaFit, MediaHashType, MediaOutputType, MergeMissingBehavior, MergeReducer, Metric3dBackbone, MiniMaxH3Model, ModelClamScanStatus, ModelPickleScanStatus, NsfwLevel, OutputFormat, Priority, ResourceFeeType, ResourceView, SafeMode, Scheduler, SdCppSampleMethod, SdCppSchedule, SdCppUCacheMode, SeedanceModel, SeedreamVersion, ServiceHosting, ServiceStatus, SettlementCurrency, ShadowRemoval, TraceMode, TrainingModerationStatus, TrainingTraceMode, TransactionType, UpdateWorkflowStatus, Veo3AspectRatio, Veo3GenerationMode, Veo3Version, ViduVideoGenModel, ViduVideoGenStyle, WorkflowStatus, WorkflowStepWarningCode, WorkflowTier, WorkflowUpgradeMode, WorkflowWaitUntil, XGuardPromptScope, ZoeDepthEnvironment, } from './types.gen.js';
|
|
@@ -79,6 +79,9 @@ import type {
|
|
|
79
79
|
InvokeAudioModerationStepTemplateData,
|
|
80
80
|
InvokeAudioModerationStepTemplateErrors,
|
|
81
81
|
InvokeAudioModerationStepTemplateResponses,
|
|
82
|
+
InvokeAudioPeaksStepTemplateData,
|
|
83
|
+
InvokeAudioPeaksStepTemplateErrors,
|
|
84
|
+
InvokeAudioPeaksStepTemplateResponses,
|
|
82
85
|
InvokeAudioTextModerationStepTemplateData,
|
|
83
86
|
InvokeAudioTextModerationStepTemplateErrors,
|
|
84
87
|
InvokeAudioTextModerationStepTemplateResponses,
|
|
@@ -211,12 +214,18 @@ import type {
|
|
|
211
214
|
InvokeRepeatStepTemplateData,
|
|
212
215
|
InvokeRepeatStepTemplateErrors,
|
|
213
216
|
InvokeRepeatStepTemplateResponses,
|
|
217
|
+
InvokeSeedAudioGenStepTemplateData,
|
|
218
|
+
InvokeSeedAudioGenStepTemplateErrors,
|
|
219
|
+
InvokeSeedAudioGenStepTemplateResponses,
|
|
214
220
|
InvokeShieldstralModerationStepTemplateData,
|
|
215
221
|
InvokeShieldstralModerationStepTemplateErrors,
|
|
216
222
|
InvokeShieldstralModerationStepTemplateResponses,
|
|
217
223
|
InvokeSoniloAudioGenStepTemplateData,
|
|
218
224
|
InvokeSoniloAudioGenStepTemplateErrors,
|
|
219
225
|
InvokeSoniloAudioGenStepTemplateResponses,
|
|
226
|
+
InvokeStickerTrackStepTemplateData,
|
|
227
|
+
InvokeStickerTrackStepTemplateErrors,
|
|
228
|
+
InvokeStickerTrackStepTemplateResponses,
|
|
220
229
|
InvokeTextToImageStepTemplateData,
|
|
221
230
|
InvokeTextToImageStepTemplateErrors,
|
|
222
231
|
InvokeTextToImageStepTemplateResponses,
|
|
@@ -259,6 +268,9 @@ import type {
|
|
|
259
268
|
InvokeWasmStepTemplateData,
|
|
260
269
|
InvokeWasmStepTemplateErrors,
|
|
261
270
|
InvokeWasmStepTemplateResponses,
|
|
271
|
+
InvokeWatermarkDetectionStepTemplateData,
|
|
272
|
+
InvokeWatermarkDetectionStepTemplateErrors,
|
|
273
|
+
InvokeWatermarkDetectionStepTemplateResponses,
|
|
262
274
|
InvokeWdTaggingStepTemplateData,
|
|
263
275
|
InvokeWdTaggingStepTemplateErrors,
|
|
264
276
|
InvokeWdTaggingStepTemplateResponses,
|
|
@@ -334,7 +346,8 @@ export type Options<
|
|
|
334
346
|
meta?: Record<string, unknown>;
|
|
335
347
|
};
|
|
336
348
|
/**
|
|
337
|
-
* Get blob by ID.
|
|
349
|
+
* Get blob by ID. An image, video or audio blob read inline redirects to a cacheable content URL; anything else,
|
|
350
|
+
* and any download, redirects to a short-lived storage URL.
|
|
338
351
|
*/
|
|
339
352
|
export declare const getBlob: <ThrowOnError extends boolean = false>(
|
|
340
353
|
options: Options<GetBlobData, ThrowOnError>
|
|
@@ -589,6 +602,17 @@ export declare const invokeAudioTextModerationStepTemplate: <ThrowOnError extend
|
|
|
589
602
|
ThrowOnError,
|
|
590
603
|
'fields'
|
|
591
604
|
>;
|
|
605
|
+
/**
|
|
606
|
+
* Measures a song's waveform, so a player can draw it without downloading and decoding the audio.
|
|
607
|
+
*/
|
|
608
|
+
export declare const invokeAudioPeaksStepTemplate: <ThrowOnError extends boolean = false>(
|
|
609
|
+
options?: Options<InvokeAudioPeaksStepTemplateData, ThrowOnError>
|
|
610
|
+
) => import('./client/types.gen.js').RequestResult<
|
|
611
|
+
InvokeAudioPeaksStepTemplateResponses,
|
|
612
|
+
InvokeAudioPeaksStepTemplateErrors,
|
|
613
|
+
ThrowOnError,
|
|
614
|
+
'fields'
|
|
615
|
+
>;
|
|
592
616
|
export declare const invokeBatchOcrSafetyClassificationStepTemplate: <
|
|
593
617
|
ThrowOnError extends boolean = false,
|
|
594
618
|
>(
|
|
@@ -625,6 +649,16 @@ export declare const invokeChatCompletionStepTemplate: <ThrowOnError extends boo
|
|
|
625
649
|
ThrowOnError,
|
|
626
650
|
'fields'
|
|
627
651
|
>;
|
|
652
|
+
export declare const invokeComfyNodepackSnapshotStepTemplate: <
|
|
653
|
+
ThrowOnError extends boolean = false,
|
|
654
|
+
>(
|
|
655
|
+
options?: Options<InvokeComfyNodepackSnapshotStepTemplateData, ThrowOnError>
|
|
656
|
+
) => import('./client/types.gen.js').RequestResult<
|
|
657
|
+
InvokeComfyNodepackSnapshotStepTemplateResponses,
|
|
658
|
+
InvokeComfyNodepackSnapshotStepTemplateErrors,
|
|
659
|
+
ThrowOnError,
|
|
660
|
+
'fields'
|
|
661
|
+
>;
|
|
628
662
|
/**
|
|
629
663
|
* Comfy workflows
|
|
630
664
|
*
|
|
@@ -638,16 +672,6 @@ export declare const invokeComfyStepTemplate: <ThrowOnError extends boolean = fa
|
|
|
638
672
|
ThrowOnError,
|
|
639
673
|
'fields'
|
|
640
674
|
>;
|
|
641
|
-
export declare const invokeComfyNodepackSnapshotStepTemplate: <
|
|
642
|
-
ThrowOnError extends boolean = false,
|
|
643
|
-
>(
|
|
644
|
-
options?: Options<InvokeComfyNodepackSnapshotStepTemplateData, ThrowOnError>
|
|
645
|
-
) => import('./client/types.gen.js').RequestResult<
|
|
646
|
-
InvokeComfyNodepackSnapshotStepTemplateResponses,
|
|
647
|
-
InvokeComfyNodepackSnapshotStepTemplateErrors,
|
|
648
|
-
ThrowOnError,
|
|
649
|
-
'fields'
|
|
650
|
-
>;
|
|
651
675
|
/**
|
|
652
676
|
* Compose Media
|
|
653
677
|
*
|
|
@@ -1114,6 +1138,17 @@ export declare const invokeRepeatStepTemplate: <ThrowOnError extends boolean = f
|
|
|
1114
1138
|
ThrowOnError,
|
|
1115
1139
|
'fields'
|
|
1116
1140
|
>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Generate speech, music and ambience, dub a video into another language, or separate audio into tracks with BytePlus Seed Audio.
|
|
1143
|
+
*/
|
|
1144
|
+
export declare const invokeSeedAudioGenStepTemplate: <ThrowOnError extends boolean = false>(
|
|
1145
|
+
options?: Options<InvokeSeedAudioGenStepTemplateData, ThrowOnError>
|
|
1146
|
+
) => import('./client/types.gen.js').RequestResult<
|
|
1147
|
+
InvokeSeedAudioGenStepTemplateResponses,
|
|
1148
|
+
InvokeSeedAudioGenStepTemplateErrors,
|
|
1149
|
+
ThrowOnError,
|
|
1150
|
+
'fields'
|
|
1151
|
+
>;
|
|
1117
1152
|
/**
|
|
1118
1153
|
* ShieldstralModeration
|
|
1119
1154
|
*
|
|
@@ -1141,6 +1176,17 @@ export declare const invokeSoniloAudioGenStepTemplate: <ThrowOnError extends boo
|
|
|
1141
1176
|
ThrowOnError,
|
|
1142
1177
|
'fields'
|
|
1143
1178
|
>;
|
|
1179
|
+
/**
|
|
1180
|
+
* Keeps a sticker placed on the first tracked frame of a video on the character's head or eyes, returning a per-frame JSON track.
|
|
1181
|
+
*/
|
|
1182
|
+
export declare const invokeStickerTrackStepTemplate: <ThrowOnError extends boolean = false>(
|
|
1183
|
+
options?: Options<InvokeStickerTrackStepTemplateData, ThrowOnError>
|
|
1184
|
+
) => import('./client/types.gen.js').RequestResult<
|
|
1185
|
+
InvokeStickerTrackStepTemplateResponses,
|
|
1186
|
+
InvokeStickerTrackStepTemplateErrors,
|
|
1187
|
+
ThrowOnError,
|
|
1188
|
+
'fields'
|
|
1189
|
+
>;
|
|
1144
1190
|
/**
|
|
1145
1191
|
* TextToImage
|
|
1146
1192
|
*
|
|
@@ -1306,6 +1352,17 @@ export declare const invokeWasmStepTemplate: <ThrowOnError extends boolean = fal
|
|
|
1306
1352
|
ThrowOnError,
|
|
1307
1353
|
'fields'
|
|
1308
1354
|
>;
|
|
1355
|
+
/**
|
|
1356
|
+
* Checks an image, a video or an audio file for the invisible watermark Civitai puts on what it generates.
|
|
1357
|
+
*/
|
|
1358
|
+
export declare const invokeWatermarkDetectionStepTemplate: <ThrowOnError extends boolean = false>(
|
|
1359
|
+
options?: Options<InvokeWatermarkDetectionStepTemplateData, ThrowOnError>
|
|
1360
|
+
) => import('./client/types.gen.js').RequestResult<
|
|
1361
|
+
InvokeWatermarkDetectionStepTemplateResponses,
|
|
1362
|
+
InvokeWatermarkDetectionStepTemplateErrors,
|
|
1363
|
+
ThrowOnError,
|
|
1364
|
+
'fields'
|
|
1365
|
+
>;
|
|
1309
1366
|
/**
|
|
1310
1367
|
* WDTagging
|
|
1311
1368
|
*
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { client } from './client.gen.js';
|
|
3
3
|
/**
|
|
4
|
-
* Get blob by ID.
|
|
4
|
+
* Get blob by ID. An image, video or audio blob read inline redirects to a cacheable content URL; anything else,
|
|
5
|
+
* and any download, redirects to a short-lived storage URL.
|
|
5
6
|
*/
|
|
6
7
|
export const getBlob = (options) => {
|
|
7
8
|
var _a;
|
|
@@ -265,6 +266,20 @@ export const invokeAudioTextModerationStepTemplate = (options) => {
|
|
|
265
266
|
},
|
|
266
267
|
});
|
|
267
268
|
};
|
|
269
|
+
/**
|
|
270
|
+
* Measures a song's waveform, so a player can draw it without downloading and decoding the audio.
|
|
271
|
+
*/
|
|
272
|
+
export const invokeAudioPeaksStepTemplate = (options) => {
|
|
273
|
+
var _a;
|
|
274
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
275
|
+
url: '/v2/consumer/recipes/audioPeaks',
|
|
276
|
+
...options,
|
|
277
|
+
headers: {
|
|
278
|
+
'Content-Type': 'application/json',
|
|
279
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
280
|
+
},
|
|
281
|
+
});
|
|
282
|
+
};
|
|
268
283
|
export const invokeBatchOcrSafetyClassificationStepTemplate = (options) => {
|
|
269
284
|
var _a;
|
|
270
285
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
@@ -308,15 +323,10 @@ export const invokeChatCompletionStepTemplate = (options) => {
|
|
|
308
323
|
},
|
|
309
324
|
});
|
|
310
325
|
};
|
|
311
|
-
|
|
312
|
-
* Comfy workflows
|
|
313
|
-
*
|
|
314
|
-
* Runs a comfy workflow. Currently there are limited nodes available. Contact support for more information.
|
|
315
|
-
*/
|
|
316
|
-
export const invokeComfyStepTemplate = (options) => {
|
|
326
|
+
export const invokeComfyNodepackSnapshotStepTemplate = (options) => {
|
|
317
327
|
var _a;
|
|
318
328
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
319
|
-
url: '/v2/consumer/recipes/
|
|
329
|
+
url: '/v2/consumer/recipes/comfyNodepackSnapshot',
|
|
320
330
|
...options,
|
|
321
331
|
headers: {
|
|
322
332
|
'Content-Type': 'application/json',
|
|
@@ -324,10 +334,15 @@ export const invokeComfyStepTemplate = (options) => {
|
|
|
324
334
|
},
|
|
325
335
|
});
|
|
326
336
|
};
|
|
327
|
-
|
|
337
|
+
/**
|
|
338
|
+
* Comfy workflows
|
|
339
|
+
*
|
|
340
|
+
* Runs a comfy workflow. Currently there are limited nodes available. Contact support for more information.
|
|
341
|
+
*/
|
|
342
|
+
export const invokeComfyStepTemplate = (options) => {
|
|
328
343
|
var _a;
|
|
329
344
|
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
330
|
-
url: '/v2/consumer/recipes/
|
|
345
|
+
url: '/v2/consumer/recipes/comfy',
|
|
331
346
|
...options,
|
|
332
347
|
headers: {
|
|
333
348
|
'Content-Type': 'application/json',
|
|
@@ -911,6 +926,20 @@ export const invokeRepeatStepTemplate = (options) => {
|
|
|
911
926
|
},
|
|
912
927
|
});
|
|
913
928
|
};
|
|
929
|
+
/**
|
|
930
|
+
* Generate speech, music and ambience, dub a video into another language, or separate audio into tracks with BytePlus Seed Audio.
|
|
931
|
+
*/
|
|
932
|
+
export const invokeSeedAudioGenStepTemplate = (options) => {
|
|
933
|
+
var _a;
|
|
934
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
935
|
+
url: '/v2/consumer/recipes/seedAudioGen',
|
|
936
|
+
...options,
|
|
937
|
+
headers: {
|
|
938
|
+
'Content-Type': 'application/json',
|
|
939
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
940
|
+
},
|
|
941
|
+
});
|
|
942
|
+
};
|
|
914
943
|
/**
|
|
915
944
|
* ShieldstralModeration
|
|
916
945
|
*
|
|
@@ -942,6 +971,20 @@ export const invokeSoniloAudioGenStepTemplate = (options) => {
|
|
|
942
971
|
},
|
|
943
972
|
});
|
|
944
973
|
};
|
|
974
|
+
/**
|
|
975
|
+
* Keeps a sticker placed on the first tracked frame of a video on the character's head or eyes, returning a per-frame JSON track.
|
|
976
|
+
*/
|
|
977
|
+
export const invokeStickerTrackStepTemplate = (options) => {
|
|
978
|
+
var _a;
|
|
979
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
980
|
+
url: '/v2/consumer/recipes/stickerTrack',
|
|
981
|
+
...options,
|
|
982
|
+
headers: {
|
|
983
|
+
'Content-Type': 'application/json',
|
|
984
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
985
|
+
},
|
|
986
|
+
});
|
|
987
|
+
};
|
|
945
988
|
/**
|
|
946
989
|
* TextToImage
|
|
947
990
|
*
|
|
@@ -1147,6 +1190,20 @@ export const invokeWasmStepTemplate = (options) => {
|
|
|
1147
1190
|
},
|
|
1148
1191
|
});
|
|
1149
1192
|
};
|
|
1193
|
+
/**
|
|
1194
|
+
* Checks an image, a video or an audio file for the invisible watermark Civitai puts on what it generates.
|
|
1195
|
+
*/
|
|
1196
|
+
export const invokeWatermarkDetectionStepTemplate = (options) => {
|
|
1197
|
+
var _a;
|
|
1198
|
+
return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
|
|
1199
|
+
url: '/v2/consumer/recipes/watermarkDetection',
|
|
1200
|
+
...options,
|
|
1201
|
+
headers: {
|
|
1202
|
+
'Content-Type': 'application/json',
|
|
1203
|
+
...options === null || options === void 0 ? void 0 : options.headers,
|
|
1204
|
+
},
|
|
1205
|
+
});
|
|
1206
|
+
};
|
|
1150
1207
|
/**
|
|
1151
1208
|
* WDTagging
|
|
1152
1209
|
*
|