@civitai/orchestration-client 0.2.0-beta.117 → 0.2.0-beta.120

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.
@@ -37,6 +37,7 @@ export {
37
37
  invokeImageToSvgStepTemplate,
38
38
  invokeImageUploadStepTemplate,
39
39
  invokeImageUpscalerStepTemplate,
40
+ invokeLiveTextToSpeechStepTemplate,
40
41
  invokeLiveTranscriptionStepTemplate,
41
42
  invokeMediaCaptioningStepTemplate,
42
43
  invokeMediaHashStepTemplate,
@@ -53,6 +54,7 @@ export {
53
54
  invokePreprocessImageStepTemplate,
54
55
  invokePreprocessVideoStepTemplate,
55
56
  invokePromptEnhancementStepTemplate,
57
+ invokePromptModerationStepTemplate,
56
58
  invokeQwenImageBenchStepTemplate,
57
59
  invokeRepeatStepTemplate,
58
60
  invokeShieldstralModerationStepTemplate,
@@ -723,6 +725,11 @@ export {
723
725
  type InvokeImageUpscalerStepTemplateErrors,
724
726
  type InvokeImageUpscalerStepTemplateResponse,
725
727
  type InvokeImageUpscalerStepTemplateResponses,
728
+ type InvokeLiveTextToSpeechStepTemplateData,
729
+ type InvokeLiveTextToSpeechStepTemplateError,
730
+ type InvokeLiveTextToSpeechStepTemplateErrors,
731
+ type InvokeLiveTextToSpeechStepTemplateResponse,
732
+ type InvokeLiveTextToSpeechStepTemplateResponses,
726
733
  type InvokeLiveTranscriptionStepTemplateData,
727
734
  type InvokeLiveTranscriptionStepTemplateError,
728
735
  type InvokeLiveTranscriptionStepTemplateErrors,
@@ -803,6 +810,11 @@ export {
803
810
  type InvokePromptEnhancementStepTemplateErrors,
804
811
  type InvokePromptEnhancementStepTemplateResponse,
805
812
  type InvokePromptEnhancementStepTemplateResponses,
813
+ type InvokePromptModerationStepTemplateData,
814
+ type InvokePromptModerationStepTemplateError,
815
+ type InvokePromptModerationStepTemplateErrors,
816
+ type InvokePromptModerationStepTemplateResponse,
817
+ type InvokePromptModerationStepTemplateResponses,
806
818
  type InvokeQwenImageBenchStepTemplateData,
807
819
  type InvokeQwenImageBenchStepTemplateError,
808
820
  type InvokeQwenImageBenchStepTemplateErrors,
@@ -947,10 +959,17 @@ export {
947
959
  type ListServicesErrors,
948
960
  type ListServicesResponse,
949
961
  type ListServicesResponses,
962
+ type LiveQwen3CustomVoiceTtsInput,
963
+ type LiveQwen3TextToSpeechInput,
964
+ type LiveTextToSpeechInput,
965
+ type LiveTextToSpeechOutput,
966
+ type LiveTextToSpeechStep,
967
+ type LiveTextToSpeechStepTemplate,
950
968
  type LiveTranscriptionInput,
951
969
  type LiveTranscriptionOutput,
952
970
  type LiveTranscriptionStep,
953
971
  type LiveTranscriptionStepTemplate,
972
+ type LiveVllmOmniTextToSpeechInput,
954
973
  type LoadingResourceAvailability,
955
974
  type Ltx23AiToolkitTrainingInput,
956
975
  type Ltx23AiToolkitTrainingInputWritable,
@@ -1044,6 +1063,7 @@ export {
1044
1063
  type MuseImageFalImageGenInput,
1045
1064
  type MusubiImageResourceTrainingInput,
1046
1065
  type MusubiImageResourceTrainingInputWritable,
1066
+ type NanoBanana21ImageGenInput,
1047
1067
  type NanoBanana2ImageGenInput,
1048
1068
  type NanoBanana2LiteImageGenInput,
1049
1069
  type NanoBananaProImageGenInput,
@@ -1208,6 +1228,11 @@ export {
1208
1228
  type PromptEnhancementStep,
1209
1229
  type PromptEnhancementStepTemplate,
1210
1230
  type PromptIssue,
1231
+ type PromptModerationInput,
1232
+ type PromptModerationLabelResult,
1233
+ type PromptModerationOutput,
1234
+ type PromptModerationStep,
1235
+ type PromptModerationStepTemplate,
1211
1236
  type QueryResourcesData,
1212
1237
  type QueryResourcesError,
1213
1238
  type QueryResourcesErrors,
@@ -1435,6 +1460,9 @@ export {
1435
1460
  type VideoUpscalerStep,
1436
1461
  type VideoUpscalerStepTemplate,
1437
1462
  type ViduQ3VideoGenInput,
1463
+ type ViduQ4ImageToVideoInput,
1464
+ type ViduQ4ReferenceToVideoInput,
1465
+ type ViduQ4VideoGenInput,
1438
1466
  type ViduVideoGenInput,
1439
1467
  ViduVideoGenModel,
1440
1468
  ViduVideoGenStyle,
@@ -1,3 +1,3 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- export { addWorkflowTag, appendStreamingBlob, deleteWorkflow, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getFreeTier, getResource, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, ingestConsumerBlob, invalidateUserCache, invalidateUserTokens, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeAudioCaptioningStepTemplate, invokeBatchOcrSafetyClassificationStepTemplate, invokeBlobArchiveStepTemplate, invokeChatCompletionStepTemplate, invokeComfyNodepackSnapshotStepTemplate, invokeComfyStepTemplate, invokeComposeMediaStepTemplate, invokeConvertImageStepTemplate, invokeCustomComfyStepTemplate, invokeEchoStepTemplate, invokeHumanoidImageMaskStepTemplate, invokeImageBackgroundRemovalStepTemplate, invokeImageGenStepTemplate, invokeImageResourceTrainingStepTemplate, invokeImageScanningStepTemplate, invokeImageToSvgStepTemplate, invokeImageUploadStepTemplate, invokeImageUpscalerStepTemplate, invokeLiveTranscriptionStepTemplate, invokeMediaCaptioningStepTemplate, invokeMediaHashStepTemplate, invokeMediaRatingStepTemplate, invokeMergeStepTemplate, invokeMiniMaxMusic3StepTemplate, invokeModel3dPreviewStepTemplate, invokeModelClamScanStepTemplate, invokeModelHashStepTemplate, invokeModelParseMetadataStepTemplate, invokeModelPickleScanStepTemplate, invokePolyGenStepTemplate, invokePrepareResourceStepTemplate, invokePreprocessImageStepTemplate, invokePreprocessVideoStepTemplate, invokePromptEnhancementStepTemplate, 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, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
2
+ export { addWorkflowTag, appendStreamingBlob, deleteWorkflow, getBlob, getBlobArchive, getBlobContent, getBlockedContent, getConsumerBlobUploadUrl, getFreeTier, getResource, getService, getStreamingBlob, getWorkflow, getWorkflowStep, headBlob, ingestConsumerBlob, invalidateUserCache, invalidateUserTokens, invokeAceStepAudioStepTemplate, invokeAgeClassificationStepTemplate, invokeAudioCaptioningStepTemplate, 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, 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, removeAllWorkflowTags, removeWorkflowTag, submitWorkflow, updateWorkflow, updateWorkflowStep, uploadConsumerBlob, } from './sdk.gen';
3
3
  export { AnimalPoseBboxDetector, AnimalPoseEstimator, AnylineMergeWith, ArchiveFormat, BlurRegionMode, BuzzClientAccount, CoarseMode, ComfySampler, ComfyScheduler, ContainerFormat, DensePoseColormap, DensePoseModel, DepthAnythingCheckpoint, DepthAnythingV2Checkpoint, DwPoseBboxDetector, DwPoseEstimator, 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, 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';
@@ -112,6 +112,9 @@ import type {
112
112
  InvokeImageUpscalerStepTemplateData,
113
113
  InvokeImageUpscalerStepTemplateErrors,
114
114
  InvokeImageUpscalerStepTemplateResponses,
115
+ InvokeLiveTextToSpeechStepTemplateData,
116
+ InvokeLiveTextToSpeechStepTemplateErrors,
117
+ InvokeLiveTextToSpeechStepTemplateResponses,
115
118
  InvokeLiveTranscriptionStepTemplateData,
116
119
  InvokeLiveTranscriptionStepTemplateErrors,
117
120
  InvokeLiveTranscriptionStepTemplateResponses,
@@ -160,6 +163,9 @@ import type {
160
163
  InvokePromptEnhancementStepTemplateData,
161
164
  InvokePromptEnhancementStepTemplateErrors,
162
165
  InvokePromptEnhancementStepTemplateResponses,
166
+ InvokePromptModerationStepTemplateData,
167
+ InvokePromptModerationStepTemplateErrors,
168
+ InvokePromptModerationStepTemplateResponses,
163
169
  InvokeQwenImageBenchStepTemplateData,
164
170
  InvokeQwenImageBenchStepTemplateErrors,
165
171
  InvokeQwenImageBenchStepTemplateResponses,
@@ -397,8 +403,7 @@ export declare const getFreeTier: <ThrowOnError extends boolean = false>(
397
403
  'fields'
398
404
  >;
399
405
  /**
400
- * Workflow step for generating music using ACE Step 1.5.
401
- * /// Produces full songs from text descriptions and structured lyrics.
406
+ * Generates full songs from text descriptions and structured lyrics with ACE Step 1.5.
402
407
  */
403
408
  export declare const invokeAceStepAudioStepTemplate: <ThrowOnError extends boolean = false>(
404
409
  options?: Options<InvokeAceStepAudioStepTemplateData, ThrowOnError>
@@ -445,9 +450,8 @@ export declare const invokeBatchOcrSafetyClassificationStepTemplate: <
445
450
  'fields'
446
451
  >;
447
452
  /**
448
- * Bundles a set of blobs into a single archive (zip or tar) that callers can
449
- * /// download from a signed streaming URL. Runs in-process in the orchestrator;
450
- * /// no worker job is dispatched.
453
+ * Bundles blobs into a single zip or tar that callers download from a signed streaming URL.
454
+ * /// Runs in-process in the orchestrator; no worker job is dispatched.
451
455
  */
452
456
  export declare const invokeBlobArchiveStepTemplate: <ThrowOnError extends boolean = false>(
453
457
  options?: Options<InvokeBlobArchiveStepTemplateData, ThrowOnError>
@@ -497,12 +501,8 @@ export declare const invokeComfyNodepackSnapshotStepTemplate: <
497
501
  /**
498
502
  * Compose Media
499
503
  *
500
- * Composes multiple audio and/or video elements onto a single timeline and canvas: overlay and
501
- * /// stack videos, scale and pad them to an output canvas, mix and place audio, and apply per-element
502
- * /// transformers (fades, volume). Each element is placed at its own absolute or implicitly-sequenced
503
- * /// start time. Produces a video blob when any element is video, otherwise an audio blob. Pair with
504
- * /// text-to-speech, music, and video-generation steps to assemble narrated clips, multi-speaker
505
- * /// scenes with cross-talk, or picture-in-picture compositions.
504
+ * Composes audio and/or video elements onto one timeline and canvas: overlay and stack videos, mix and place audio,
505
+ * /// and apply per-element transformers (fades, volume). Produces a video blob when any element is video, otherwise an audio blob.
506
506
  */
507
507
  export declare const invokeComposeMediaStepTemplate: <ThrowOnError extends boolean = false>(
508
508
  options?: Options<InvokeComposeMediaStepTemplateData, ThrowOnError>
@@ -526,11 +526,9 @@ export declare const invokeConvertImageStepTemplate: <ThrowOnError extends boole
526
526
  /**
527
527
  * CustomComfy
528
528
  *
529
- * Submit a raw ComfyUI workflow graph for execution. Every resource the
530
- * /// workflow uses (checkpoints, loras, AND <c>comfy:nodepack</c> URNs for
531
- * /// runtime-installable custom nodes) must be declared in <c>Resources</c> —
532
- * /// the orchestrator does not scan the workflow. Billing happens after
533
- * /// execution based on actual ComfyUI runtime; infra failures don't charge.
529
+ * Submit a raw ComfyUI workflow graph for execution. Every resource the workflow uses, including <c>comfy:nodepack</c> URNs
530
+ * /// for custom nodes, must be declared in <c>resources</c>; the orchestrator does not scan the workflow. Billed after execution
531
+ * /// on actual ComfyUI runtime; infra failures don't charge.
534
532
  */
535
533
  export declare const invokeCustomComfyStepTemplate: <ThrowOnError extends boolean = false>(
536
534
  options?: Options<InvokeCustomComfyStepTemplateData, ThrowOnError>
@@ -563,7 +561,7 @@ export declare const invokeHumanoidImageMaskStepTemplate: <ThrowOnError extends
563
561
  'fields'
564
562
  >;
565
563
  /**
566
- * A workflow step that removes the background from an image using BiRefNet (builds a ComfyUI graph under the hood and runs it as a comfy job).
564
+ * Removes the background from an image using BiRefNet.
567
565
  */
568
566
  export declare const invokeImageBackgroundRemovalStepTemplate: <
569
567
  ThrowOnError extends boolean = false,
@@ -648,6 +646,19 @@ export declare const invokeImageUpscalerStepTemplate: <ThrowOnError extends bool
648
646
  ThrowOnError,
649
647
  'fields'
650
648
  >;
649
+ /**
650
+ * Live text to speech
651
+ *
652
+ * Append text to <c>output.inputUrl</c> and play <c>output.audioUrl</c>; billed per character once the session ends.
653
+ */
654
+ export declare const invokeLiveTextToSpeechStepTemplate: <ThrowOnError extends boolean = false>(
655
+ options?: Options<InvokeLiveTextToSpeechStepTemplateData, ThrowOnError>
656
+ ) => import('./client').RequestResult<
657
+ InvokeLiveTextToSpeechStepTemplateResponses,
658
+ InvokeLiveTextToSpeechStepTemplateErrors,
659
+ ThrowOnError,
660
+ 'fields'
661
+ >;
651
662
  /**
652
663
  * Live transcription
653
664
  *
@@ -846,6 +857,19 @@ export declare const invokePromptEnhancementStepTemplate: <ThrowOnError extends
846
857
  ThrowOnError,
847
858
  'fields'
848
859
  >;
860
+ /**
861
+ * PromptModeration
862
+ *
863
+ * Evaluate CR, Young and Sexual together with Civitai Imajev's fixed BF16 model and packaged policies.
864
+ */
865
+ export declare const invokePromptModerationStepTemplate: <ThrowOnError extends boolean = false>(
866
+ options?: Options<InvokePromptModerationStepTemplateData, ThrowOnError>
867
+ ) => import('./client').RequestResult<
868
+ InvokePromptModerationStepTemplateResponses,
869
+ InvokePromptModerationStepTemplateErrors,
870
+ ThrowOnError,
871
+ 'fields'
872
+ >;
849
873
  /**
850
874
  * Qwen Image Bench
851
875
  *
@@ -926,9 +950,7 @@ export declare const invokeTextToSpeechStepTemplate: <ThrowOnError extends boole
926
950
  /**
927
951
  * Training
928
952
  *
929
- * A workflow step for training machine learning models (LoRAs, checkpoints, etc.)
930
- * /// on various types of data (images, videos, audio). This replaces ImageResourceTraining
931
- * /// with a cleaner architecture that creates one job per epoch instead of a single monolithic job.
953
+ * Trains models (LoRAs, checkpoints) on images, videos or audio, one job per epoch.
932
954
  */
933
955
  export declare const invokeTrainingStepTemplate: <ThrowOnError extends boolean = false>(
934
956
  options?: Options<InvokeTrainingStepTemplateData, ThrowOnError>
@@ -1208,7 +1230,7 @@ export declare const submitWorkflow: <ThrowOnError extends boolean = false>(
1208
1230
  /**
1209
1231
  * Delete workflow
1210
1232
  *
1211
- * This will delete a workflow. This may trigger a refund if the work requested with this workflow has not yet started
1233
+ * May trigger a refund if the work requested with this workflow has not yet started
1212
1234
  */
1213
1235
  export declare const deleteWorkflow: <ThrowOnError extends boolean = false>(
1214
1236
  options: Options<DeleteWorkflowData, ThrowOnError>
@@ -1232,7 +1254,7 @@ export declare const getWorkflow: <ThrowOnError extends boolean = false>(
1232
1254
  /**
1233
1255
  * Patch workflow
1234
1256
  *
1235
- * Patches a worfklow using JSON Patch. This can currently be used to cancel a worfklow, update metadata and add additional tags
1257
+ * Patches a workflow using JSON Patch. This can currently be used to cancel a workflow, update metadata and add additional tags
1236
1258
  */
1237
1259
  export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
1238
1260
  options: Options<PatchWorkflowData, ThrowOnError>
@@ -1245,7 +1267,7 @@ export declare const patchWorkflow: <ThrowOnError extends boolean = false>(
1245
1267
  /**
1246
1268
  * Update workflow
1247
1269
  *
1248
- * Updates a worfklow. This can currently be used to cancel a worfklow or override metadata and/or tags
1270
+ * Updates a workflow. This can currently be used to cancel a workflow or override metadata and/or tags
1249
1271
  */
1250
1272
  export declare const updateWorkflow: <ThrowOnError extends boolean = false>(
1251
1273
  options: Options<UpdateWorkflowData, ThrowOnError>
@@ -1268,8 +1290,6 @@ export declare const removeAllWorkflowTags: <ThrowOnError extends boolean = fals
1268
1290
  >;
1269
1291
  /**
1270
1292
  * Add workflow tag
1271
- *
1272
- * Adds a tag to a workflow
1273
1293
  */
1274
1294
  export declare const addWorkflowTag: <ThrowOnError extends boolean = false>(
1275
1295
  options: Options<AddWorkflowTagData, ThrowOnError>
@@ -106,8 +106,7 @@ export const getFreeTier = (options) => {
106
106
  });
107
107
  };
108
108
  /**
109
- * Workflow step for generating music using ACE Step 1.5.
110
- * /// Produces full songs from text descriptions and structured lyrics.
109
+ * Generates full songs from text descriptions and structured lyrics with ACE Step 1.5.
111
110
  */
112
111
  export const invokeAceStepAudioStepTemplate = (options) => {
113
112
  var _a;
@@ -164,9 +163,8 @@ export const invokeBatchOcrSafetyClassificationStepTemplate = (options) => {
164
163
  });
165
164
  };
166
165
  /**
167
- * Bundles a set of blobs into a single archive (zip or tar) that callers can
168
- * /// download from a signed streaming URL. Runs in-process in the orchestrator;
169
- * /// no worker job is dispatched.
166
+ * Bundles blobs into a single zip or tar that callers download from a signed streaming URL.
167
+ * /// Runs in-process in the orchestrator; no worker job is dispatched.
170
168
  */
171
169
  export const invokeBlobArchiveStepTemplate = (options) => {
172
170
  var _a;
@@ -226,12 +224,8 @@ export const invokeComfyNodepackSnapshotStepTemplate = (options) => {
226
224
  /**
227
225
  * Compose Media
228
226
  *
229
- * Composes multiple audio and/or video elements onto a single timeline and canvas: overlay and
230
- * /// stack videos, scale and pad them to an output canvas, mix and place audio, and apply per-element
231
- * /// transformers (fades, volume). Each element is placed at its own absolute or implicitly-sequenced
232
- * /// start time. Produces a video blob when any element is video, otherwise an audio blob. Pair with
233
- * /// text-to-speech, music, and video-generation steps to assemble narrated clips, multi-speaker
234
- * /// scenes with cross-talk, or picture-in-picture compositions.
227
+ * Composes audio and/or video elements onto one timeline and canvas: overlay and stack videos, mix and place audio,
228
+ * /// and apply per-element transformers (fades, volume). Produces a video blob when any element is video, otherwise an audio blob.
235
229
  */
236
230
  export const invokeComposeMediaStepTemplate = (options) => {
237
231
  var _a;
@@ -261,11 +255,9 @@ export const invokeConvertImageStepTemplate = (options) => {
261
255
  /**
262
256
  * CustomComfy
263
257
  *
264
- * Submit a raw ComfyUI workflow graph for execution. Every resource the
265
- * /// workflow uses (checkpoints, loras, AND <c>comfy:nodepack</c> URNs for
266
- * /// runtime-installable custom nodes) must be declared in <c>Resources</c> —
267
- * /// the orchestrator does not scan the workflow. Billing happens after
268
- * /// execution based on actual ComfyUI runtime; infra failures don't charge.
258
+ * Submit a raw ComfyUI workflow graph for execution. Every resource the workflow uses, including <c>comfy:nodepack</c> URNs
259
+ * /// for custom nodes, must be declared in <c>resources</c>; the orchestrator does not scan the workflow. Billed after execution
260
+ * /// on actual ComfyUI runtime; infra failures don't charge.
269
261
  */
270
262
  export const invokeCustomComfyStepTemplate = (options) => {
271
263
  var _a;
@@ -307,7 +299,7 @@ export const invokeHumanoidImageMaskStepTemplate = (options) => {
307
299
  });
308
300
  };
309
301
  /**
310
- * A workflow step that removes the background from an image using BiRefNet (builds a ComfyUI graph under the hood and runs it as a comfy job).
302
+ * Removes the background from an image using BiRefNet.
311
303
  */
312
304
  export const invokeImageBackgroundRemovalStepTemplate = (options) => {
313
305
  var _a;
@@ -409,6 +401,22 @@ export const invokeImageUpscalerStepTemplate = (options) => {
409
401
  },
410
402
  });
411
403
  };
404
+ /**
405
+ * Live text to speech
406
+ *
407
+ * Append text to <c>output.inputUrl</c> and play <c>output.audioUrl</c>; billed per character once the session ends.
408
+ */
409
+ export const invokeLiveTextToSpeechStepTemplate = (options) => {
410
+ var _a;
411
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
412
+ url: '/v2/consumer/recipes/liveTextToSpeech',
413
+ ...options,
414
+ headers: {
415
+ 'Content-Type': 'application/json',
416
+ ...options === null || options === void 0 ? void 0 : options.headers,
417
+ },
418
+ });
419
+ };
412
420
  /**
413
421
  * Live transcription
414
422
  *
@@ -655,6 +663,22 @@ export const invokePromptEnhancementStepTemplate = (options) => {
655
663
  },
656
664
  });
657
665
  };
666
+ /**
667
+ * PromptModeration
668
+ *
669
+ * Evaluate CR, Young and Sexual together with Civitai Imajev's fixed BF16 model and packaged policies.
670
+ */
671
+ export const invokePromptModerationStepTemplate = (options) => {
672
+ var _a;
673
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client).post({
674
+ url: '/v2/consumer/recipes/promptModeration',
675
+ ...options,
676
+ headers: {
677
+ 'Content-Type': 'application/json',
678
+ ...options === null || options === void 0 ? void 0 : options.headers,
679
+ },
680
+ });
681
+ };
658
682
  /**
659
683
  * Qwen Image Bench
660
684
  *
@@ -751,9 +775,7 @@ export const invokeTextToSpeechStepTemplate = (options) => {
751
775
  /**
752
776
  * Training
753
777
  *
754
- * A workflow step for training machine learning models (LoRAs, checkpoints, etc.)
755
- * /// on various types of data (images, videos, audio). This replaces ImageResourceTraining
756
- * /// with a cleaner architecture that creates one job per epoch instead of a single monolithic job.
778
+ * Trains models (LoRAs, checkpoints) on images, videos or audio, one job per epoch.
757
779
  */
758
780
  export const invokeTrainingStepTemplate = (options) => {
759
781
  var _a;
@@ -1072,7 +1094,7 @@ export const submitWorkflow = (options) => {
1072
1094
  /**
1073
1095
  * Delete workflow
1074
1096
  *
1075
- * This will delete a workflow. This may trigger a refund if the work requested with this workflow has not yet started
1097
+ * May trigger a refund if the work requested with this workflow has not yet started
1076
1098
  */
1077
1099
  export const deleteWorkflow = (options) => {
1078
1100
  var _a;
@@ -1094,7 +1116,7 @@ export const getWorkflow = (options) => {
1094
1116
  /**
1095
1117
  * Patch workflow
1096
1118
  *
1097
- * Patches a worfklow using JSON Patch. This can currently be used to cancel a worfklow, update metadata and add additional tags
1119
+ * Patches a workflow using JSON Patch. This can currently be used to cancel a workflow, update metadata and add additional tags
1098
1120
  */
1099
1121
  export const patchWorkflow = (options) => {
1100
1122
  var _a;
@@ -1110,7 +1132,7 @@ export const patchWorkflow = (options) => {
1110
1132
  /**
1111
1133
  * Update workflow
1112
1134
  *
1113
- * Updates a worfklow. This can currently be used to cancel a worfklow or override metadata and/or tags
1135
+ * Updates a workflow. This can currently be used to cancel a workflow or override metadata and/or tags
1114
1136
  */
1115
1137
  export const updateWorkflow = (options) => {
1116
1138
  var _a;
@@ -1132,8 +1154,6 @@ export const removeAllWorkflowTags = (options) => {
1132
1154
  };
1133
1155
  /**
1134
1156
  * Add workflow tag
1135
- *
1136
- * Adds a tag to a workflow
1137
1157
  */
1138
1158
  export const addWorkflowTag = (options) => {
1139
1159
  var _a;